diff --git a/in-development/check_awsiops/aws.phar b/in-development/check_awsiops/aws.phar new file mode 100644 index 0000000..38beb65 Binary files /dev/null and b/in-development/check_awsiops/aws.phar differ diff --git a/in-development/check_awsiops/check_awsiops b/in-development/check_awsiops/check_awsiops index 2586a7a..e4e78dd 100755 --- a/in-development/check_awsiops/check_awsiops +++ b/in-development/check_awsiops/check_awsiops @@ -1,49 +1,84 @@ #!/usr/bin/php -q '1XA8TW1G8YTE3T98TZ02', 'secret' => 'ev3gmXmE7/QXllQY9YRy901DrwU5ylmhEuYN2bd8', - 'key' => '0T7V2WEYKJGTQXF4AXG2', 'secret' => 'cy4ifN/0M1Ic+KMTcdxfmpY6opFTIYs9lJvyoyTu', - 'region' => 'us-east-1', + 'key' => AWS_KEY, + 'secret' => AWS_SECRET_KEY, + 'region' => $region )); -/* -$metrics = $cw->listMetrics(array( - 'Namespace' => 'AWS/EC2', -// 'MetricName' => 'DiskReadOps', -// 'Dimensions' => array(array('Name' => 'InstanceId', 'Value' => 'i-f44f3e99')), -)); -*/ - -$instanceid = 'i-e4c7dc8f'; - -$metrics = $cw->getMetricStatistics(array( - 'Namespace' => 'AWS/EC2', - 'MetricName' => 'DiskReadOps', - 'Dimensions' => array(array( - 'Name' => 'InstanceId', 'Value' => $instanceid - //'Name' => 'VolumeId', 'Value' => 'vol-116f9979' - )), - 'StartTime' => '-1 hour', - 'EndTime' => 'now', - 'Period' => 300, - 'Statistics' => array('Average', 'Sum'), -)); -var_dump($metrics['Datapoints']); +if($ebs_mode){ + $dimension = array('Name' => 'VolumeId', 'Value' => $options["v"]); + $metrics = array('VolumeReadBytes', 'VolumeWriteBytes','VolumeReadOps', 'VolumeWriteOps'); + $namespace = 'AWS/EBS'; +} +else{ + $dimension = array('Name' => 'InstanceId', 'Value' => $options["i"]); + $metrics = array('DiskReadBytes', 'DiskWriteBytes','DiskReadOps', 'DiskWriteOps'); + $namespace = 'AWS/EC2'; +} -/* -DiskReadBytes -DiskWriteBytes -DiskReadOps -DiskWriteOps -*/ +$metric_param = array( + 'Namespace' => $namespace, + 'MetricName' => 'CPUUtilization', //Dummy metric doesn't matter + 'Dimensions' => array($dimension), + 'StartTime' => $time_interval, + 'EndTime' => $now, + 'Period' => 60, + 'Statistics' => array('SampleCount', 'Minimum', 'Maximum', 'Average', 'Sum') +); -echo "Instantant monthly IOPS \n"; +$data_responses = array(); +foreach ($metrics as $m ) { + $metric_param['MetricName'] = $m; + $data_responses[$m] = $cw->getMetricStatistics($metric_param)->get("Datapoints"); +} + +$output = "AWS IOPS OKAY; | "; +foreach ($metrics as $m) { + if ( isset($data_responses[$m][0]) ) { + $output .= $m . "=" . $data_responses[$m][0]["Sum"]; + $output .= ($m == end($metrics)) ? "" : ";;;"; + } + else{ + $output .= $m . "=" . "0"; + $output .= ($m == end($metrics)) ? "" : ";;;"; + } +} + +print_r($output); exit(0); + +function usage() { + print "\nusage: check_awsiops -K -S -v -i -r (optional)\n\n" . + "If given both a VolumeId and an InstanceId, this script get will metrics for the EBS volume (-v)."; + exit(1); +} diff --git a/in-development/check_awsiops/composer.json b/in-development/check_awsiops/composer.json deleted file mode 100644 index 2104a6c..0000000 --- a/in-development/check_awsiops/composer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "require": { - "aws/aws-sdk-php": "2.*" - } -} diff --git a/in-development/check_awsiops/composer.lock b/in-development/check_awsiops/composer.lock deleted file mode 100644 index 2d73f5d..0000000 --- a/in-development/check_awsiops/composer.lock +++ /dev/null @@ -1,239 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" - ], - "hash": "123da0705f45e1fff35cac091d053cdf", - "packages": [ - { - "name": "aws/aws-sdk-php", - "version": "2.2.1", - "source": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "2.2.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2.2.1", - "reference": "2.2.1", - "shasum": "" - }, - "require": { - "guzzle/guzzle": ">=3.3,<3.4", - "php": ">=5.3.3" - }, - "require-dev": { - "doctrine/common": "2.3.*", - "ext-apc": "*", - "ext-openssl": "*", - "monolog/monolog": "1.4.*", - "phpunit/phpunit": "3.7.*", - "symfony/class-loader": "2.*", - "symfony/yaml": "2.*" - }, - "suggest": { - "doctrine/cache": "Adds support for caching of credentials and responses", - "ext-apc": "Allows service description opcode caching, request and response caching, and credentials caching", - "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages", - "monolog/monolog": "Adds support for logging HTTP requests and responses", - "symfony/yaml": "Eases the ability to write manifests for creating jobs in AWS Import/Export" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - }, - "autoload": { - "psr-0": { - "Aws": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Amazon Web Services", - "homepage": "http://aws.amazon.com" - } - ], - "description": "AWS SDK for PHP", - "homepage": "http://aws.amazon.com/sdkforphp2", - "keywords": [ - "amazon", - "aws", - "dynamodb", - "ec2", - "s3", - "sdk" - ], - "time": "2013-03-18 23:23:45" - }, - { - "name": "guzzle/guzzle", - "version": "v3.3.1", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "v3.3.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/v3.3.1", - "reference": "v3.3.1", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": ">=5.3.2", - "symfony/event-dispatcher": ">=2.1" - }, - "replace": { - "guzzle/batch": "self.version", - "guzzle/cache": "self.version", - "guzzle/common": "self.version", - "guzzle/http": "self.version", - "guzzle/inflection": "self.version", - "guzzle/iterator": "self.version", - "guzzle/log": "self.version", - "guzzle/parser": "self.version", - "guzzle/plugin": "self.version", - "guzzle/plugin-async": "self.version", - "guzzle/plugin-backoff": "self.version", - "guzzle/plugin-cache": "self.version", - "guzzle/plugin-cookie": "self.version", - "guzzle/plugin-curlauth": "self.version", - "guzzle/plugin-error-response": "self.version", - "guzzle/plugin-history": "self.version", - "guzzle/plugin-log": "self.version", - "guzzle/plugin-md5": "self.version", - "guzzle/plugin-mock": "self.version", - "guzzle/plugin-oauth": "self.version", - "guzzle/service": "self.version", - "guzzle/stream": "self.version" - }, - "require-dev": { - "doctrine/cache": "*", - "monolog/monolog": "1.*", - "phpunit/phpunit": "3.7.*", - "symfony/class-loader": "*", - "zend/zend-cache1": "1.12", - "zend/zend-log1": "1.12", - "zendframework/zend-cache": "2.0.*", - "zendframework/zend-log": "2.0.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-0": { - "Guzzle\\Tests": "tests/", - "Guzzle": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Guzzle Community", - "homepage": "https://github.com/guzzle/guzzle/contributors" - } - ], - "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "time": "2013-03-10 23:05:38" - }, - { - "name": "symfony/event-dispatcher", - "version": "v2.2.1", - "target-dir": "Symfony/Component/EventDispatcher", - "source": { - "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "v2.2.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/v2.2.1", - "reference": "v2.2.1", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/dependency-injection": ">=2.0,<3.0" - }, - "suggest": { - "symfony/dependency-injection": "2.2.*", - "symfony/http-kernel": "2.2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\EventDispatcher\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "http://symfony.com", - "time": "2013-02-11 11:26:43" - } - ], - "packages-dev": [ - - ], - "aliases": [ - - ], - "minimum-stability": "stable", - "stability-flags": [ - - ], - "platform": [ - - ], - "platform-dev": [ - - ] -} diff --git a/in-development/check_awsiops/composer.phar b/in-development/check_awsiops/composer.phar deleted file mode 100755 index c244696..0000000 Binary files a/in-development/check_awsiops/composer.phar and /dev/null differ diff --git a/in-development/check_awsiops/vendor/autoload.php b/in-development/check_awsiops/vendor/autoload.php deleted file mode 100644 index ab172f6..0000000 --- a/in-development/check_awsiops/vendor/autoload.php +++ /dev/null @@ -1,7 +0,0 @@ -setCredentials()` -* Added the `client.region_changed` and `client.credentials_changed` events on the client that are triggered when the - `setRegion()` and `setCredentials()` methods are called, respectively -* Added support for using the ap-southeast-2 region with the Amazon ElastiCache client -* Updated the Amazon RDS client to use the 2013-02-12 API version -* Fixed an issue in the Amazon EC2 service description that was affecting the use of the new `ModifyVpcAttribute` and - `DescribeVpcAttribute` operations -* Added ObjectURL to the output of an Amazon S3 PutObject operation so that you can more easily retrieve the URL of an - object after uploading -* Added a `createPresignedUrl()` method to any command object created by the Amazon S3 client to more easily create - presigned URLs - -2.2.0 (2013-03-11) ------------------- - -* Added support for **Amazon Elastic MapReduce (Amazon EMR)** -* Added support for **AWS Direct Connect** -* Added support for **Amazon ElastiCache** -* Added support for **AWS Storage Gateway** -* Added support for **AWS Import/Export** -* Added support for **AWS CloudFormation** -* Added support for **Amazon CloudSearch** -* Added support for [provisioned IOPS](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.ProvisionedIOPS.html) - to the the Amazon RDS client -* Added support for promoting [read replicas](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) - to the Amazon RDS client -* Added support for [event notification subscriptions](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) - to the Amazon RDS client -* Added support for enabling\disabling DNS Hostnames and DNS Resolution in Amazon VPC to the Amazon EC2 client -* Added support for enumerating account attributes to the Amazon EC2 client -* Added support for copying AMIs across regions to the Amazon EC2 client -* Added the ability to get a Waiter object from a client using the `getWaiter()` method -* [SDK] Added the ability to load credentials from environmental variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_KEY`. - This is compatible with AWS Elastic Beanstalk environment configurations -* Added support for using the us-west-1, us-west-2, eu-west-1, and ap-southeast-1 regions with Amazon CloudSearch -* Updated the Amazon RDS client to use the 2013-01-10 API version -* Updated the Amazon EC2 client to use the 2013-02-01 API version -* Added support for using SecurityToken with signature version 2 services -* Added the client User-Agent header to exception messages for easier debugging -* Added an easier way to disable operation parameter validation by setting `validation` to false when creating clients -* Added the ability to disable the exponential backoff plugin -* Added the ability to easily fetch the region name that a client is configured to use via `$client->getRegion()` -* Added end-user guides available at http://aws-docs.integ.amazon.com/aws-sdk-php-2/guide/latest/ -* Fixed issue #48 where signing Amazon S3 requests with null or empty metadata resulted in a signature error -* Fixed issue #29 where Amazon S3 was intermittently closing a connection -* Updated the Amazon S3 client to parse the AcceptRanges header for HeadObject and GetObject output -* Updated the Amazon Glacier client to allow the `saveAs` parameter to be specified as an alias for `command.response_body` -* Various performance improvements throughout the SDK -* Removed endpoint providers and now placing service region information directly in service descriptions -* Removed client resolvers when creating clients in a client's factory method (this should not have any impact to end users) - -2.1.2 (2013-02-18) ------------------- - -* Added support for **AWS OpsWorks** - -2.1.1 (2013-02-15) ------------------- - -* Added support for **Amazon Redshift** -* Added support for **Amazon Simple Queue Service (Amazon SQS)** -* Added support for **Amazon Simple Notification Service (Amazon SNS)** -* Added support for **Amazon Simple Email Service (Amazon SES)** -* Added support for **Auto Scaling** -* Added support for **Amazon CloudWatch** -* Added support for **Amazon Simple Workflow Service (Amazon SWF)** -* Added support for **Amazon Relational Database Service (Amazon RDS)** -* Added support for health checks and failover in Amazon Route 53 -* Updated the Amazon Route 53 client to use the 2012-12-12 API version -* Updated `AbstractWaiter` to dispatch `waiter.before_attempt` and `waiter.before_wait` events -* Updated `CallableWaiter` to allow for an array of context data to be passed to the callable -* Fixed issue #29 so that the stat cache is cleared before performing multipart uploads -* Fixed issue #38 so that Amazon CloudFront URLs are signed properly -* Fixed an issue with Amazon S3 website redirects -* Fixed a URL encoding inconsistency with Amazon S3 and pre-signed URLs -* Fixed issue #42 to eliminate cURL error 65 for JSON services -* Set Guzzle dependency to [~3.2.0](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md#320-2013-02-14) -* Minimum version of PHP is now 5.3.3 - -2.1.0 (2013-01-28) ------------------- - -* Waiters now require an associative array as input for the underlying operation performed by a waiter. See - `UPGRADING.md` for details. -* Added support for **Amazon Elastic Compute Cloud (Amazon EC2)** -* Added support for **Amazon Elastic Transcoder** -* Added support for **Amazon SimpleDB** -* Added support for **Elastic Load Balancing** -* Added support for **AWS Elastic Beanstalk** -* Added support for **AWS Identity and Access Management (IAM)** -* Added support for Amazon S3 website redirection rules -* Added support for the `RetrieveByteRange` parameter of the `InitiateJob` operation in Amazon Glacier -* Added support for Signature Version 2 -* Clients now gain more information from service descriptions rather than client factory methods -* Service descriptions are now versioned for clients -* Fixed an issue where Amazon S3 did not use "restore" as a signable resource -* Fixed an issue with Amazon S3 where `x-amz-meta-*` headers were not properly added with the CopyObject operation -* Fixed an issue where the Amazon Glacier client was not using the correct User-Agent header -* Fixed issue #13 in which constants defined by referencing other constants caused errors with early versions of PHP 5.3 - -2.0.3 (2012-12-20) ------------------- - -* Added support for **AWS Data Pipeline** -* Added support for **Amazon Route 53** -* Fixed an issue with the Amazon S3 client where object keys with slashes were causing errors -* Added a `SaveAs` parameter to the Amazon S3 `GetObject` operation to allow saving the object directly to a file -* Refactored iterators to remove code duplication and ease creation of future iterators - -2.0.2 (2012-12-10) ------------------- - -* Fixed an issue with the Amazon S3 client where non-DNS compatible buckets that was previously causing a signature - mismatch error -* Fixed an issue with the service description for the Amazon S3 `UploadPart` operation so that it works correctly -* Fixed an issue with the Amazon S3 service description dealing with `response-*` query parameters of `GetObject` -* Fixed an issue with the Amazon S3 client where object keys prefixed by the bucket name were being treated incorrectly -* Fixed an issue with `Aws\S3\Model\MultipartUpload\ParallelTransfer` class -* Added support for the `AssumeRole` operation for AWS STS -* Added a the `UploadBodyListener` which allows upload operations in Amazon S3 and Amazon Glacier to accept file handles - in the `Body` parameter and file paths in the `SourceFile` parameter -* Added Content-Type guessing for uploads -* Added new region endpoints, including sa-east-1 and us-gov-west-1 for Amazon DynamoDB -* Added methods to `Aws\S3\Model\MultipartUpload\UploadBuilder` class to make setting ACL and Content-Type easier - -2.0.1 (2012-11-13) ------------------- - -* Fixed a signature issue encountered when a request to Amazon S3 is redirected -* Added support for archiving Amazon S3 objects to Amazon Glacier -* Added CRC32 validation of Amazon DynamoDB responses -* Added ConsistentRead support to the `BatchGetItem` operation of Amazon DynamoDB -* Added new region endpoints, including Sydney - -2.0.0 (2012-11-02) ------------------- - -* Initial release of the AWS SDK for PHP Version 2. See for more information. -* Added support for **Amazon Simple Storage Service (Amazon S3)** -* Added support for **Amazon DynamoDB** -* Added support for **Amazon Glacier** -* Added support for **Amazon CloudFront** -* Added support for **AWS Security Token Service (AWS STS)** diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/CONTRIBUTING.md b/in-development/check_awsiops/vendor/aws/aws-sdk-php/CONTRIBUTING.md deleted file mode 100644 index 760295d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/CONTRIBUTING.md +++ /dev/null @@ -1,51 +0,0 @@ -# Contributing to the AWS SDK for PHP - -We work hard to provide a high-quality and useful SDK, and we greatly value feedback and contributions from our -community. Whether it's a new feature, correction, or additional documentation, we welcome your pull requests. With -version 2 of the SDK, we've tried to make our development even more open than before. Please submit any -[issues](https://github.com/aws/aws-sdk-php/issues) or [pull requests](https://github.com/aws/aws-sdk-php/pulls) through -GitHub. - -## What you should keep in mind - -1. The SDK is released under the [Apache license](http://aws.amazon.com/apache2.0/). Any code you submit will be - released under that license. For substantial contributions, we may ask you to sign a [Contributor License Agreement - (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement). -2. We follow the [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md), - [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), and - [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) recommendations - from the [PHP Framework Interop Group](http://php-fig.org). Please submit code that follows these standards. The - [PHP CS Fixer](http://cs.sensiolabs.org/) tool can be helpful for formatting your code. -3. We maintain a high percentage of code coverage in our unit tests. If you make changes to the code, please add, - update, and/or remove unit (and integration) tests as appropriate. -4. We may choose not to accept pull requests that change service descriptions (e.g., files like - `src/Aws/OpsWorks/Resources/opsworks-2013-02-18.php`). We generate these files based on our internal knowledge of - the AWS services. If there is something incorrect with or missing from a service description, it may be more - appropriate to [submit an issue](https://github.com/aws/aws-sdk-php/issues>). We *will*, however, consider pull - requests affecting service descriptions, if the changes are related to **Iterator** or **Waiter** configurations. -5. If your code does not conform to the PSR standards or does not include adequate tests, we may ask you to update your - pull requests before we accept them. We also reserve the right to deny any pull requests that do not align with our - standards or goals. -6. If you would like to implement support for a significant feature that is not yet available in the SDK, please talk to - us beforehand to avoid any duplication of effort. - -## What we are looking for - -We are open to anything that improves the SDK and doesn't unnecessarily cause backwards-incompatible changes. If you are -unsure if your idea is something we would be open to, please ask us (open a ticket, send us an email, post on the -forums, etc.) Specifically, here are a few things that we would appreciate help on: - -1. Waiters – Waiter configurations are located in the service descriptions. You can also create concrete waiters within - the `Aws\*\Waiter` namespace of a service if the logic of the waiter absolutely cannot be defined using waiter - configuration. There are many waiters that we currently provide, but many that we do not. Please let us know if you - have any questions about creating waiter configurations. -2. Docs – We are working on a user guide and will be publishing it soon. We would appreciate contributions. The docs - are written as a [Sphinx](http://sphinx-doc.org/) website using reStructuredText (very similar to Markdown). The user - guide is located in the `docs` directory of this repository. -3. Tests – We maintain high code coverage, but if there are any tests you feel are missing, please add them. -4. Convenience features – Are there any features you feel would add value to the SDK (e.g., batching for SES, SNS - message verification, S3 stream wrapper, etc.)? Contributions in this area would be greatly appreciated. -5. Third-party modules – We have modules published for [Silex](https://github.com/aws/aws-sdk-php-silex) and [Laravel - 4](https://github.com/aws/aws-sdk-php-laravel). Please let us know if you are interested in creating integrations - with other frameworks. We would be be happy to help. -6. If you have some other ideas, please let us know! diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/LICENSE.md b/in-development/check_awsiops/vendor/aws/aws-sdk-php/LICENSE.md deleted file mode 100644 index 8d53e9f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/LICENSE.md +++ /dev/null @@ -1,141 +0,0 @@ -# Apache License -Version 2.0, January 2004 - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -## 1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 -through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the -License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled -by, or are under common control with that entity. For the purposes of this definition, "control" means -(i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract -or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial -ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software -source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, -including but not limited to compiled object code, generated documentation, and conversions to other media -types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, -as indicated by a copyright notice that is included in or attached to the work (an example is provided in the -Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) -the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, -as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not -include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work -and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any -modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to -Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to -submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of -electronic, verbal, or written communication sent to the Licensor or its representatives, including but not -limited to communication on electronic mailing lists, source code control systems, and issue tracking systems -that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but -excluding communication that is conspicuously marked or otherwise designated in writing by the copyright -owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been -received by Licensor and subsequently incorporated within the Work. - -## 2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, -worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare -Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such -Derivative Works in Source or Object form. - -## 3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, -worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent -license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such -license applies only to those patent claims licensable by such Contributor that are necessarily infringed by -their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such -Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim -or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work -constitutes direct or contributory patent infringement, then any patent licenses granted to You under this -License for that Work shall terminate as of the date such litigation is filed. - -## 4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without -modifications, and in Source or Object form, provided that You meet the following conditions: - - 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and - - 2. You must cause any modified files to carry prominent notices stating that You changed the files; and - - 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, - trademark, and attribution notices from the Source form of the Work, excluding those notices that do - not pertain to any part of the Derivative Works; and - - 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that - You distribute must include a readable copy of the attribution notices contained within such NOTICE - file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed as part of the Derivative Works; within - the Source form or documentation, if provided along with the Derivative Works; or, within a display - generated by the Derivative Works, if and wherever such third-party notices normally appear. The - contents of the NOTICE file are for informational purposes only and do not modify the License. You may - add Your own attribution notices within Derivative Works that You distribute, alongside or as an - addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be - construed as modifying the License. - -You may add Your own copyright statement to Your modifications and may provide additional or different license -terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative -Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the -conditions stated in this License. - -## 5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by -You to the Licensor shall be under the terms and conditions of this License, without any additional terms or -conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate -license agreement you may have executed with Licensor regarding such Contributions. - -## 6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of -the Licensor, except as required for reasonable and customary use in describing the origin of the Work and -reproducing the content of the NOTICE file. - -## 7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor -provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express -or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, -MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the -appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of -permissions under this License. - -## 8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless -required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any -Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential -damages of any character arising as a result of this License or out of the use or inability to use the Work -(including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or -any and all other commercial damages or losses), even if such Contributor has been advised of the possibility -of such damages. - -## 9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, -acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this -License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole -responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold -each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason -of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/NOTICE.md b/in-development/check_awsiops/vendor/aws/aws-sdk-php/NOTICE.md deleted file mode 100644 index 8485853..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/NOTICE.md +++ /dev/null @@ -1,112 +0,0 @@ -# AWS SDK for PHP - - - -Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"). -You may not use this file except in compliance with the License. -A copy of the License is located at - - - -or in the "license" file accompanying this file. This file is distributed -on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -express or implied. See the License for the specific language governing -permissions and limitations under the License. - -# Guzzle - - - -Copyright (c) 2011 Michael Dowling, https://github.com/mtdowling - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -# Symfony - - - -Copyright (c) 2004-2012 Fabien Potencier - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -# Doctrine Common - - - -Copyright (c) 2006-2012 Doctrine Project - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -# Monolog - - - -Copyright (c) Jordi Boggiano - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/README.md b/in-development/check_awsiops/vendor/aws/aws-sdk-php/README.md deleted file mode 100644 index 6b47994..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/README.md +++ /dev/null @@ -1,122 +0,0 @@ -# AWS SDK for PHP 2 - -The **AWS SDK for PHP** enables PHP developers to easily work with [Amazon Web Services][aws] and build scalable -solutions with Amazon S3, Amazon DynamoDB, Amazon Glacier, and more. You can get started in minutes by [installing the -SDK through Composer][docs-installation] or by downloading a [single phar file][install-phar]. - -* [User Guide][docs-guide] -* [API Docs][docs-api] -* [SDK Homepage][sdk-website] -* [Forum][sdk-forum] -* [Issues][sdk-issues] -* [Packagist/Composer][install-packagist] -* [Contribution Guide][docs-contribution] -* [License][sdk-license] - -## Features - -* Provides easy-to-use HTTP clients for all supported AWS services, regions, and authentication protocols. -* Built for PHP 5.3.3+ and is compliant with [PSR-0][], [PSR-1][], and [PSR-2][]. -* Easy to install through [Composer][install-packagist], [PEAR][install-pear], or the [`aws.phar`][install-phar]. -* Built on [Guzzle][] and utilizes many of its features including persistent connections, parallel requests, events and - plugins (via [Symfony2 EventDispatcher][symfony2-events]), service descriptions, [over-the-wire - logging][docs-wire-logging], caching, flexible batching, and request retrying with truncated exponential backoff. -* Convenience features including [Iterators][docs-iterators], [Waiters][docs-waiters], Enums, [modelled - responses][docs-models], and [service-specific exceptions][docs-exceptions]. -* Multipart uploader for Amazon S3 and Amazon Glacier that can be paused and resumed. -* DynamoDB Session Handler for easily scaling sessions. -* Automatically uses [IAM Instance Profile Credentials][aws-iam-credentials] on configured Amazon EC2 instances. -* And more! - -## Getting Started - -1. **Sign up for AWS** – Before you begin, you need an AWS account. Please see the [Signing Up for AWS][docs-signup] - section of the user guide for information about how to create an AWS account and retrieve your AWS credentials. -1. **Minimum requirements** – To run the SDK you will need **PHP 5.3.3+** compiled with the cURL extension and cURL - 7.16.2+ compiled with OpenSSL and zlib. For more information about the requirements and optimum settings for the SDK, - please see the [Requirements][docs-requirements] section of the user guide. -1. **Install the SDK** – Using [Composer][] is the recommended way to install the AWS SDK for PHP. The SDK is available - via [Packagist][] under the [`aws/aws-sdk-php`][install-packagist] package. Please see the - [Installation][docs-installation] section of the user guide for more detailed information about installing the SDK - through Composer and other means. -1. **Using the SDK** – The best way to become familiar with how to use the SDK is to read the [User Guide][docs-guide]. - The [Quick Start Guide][docs-quickstart] will help you become familiar with the basic concepts, and there are also - specific guides for each of the [supported services][docs-services]. - -## Quick Examples - -### Upload a File to Amazon S3 - -```php -get('s3'); - -// Upload a publicly accessible file. File size, file type, and MD5 hash are automatically calculated by the SDK -try { - $s3->putObject(array( - 'Bucket' => 'my-bucket', - 'Key' => 'my-object', - 'Body' => fopen('/path/to/file', 'r'), - 'ACL' => CannedAcl::PUBLIC_READ - )); -} catch (S3Exception $e) { - echo "The file was not uploaded.\n"; -} -``` - -### More Examples - -* [Get an object from Amazon S3 and save it to a file][example-s3-getobject] -* [Upload a large file to Amazon S3 in parts][example-s3-multipart] -* [Put an item in your Amazon DynamoDB table][example-dynamodb-putitem] -* [Send a message to your Amazon SQS queue][example-sqs-sendmessage] - - - -[sdk-website]: http://aws.amazon.com/sdkforphp -[sdk-forum]: https://forums.aws.amazon.com/forum.jspa?forumID=80 -[sdk-issues]: https://github.com/aws/aws-sdk-php/issues -[sdk-license]: http://aws.amazon.com/apache2.0/ - -[install-packagist]: https://packagist.org/packages/aws/aws-sdk-php -[install-phar]: http://pear.amazonwebservices.com/get/aws.phar -[install-pear]: http://pear.amazonwebservices.com - -[docs-api]: http://docs.aws.amazon.com/aws-sdk-php-2/latest/index.html -[docs-guide]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/index.html -[docs-contribution]: https://github.com/aws/aws-sdk-php/blob/master/CONTRIBUTING.md -[docs-performance]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/performance.html -[docs-migration]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/migration-guide.html -[docs-signup]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/awssignup.html -[docs-requirements]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/requirements.html -[docs-installation]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/installation.html -[docs-quickstart]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/quick-start.html -[docs-iterators]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/quick-start.html#iterators -[docs-waiters]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/quick-start.html#waiters -[docs-models]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/quick-start.html#response-models -[docs-exceptions]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/quick-start.html#error-handling -[docs-wire-logging]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/faq.html#how-can-i-see-what-data-is-sent-over-the-wire -[docs-services]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/index.html#supported-services - -[aws]: http://aws.amazon.com/ -[aws-iam-credentials]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingIAM.html#UsingIAMrolesWithAmazonEC2Instances -[guzzle]: http://guzzlephp.org -[composer]: http://getcomposer.org -[packagist]: http://packagist.org -[psr-0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md -[psr-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md -[psr-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md -[symfony2-events]: http://symfony.com/doc/2.0/components/event_dispatcher/introduction.html - -[example-sqs-sendmessage]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-sqs.html#sending-messages -[example-s3-getobject]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-s3.html#saving-objects-to-a-file -[example-s3-multipart]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-s3.html#uploading-large-files-using-multipart-uploads -[example-dynamodb-putitem]: http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-dynamodb.html#adding-items diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/UPGRADING.md b/in-development/check_awsiops/vendor/aws/aws-sdk-php/UPGRADING.md deleted file mode 100644 index bb164b6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/UPGRADING.md +++ /dev/null @@ -1,30 +0,0 @@ -Upgrade from 2.0 to 2.1 -======================= - -### General - -Service descriptions are now versioned under the Resources/ directory of each client. - -### Waiters - -Waiters now require an associative array as input for the underlying operation performed by a waiter. The configuration -system for waiters under 2.0.x utilized strings to determine the parameters used to create an operation. For example, -when waiting for an object to exist with Amazon S3, you would pass a string containing the bucket name concatenated -with the object name using a '/' separator (e.g. 'foo/baz'). In the 2.1 release, these parameters are now more -explicitly tied to the underlying operation utilized by a waiter. For example, to use the ObjectExists waiter of -Amazon S3 pass an associative array of `array('Bucket' => 'foo', 'Key' => 'baz')`. These options match the option names -and rules associated with the HeadObject operation performed by the waiter. The API documentation of each client -describes the waiters associated with the client and what underlying operation is responsible for waiting on the -resource. Waiter specific options like the maximum number of attempts (max_attempts) or interval to wait between -retries (interval) can be specified in this same configuration array by prefixing the keys with `waiter.`. - -Waiters can also be invoked using magic methods on the client. These magic methods are listed in each client's docblock -using `@method` tags. - -```php -$s3Client->waitUntilObjectExists(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'waiter.max_attempts' => 3 -)); -``` diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build.xml b/in-development/check_awsiops/vendor/aws/aws-sdk-php/build.xml deleted file mode 100644 index d20c8ed..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build.xml +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - php -d mock=true `which phpunit` -c phpunit.functional.xml - - - - - - - - - You must copy phpunit.functional.dist to phpunit.functional.xml and modify the appropriate property settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Composer is installed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/phar-stub.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/phar-stub.php deleted file mode 100644 index 2a15b2d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/phar-stub.php +++ /dev/null @@ -1,36 +0,0 @@ -registerNamespaces(array( - 'Aws' => 'phar://aws.phar/src', - 'Guzzle' => 'phar://aws.phar/vendor/guzzle/guzzle/src', - 'Symfony\\Component\\EventDispatcher' => 'phar://aws.phar/vendor/symfony/event-dispatcher', - 'Doctrine\\Common' => 'phar://aws.phar/vendor/doctrine/common/lib', - 'Psr\\Log' => 'phar://aws.phar/vendor/psr/log', - 'Monolog' => 'phar://aws.phar/vendor/monolog/monolog/src' -)); -$classLoader->register(); - -return $classLoader; - -__HALT_COMPILER(); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/vanity/bootstrap.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/vanity/bootstrap.php deleted file mode 100644 index 829762c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/vanity/bootstrap.php +++ /dev/null @@ -1,9 +0,0 @@ -warning->apply(' You must run Composer\'s `install` task before generating documentation. ') . PHP_EOL . PHP_EOL; - exit(1); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/vanity/config.yml b/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/vanity/config.yml deleted file mode 100644 index 0e49be2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/build/vanity/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Vanity configuration -vanity: - name: AWS SDK for PHP -api: - stage: dev - exclude: - classes: /\n/ - warn: - dependencies: true - inconsistencies: true - todo: true - ungrouped: true diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/composer.json b/in-development/check_awsiops/vendor/aws/aws-sdk-php/composer.json deleted file mode 100755 index 18d8bf0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/composer.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "aws/aws-sdk-php", - "homepage": "http://aws.amazon.com/sdkforphp2", - "description":"AWS SDK for PHP", - "keywords":["aws","amazon","sdk","s3","ec2","dynamodb"], - "type":"library", - "license":"Apache-2.0", - "authors":[ - { - "name":"Amazon Web Services", - "homepage":"http://aws.amazon.com" - } - ], - "require": { - "php": ">=5.3.3", - "guzzle/guzzle": "~3.3.0" - }, - "suggest": { - "doctrine/cache": "Adds support for caching of credentials and responses", - "ext-apc": "Allows service description opcode caching, request and response caching, and credentials caching", - "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages", - "monolog/monolog": "Adds support for logging HTTP requests and responses", - "symfony/yaml": "Eases the ability to write manifests for creating jobs in AWS Import/Export" - }, - "require-dev": { - "doctrine/common": "2.3.*", - "ext-apc": "*", - "ext-openssl": "*", - "monolog/monolog": "1.4.*", - "phpunit/phpunit": "3.7.*", - "symfony/class-loader": "2.*", - "symfony/yaml": "2.*" - }, - "autoload": { - "psr-0": { - "Aws": "src/" - } - }, - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/Makefile b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/Makefile deleted file mode 100644 index 3c2a1b0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/Makefile +++ /dev/null @@ -1,160 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = _build -TRACKING = - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . -# the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . - -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext - -help: - @echo "Please use \`make ' where is one of" - @echo " html to make standalone HTML files" - @echo " pdf to make PDF files" - @echo " dirhtml to make HTML files named index.html in directories" - @echo " singlehtml to make a single large HTML file" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " qthelp to make HTML files and a qthelp project" - @echo " devhelp to make HTML files and a Devhelp project" - @echo " epub to make an epub" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " text to make text files" - @echo " man to make manual pages" - @echo " texinfo to make Texinfo files" - @echo " info to make Texinfo files and run them through makeinfo" - @echo " gettext to make PO message catalogs" - @echo " changes to make an overview of all changed/added/deprecated items" - @echo " linkcheck to check all external links for integrity" - @echo " doctest to run all doctests embedded in the documentation (if enabled)" - -clean: - -rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - -pdf: - $(SPHINXBUILD) -b pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf - @echo - @echo "Build finished. The PDF file is in $(BUILDDIR)/pdf." - -dirhtml: - $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." - -singlehtml: - $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml - @echo - @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." - -pickle: - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -json: - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in $(BUILDDIR)/htmlhelp." - -qthelp: - $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp - @echo - @echo "Build finished; now you can run "qcollectiongenerator" with the" \ - ".qhcp project file in $(BUILDDIR)/qthelp, like this:" - @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/AWSSDKforPHP.qhcp" - @echo "To view the help file:" - @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/AWSSDKforPHP.qhc" - -devhelp: - $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp - @echo - @echo "Build finished." - @echo "To view the help file:" - @echo "# mkdir -p $$HOME/.local/share/devhelp/AWSSDKforPHP" - @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/AWSSDKforPHP" - @echo "# devhelp" - -epub: - $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub - @echo - @echo "Build finished. The epub file is in $(BUILDDIR)/epub." - -latex: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo - @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." - @echo "Run \`make' in that directory to run these through (pdf)latex" \ - "(use \`make latexpdf' here to do that automatically)." - -latexpdf: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through pdflatex..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -text: - $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text - @echo - @echo "Build finished. The text files are in $(BUILDDIR)/text." - -man: - $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man - @echo - @echo "Build finished. The manual pages are in $(BUILDDIR)/man." - -texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo - @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." - @echo "Run \`make' in that directory to run these through makeinfo" \ - "(use \`make info' here to do that automatically)." - -info: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo "Running Texinfo files through makeinfo..." - make -C $(BUILDDIR)/texinfo info - @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." - -gettext: - $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale - @echo - @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." - -changes: - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes - @echo - @echo "The overview file is in $(BUILDDIR)/changes." - -linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in $(BUILDDIR)/linkcheck/output.txt." - -doctest: - $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest - @echo "Testing of doctests in the sources finished, look at the " \ - "results in $(BUILDDIR)/doctest/output.txt." diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_ext/aws/__init__.py b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_ext/aws/__init__.py deleted file mode 100644 index cdc8039..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_ext/aws/__init__.py +++ /dev/null @@ -1,210 +0,0 @@ -import os, re, subprocess, json, collections -from sphinx.addnodes import toctree -from docutils import io, nodes, statemachine, utils -from docutils.parsers.rst import Directive -from jinja2 import Environment, PackageLoader - -def setup(app): - """ - see: http://sphinx.pocoo.org/ext/appapi.html - this is the primary extension point for Sphinx - """ - from sphinx.application import Sphinx - if not isinstance(app, Sphinx): return - - app.add_role('regions', regions_role) - app.add_directive('service', ServiceIntro) - - -def regions_role(name, rawtext, text, lineno, inliner, options={}, content={}): - """Inserts a list of regions available to a service name - - Returns 2 part tuple containing list of nodes to insert into the - document and a list of system messages. Both are allowed to be - empty. - - :param name: The role name used in the document. - :param rawtext: The entire markup snippet, with role. - :param text: The text marked with the role. - :param lineno: The line number where rawtext appears in the input. - :param inliner: The inliner instance that called us. - :param options: Directive options for customization. - :param content: The directive content for customization. - """ - try: - service_name = str(text) - if not service_name: - raise ValueError - app = inliner.document.settings.env.app - node = make_regions_node(rawtext, app, str(service_name), options) - return [node], [] - except ValueError: - msg = inliner.reporter.error( - 'The service name "%s" is invalid; ' % text, line=lineno) - prb = inliner.problematic(rawtext, rawtext, msg) - return [prb], [msg] - - -def get_regions(service_name): - """Get the regions for a service by name - - Returns a list of regions - - :param service_name: Retrieve regions for this service by name - """ - return ServiceDescription(service_name)['regions'].keys() - - -def make_regions_node(rawtext, app, service_name, options): - """Create a list of regions for a service name - - :param rawtext: Text being replaced with the list node. - :param app: Sphinx application context - :param service_name: Service name - :param options: Options dictionary passed to role func. - """ - regions = get_regions(service_name) - return nodes.Text(", ".join(regions)) - - -class Flyweight(object): - """ - Allows cached instances of a class to be returned with new classes - """ - - def __init__(self, cls): - self._cls = cls - self._instances = dict() - - def __call__(self, *args, **kargs): - return self._instances.setdefault( - (args, tuple(kargs.items())), - self._cls(*args, **kargs)) - - -@Flyweight -class ServiceDescription(): - """ - Loads the service description for a given source file - """ - - def __init__(self, service): - self.service_name = service - self.description = self.load_description(self.determine_filename()) - - def determine_filename(self): - """Determines the filename to load for a service""" - # Determine the path to the aws-config - path = os.path.abspath("../src/Aws/Common/Resources/aws-config.php") - self.config = self.__load_php(path) - - # Iterate over the loaded dictionary and see if a matching service exists - for key in self.config["services"]: - alias = self.config["services"][key].get("alias", "") - if key == self.service_name or alias == self.service_name: - break - else: - raise ValueError("No service matches %s" % (self.service_name)) - - # Determine the name of the client class to load - class_path = self.config["services"][key]["class"].replace("\\", "/") - client_path = os.path.abspath("../src/" + class_path + ".php") - - # Determine the name of the servce description used by the client - contents = open(client_path, 'r').read() - matches = re.search("__DIR__ \. '/Resources/(.+)\.php'", contents) - description = matches.groups(0)[0] - - # Strip the filename of the client and determine the description path - service_path = "/".join(client_path.split("/")[0:-1]) - service_path += "/Resources/" + description + ".php" - - return service_path - - def load_description(self, path): - """Determines the filename to load for a service - - :param path: Path to a service description to load - """ - return self.__load_php(path) - - def __load_php(self, path): - """Load a PHP script that returns an array using JSON - - :param path: Path to the script to load - """ - path = os.path.abspath(path) - sh = 'php -r \'$c = include "' + path + '"; echo json_encode($c);\'' - loaded = subprocess.check_output(sh, shell=True) - return json.loads(loaded) - - def __getitem__(self, i): - """Allows access to the service description items via the class""" - return self.description.get(i) - - -class ServiceIntro(Directive): - """ - Creates a service introduction to inject into a document - """ - - required_arguments = 1 - optional_arguments = 0 - final_argument_whitespace = True - - def run(self): - service_name = self.arguments[0].strip() - d = ServiceDescription(service_name) - rawtext = self.generate_rst(d) - tab_width = 4 - include_lines = statemachine.string2lines( - rawtext, tab_width, convert_whitespace=1) - self.state_machine.insert_input( - include_lines, os.path.abspath(__file__)) - return [] - - def get_doc_link(self, name, namespace): - """Determine the documentation link for an endpoint""" - if name == "sts": - return "http://aws.amazon.com/documentation/iam/" - else: - return "http://aws.amazon.com/documentation/" + namespace.lower() - - def get_locator_name(self, name): - """Determine the service locator name for an endpoint""" - return name - - def generate_rst(self, d): - rawtext = "" - scalar = {} - # Sort the operations by key - operations = collections.OrderedDict(sorted(d.description['operations'].items())) - - # Grab all of the simple strings from the description - for key in d.description: - if isinstance(d[key], str) or isinstance(d[key], unicode): - scalar[key] = d[key] - # Add substitutions for top-level data in a service description - rawtext += ".. |%s| replace:: %s\n\n" % (key, scalar[key]) - - # Add magic methods to each operation - for key in operations: - operations[key]['magicMethod'] = key[0].lower() + key[1:] - - # Set the ordered dict of operations on the description - d.description['operations'] = operations - - # Determine the service locator name and doc URL - locator_name = self.get_locator_name(d["namespace"]) - docs = self.get_doc_link(locator_name, d["namespace"]) - - env = Environment(loader=PackageLoader('aws', 'templates')) - template = env.get_template("client_intro") - rawtext += template.render( - scalar, - description=d.description, - regions=get_regions(d["namespace"]), - locator_name=locator_name, - doc_url=docs) - - return rawtext diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_ext/aws/templates/client_intro b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_ext/aws/templates/client_intro deleted file mode 100644 index 025d5b4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_ext/aws/templates/client_intro +++ /dev/null @@ -1,88 +0,0 @@ -================= -|serviceFullName| -================= - -This guide focuses on the AWS SDK for PHP interface to `{{ serviceFullName }} <{{ doc_url }}>`_. This guide assumes -that you have already downloaded and installed the AWS SDK for PHP 2. See :doc:`installation` for more information -on getting started. - -.. _{{ namespace }}_operations: - -Available operations --------------------- - -Please see the `{{ serviceFullName }} API reference `_ -for a full list of available methods. - - -{# Here we are creating a list-table. The contents of a list-table looks like: - * - Foo - - Bar - * - Baz - - Bam - - We must also ensure that the same number of columns are available for each table row. -#} - -.. list-table:: - :header-rows: 0 - :stub-columns: 0 - :class: api-operations - - {% for key, op in description.operations.iteritems() %} - {% if loop.index is odd %}* {% else %} {% endif %}- `{{ key }} `_ - {%- if op.documentationUrl %} (`service docs <{{ op.documentationUrl}}>`_){%- endif %} - {%- if loop.last and loop.index is odd %} - - - {%- endif %} - {% endfor %} - -Creating a client ------------------ - -The first thing you need to do is create a client object using one of the following methods. - -Factory method -~~~~~~~~~~~~~~ - -The easiest way to get up and running is to use the ``Aws\{{namespace}}\{{namespace}}Client::factory()`` method. - -You can pass your access keys or omit them if you are using `AWS Identity and Access Management (IAM) roles for EC2 -instances `_ or -credentials sourced from the ``AWS_ACCESS_KEY_ID`` and ``AWS_SECRET_ACCESS_KEY`` environment variables. - -{% if not globalEndpoint -%} -A ``region`` parameter is required and must be set to one of the following values: ``{{ regions|join("``, ``") }}`` -{% endif %} - -.. code-block:: php - - use Aws\{{namespace}}\{{namespace}}Client; - - {% if not globalEndpoint -%} - $client = {{namespace}}Client::factory(array( - 'key' => '', - 'secret' => '', - 'region' => '' - ));{% else %}$client = {{namespace}}Client::factory(array( - 'key' => '', - 'secret' => '' - )); - {% endif %} - -Service locator -~~~~~~~~~~~~~~~ - -A more robust way to connect to {{ serviceFullName }} is through the service locator. This allows you to specify -credentials and other configuration settings in a configuration file. These settings can then be shared across all -clients so that you only have to specify your settings once. - -.. code-block:: php - - use Aws\Common\Aws; - - // Create a service builder using a configuration file - $aws = Aws::factory('/path/to/my_config.json'); - - // Get the client from the builder by namespace - $client = $aws->get('{{ namespace }}'); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_snippets/incomplete.txt b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_snippets/incomplete.txt deleted file mode 100644 index c655a2d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_snippets/incomplete.txt +++ /dev/null @@ -1,10 +0,0 @@ ------------------------------- - -.. admonition:: This guide is incomplete - - This guide is not quite finished. If you are looking for a good way to contribute to the SDK and to the rest of - the AWS PHP community, then helping to write documentation is a great place to start. Our guides are written - in `ReStructuredText `_ and generated using - `Sphinx `_. Feel free to add some content to our documentation and send a pull request - to https://github.com/aws/aws-sdk-php. You can view our documentation sources at - https://github.com/aws/aws-sdk-php/tree/master/docs. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_static/logo.png b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_static/logo.png deleted file mode 100644 index 684f30f..0000000 Binary files a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_static/logo.png and /dev/null differ diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_templates/sidebarlogo.html b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_templates/sidebarlogo.html deleted file mode 100644 index d7488f2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_templates/sidebarlogo.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/LICENSE b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/LICENSE deleted file mode 100644 index 8daab7e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/LICENSE +++ /dev/null @@ -1,37 +0,0 @@ -Copyright (c) 2010 by Armin Ronacher. - -Some rights reserved. - -Redistribution and use in source and binary forms of the theme, with or -without modification, are permitted provided that the following conditions -are met: - -* Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - -* The names of the contributors may not be used to endorse or - promote products derived from this software without specific - prior written permission. - -We kindly ask you to only use these themes in an unmodified manner just -for Flask and Flask-related products, not for unrelated projects. If you -like the visual style and want to use it for your own projects, please -consider making some larger changes to the themes (such as changing -font faces, sizes, colors or margins). - -THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/README b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/README deleted file mode 100644 index b3292bd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/README +++ /dev/null @@ -1,31 +0,0 @@ -Flask Sphinx Styles -=================== - -This repository contains sphinx styles for Flask and Flask related -projects. To use this style in your Sphinx documentation, follow -this guide: - -1. put this folder as _themes into your docs folder. Alternatively - you can also use git submodules to check out the contents there. -2. add this to your conf.py: - - sys.path.append(os.path.abspath('_themes')) - html_theme_path = ['_themes'] - html_theme = 'flask' - -The following themes exist: - -- 'flask' - the standard flask documentation theme for large - projects -- 'flask_small' - small one-page theme. Intended to be used by - very small addon libraries for flask. - -The following options exist for the flask_small theme: - - [options] - index_logo = '' filename of a picture in _static - to be used as replacement for the - h1 in the index.rst file. - index_logo_height = 120px height of the index logo - github_fork = '' repository name on github for the - "fork me" badge diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/flask_theme_support.py b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/flask_theme_support.py deleted file mode 100644 index 1355b43..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/flask_theme_support.py +++ /dev/null @@ -1,86 +0,0 @@ -# flasky extensions. flasky pygments style based on tango style -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal - - -class FlaskyStyle(Style): - background_color = "#f8f8f8" - default_style = "" - - styles = { - # No corresponding class for the following: - #Text: "", # class: '' - Whitespace: "underline #f8f8f8", # class: 'w' - Error: "#a40000 border:#ef2929", # class: 'err' - Other: "#000000", # class 'x' - - Comment: "italic #8f5902", # class: 'c' - Comment.Preproc: "noitalic", # class: 'cp' - - Keyword: "bold #004461", # class: 'k' - Keyword.Constant: "bold #004461", # class: 'kc' - Keyword.Declaration: "bold #004461", # class: 'kd' - Keyword.Namespace: "bold #004461", # class: 'kn' - Keyword.Pseudo: "bold #004461", # class: 'kp' - Keyword.Reserved: "bold #004461", # class: 'kr' - Keyword.Type: "bold #004461", # class: 'kt' - - Operator: "#582800", # class: 'o' - Operator.Word: "bold #004461", # class: 'ow' - like keywords - - Punctuation: "bold #000000", # class: 'p' - - # because special names such as Name.Class, Name.Function, etc. - # are not recognized as such later in the parsing, we choose them - # to look the same as ordinary variables. - Name: "#000000", # class: 'n' - Name.Attribute: "#006EC4", # class: 'na' - to be revised - Name.Builtin: "#004461", # class: 'nb' - Name.Builtin.Pseudo: "#3465a4", # class: 'bp' - Name.Class: "#000000", # class: 'nc' - to be revised - Name.Constant: "#000000", # class: 'no' - to be revised - Name.Decorator: "#888", # class: 'nd' - to be revised - Name.Entity: "#ce5c00", # class: 'ni' - Name.Exception: "bold #cc0000", # class: 'ne' - Name.Function: "#000000", # class: 'nf' - Name.Property: "#000000", # class: 'py' - Name.Label: "#f57900", # class: 'nl' - Name.Namespace: "#000000", # class: 'nn' - to be revised - Name.Other: "#000000", # class: 'nx' - Name.Tag: "bold #004461", # class: 'nt' - like a keyword - Name.Variable: "#000000", # class: 'nv' - to be revised - Name.Variable.Class: "#000000", # class: 'vc' - to be revised - Name.Variable.Global: "#000000", # class: 'vg' - to be revised - Name.Variable.Instance: "#000000", # class: 'vi' - to be revised - - Number: "#990000", # class: 'm' - - Literal: "#000000", # class: 'l' - Literal.Date: "#000000", # class: 'ld' - - String: "#4e9a06", # class: 's' - String.Backtick: "#4e9a06", # class: 'sb' - String.Char: "#4e9a06", # class: 'sc' - String.Doc: "italic #8f5902", # class: 'sd' - like a comment - String.Double: "#4e9a06", # class: 's2' - String.Escape: "#4e9a06", # class: 'se' - String.Heredoc: "#4e9a06", # class: 'sh' - String.Interpol: "#4e9a06", # class: 'si' - String.Other: "#4e9a06", # class: 'sx' - String.Regex: "#4e9a06", # class: 'sr' - String.Single: "#4e9a06", # class: 's1' - String.Symbol: "#4e9a06", # class: 'ss' - - Generic: "#000000", # class: 'g' - Generic.Deleted: "#a40000", # class: 'gd' - Generic.Emph: "italic #000000", # class: 'ge' - Generic.Error: "#ef2929", # class: 'gr' - Generic.Heading: "bold #000080", # class: 'gh' - Generic.Inserted: "#00A000", # class: 'gi' - Generic.Output: "#888", # class: 'go' - Generic.Prompt: "#745334", # class: 'gp' - Generic.Strong: "bold #000000", # class: 'gs' - Generic.Subheading: "bold #800080", # class: 'gu' - Generic.Traceback: "bold #a40000", # class: 'gt' - } diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/layout.html b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/layout.html deleted file mode 100644 index 48a936a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/layout.html +++ /dev/null @@ -1,72 +0,0 @@ -{%- extends "basic/layout.html" %} -{%- block extrahead %} - {{ super() }} - {% if theme_touch_icon %} - - {% endif %} - -{% endblock %} -{% block header %} - - {{ super() }} - {% if pagename == 'index' %} -
- {% endif %} -{% endblock %} -{% block content %} - {{ super() }} - {% if pagename != 'index' %} - {% if prev or next %} - - {% endif %} - {% endif %} -{% endblock %} -{%- block footer %} - - {% if pagename == 'index' %} -
- {% endif %} - {% if TRACKING %} - - - - - - - {% endif %} -{%- endblock %} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/relations.html b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/relations.html deleted file mode 100644 index 525a568..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/relations.html +++ /dev/null @@ -1,22 +0,0 @@ -

Related Topics

- -

Feedback

- diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/static/flasky.css_t b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/static/flasky.css_t deleted file mode 100644 index 75b439a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/static/flasky.css_t +++ /dev/null @@ -1,500 +0,0 @@ -/* - * flasky.css_t - * ~~~~~~~~~~~~ - * - * :copyright: Copyright 2010 by Armin Ronacher. - * :license: Flask Design License, see LICENSE for details. - */ - -{% set page_width = '960px' %} -{% set sidebar_width = '220px' %} -{% set font_family = 'Helvetica, arial, freesans, clean, sans-serif' %} -{% set blue_link = 'rgb(0, 89, 160)' %} - -@import url("basic.css"); - -/* -- page layout ----------------------------------------------------------- */ - -body { - font-family: {{ font_family }}; - font-size: 15px; - background-color: white; - color: #000; - margin: 0; - padding: 0; -} - -div.document { - width: {{ page_width }}; - margin: 30px auto 0 auto; -} - -div.documentwrapper { - float: left; - width: 100%; -} - -div.bodywrapper { - margin: 0 0 0 {{ sidebar_width }}; -} - -div.sphinxsidebar { - width: {{ sidebar_width }}; -} - -hr { - border: 1px solid #B1B4B6; -} - -div.body { - background-color: #ffffff; - color: #3E4349; - padding: 0 30px 0 30px; -} - -img.floatingflask { - padding: 0 0 10px 10px; - float: right; -} - -div.footer { - width: {{ page_width }}; - margin: 20px auto 30px auto; - font-size: 14px; - color: #888; - text-align: right; -} - -div.footer a { - color: #888; -} - -div.related { - display: none; -} - -div.sphinxsidebar a { - color: #444; - text-decoration: none; -} - -div.sphinxsidebar a:hover { - border-bottom: 1px solid #999; -} - -div.sphinxsidebar { - font-size: 14px; - line-height: 1.5; -} - -div.sphinxsidebarwrapper { - padding: 0 10px 18px; -} - -div.sphinxsidebarwrapper p.logo { - padding: 0 0 8px 0; - margin: 0; -} - -div.sphinxsidebar h3, -div.sphinxsidebar h4 { - font-family: {{ font_family }}; - color: #444; - font-size: 24px; - font-weight: normal; - margin: 0 0 5px 0; - padding: 0; -} - -div.sphinxsidebar h4 { - font-size: 20px; -} - -div.sphinxsidebar h3 a { - color: #444; -} - -div.sphinxsidebar p.logo a, -div.sphinxsidebar h3 a, -div.sphinxsidebar p.logo a:hover, -div.sphinxsidebar h3 a:hover { - border: none; -} - -div.sphinxsidebarwrapper h3.logo { - margin: 0; -} - -div.sphinxsidebar p { - color: #555; - margin: 10px 0; -} - -div.sphinxsidebar ul { - margin: 10px 0; - padding: 0; - color: #000; -} - -div.sphinxsidebar input { - border: 1px solid #ccc; - font-family: {{ font_family }}; - font-size: 1em; -} - -p.feedback a { - color: {{ blue_link }}; -} - -/* -- body styles ----------------------------------------------------------- */ - -a { - color: {{ blue_link }}; - text-decoration: none; -} - -a:hover { - color: #6D4100; - text-decoration: underline; -} - -div.body h1, -div.body h2, -div.body h3, -div.body h4, -div.body h5, -div.body h6 { - font-family: {{ font_family }}; - font-weight: normal; - margin: 30px 0px 10px 0px; - padding: 0; -} - -{% if theme_index_logo %} -div.indexwrapper h1 { - text-indent: -999999px; - background: url({{ theme_index_logo }}) no-repeat center center; - height: {{ theme_index_logo_height }}; -} -{% endif %} - -div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; font-weight: bold; } -div.body h2 { font-size: 180%; border-bottom: 1px solid #ccc; padding-bottom: 6px; font-weight: bold; } -div.body h3 { font-size: 150%; font-weight: bold; } -div.body h4 { font-size: 130%; } -div.body h5 { font-size: 100%; } -div.body h6 { font-size: 100%; } - -a.headerlink { - color: #ddd; - padding: 0 4px; - text-decoration: none; -} - -a.headerlink:hover { - color: #444; - background: #eaeaea; -} - -div.body p, div.body dd, div.body li { - line-height: 1.5em; -} - -div.admonition { - background: #fafafa; - margin: 20px 0; - padding: 10px 30px; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} - -div.admonition tt.xref, div.admonition a tt { - border-bottom: 1px solid #fafafa; -} - -dd div.admonition { - margin-left: -60px; - padding-left: 60px; -} - -div.admonition p.admonition-title { - font-family: {{ font_family }}; - font-weight: normal; - font-size: 22px; - margin: 0 0 10px 0; - padding: 0; - line-height: 1; -} - -div.admonition p.last { - margin-bottom: 0; -} - -div.highlight { - background-color: white; -} - -dt:target, .highlight { - background: #FAF3E8; -} - -div.note { - background-color: #f8f8f8; - border: 1px solid #ccc; - border-radius: 3px; -} - -div.seealso { - background-color: #ffc; - border: 1px solid #ff6; -} - -div.topic { - background-color: #f8f8f8; -} - -p.admonition-title { - display: inline; -} - -p.admonition-title:after { - content: ":"; -} - -pre, tt { - font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; - font-size: 0.9em; -} - -img.screenshot { -} - -tt.descname, tt.descclassname { - font-size: 0.95em; -} - -tt.descname { - padding-right: 0.08em; -} - -img.screenshot { - -moz-box-shadow: 2px 2px 4px #eee; - -webkit-box-shadow: 2px 2px 4px #eee; - box-shadow: 2px 2px 4px #eee; -} - -table.docutils { - border: 1px solid #888; - -moz-box-shadow: 2px 2px 4px #eee; - -webkit-box-shadow: 2px 2px 4px #eee; - box-shadow: 2px 2px 4px #eee; -} - -table.docutils td, table.docutils th { - border: 1px solid #888; - padding: 0.25em 0.7em; -} - -table.field-list, table.footnote { - border: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -table.footnote { - margin: 15px 0; - width: 100%; - border: 1px solid #eee; - background: #fdfdfd; - font-size: 0.9em; -} - -table.footnote + table.footnote { - margin-top: -15px; - border-top: none; -} - -table.field-list th { - padding: 0 0.8em 0 0; -} - -table.field-list td { - padding: 0; -} - -table.footnote td.label { - width: 0px; - padding: 0.3em 0 0.3em 0.5em; -} - -table.footnote td { - padding: 0.3em 0.5em; -} - -dl { - margin: 0; - padding: 0; -} - -dl dd { - margin-left: 30px; -} - -blockquote { - margin: 0 0 0 30px; - padding: 0; -} - -ul, ol { - margin: 10px 0 10px 30px; - padding: 0; -} - -pre { - background-color: #f8f8f8; - border: 1px solid #ccc; - font-size: 13px; - line-height: 19px; - overflow: auto; - padding: 6px 10px; - border-radius: 3px; -} - -dl pre, blockquote pre, li pre { - -} - -dl dl pre { - margin-left: -90px; - padding-left: 90px; -} - -tt { - background-color: #ecf0f3; - color: #222; - /* padding: 1px 2px; */ -} - -tt.xref, a tt { - background-color: #FBFBFB; - border-bottom: 1px solid white; -} - -a.reference { - text-decoration: none; -} - -a.reference:hover { - border-bottom: 1px solid #6D4100; -} - -a.footnote-reference { - text-decoration: none; - font-size: 0.7em; - vertical-align: top; -} - -a.footnote-reference:hover { - border-bottom: 1px solid #6D4100; -} - -a:hover tt { - background: #EEE; -} - -.logo img { - margin: 0 0 24px 0; - padding: 0; -} - -#menu { - padding: 12px; - margin: 0 0 24 px; - height: 19px; - background: rgb(244, 248, 250); - border-bottom: 1px solid rgb(206, 221, 230); -} - -.width-wrapper { - width: {{ page_width }}; - margin: 0 auto; -} - -#menu #left-logo { - float: left; - margin-right: 85px; - font-weight: bold; - margin-left: 20px; -} -#menu #main-menu { - float: left; - margin: 0; - padding: 0; -} -#menu #main-menu li { - display: block; - margin: 0 30px 0 0; - padding: 0; - float: left; - font-weight: bold; -} -#menu a { - text-decoration: none; -} - -#footer-links { - border-top: 1px solid #ccc; - padding-top: 12px; - margin-top: 30px; - height: 30px; -} - -#footer-links a { - padding: 0 24px 0 0; - display: block; - padding: 0 0 0 20px; - float: right; -} - -.inline-toc { - background-color: #fff !important; - border: none !important; - padding: 0 0 0 14px !important; -} - -div .warning { - background: rgb(255, 242, 242); -} - -table.api-operations { - width: 100%; - border: none; - border-width: 0; - -webkit-box-shadow: none; - box-shadow: none; - -moz-box-shadow: none; -} - -table.api-operations tbody td { - border-top: 0; - border-left: 0; - border-right: 0; - border-bottom: 1px solid #eee; -} - -#github-stars { - float: right; - margin: 0; - padding: 0; -} - -#github-stars iframe { - margin: 0; - padding: 0; -} - -.internal em { - text-decoration: none !important; - font-style: none !important; -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/static/small_flask.css b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/static/small_flask.css deleted file mode 100644 index 1c6df30..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/static/small_flask.css +++ /dev/null @@ -1,70 +0,0 @@ -/* - * small_flask.css_t - * ~~~~~~~~~~~~~~~~~ - * - * :copyright: Copyright 2010 by Armin Ronacher. - * :license: Flask Design License, see LICENSE for details. - */ - -body { - margin: 0; - padding: 20px 30px; -} - -div.documentwrapper { - float: none; - background: white; -} - -div.sphinxsidebar { - display: block; - float: none; - width: 102.5%; - margin: 50px -30px -20px -30px; - padding: 10px 20px; - background: #333; - color: white; -} - -div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, -div.sphinxsidebar h3 a { - color: white; -} - -div.sphinxsidebar a { - color: #aaa; -} - -div.sphinxsidebar p.logo { - display: none; -} - -div.document { - width: 100%; - margin: 0; -} - -div.related { - display: block; - margin: 0; - padding: 10px 0 20px 0; -} - -div.related ul, -div.related ul li { - margin: 0; - padding: 0; -} - -div.footer { - display: none; -} - -div.bodywrapper { - margin: 0; -} - -div.body { - min-height: 0; - padding: 0; -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/theme.conf b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/theme.conf deleted file mode 100644 index 692a9e1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/_themes/flask/theme.conf +++ /dev/null @@ -1,12 +0,0 @@ -[theme] -inherit = basic -stylesheet = flasky.css -pygments_style = flask_theme_support.FlaskyStyle -github_fork = 'https://github.com/aws/aws-sdk-php' - -[options] -# index_logo = 'logo.png' -index_logo_height = 0px -touch_icon = -github_user = aws -github_repo = aws-sdk-php diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/awssignup.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/awssignup.rst deleted file mode 100644 index c03653f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/awssignup.rst +++ /dev/null @@ -1,60 +0,0 @@ -================== -Signing Up for AWS -================== - -Creating an AWS account ------------------------ - -Before you begin, you need to create an account. When you sign up for AWS, AWS signs your account up for all services. -You are charged only for the services you use. - -To sign up for AWS -~~~~~~~~~~~~~~~~~~ - -#. Go to http://aws.amazon.com and click **Sign Up Now**. - -#. Follow the on-screen instructions. - -AWS sends you a confirmation email after the sign-up process is complete. At any time, you can view your current account -activity and manage your account at http://aws.amazon.com/account. From the **My Account** page, you can view current -charges and account activity and download usage reports. - -To view your AWS credentials -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -#. Go to http://aws.amazon.com/. - -#. Click **My Account/Console**, and then click **Security Credentials**. - -#. Under **Your Account**, click **Security Credentials**. - -#. In the spaces provided, type your user name and password, and then click **Sign in using our secure server**. - -#. Under **Access Credentials**, on the **Access Keys** tab, your access key ID is displayed. To view your secret key, - under **Secret Access Key**, click **Show**. - -Your secret key must remain a secret that is known only by you and AWS. Keep it confidential in order to protect your -account. Store it securely in a safe place, and never email it. Do not share it outside your organization, even if an -inquiry appears to come from AWS or Amazon.com. No one who legitimately represents Amazon will ever ask you for your -secret key. - -Getting your AWS credentials ----------------------------- - -In order to use the AWS SDK for PHP, you need your AWS Access Key ID and Secret Access Key. - -To get your AWS Access Key ID and Secret Access Key - -- Go to http://aws.amazon.com/. -- Click **Account** and then click **Security Credentials**. The Security Credentials page displays (you might be - prompted to log in). -- Scroll down to Access Credentials and make sure the **Access Keys** tab is selected. The AWS Access Key ID appears in - the Access Key column. -- To view the Secret Access Key, click **Show**. - -.. note:: - - **Important: Your Secret Access Key is a secret**, which only you and AWS should know. It is important to keep it confidential - to protect your account. Store it securely in a safe place. Never include it in your requests to AWS, and never - e-mail it to anyone. Do not share it outside your organization, even if an inquiry appears to come from AWS or - Amazon.com. No one who legitimately represents Amazon will ever ask you for your Secret Access Key. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/conf.py b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/conf.py deleted file mode 100644 index f9be6d6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/conf.py +++ /dev/null @@ -1,267 +0,0 @@ -# -*- coding: utf-8 -*- -# -# AWS SDK for PHP documentation build configuration file, created by -# sphinx-quickstart on Mon Dec 10 19:00:11 2012. -# -# This file is execfile()d with the current directory set to its containing dir. -# -# Note that not all possible configuration values are present in this -# autogenerated file. -# -# All configuration values have a default; values that are commented out -# serve to show the default. - -import sys, os, subprocess - -# Don't require opening PHP tags in PHP examples -from sphinx.highlighting import lexers -from pygments.lexers.web import PhpLexer -lexers['php'] = PhpLexer(startinline=True, linenos=1) -lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1) -primary_domain = 'php' - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) - -# -- General configuration ----------------------------------------------------- - -# If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' - -# Add our custom extensions -sys.path.append(os.path.abspath('_ext/')) - -# Add any Sphinx extension module names here, as strings. They can be extensions -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['aws', 'rst2pdf.pdfbuilder'] - -# index, rst2pdf, title, author -pdf_documents = [('index', u'aws-sdk-php-guide', u'AWS SDK for PHP 2', u'Amazon Web Services')] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The suffix of source filenames. -source_suffix = '.rst' - -# The encoding of source files. -#source_encoding = 'utf-8-sig' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'AWS SDK for PHP' -copyright = u'2013, Amazon Web Services' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -version = subprocess.check_output('git describe --abbrev=0 --tags', shell=True).strip() -# The full version, including alpha/beta/rc tags. -release = version - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -#language = None - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -#today_fmt = '%B %d, %Y' - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -exclude_patterns = ['_build'] - -# The reST default role (used for this markup: `text`) to use for all documents. -#default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -#add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -#show_authors = False - -sys.path.append(os.path.abspath('_themes')) -sys.path.append(os.path.abspath('_themes/flask')) - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'flask_theme_support.FlaskyStyle' - -# A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] - - -# -- Options for HTML output --------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -html_theme_path = ['_themes'] -html_theme = 'flask' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -#html_favicon = None - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -html_sidebars = { - '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html', 'searchbox.html'] -} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_domain_indices = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -html_show_sourcelink = False - -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. -#html_show_sphinx = True - -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. -#html_show_copyright = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# This is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = None - -# Output file base name for HTML help builder. -htmlhelp_basename = 'AWSSDKforPHPdoc' - - -# -- Options for LaTeX output -------------------------------------------------- - -latex_elements = { -# The paper size ('letterpaper' or 'a4paper'). -#'papersize': 'letterpaper', - -# The font size ('10pt', '11pt' or '12pt'). -#'pointsize': '10pt', - -# Additional stuff for the LaTeX preamble. -#'preamble': '', -} - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass [howto/manual]). -latex_documents = [ - ('index', 'AWSSDKforPHP.tex', u'AWS SDK for PHP Documentation', - u'Amazon Web Services', 'manual'), -] - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -#latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -#latex_use_parts = False - -# If true, show page references after internal links. -#latex_show_pagerefs = False - -# If true, show URL addresses after external links. -#latex_show_urls = False - -# Documents to append as an appendix to all manuals. -#latex_appendices = [] - -# If false, no module index is generated. -#latex_domain_indices = True - - -# -- Options for manual page output -------------------------------------------- - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - ('index', 'awssdkforphp', u'AWS SDK for PHP Documentation', - [u'Amazon Web Services'], 1) -] - -# If true, show URL addresses after external links. -#man_show_urls = False - - -# -- Options for Texinfo output ------------------------------------------------ - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - ('index', 'AWSSDKforPHP', u'AWS SDK for PHP Documentation', - u'Amazon Web Services', 'AWSSDKforPHP', 'One line description of project.', - 'Miscellaneous'), -] - -# Documents to append as an appendix to all manuals. -#texinfo_appendices = [] - -# If false, no module index is generated. -#texinfo_domain_indices = True - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#texinfo_show_urls = 'footnote' - -# -- Custom HTML template vars ------------------------------------------------ - -html_context = { - 'TRACKING': os.getenv('TRACKING', False) -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/configuration.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/configuration.rst deleted file mode 100644 index eed85f7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/configuration.rst +++ /dev/null @@ -1,160 +0,0 @@ -Configuration -============= - -When passing an array of parameters to the first argument of ``Aws\Common\Aws::factory()``, the service builder loads -the default ``aws-config.php`` file and merges the array of shared parameters into the default configuration. - -Excerpt from ``src/Aws/Common/Resources/aws-config.php``: - -.. code-block:: php - - array( - 'default_settings' => array( - 'params' => array() - ), - 'dynamodb' => array( - 'extends' => 'default_settings', - 'class' => 'Aws\DynamoDb\DynamoDbClient' - ), - 's3' => array( - 'extends' => 'default_settings', - 'class' => 'Aws\S3\S3Client' - ) - ) - ); - -The ``aws-config.php`` file provides default configuration settings for associating client classes with service names. -This file tells the ``Aws\Common\Aws`` service builder which class to instantiate when you reference a client by name. - -You can supply your credentials and other configuration settings to the service builder so that each client is -instantiated with those settings. To do this, pass an array of settings (including your ``key`` and ``secret``) into the -first argument of ``Aws\Common\Aws::factory()``. - -Using a Custom Configuration File -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -You can use a custom configuration file that allows you to create custom named clients with pre-configured settings. - -Let's say you want to use the default ``aws-config.php`` settings, but you want to supply your keys using a -configuration file. Each service defined in the default configuration file extends from ``default_settings`` service. -You can create a custom configuration file that extends the default configuration file and add credentials to the -``default_settings`` service: - -.. code-block:: php - - array('_aws'), - 'services' => array( - 'default_settings' => array( - 'params' => array( - 'key' => 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - 'region' => 'us-west-2' - ) - ) - ) - ); - -You can use your custom configuration file with the ``Aws\Common\Aws`` class by passing the full path to the -configuration file in the first argument of the ``factory()`` method: - -.. code-block:: php - - array('_aws'), - 'services' => array( - 'foo.dynamodb' => array( - 'extends' => 'dynamodb', - 'params' => array( - 'key' => 'your-aws-access-key-id-for-foo', - 'secret' => 'your-aws-secret-access-key-for-foo', - 'region' => 'us-west-2' - ) - ), - 'bar.dynamodb' => array( - 'extends' => 'dynamodb', - 'params' => array( - 'key' => 'your-aws-access-key-id-for-bar', - 'secret' => 'your-aws-secret-access-key-for-bar', - 'region' => 'us-west-2' - ) - ) - ) - ); - -If you prefer JSON syntax, you can define your configuration in JSON format instead of PHP. - -.. code-block:: js - - { - "includes": ["_aws"], - "services": { - "default_settings": { - "params": { - "key": "your-aws-access-key-id", - "secret": "your-aws-secret-access-key", - "region": "us-west-2" - } - } - } - } - -What Happens If You Do Not Provide Credentials? -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The SDK needs your AWS Access Key ID and Secret Access Key in order to make requests to AWS. However, you are not -required to provide your credentials at the time you instantiate the SDK or service client. - -Using Environment Credentials ------------------------------ - -If you do not provide credentials, the SDK will attempt to find credentials in your environment by checking in -``$_SERVER`` and using the ``getenv()`` function to look for the ``AWS_ACCESS_KEY_ID`` and ``AWS_SECRET_KEY`` -environment variables. - -If you are hosting your application on AWS Elastic Beanstalk, you can set the ``AWS_ACCESS_KEY_ID`` and -``AWS_SECRET_KEY`` environment variables through the AWS Elastic Beanstalk console so that the SDK can use those -credentials automatically. - -Using Instance Profile Credentials ----------------------------------- - -If you do not provide credentials and there are no environment credentials available, the SDK will attempt to retrieve -`IAM Instance Profile credentials `_. -These credentials are only available on Amazon EC2 instances configured with an Instance Profile. - -If absolutely no credentials are provided or found, you will receive an -``Aws\Common\Exception\InstanceProfileCredentialsException`` when you try to make a request. - -Manually Setting Credentials ----------------------------- - -You can also manually set your credentials after the service client has been instantiated. To do this, use the -``setCredentials()`` method to set an entirely new ``Credentials`` object for the client. - -.. code-block:: php - - setCredentials($newCredentials); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/faq.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/faq.rst deleted file mode 100644 index bd6510b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/faq.rst +++ /dev/null @@ -1,145 +0,0 @@ -================================ -Frequently Asked Questions (FAQ) -================================ - -What methods are available on a client? ---------------------------------------- - -The AWS SDK for PHP 2 utilizes service descriptions and dynamic -`magic __call() methods `_ to execute API -operations. Every magic method supported by a client is documented in the docblock of a client class using ``@method`` -annotations. Several PHP IDEs, including `PHPStorm `_ and -`Zend Studio `_, are able to autocomplete based on ``@method`` annotations. -You can find a full list of methods available for a web service client in the -`API documentation `_ of the client or in the -`user guide `_ for that client. - -For example, the Amazon S3 client supports the following operations: :ref:`S3_operations` - -What do I do about a cURL SSL certificate error? ------------------------------------------------- - -This issue can occur when using an out of date CA bundle with cURL and SSL. You -can get around this issue by updating the CA bundle on your server or downloading -a more up to date CA bundle from the `cURL website directly `_. - -Simply download a more up to date CA bundle somewhere on your system and instruct the -SDK to use that CA bundle rather than the default. You can configure the SDK to -use a more up to date CA bundle by specifying the ``ssl.certificate_authority`` -in a client's factory method or the configuration settings used with -``Aws\Common\Aws``. - -.. code-block:: php - - $aws = Aws\Common\Aws::factory(array( - 'region' => 'us-west-2', - 'key' => '****', - 'secret' => '****', - 'ssl.certificate_authority' => '/path/to/updated/cacert.pem' - )); - -You can find out more about how cURL bundles the CA bundle here: http://curl.haxx.se/docs/caextract.html - -How do I disable SSL? ---------------------- - -.. warning:: - - Because SSL requires all data to be encrypted and requires more TCP packets to complete a connection handshake than - just TCP, disabling SSL may provide a small performance improvement. However, with SSL disabled, all data is sent - over the wire unencrypted. Before disabling SSL, you must carefully consider the security implications and the - potential for eavesdropping over the network. - -You can disable SSL by setting the ``scheme`` parameter in a client factory method to 'http'. - -.. code-block:: php - - $client = Aws\DynamoDb\DynamoDbClient::factory(array( - 'region' => 'us-west-2', - 'scheme' => 'http' - )); - -How can I make the SDK faster? ------------------------------- - -See :doc:`performance` for more information. - -Why can't I upload or download files greater than 2GB? ------------------------------------------------------- - -Because PHP's integer type is signed and many platforms use 32-bit integers, the -AWS SDK for PHP does not correctly handle files larger than 2GB on a 32-bit stack -(where "stack" includes CPU, OS, web server, and PHP binary). This is a -`well-known PHP issue `_. In the -case of Microsoft® Windows®, there are no official builds of PHP that support -64-bit integers. - -The recommended solution is to use a `64-bit Linux stack `_, -such as the 64-bit Amazon Linux AMI with the latest version of PHP installed. - -For more information, please see: `PHP filesize :Return values `_. - -How can I see what data is sent over the wire? ----------------------------------------------- - -You can attach a ``Guzzle\Plugin\Log\LogPlugin`` to any client to see all request and -response data sent over the wire. The LogPlugin works with any logger that implements -the ``Guzzle\Log\LogAdapterInterface`` interface (currently Monolog, ZF1, ZF2). - -If you just want to quickly see what data is being sent over the wire, you can -simply attach a debug log plugin to your client. - -.. code-block:: php - - use Guzzle\Plugin\Log\LogPlugin; - - // Create an Amazon S3 client - $s3Client = S3Client::factory(); - - // Add a debug log plugin - $s3Client->addSubscriber(LogPlugin::getDebugPlugin()); - -For more complex logging or logging to a file, you can build a LogPlugin manually. - -.. code-block:: php - - use Guzzle\Common\Log\MonologLogAdapter; - use Guzzle\Plugin\Log\LogPlugin; - use Monolog\Logger; - use Monolog\Handler\StreamHandler; - - // Create a log channel - $log = new Logger('aws'); - $log->pushHandler(new StreamHandler('/path/to/your.log', Logger::WARNING)); - - // Create a log adapter for Monolog - $logger = new MonologLogAdapter($log); - - // Create the LogPlugin - $logPlugin = new LogPlugin($logger); - - // Create an Amazon S3 client - $s3Client = S3Client::factory(); - - // Add the LogPlugin to the client - $s3Client->addSubscriber($logPlugin); - -You can find out more about the LogPlugin on the Guzzle website: http://guzzlephp.org/guide/plugins.html#log-plugin - -How can I set arbitrary headers on a request? ---------------------------------------------- - -You can add any arbitrary headers to a service operation by setting the ``command.headers`` value. The following example -shows how to add an ``X-Foo-Baz`` header to an Amazon S3 PutObject operation. - -.. code-block:: php - - $s3Client = S3Client::factory(); - $s3Client->putObject(array( - 'Key' => 'test', - 'Bucket' => 'mybucket', - 'command.headers' => array( - 'X-Foo-Baz' => 'Bar' - ) - )); - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/index.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/index.rst deleted file mode 100644 index 5bbdc79..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/index.rst +++ /dev/null @@ -1,103 +0,0 @@ -================= -AWS SDK for PHP 2 -================= - -.. toctree:: - :hidden: - - awssignup - requirements - installation - quick-start - configuration - performance - faq - - migration-guide - side-by-side - - service-autoscaling - service-cloudformation - service-cloudfront - service-cloudsearch - service-cloudwatch - service-datapipeline - service-directconnect - service-dynamodb - service-ec2 - service-elasticache - service-elasticbeanstalk - service-elasticloadbalancing - service-elastictranscoder - service-emr - service-glacier - service-iam - service-importexport - service-opsworks - service-rds - service-redshift - service-route53 - service-s3 - service-ses - service-simpledb - service-sns - service-sqs - service-storagegateway - service-sts - service-swf - -The **AWS SDK for PHP** enables PHP developers to easily interface with AWS services and build solutions with Amazon -Simple Storage Service (Amazon S3), Amazon DynamoDB, Amazon Glacier, and more. With the AWS SDK for PHP, developers can -get started in minutes by using Composer – by requiring the ``aws/aws-sdk-php`` package – or by downloading a `single -phar file `_. - -Getting started ---------------- - -* :doc:`awssignup` -* :doc:`requirements` -* :doc:`installation` -* :doc:`quick-start` -* :doc:`configuration` -* :doc:`performance` -* :doc:`faq` -* `Contributing to the SDK `_ - -Migrating from SDK 1 to SDK 2 ------------------------------ - -* :doc:`migration-guide` -* :doc:`side-by-side` - -Supported services ------------------- - -* :doc:`service-autoscaling` -* :doc:`service-cloudformation` -* :doc:`service-cloudfront` -* :doc:`service-cloudsearch` -* :doc:`service-cloudwatch` -* :doc:`service-datapipeline` -* :doc:`service-directconnect` -* :doc:`service-dynamodb` -* :doc:`service-ec2` -* :doc:`service-elasticache` -* :doc:`service-elasticbeanstalk` -* :doc:`service-elasticloadbalancing` -* :doc:`service-elastictranscoder` -* :doc:`service-emr` -* :doc:`service-glacier` -* :doc:`service-iam` -* :doc:`service-importexport` -* :doc:`service-opsworks` -* :doc:`service-rds` -* :doc:`service-redshift` -* :doc:`service-route53` -* :doc:`service-s3` -* :doc:`service-ses` -* :doc:`service-simpledb` -* :doc:`service-sns` -* :doc:`service-sqs` -* :doc:`service-storagegateway` -* :doc:`service-sts` -* :doc:`service-swf` diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/installation.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/installation.rst deleted file mode 100644 index 0ea62be..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/installation.rst +++ /dev/null @@ -1,105 +0,0 @@ -Installation -============ - -Installing via Composer ------------------------ - -Using `Composer `_ is the recommended way to install the AWS SDK for PHP 2. Composer is -dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into -your project. In order to use the AWS SDK for PHP 2 through Composer, you must do the following: - -#. Add ``"aws/aws-sdk-php"`` as a dependency in your project's ``composer.json`` file. - - .. code-block:: js - - { - "require": { - "aws/aws-sdk-php": "2.*" - } - } - - Consider tightening your dependencies to a known version (e.g., ``2.0.*``). - -#. Download and install Composer. - - .. code-block:: sh - - curl -s "http://getcomposer.org/installer" | php - -#. Install your dependencies. - - .. code-block:: sh - - php composer.phar install - -#. Require Composer's autoloader. - - Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that - it downloads. To use it, just add the following line to your code's bootstrap process. - - .. code-block:: php - - require '/path/to/sdk/vendor/autoload.php'; - -You can find out more on how to install Composer, configure autoloading, and other best-practices for defining -dependencies at `getcomposer.org `_. - -During your development, you can keep up with the latest changes on the master branch by setting the version -requirment for the SDK to ``dev-master``. - -.. code-block:: js - - { - "require": { - "aws/aws-sdk-php": "dev-master" - } - } - -Installing via Phar -------------------- - -Each release of the AWS SDK for PHP ships with a pre-packaged `phar `_ file -containing all of the classes and dependencies you need to run the SDK. Additionally, the phar file automatically -registers a class autoloader for the AWS SDK for PHP and all of its dependencies when included. Bundled with the phar -file are the following required and suggested libraries: - -- `Guzzle `_ for HTTP requests -- `Symfony2 EventDispatcher `_ for events -- `Monolog `_ for logging -- `Doctrine `_ for caching - -You can `download the packaged Phar `_ and simply include it in your -scripts to get started:: - - require 'aws.phar'; - -If you have `phing `_ installed, you can clone the SDK and build a phar file yourself using the -*"phar"* task. - -.. note:: - - If you are using PHP with the Suhosin patch (especially common on Ubuntu and Debian distributions), you will need - to enable the use of phars in the ``suhosin.ini``. Without this, including a phar file in your code will cause it to - silently fail. You should modify the ``suhosin.ini`` file by adding the line: - - ``suhosin.executor.include.whitelist = phar`` - -Installing via PEAR -~~~~~~~~~~~~~~~~~~~ - -`PEAR `_ packages are easy to install, and are available in your PHP environment path so that they -are accessible to any PHP project. PEAR packages are not specific to your project, but rather to the machine they're -installed on. - -From the command-line, you can install the SDK with PEAR as follows (this might need to be run as ``sudo``): - -.. code-block:: sh - - pear channel-discover pear.amazonwebservices.com - pear install aws/sdk - -Once the SDK has been installed via PEAR, you can load the phar into your project with: - -.. code-block:: php - - require 'AWSSDKforPHP/aws.phar'; diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/make.bat b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/make.bat deleted file mode 100644 index a5573a7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/make.bat +++ /dev/null @@ -1,190 +0,0 @@ -@ECHO OFF - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set BUILDDIR=_build -set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . -set I18NSPHINXOPTS=%SPHINXOPTS% . -if NOT "%PAPER%" == "" ( - set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% - set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% -) - -if "%1" == "" goto help - -if "%1" == "help" ( - :help - echo.Please use `make ^` where ^ is one of - echo. html to make standalone HTML files - echo. dirhtml to make HTML files named index.html in directories - echo. singlehtml to make a single large HTML file - echo. pickle to make pickle files - echo. json to make JSON files - echo. htmlhelp to make HTML files and a HTML help project - echo. qthelp to make HTML files and a qthelp project - echo. devhelp to make HTML files and a Devhelp project - echo. epub to make an epub - echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter - echo. text to make text files - echo. man to make manual pages - echo. texinfo to make Texinfo files - echo. gettext to make PO message catalogs - echo. changes to make an overview over all changed/added/deprecated items - echo. linkcheck to check all external links for integrity - echo. doctest to run all doctests embedded in the documentation if enabled - goto end -) - -if "%1" == "clean" ( - for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i - del /q /s %BUILDDIR%\* - goto end -) - -if "%1" == "html" ( - %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The HTML pages are in %BUILDDIR%/html. - goto end -) - -if "%1" == "dirhtml" ( - %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. - goto end -) - -if "%1" == "singlehtml" ( - %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. - goto end -) - -if "%1" == "pickle" ( - %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle - if errorlevel 1 exit /b 1 - echo. - echo.Build finished; now you can process the pickle files. - goto end -) - -if "%1" == "json" ( - %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json - if errorlevel 1 exit /b 1 - echo. - echo.Build finished; now you can process the JSON files. - goto end -) - -if "%1" == "htmlhelp" ( - %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp - if errorlevel 1 exit /b 1 - echo. - echo.Build finished; now you can run HTML Help Workshop with the ^ -.hhp project file in %BUILDDIR%/htmlhelp. - goto end -) - -if "%1" == "qthelp" ( - %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp - if errorlevel 1 exit /b 1 - echo. - echo.Build finished; now you can run "qcollectiongenerator" with the ^ -.qhcp project file in %BUILDDIR%/qthelp, like this: - echo.^> qcollectiongenerator %BUILDDIR%\qthelp\AWSSDKforPHP.qhcp - echo.To view the help file: - echo.^> assistant -collectionFile %BUILDDIR%\qthelp\AWSSDKforPHP.ghc - goto end -) - -if "%1" == "devhelp" ( - %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. - goto end -) - -if "%1" == "epub" ( - %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The epub file is in %BUILDDIR%/epub. - goto end -) - -if "%1" == "latex" ( - %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex - if errorlevel 1 exit /b 1 - echo. - echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. - goto end -) - -if "%1" == "text" ( - %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The text files are in %BUILDDIR%/text. - goto end -) - -if "%1" == "man" ( - %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The manual pages are in %BUILDDIR%/man. - goto end -) - -if "%1" == "texinfo" ( - %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. - goto end -) - -if "%1" == "gettext" ( - %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale - if errorlevel 1 exit /b 1 - echo. - echo.Build finished. The message catalogs are in %BUILDDIR%/locale. - goto end -) - -if "%1" == "changes" ( - %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes - if errorlevel 1 exit /b 1 - echo. - echo.The overview file is in %BUILDDIR%/changes. - goto end -) - -if "%1" == "linkcheck" ( - %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck - if errorlevel 1 exit /b 1 - echo. - echo.Link check complete; look for any errors in the above output ^ -or in %BUILDDIR%/linkcheck/output.txt. - goto end -) - -if "%1" == "doctest" ( - %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest - if errorlevel 1 exit /b 1 - echo. - echo.Testing of doctests in the sources finished, look at the ^ -results in %BUILDDIR%/doctest/output.txt. - goto end -) - -:end diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/migration-guide.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/migration-guide.rst deleted file mode 100644 index 1f24210..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/migration-guide.rst +++ /dev/null @@ -1,480 +0,0 @@ -=============== -Migration Guide -=============== - -This guide shows how to migrate your code to use the new AWS SDK for PHP 2 and how the new SDK differs from the first -version of the SDK. - -Introduction ------------- - -The PHP language and community have evolved significantly over the past few years. Since the inception of the AWS SDK -for PHP, PHP has gone through two major version changes (`versions 5.3 and 5.4 `_) and -many in the PHP community have unified behind the recommendations of the `PHP Framework Interop Group -`_. Consequently, we decided to make breaking changes to the SDK in order to align with the more -modern patterns used in the PHP community. - -For the new release, we rewrote the SDK from the ground up to address popular customer requests. The new SDK is built on -top of the `Guzzle HTTP client framework `_, which provides increased performance and enables -event-driven customization. We also introduced high-level abstractions to make programming common tasks easy. The SDK -is compatible with PHP 5.3.3 and newer, and follows the PSR-0 standard for namespaces and autoloading. - -Which Services are Supported? ------------------------------ - -The AWS SDK for PHP 2 supports all of the AWS services supported by Version 1 of the SDK and more, including Amazon -Route 53, Amazon Glacier, and AWS Direct Connect. See the `AWS SDK for PHP website `_ -for the full list of services supported by the SDK. Be sure to watch or star our `AWS SDK for PHP 2 GitHub repository -`_ to stay up-to-date with the latest changes. - -What's New? ------------ - -- `PHP 5.3 namespaces `_ -- Follows `PSR-0, PSR-1, and PSR-2 standards `_ -- Built on `Guzzle `_ and utilizes the Guzzle feature set -- Persistent connection management for both serial and parallel requests -- Event hooks (via `Symfony2 EventDispatcher - `_) for event-driven, custom behavior -- Request and response entity bodies are stored in ``php://temp`` streams to reduce memory usage -- Transient networking and cURL failures are automatically retried using truncated exponential backoff -- Plug-ins for over-the-wire logging and response caching -- "Waiter" objects that allow you to poll a resource until it is in a desired state -- Resource iterator objects for easily iterating over paginated responses -- Service-specific sets of exceptions -- Modeled responses with a simpler interface -- Grouped constants (Enums) for service parameter options -- Flexible request batching system -- Service builder/container that supports easy configuration and dependency injection -- Full unit test suite with extensive code coverage -- `Composer `_ support (including PSR-0 compliance) for installing and autoloading SDK - dependencies -- `Phing `_ ``build.xml`` for installing dev tools, driving testing, and producing ``.phar`` files -- Fast Amazon DynamoDB batch PutItem and DeleteItem system -- Multipart upload system for Amazon Simple Storage Service (Amazon S3) and Amazon Glacier that can be paused and - resumed -- Redesigned DynamoDB Session Handler with smarter writing and garbage collection -- Improved multi-region support - -What's Different? ------------------ - -Architecture -~~~~~~~~~~~~ - -The new SDK is built on top of `Guzzle `_ and inherits its features and -conventions. Every AWS service client extends the Guzzle client, defining operations through a service description -file. The SDK has a much more robust and flexible object-oriented architecture, including the use of design patterns, -event dispatching and dependency injection. As a result, many of the classes and methods from the previous SDK have -been changed. - -Project Dependencies -~~~~~~~~~~~~~~~~~~~~ - -Unlike the Version 1 of the SDK, the new SDK does not pre-package all of its dependencies -in the repository. Dependencies are best resolved and autoloaded via `Composer `_. However, -when installing the SDK via the downloadable phar, the dependencies are resolved for you. - -Namespaces -~~~~~~~~~~ - -The SDK's directory structure and namespaces are organized according to `PSR-0 standards -`_, making the SDK inherently modular. The -``Aws\Common`` namespace contains the core code of the SDK, and each service client is contained in its own separate -namespace (e.g., ``Aws\DynamoDb``). - -Coding Standards -~~~~~~~~~~~~~~~~ - -The SDK adopts the PSR standards produced by the PHP Framework Interop Group. An immediately -noticeable change is that all method names are now named using lower camel-case -(e.g., ``putObject`` instead of ``put_object``). - -Required Regions -~~~~~~~~~~~~~~~~ - -The `region `_ must be provided to instantiate a client -(except in the case where the service has a single endpoint like Amazon CloudFront). The AWS region you select may -affect both your performance and costs. - -Client Factories -~~~~~~~~~~~~~~~~ - -Factory methods instantiate service clients and do the work of setting up the signature, -exponential backoff settings, exception handler, and so forth. At a minimum you must provide your access key, secret -key, and region to the client factory, but there are many other settings you can use to customize the client -behavior. - -.. code-block:: php - - $dynamodb = Aws\DynamoDb\DynamoDbClient::factory(array( - 'key' => 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - 'region' => 'us-west-2', - )); - -Configuration -~~~~~~~~~~~~~ - -A global configuration file can be used to inject credentials into clients -automatically via the service builder. The service builder acts as a dependency injection container for the service -clients. (**Note:** The SDK does not automatically attempt to load the configuration file like in Version 1 of the -SDK.) - -.. code-block:: php - - $aws = Aws\Common\Aws::factory('/path/to/custom/config.php'); - $s3 = $aws->get('s3'); - -This technique is the preferred way for instantiating service clients. Your ``config.php`` might look similar to the -following: - -.. code-block:: php - - array('_aws'), - 'services' => array( - 'default_settings' => array( - 'params' => array( - 'key' => 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - 'region' => 'us-west-2' - ) - ) - ) - ); - -The line that says ``'includes' => array('_aws')`` includes the default configuration file packaged with the SDK. This -sets up all of the service clients for you so you can retrieve them by name with the ``get()`` method of the service -builder. - -Service Operations -~~~~~~~~~~~~~~~~~~ - -Executing operations in the new SDK is similar to how it was in the previous SDK, with two -main differences. First, operations follow the lower camel-case naming convention. Second, a single array parameter is -used to pass in all of the operation options. The following examples show the Amazon S3 ``PutObject`` operation -performed in each SDK: - -.. code-block:: php - - // Previous SDK - PutObject operation - $s3->create_object('bucket-name', 'object-key.txt', array( - 'body' => 'lorem ipsum' - )); - -.. code-block:: php - - // New SDK - PutObject operation - $result = $s3->putObject(array( - 'Bucket' => 'bucket-name', - 'Key' => 'object-key.txt', - 'Body' => 'lorem ipsum' - )); - -In the new SDK, the ``putObject()`` method doesn't actually exist as a method on the client. It is implemented using -the ``__call()`` magic method of the client and acts as a shortcut to instantiate a command, execute the command, -and retrieve the result. - -A ``Command`` object encapsulates the request and response of the call to AWS. From the ``Command`` object, you can -call the ``getResult()`` method (as in the preceding example) to retrieve the parsed result, or you can call the -``getResponse()`` method to retrieve data about the response (e.g., the status code or the raw response). - -The ``Command`` object can also be useful when you want to manipulate the command before execution or need to execute -several commands in parallel. The following is an example of the same ``PutObject`` operation using the command -syntax: - -.. code-block:: php - - $command = $s3->getCommand('PutObject', array( - 'Bucket' => 'bucket-name', - 'Key' => 'object-key.txt', - 'Body' => 'lorem ipsum' - )); - $result = $command->getResult(); - -Or you can use the chainable ``set()`` method on the ``Command`` object: - -.. code-block:: php - - $result = $s3->getCommand('PutObject') - ->set('Bucket', 'bucket-name') - ->set('Key', 'object-key.txt') - ->set('Body', 'lorem ipsum') - ->getResult(); - -Responses -~~~~~~~~~ - -The format of responses has changed. Responses are no longer instances of the ``CFResponse`` object. -The ``Command`` object (as seen in the preceding section) of the new SDK encapsulates the request and response, and is -the object from which to retrieve the results. - -.. code-block:: php - - // Previous SDK - // Execute the operation and get the CFResponse object - $response = $s3->list_tables(); - // Get the parsed response body as a SimpleXMLElement - $result = $response->body; - - // New SDK - // Executes the operation and gets the response in an array-like object - $result = $s3->listTables(); - -The new syntax is similar, but a few fundamental differences exist between responses in the previous SDK and this -version: - -The new SDK represents parsed responses (i.e., the results) as Guzzle ``Model`` objects instead of ``CFSimpleXML`` -objects as in the prior version. These Model objects are easy to work with since they act like arrays. They also -have helpful built-in features such as mapping and filtering. The content of the results will also look different -n this version of the SDK. The SDK marshals responses into the models and then transforms them into more convenient -structures based on the service description. The API documentation details the response of all operations. - -Exceptions -~~~~~~~~~~ - -The new SDK uses exceptions to communicate errors and bad responses. - -Instead of relying on the ``CFResponse::isOK()`` method of the previous SDK to determine if an operation is -successful, the new SDK throws exceptions when the operation is *not* successful. Therefore, you can assume success -if there was no exception thrown, but you will need to add ``try...catch`` logic to your application code in order to -handle potential errors. The following is an example of how to handle the response of an Amazon DynamoDB -``DescribeTable`` call in the new SDK: - -.. code-block:: php - - $tableName = 'my-table'; - try { - $result = $dynamoDb->describeTable(array('TableName' => $tableName)); - - printf('The provisioned throughput for table "%s" is %d RCUs and %d WCUs.', - $tableName, - $result->getPath('Table/ProvisionedThroughput/ReadCapacityUnits'), - $result->getPath('Table/ProvisionedThroughput/WriteCapacityUnits') - ); - } catch (Aws\DynamoDb\Exception\DynamoDbException $e) { - echo "Error describing table {$tableName}"; - } - -You can get the Guzzle response object back from the command. This is helpful if you need to retrieve the status -code, additional data from the headers, or the raw response body. - -.. code-block:: php - - $command = $dynamoDb->getCommand('DescribeTable', array('TableName' => $tableName)); - $statusCode = $command->getResponse()->getStatusCode(); - -You can also get the response object and status code from the exception if one is thrown. - -.. code-block:: php - - try { - $command = $dynamoDb->getCommand('DescribeTable', array( - 'TableName' => $tableName - )); - $statusCode = $command->getResponse()->getStatusCode(); - } catch (Aws\DynamoDb\Exception\DynamoDbException $e) { - $statusCode = $e->getResponse()->getStatusCode(); - } - -Iterators -~~~~~~~~~ - -The SDK provides iterator classes that make it easier to traverse results from list and describe type -operations. Instead of having to code solutions that perform multiple requests in a loop and keep track of tokens or -markers, the iterator classes do that for you. You can simply foreach over the iterator: - -.. code-block:: php - - $objects = $s3->getIterator('ListObjects', array( - 'Bucket' => 'my-bucket-name' - )); - - foreach ($objects as $object) { - echo $object['Key'] . PHP_EOL; - } - -Comparing Code Samples from Both SDKs -------------------------------------- - -Example 1 - Amazon S3 ListParts Operation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -From Version 1 of the SDK -^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. code-block:: php - - list_parts('my-bucket-name', 'my-object-key', 'my-upload-id', array( - 'max-parts' => 10 - )); - - if ($response->isOK()) - { - // Loop through and display the part numbers - foreach ($response->body->Part as $part) { - echo "{$part->PartNumber}\n"; - } - } - else - { - echo "Error during S3 ListParts operation.\n"; - } - -From Version 2 of the SDK -^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. code-block:: php - - get('s3'); - - try { - $result = $s3->listParts(array( - 'Bucket' => 'my-bucket-name', - 'Key' => 'my-object-key', - 'UploadId' => 'my-upload-id', - 'MaxParts' => 10 - )); - - // Loop through and display the part numbers - foreach ($result['Part'] as $part) { - echo "{$part[PartNumber]}\n"; - } - } catch (S3Exception $e) { - echo "Error during S3 ListParts operation.\n"; - } - -Example 2 - Amazon DynamoDB Scan Operation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -From Version 1 of the SDK -^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. code-block:: php - - 'people', - 'AttributesToGet' => array('id', 'age', 'name'), - 'ScanFilter' => array( - 'age' => array( - 'ComparisonOperator' => - AmazonDynamoDB::CONDITION_GREATER_THAN_OR_EQUAL, - 'AttributeValueList' => array( - array(AmazonDynamoDB::TYPE_NUMBER => '16') - ) - ), - ) - ); - - // Add the exclusive start key parameter if needed - if ($start_key) - { - $params['ExclusiveStartKey'] = array( - 'HashKeyElement' => array( - AmazonDynamoDB::TYPE_STRING => $start_key - ) - ); - - $start_key = null; - } - - // Perform the Scan operation and get the response - $response = $dynamo_db->scan($params); - - // If the response succeeded, get the results - if ($response->isOK()) - { - foreach ($response->body->Items as $item) - { - $people[] = (string) $item->name->{AmazonDynamoDB::TYPE_STRING}; - } - - // Get the last evaluated key if it is provided - if ($response->body->LastEvaluatedKey) - { - $start_key = (string) $response->body - ->LastEvaluatedKey - ->HashKeyElement - ->{AmazonDynamoDB::TYPE_STRING}; - } - } - else - { - // Throw an exception if the response was not OK (200-level) - throw new DynamoDB_Exception('DynamoDB Scan operation failed.'); - } - } - while ($start_key); - - print_r($people); - -From Version 2 of the SDK -^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. code-block:: php - - get('dynamodb'); - - // Create a ScanIterator and setup the parameters for the DynamoDB Scan operation - $scan = $dynamodb->getIterator('Scan', array( - 'TableName' => 'people', - 'AttributesToGet' => array('id', 'age', 'name'), - 'ScanFilter' => array( - 'age' => array( - 'ComparisonOperator' => ComparisonOperator::GE, - 'AttributeValueList' => array( - array(Type::NUMBER => '16') - ) - ), - ) - )); - - // Perform as many Scan operations as needed to acquire all the names of people - // that are 16 or older - $people = array(); - foreach ($scan as $item) { - $people[] = $item['name'][Type::STRING]; - } - - print_r($people); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/performance.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/performance.rst deleted file mode 100644 index cce448e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/performance.rst +++ /dev/null @@ -1,289 +0,0 @@ -================= -Performance Guide -================= - -The AWS SDK for PHP 2 is able to send HTTP requests to various web services with minimal overhead. This document serves -as a guide that will help you to achieve optimal performance with the SDK. - -.. contents:: - :depth: 1 - :local: - :class: inline-toc - -Upgrade PHP ------------ - -Using an up-to-date version of PHP will generally improve the performance of your PHP applications. Did you know that -PHP 5.4 is `20-40% faster `_ than PHP 5.3? -`Upgrading to PHP 5.4 `_ or greater will provide better performance and -lower memory usage. If you cannot upgrade from PHP 5.3 to PHP 5.4, upgrading to PHP 5.3.18 or greater will improve -performance over older version of PHP 5.3. - -You can install PHP 5.4 on an Amazon Linux AMI using the following command. - -.. code-block:: bash - - yum install php54 - -Use an opcode cache like APC ----------------------------- - -To improve the overall performance of your PHP environment, it is highly recommended that you install an opcode cache -such as APC, XCache, or WinCache. By default, PHP must load a file from disk, parse the PHP code into opcodes, and -finally execute the opcodes. Installing an opcode cache like APC allows the parsed opcodes to be cached in memory so -that you do not need to parse the script on every web server request, and in ideal circumstances, these opcodes can be -served directly from memory. - -We have taken great care to ensure that the SDK will perform well in an environment that utilizes an opcode cache. - -APC -~~~ - -Installing on Amazon Linux -^^^^^^^^^^^^^^^^^^^^^^^^^^ - -When using Amazon Linux, you can install APC using one of the following commands depending on if you are using PHP 5.3 -or PHP 5.4. - -.. code-block:: bash - - # For PHP 5.4 - yum install php54-pecl-apc - - # For PHP 5.3 - yum install php-pecl-apc - -Modifying APC settings -^^^^^^^^^^^^^^^^^^^^^^ - -APC configuration settings can be set and configured in the ``apc.ini`` file of most systems. You can find more -information about configuring APC in the PHP.net `APC documentation `_. - -The APC configuration file is located at ``/etc/php.d/apc.ini`` on Amazon Linux. - -.. code-block:: bash - - # You can only modify the file as sudo - sudo vim /etc/php.d/apc.ini - -apc.shm_size=128M -^^^^^^^^^^^^^^^^^ - -It is recommended that you set the `apc.shm_size `_ -setting to be 128M or higher. You should investigate what the right value will be for your application. The ideal -value will depend on how many files your application includes, what other frameworks are used by your application, and -if you are caching data in the APC user cache. - -You can run the following command on Amazon Linux to set apc.shm_size to 128M:: - - sed -i "s/apc.shm_size=.*/apc.shm_size=128M/g" /etc/php.d/apc.ini - -apc.stat=0 -^^^^^^^^^^ - -The SDK adheres to PSR-0 and relies heavily on class autoloading. When ``apc.stat=1``, APC will perform a stat on -each cached entry to ensure that the file has not been updated since it was cache in APC. This incurs a system call for -every autoloaded class required by a PHP script (you can see this for yourself by running ``strace`` on your -application). - -You can tell APC to not stat each cached file by setting ``apc.stat=0`` in you apc.ini file. This change will generally -improve the overall performance of APC, but it will require you to explicitly clear the APC cache when a cached file -should be updated. This can be accomplished with Apache by issuing a hard or graceful restart. This restart step could -be added as part of the deployment process of your application. - -You can run the following command on Amazon Linux to set apc.stat to 0:: - - sed -i "s/apc.stat=1/apc.stat=0/g" /etc/php.d/apc.ini - -.. admonition:: From the `PHP documentation `_ - - This defaults to on, forcing APC to stat (check) the script on each request to determine if it has been modified. If - it has been modified it will recompile and cache the new version. If this setting is off, APC will not check, which - usually means that to force APC to recheck files, the web server will have to be restarted or the cache will have to - be manually cleared. Note that FastCGI web server configurations may not clear the cache on restart. On a production - server where the script files rarely change, a significant performance boost can be achieved by disabled stats. - - For included/required files this option applies as well, but note that for relative path includes (any path that - doesn't start with / on Unix) APC has to check in order to uniquely identify the file. If you use absolute path - includes APC can skip the stat and use that absolute path as the unique identifier for the file. - -Use Composer with a classmap autoloader ---------------------------------------- - -Using `Composer `_ is the recommended way to install the AWS SDK for PHP 2. Composer is a -dependency manager for PHP that can be used to pull in all of the dependencies of the SDK and generate an autoloader. - -Autoloaders are used to lazily load classes as they are required by a PHP script. Composer will generate an autoloader -that is able to autoload the PHP scripts of your application and all of the PHP scripts of the vendors required by your -application (i.e. the AWS SDK for PHP 2). When running in production, it is highly recommended that you use a classmap -autoloader to improve the autoloader's speed. You can generate a classmap autoloader by passing the ``-o`` or -``--optimize-autoloader`` option to Composer's `install command `_:: - - php composer.phar install --optimize-autoloader - -Please consult the :doc:`installation` guide for more information on how to install the SDK using Composer. - -Do not use the phar in production ---------------------------------- - -The phar file bundled with the SDK is meant to help get customers up and running with the SDK as quickly as possible. -You are encouraged to utilize the phar for exploratory or development purposes, but when running in production, using -the phar will come at a performance cost. According to the creator of PHP's phar extension, -`APC does not cache the contents of phar files `_. -Because of this, you will not benefit at all from APC's opcode caching when using the phar file. - -We recommend using Composer with an optimized classmap autoloader when running in production. - -Uninstall Xdebug ----------------- - -`Xdebug `_ is an amazing tool that can be used to identify performance bottlenecks. However, if -performance is critical to your application, do not install the Xdebug extension on your production environment. Simply -loading the extension will greatly slow down the SDK. - -When running on Amazon Linux, Xdebug can be removed with the following command: - -.. code-block:: bash - - # PHP 5.4 - yum remove php54-pecl-xdebug - - # PHP 5.3 - yum remove php-pecl-xdebug - -Install PECL uri_template -------------------------- - -The SDK utilizes URI templates to power each operation. In order to be compatible out of the box with the majority -of PHP environments, the default URI template expansion implementation is written in PHP. -`PECL URI_Template `_ is a URI template extension for PHP written in C. This C -implementation is about 3 times faster than the default PHP implementation for expanding URI templates. Your -application will automatically begin utilizing the PECL uri_template extension after it is installed. - -.. code-block:: bash - - pecl install uri_template-alpha - -Turn off parameter validation ------------------------------ - -The SDK utilizes service descriptions to tell the client how to serialize an HTTP request and parse an HTTP response -into a Model object. Along with serialization information, service descriptions are used to validate operation inputs -client-side before sending a request. Disabling parameter validation is a micro-optimization, but this setting can -typically be disabled in production by setting the ``validation`` option in a client factory method to ``false``. - -.. code-block:: php - - $client = Aws\DynamoDb\DynamoDbClient::factory(array( - 'region' => 'us-west-2', - 'validation' => false - )); - -Cache instance profile credentials ----------------------------------- - -When you do not provide credentials to the SDK and do not have credentials defined in your environment variables, the -SDK will attempt to utilize IAM instance profile credentials by contacting the Amazon EC2 instance metadata service -(IMDS). Contacting the IMDS requires an HTTP request to retrieve credentials from the IMDS. - -You can cache these instance profile credentials in memory until they expire and avoid the cost of sending an HTTP -request to the IMDS each time the SDK is utilized. Set the ``credentials.cache`` option to ``true`` to attempt to -utilize the `Doctrine Cache `_ PHP library to cache credentials with APC. - -.. code-block:: php - - $client = Aws\DynamoDb\DynamoDbClient::factory(array( - 'region' => 'us-west-2', - 'credentials.cache' => true - )); - -.. note:: - - You will need to install Doctrine Cache in order for the SDK to cache credentials when setting - ``credentials.cache`` to ``true``. You can add doctrine/cache to your composer.json dependencies by adding to your - project's ``required`` section:: - - { - "required": { - "aws/sdk": "2.*", - "doctrine/cache": "1.*" - } - } - -Preload frequently included files ---------------------------------- - -The AWS SDK for PHP 2 adheres to PSR-0 and heavily utilizes class autoloading. Each class is in a separate file and -are included lazily as they are required. Enabling an opcode cache like APC, setting ``apc.stat=0``, and utilizing an -optimized Composer autoloader will help to mitigate the performance cost of autoloading the classes needed to utilize -the SDK. In situations like hosting a webpage where you are loading the same classes over and over, you can shave off a -bit more time by compiling all of the autoloaded classes into a single file thereby completely eliminating the cost of -autoloading. This technique can not only speed up the use of the SDK for specific use cases (e.g. using the -Amazon DynamoDB session handler), but can also speed up other aspects of your application. Even with ``apc.stat=0``, -preloading classes that you know will be used in your application will be slightly faster than relying on autoloading. - -You can easily generate a compiled autoloader file using the -`ClassPreloader `_ project. View the project's README for information on -creating a "preloader" for use with the AWS SDK for PHP. - -Check if you are being throttled --------------------------------- - -You can check to see if you are being throttled by enabling the exponential backoff logger option. You can set the -``client.backoff.logger`` option to ``debug`` when in development, but we recommend that you provide a -``Guzzle\Log\LogAdapterInterface`` object when running in production. - -.. code-block:: php - - $client = Aws\DynamoDb\DynamoDbClient::factory(array( - 'region' => 'us-west-2', - 'client.backoff.logger' => 'debug' - )); - -When using Amazon DynamoDB, you can monitor your tables for throttling using -`Amazon CloudWatch `_. - -Profile your code to find performance bottlenecks -------------------------------------------------- - -You will need to profile your application to determine the bottlenecks. This can be done using -`Xdebug `_, `XHProf `_, -`strace `_, and various other tools. There are many resources available on the -internet to help you track down performance problems with your application. Here are a few that we have found useful: - -* http://talks.php.net/show/devconf/0 -* http://talks.php.net/show/perf_tunning/16 - -Comparing SDK1 and SDK2 ------------------------ - -Software performance is very subjective and depends heavily on factors outside of the control of the SDK. The -AWS SDK for PHP 2 is tuned to cover the broadest set of performance sensitive applications using AWS. While there may -be a few isolated cases where V1 of the the SDK is as fast or faster than V2, that is not generally true and comes -with the loss of extensibility, maintainability, persistent HTTP connections, response parsing, PSR compliance, etc. - -Depending on your use case, you will find that a properly configured environment running the AWS SDK for PHP 2 is -generally just as fast as SDK1 for sending a single request and more than 350% faster than SDK1 for sending many -requests. - -Comparing batch requests -~~~~~~~~~~~~~~~~~~~~~~~~ - -A common misconception when comparing the performance of SDK1 and SDK2 is that SDK1 is faster than SDK2 when sending -requests using the "batch()" API. - -SDK1 is generally *not* faster at sending requests in parallel than SDK2. There may be some cases where SDK1 will appear -to more quickly complete the process of sending multiple requests in parallel, but SDK1 does not retry throttled -requests when using the ``batch()`` API. In SDK2, throttled requests are automatically retried in parallel using -truncated exponential backoff. Automatically retrying failed requests will help to ensure that your application is -successfully completing the requests that you think it is. - -You can always disable retries if your use case does not benefit from retrying failed requests. To disable retries, -set 'client.backoff' to ``false`` when creating a client. - -.. code-block:: php - - $client = Aws\DynamoDb\DynamoDbClient::factory(array( - 'region' => 'us-west-2', - 'client.backoff' => false - )); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/quick-start.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/quick-start.rst deleted file mode 100644 index fb21368..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/quick-start.rst +++ /dev/null @@ -1,264 +0,0 @@ -=========== -Quick Start -=========== - -Creating a client ------------------ - -You can quickly get up and running by using a web service client's factory method to instantiate clients as needed. - -.. code-block:: php - - 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - )); - -**Note:** Instantiating a client without providing credentials causes the client to attempt to retrieve `IAM Instance -Profile credentials -`_. - -Commands --------- - -You can then invoke service operations on the client by calling the operation name and providing an associative array -of parameters. Service operation methods like Amazon S3's ``createBucket()`` don't actually exist on a client. These -methods are implemented using the ``__call()`` magic method of a client. These magic methods are derived from a Guzzle -`service description `_ present in the -client's namespace in the ``Resources`` directory. You can use the `API documentation -`_ or directly view the service description to see what -operations are available, what parameters can be set for an operation, what values are provided in the response model, -and what exceptions are thrown by calling the operation. - -.. code-block:: php - - $bucket = 'my-bucket'; - - $result = $client->createBucket(array( - 'Bucket' => $bucket - )); - - // Wait until the bucket is created - $client->waitUntil('BucketExists', array('Bucket' => $bucket)); - -Executing commands -~~~~~~~~~~~~~~~~~~ - -Commands can be executed in two ways: using the shorthand syntax via the ``__call()`` magic methods (as shown in the -preceding example) or using the expanded syntax via the ``getCommand()`` method of the client object. - -.. code-block:: php - - // The shorthand syntax (via __call()) - $result = $client->createBucket(array(/* ... */)); - - // The expanded syntax (via getCommand()) - $command = $client->getCommand('CreateBucket', array(/* ... */)); - $result = $command->getResult(); - -When using the expanded syntax, a ``Command`` object is returned from ``getCommand()``, which encapsulates the request -and response of the HTTP request to AWS. From the ``Command`` object, you can call the ``getResult()`` method or the -``execute()`` method to execute the command and get the parsed result. Additionally, you can call the ``getRequest()`` -and ``getResponse()`` methods (after the command has been executed) to get information about the request and response, -respectively (e.g., the status code or the raw response, headers sent in the request, etc.). - -The ``Command`` object also supports a chainable syntax and can also be useful when you want to manipulate the request -before execution. - -.. code-block:: php - - $result = $client->getCommand('ListObjects') - ->set('MaxKeys', 50) - ->set('Prefix', 'foo/baz/') - ->getResult(); - -It also allows for executing multiple commands in parallel. - -.. code-block:: php - - $ops = array(); - $ops[] = $client->getCommand('GetObject', array('Bucket' => 'foo', 'Key' => 'Bar')); - $ops[] = $client->getCommand('GetObject', array('Bucket' => 'foo', 'Key' => 'Baz')); - $client->execute($ops); - -Response models -~~~~~~~~~~~~~~~ - -The result of executing a command will always return a ``Guzzle\Service\Resource\Model`` response model object. This -model can be used like an array and contains information about the JSON-schema structure of the model. Response models -are populated by parsing an HTTP response and pulling values out of a response based on rules found in the service -description of a client. You can use the API documentation of the SDK or directly reference the service description for -a list of data available in the response model of an operation. - -.. code-block:: php - - $result = $client->getObject(array( - 'Bucket' => 'my-bucket', - 'Key' => 'test.txt' - )); - - echo get_class($result); - //> Guzzle\Service\Resource\Model - - var_export($result->getKeys()); - //> array('Body', 'DeleteMarker', 'Expiration', 'ContentLength', etc...) - - echo $result['ContentLength']); - //> 6 - - echo $result['Body']; - //> hello! - - echo $result->getPath('Metadata/CustomValue'); - //> Testing123 - - var_export($result->getPath('Metadata/DoesNotExist')); - //> NULL - -Using the service builder -------------------------- - -When using the SDK, you have the option to use individual factory methods for each client or the ``Aws\Common\Aws`` -class to build your clients. The ``Aws\Common\Aws`` class is a service builder and dependency injection container for -the SDK and is the recommended way for instantiating clients. The service builder allows you to share configuration -options between multiple services and pre-wires short service names with the appropriate client class. - -The following example shows how to use the service builder to retrieve a ``Aws\DynamoDb\DynamoDbClient`` and perform the -``GetItem`` operation using the command syntax. - -Passing an associative array of parameters as the first or second argument of ``Aws\Common\Aws::factory()`` treats the -parameters as shared across all clients generated by the builder. In the example, we tell the service builder to use the -same credentials for every client. - -.. code-block:: php - - 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - 'region' => Region::US_WEST_2 - )); - - // Retrieve the DynamoDB client by its short name from the service builder - $client = $aws->get('dynamodb'); - - // Get an item from the "posts" - try { - $result = $client->getItem(array( - 'TableName' => 'posts', - 'Key' => $client->formatAttributes(array( - 'HashKeyElement' => 'using-dynamodb-with-the-php-sdk' - )), - 'ConsistentRead' => true - )); - - print_r($result['Item']); - } catch (DynamoDbException $e) { - echo 'The item could not be retrieved.'; - } - -Passing an associative array of parameters to the first or second argument of ``Aws\Common\Aws::factory()`` will treat -the parameters as shared parameters across all clients generated by the builder. In the above example, we are telling -the service builder to use the same credentials for every client. - -Error handling --------------- - -An exception is thrown when an error is encountered. Be sure to use try/catch blocks when implementing error handling -logic in your applications. The SDK throws service specific exceptions when a server-side error occurs. - -.. code-block:: php - - use Aws\Common\Aws; - use Aws\S3\Exception\BucketAlreadyExistsException; - - $aws = Aws::factory('/path/to/my_config.json'); - $s3 = $aws->get('s3'); - - try { - $s3->createBucket(array('Bucket' => 'my-bucket')); - } catch (BucketAlreadyExistsException $e) { - echo 'That bucket already exists! ' . $e->getMessage() . "\n"; - } - -The HTTP response to the ``createBucket()`` method will receive a ``409 Conflict`` response with a -``BucketAlreadyExists`` error code. When the SDK sees the error code it will attempt to throw a named exception that -matches the name of the HTTP response error code. You can see a full list of supported exceptions for each client by -looking in the Exception/ directory of a client namespace. For example, src/Aws/S3/Exception contains many different -exception classes:: - - . - ├── AccessDeniedException.php - ├── AccountProblemException.php - ├── AmbiguousGrantByEmailAddressException.php - ├── BadDigestException.php - ├── BucketAlreadyExistsException.php - ├── BucketAlreadyOwnedByYouException.php - ├── BucketNotEmptyException.php - [...] - -Waiters -------- - -One of the high-level abstractions provided by the SDK is the concept of "waiters". Waiters help make it easier to work -with eventually consistent systems by providing an easy way to wait on a resource to enter into a particular state by -polling the resource. You can find a list of the iterators supported by a client by viewing the docblock of a client. -Any ``@method`` tag that starts with "waitUntil" will utilize a waiter. - -.. code-block:: php - - $client->waitUntil('BucketExists', array('Bucket' => 'my-bucket')); - -The above method invocation will instantiate a waiter and poll the bucket until it exists. If the waiter has to poll -the bucket too many times, it will throw an ``Aws\Common\Exception\RuntimeException`` exception. - -You can tune the number of polling attempts issued by a waiter or the number of seconds to delay between each poll by -passing optional values prefixed with "waiter.": - -.. code-block:: php - - $client->waitUntil('BucketExists', array( - 'Bucket ' => 'my-bucket', - 'waiter.interval' => 10.5, - 'waiter.max_attempts' => 3 - )); - -Iterators ---------- - -Some AWS operations will return a paginated result set that requires subsequent requests in order to retrieve an entire -result. The AWS SDK for PHP includes *iterators* that handle the process of sending subsequent requests. Use the -``getIterator()`` method of a client object in order to retrieve an iterator for a particular command. - -.. code-block:: php - - $iterator = $client->getIterator('ListObjects', array('Bucket' => 'my-bucket')); - - foreach ($iterator as $object) { - echo $object['Key'] . "\n"; - } - -The ``getIterator()`` method accepts either a command object or the name of an operation as the first argument. The -second argument is only used when passing a string and instructs the client on what actual operation to execute. - -.. code-block:: php - - $command = $client->getCommand('ListObjects', array('Bucket' => 'my-bucket')); - $iterator = $client->getIterator($command); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/requirements.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/requirements.rst deleted file mode 100644 index 3111228..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/requirements.rst +++ /dev/null @@ -1,26 +0,0 @@ -============ -Requirements -============ - -Aside from a baseline understanding of object-oriented programming in PHP (including PHP 5.3 namespaces), there are a -few minimum system requirements to start using the AWS SDK for PHP 2. The extensions listed are common and are -installed with PHP 5.3 by default in most environments. - -Minimum requirements --------------------- - -* PHP 5.3.3+ compiled with the cURL extension -* A recent version of cURL 7.16.2+ compiled with OpenSSL and zlib - -.. note:: - - To work with Amazon CloudFront private distributions, you must have the OpenSSL PHP extension to sign private - CloudFront URLs. - -.. _optimal-settings: - -Optimal settings ----------------- - -Please consult the :doc:`performance` for a list of recommendations and optimal settings that can be made to -ensure that you are using the SDK as efficiently as possible. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/requirements.txt b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/requirements.txt deleted file mode 100644 index 130bac3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -rst2dpf diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-autoscaling.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-autoscaling.rst deleted file mode 100644 index 41ce593..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-autoscaling.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: autoscaling - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudformation.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudformation.rst deleted file mode 100644 index 1ab332a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudformation.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: cloudformation - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudfront.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudfront.rst deleted file mode 100644 index cc86821..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudfront.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: cloudfront - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudsearch.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudsearch.rst deleted file mode 100644 index 26da3a5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudsearch.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: cloudsearch - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudwatch.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudwatch.rst deleted file mode 100644 index 42b668c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-cloudwatch.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: cloudwatch - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-datapipeline.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-datapipeline.rst deleted file mode 100644 index ed999ae..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-datapipeline.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: datapipeline - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-directconnect.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-directconnect.rst deleted file mode 100644 index 62edd50..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-directconnect.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: directconnect - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-dynamodb.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-dynamodb.rst deleted file mode 100644 index f09d82d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-dynamodb.rst +++ /dev/null @@ -1,289 +0,0 @@ -.. service:: dynamodb - -Creating tables ---------------- - -We first need to create a table that can be used to store items. While Amazon DynamoDB's tables do not use a fixed -schema, you do need to create a schema for the table’s hash key element, and the optional range key element. This is -explained in greater detail in Amazon DynamoDB's -`Data Model documentation `_. You -will also need to specify the amount of -`provisioned throughput `_ -that should be made availabe to the table. - -.. code-block:: php - - // Create an "errors" table - $client->createTable(array( - 'TableName' => 'errors', - 'KeySchema' => array( - 'HashKeyElement' => array( - 'AttributeName' => 'id', - 'AttributeType' => 'N' - ), - 'RangeKeyElement' => array( - 'AttributeName' => 'time', - 'AttributeType' => 'N' - ) - ), - 'ProvisionedThroughput' => array( - 'ReadCapacityUnits' => 10, - 'WriteCapacityUnits' => 20 - ) - )); - -The table will now have a status of ``CREATING`` while the table is being provisioned. You can use a waiter to poll the -table until it becomes ``ACTIVE``. - -.. code-block:: php - - // Wait until the table is created and active - $client->waitUntilTableExists(array('TableName' => 'errors')); - -A full list of the parameters available to the ``createTable()`` operation can be found in the -`API documentation `_. - -Describing a table ------------------- - -Now that the table is created, you can use the -`describeTable() `_ -method to get information about the table. - -.. code-block:: php - - $result = $client->describeTable(array('TableName' => 'errors')); - -The return value of the ``describeTable()`` method is a ``Guzzle\Service\Resource\Model`` object that can be used like -an array. For example, you could retrieve the number of items in a table or the amount of provisioned read throughput. - -.. code-block:: php - - echo $result['Table']['ItemCount'] . "\n"; - // 0 - - // Use the getPath() method to retrieve deeply nested array key values - echo $result->getPath('Table/ProvisionedThroughput/ReadCapacityUnits') . "\n"; - // 10 - -Listing tables --------------- - -You can retrieve a list of all of the tables associated with a specific endpoint using the -`listTables() `_ -method. Each Amazon DynamoDB endpoint is entirely independent. For example, if you have two tables called "MyTable," one -in US-EAST-1 and one in US-WEST-2, they are completely independent and do not share any data. The ListTables operation -returns all of the table names associated with the account making the request, for the endpoint that receives the -request. - -.. code-block:: php - - $result = $client->listTables(); - - foreach ($result['TableNames'] as $tableName) { - echo $tableName . "\n"; - } - -Iterating over all tables -~~~~~~~~~~~~~~~~~~~~~~~~~ - -The result of a ``listTables()`` operation might be truncated. Because of this, it is usually better to use an iterator -to retrieve a complete list of all of the tables owned by your account in a specific region. The iterator will -automatically handle sending any necessary subsequent requests. - -.. code-block:: php - - $iterator = $client->getIterator('ListTables'); - - foreach ($iterator as $tableName) { - echo $tableName . "\n"; - } - -.. tip:: - - You can convert an iterator to an array using the ``toArray()`` method of the iterator. - -Adding items ------------- - -Let's add an item to our *errors* table using the -`putItem() `_ -method of the client. - -.. code-block:: php - - $time = time(); - - $result = $client->putItem(array( - 'TableName' => 'errors', - 'Item' => $client->formatAttributes(array( - 'id' => 1201, - 'time' => $time, - 'error' => 'Executive overflow', - 'message' => 'no vacant areas' - )) - )); - -As you can see, we used the ``formatAttributes()`` method of the client to more easily format the attributes of the -item. Alternatively, you can provide the item attributes without using the helper method: - -.. code-block:: php - - $result = $client->putItem(array( - 'TableName' => 'errors', - 'Item' => array( - 'id' => array('N' => '1201'), - 'time' => array('N' => $time), - 'error' => array('S' => 'Executive overflow'), - 'message' => array('S' => 'no vacant areas') - )) - )); - -Retrieving items ----------------- - -Let’s check if the item was added correctly using the -`getItem() `_ -method of the client. Because Amazon DynamoDB works under an 'eventual consistency' model, we need to specify that we -are performing a -`consistent read `_ -operation. - -.. code-block:: php - - $result = $client->getItem(array( - 'ConsistentRead' => true, - 'TableName' => 'errors', - 'Key' => array( - 'HashKeyElement' => array('N' => '1201'), - 'RangeKeyElement' => array('N' => $time) - ) - )); - - echo $result['Item']['id']['N'] . "\n"; - // 1201 - - echo $result->getPath('Item/id/N') . "\n"; - // 1201 - - echo $result['Item']['error']['S'] . "\n"; - // Executive overflow - - echo $result['Item']['message']['S'] . "\n"; - // no vacant areas - -Query and scan --------------- - -Once data is in an Amazon DynamoDB table, you have two APIs for searching the data: -`Query and Scan `_. - -Query -~~~~~ - -A query operation searches only primary key attribute values and supports a subset of comparison operators on key -attribute values to refine the search process. A query returns all of the item data for the matching primary keys -(all of each item's attributes) up to 1MB of data per query operation. - -Let's say we want a list of all "1201" errors that occurred in the last 15 minutes. We could issue a single query -that will search by the primary key of the table and retrieve up to 1MB of the items. However, a better approach is to -use the query iterator to retrieve the entire list of all items matching the query. - -.. code-block:: php - - $iterator = $client->getIterator('Query', array( - 'TableName' => 'errors', - 'HashKeyValue' => array('N' => '1201'), - 'RangeKeyCondition' => array( - 'AttributeValueList' => array( - array('N' => strtotime("-15 minutes")) - ), - 'ComparisonOperator' => 'GT' - ) - )); - - foreach ($iterator as $item) { - echo $item['time']['N'] . ': ' . $item['error']['S'] . "\n"; - } - -Scan -~~~~ - -A scan operation scans the entire table. You can specify filters to apply to the results to refine the values -returned to you, after the complete scan. Amazon DynamoDB puts a 1MB limit on the scan (the limit applies before -the results are filtered). - -A scan can be useful for more complex searches. For example, we can retrieve all of the errors in the last 15 -minutes that contain the word "overflow": - -.. code-block:: php - - $iterator = $client->getIterator('Scan', array( - 'TableName' => 'errors', - 'ScanFilter' => array( - 'error' => array( - 'AttributeValueList' => array(array('S' => 'overflow')), - 'ComparisonOperator' => 'CONTAINS' - ), - 'time' => array( - 'AttributeValueList' => array( - array('N' => strtotime('-15 minutes')) - ), - 'ComparisonOperator' => 'GT' - ) - ) - )); - - foreach ($iterator as $item) { - echo $item['time']['N'] . ': ' . $item['error']['S'] . "\n"; - } - -Using the WriteRequestBatch ---------------------------- - -You can use the WriteRequestBatch if you need to write or delete many items as quickly as possible. The -WriteRequestBatch provides a high level of performance because it converts what would normally be a separate HTTP -request for each operation into HTTP requests containing up to 25 comparable requests per transaction. - -Let's say you have a large array of errors you wish to add to your errors table. You can iterate over the errors array, -add each item to the batch object, and finally call flush after adding every item. The batch object will automatically -flush the batch and write items to Amazon DynamoDB after hitting a customizable threshold. A final call to the batch -object's ``flush()`` method is necessary to transfer any remaining items in the queue. - -.. code-block:: php - - use Aws\DynamoDb\Model\BatchRequest\WriteRequestBatch; - use Aws\DynamoDb\Model\BatchRequest\PutRequest; - use Aws\DynamoDb\Model\Item; - - $batch = WriteRequestBatch::factory($client); - - foreach ($hugeArrayOfErrors as $error) { - // Add each array entry to the batch object - $batch->add(new PutRequest(Item::fromArray(array( - 'id' => $error['id'], - 'error' => $error['error'], - 'message' => $error['message'], - 'time' => (string) $error['time'] - )), $table)); - } - - // Flush any remaining items in the queue - $batch->flush(); - -Try adding some test data into your table using a WriteRequestBatch and run the scan and query examples again to see -some actual results come back in the response. - -Deleting a table ----------------- - -.. warning:: - - Deleting a table will also permanently delete all of its contents. - -Now that you've taken a quick tour of the PHP client for Amazon DynamoDB, you will want to clean up by deleting the -resources you created. - -.. code-block:: php - - $client->deleteTable(array('TableName' => 'errors')); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-ec2.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-ec2.rst deleted file mode 100644 index ca2753b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-ec2.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: ec2 - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticache.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticache.rst deleted file mode 100644 index 72775f1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticache.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: elasticache - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticbeanstalk.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticbeanstalk.rst deleted file mode 100644 index 8eefd42..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticbeanstalk.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: elasticbeanstalk - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticloadbalancing.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticloadbalancing.rst deleted file mode 100644 index c0b6f09..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elasticloadbalancing.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: elasticloadbalancing - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elastictranscoder.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elastictranscoder.rst deleted file mode 100644 index d320a9f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-elastictranscoder.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: elastictranscoder - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-emr.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-emr.rst deleted file mode 100644 index 63c0701..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-emr.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: emr - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-glacier.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-glacier.rst deleted file mode 100644 index 3baa004..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-glacier.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: glacier - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-iam.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-iam.rst deleted file mode 100644 index 6c3113d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-iam.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: iam - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-importexport.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-importexport.rst deleted file mode 100644 index cdb2c6d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-importexport.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: importexport - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-opsworks.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-opsworks.rst deleted file mode 100644 index fc099c5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-opsworks.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: opsworks - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-rds.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-rds.rst deleted file mode 100644 index dea7d50..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-rds.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: rds - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-redshift.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-redshift.rst deleted file mode 100644 index 8506cc4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-redshift.rst +++ /dev/null @@ -1,76 +0,0 @@ -.. service:: redshift - -Creating a cluster ------------------- - -The primary resource in Amazon Redshift is the cluster. To create a cluster you will use the ``CreateCluster`` -operation. There are several parameters you can send when creating a cluster, so please refer to the API docs to -determine which parameters to use. The following is basic example. - -.. code-block:: php - - $client->createCluster(array( - 'ClusterIdentifier' => 'your-unique-cluster-id', - 'ClusterType' => 'multi-node', - 'MasterUsername' => 'yourusername', - 'MasterUserPassword' => 'Y0urP@$$w0rd', - 'NodeType' => 'dw.hs1.xlarge', - 'NumberOfNodes' => 2, - )); - -After the ``CreateCluster`` operation is complete, the record for your cluster will exist, but it will still take some -time before the cluster is actually available for use. You can describe your cluster to check it's status. - -.. code-block:: php - - $result = $client->describeClusters(array( - 'ClusterIdentifier' => 'your-unique-cluster-id', - )); - $clusters = $result->get('Clusters'); - $status = $clusters['ClusterStatus']; - -If you would like your code to wait until the cluster is available, you can use the the ``ClusterAvailable`` waiter. - -.. code-block:: php - - $client->waitUntilClusterAvailable(array( - 'ClusterIdentifier' => 'your-unique-cluster-id', - )); - -.. warning:: It can take over 20 minutes for a cluster to become available. - -Creating snapshots ------------------- - -You can also take snapshots of your cluster with the ``CreateClusterSnapshot`` operation. Snapshots can take a little -time before they become available as well, so there is a corresponding ``SnapshotAvailable`` waiter. - -.. code-block:: php - - $client->createClusterSnapshot(array( - 'ClusterIdentifier' => 'your-unique-cluster-id', - 'SnapshotIdentifier' => 'your-unique-snapshot-id', - )); - $client->waitUntilSnapshotAvailable(array( - 'SnapshotIdentifier' => 'your-unique-snapshot-id', - )); - -Events ------- - -Amazon Redshift records events that take place with your clusters and account. These events are available for up to 14 -days and can be retrieved via the ``DescribeEvents`` operation. Only 100 events can be returned at a time, so using the -SDK's iterators feature allows you to easily fetch and iterate over all the events in your query without having to -manually send repeated requests. The ``StartTime`` and ``EndTime`` parameters can take any PHP date string or DateTime -object. - -.. code-block:: php - - $events = $client->getIterator('DescribeEvents', array( - 'StartTime' => strtotime('-3 days'), - 'EndTime' => strtotime('now'), - )); - - foreach ($events as $event) { - echo "{$event['Date']}: {$event['Message']}\n"; - } diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-route53.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-route53.rst deleted file mode 100644 index 31ff712..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-route53.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: route53 - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-s3.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-s3.rst deleted file mode 100644 index e4022cd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-s3.rst +++ /dev/null @@ -1,353 +0,0 @@ -.. service:: s3 - -Creating a bucket ------------------ - -Now that we've created a client object, let's create a bucket. This bucket will be used throughout the remainder of this -guide. - -.. code-block:: php - - $client->createBucket(array('Bucket' => 'mybucket')); - -If you run the above code example unaltered, you'll probably trigger the following exception:: - - PHP Fatal error: Uncaught Aws\S3\Exception\BucketAlreadyExistsException: AWS Error - Code: BucketAlreadyExists, Status Code: 409, AWS Request ID: D94E6394791E98A4, - AWS Error Type: client, AWS Error Message: The requested bucket name is not - available. The bucket namespace is shared by all users of the system. Please select - a different name and try again. - -This is because bucket names in Amazon S3 reside in a global namespace. You'll need to change the actual name of the -bucket used in the examples of this tutorial in order for them to work correctly. - -Creating a bucket in another region ------------------------------------ - -The above example creates a bucket in the standard US-EAST-1 region. You can change the bucket location by passing a -``LocationConstraint`` value. - -.. code-block:: php - - use Aws\Common\Enum\Region; - - $client->createBucket(array( - 'Bucket' => 'mybucket', - 'LocationConstraint' => Region::US_WEST_2 - )); - -You'll notice in the above example that we are using the ``Aws\Common\Enum\Region`` object to provide the ``US_WEST_2`` -constant. The SDK provides various Enum classes under the ``Aws\Common\Enum`` namespace that can be useful for -remembering available values and ensuring you do not enter a typo. - -.. note:: - - Using the enum classes is not required. You could have simply pass 'us-west-2' in the ``LocationConstraint`` key. - -Waiting until the bucket exists -------------------------------- - -Now that we've created a bucket, let's force our application to wait until the bucket exists. This can be done easily -using a *waiter*. The following snippet of code will poll the bucket until it exists or the maximum number of -polling attempts are completed. - -.. code-block:: php - - $client->waitUntilBucketExists(array('Bucket' => 'mybucket')); - -Uploading objects ------------------ - -Now that you've created a bucket, let's put some data in it. The following example creates an object in your bucket -called data.txt that contains 'Hello!'. - -.. code-block:: php - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'Body' => 'Hello!' - )); - -The AWS SDK for PHP will attempt to automatically determine the most appropriate Content-Type header used to store the -object. If you are using a less common file extension and your Content-Type header is not added automatically, you can -add a Content-Type header by passing a ``ContentType`` option to the operation. - -Uploading a file -~~~~~~~~~~~~~~~~ - -The above example uploaded text data to your object. You can alternatively upload the contents of a file by passing -the ``SourceFile`` option. Let's also put some metadata on the object. - -.. code-block:: php - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'SourceFile' => '/path/to/data.txt', - 'Metadata' => array( - 'Foo' => 'abc', - 'Baz' => '123' - ) - )); - -Uploading from a stream -~~~~~~~~~~~~~~~~~~~~~~~ - -Alternatively, you can pass a resource returned from an ``fopen`` call to the ``Body`` parameter. - -.. code-block:: php - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'Body' => fopen('/path/to/data.txt', 'r+') - )); - -Because the AWS SDK for PHP is built around Guzzle, you can also pass an EntityBody object. - -.. code-block:: php - - use Guzzle\Http\EntityBody; - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'Body' => EntityBody::factory(fopen('/path/to/data.txt', 'r+')) - )); - -Listing your buckets --------------------- - -You can list all of the buckets owned by your account using the ``listBuckets`` method. - -.. code-block:: php - - $result = $client->listBuckets()->get('Buckets'); - - foreach ($result['Buckets'] as $bucket) { - echo "{$bucket['Name']} - {$bucket['CreationDate']}\n"; - } - -All service operation calls using the AWS SDK for PHP return a ``Guzzle\Service\Resource\Model`` object. This object -contains all of the data returned from the service in a normalized array like object. The object also contains a -``get()`` method used to retrieve values from the model by name, and a ``getPath()`` method that can be used to -retrieve nested values. - -.. code-block:: php - - $result = $client->listBuckets(); - $id = $result->getPath('Owner/ID'); - -Listing objects in your buckets -------------------------------- - -Listing objects is a lot easier in the new SDK thanks to *iterators*. You can list all of the objects in a bucket using -the ``ListObjectsIterator``. - -.. code-block:: php - - $iterator = $client->getIterator('ListObjects', array('Bucket' => 'mybucket')); - - foreach ($iterator as $object) { - echo $object['Key'] . "\n"; - } - -Iterators will handle sending any required subsequent requests when a response is truncated. The ListObjects iterator -works with other parameters too. - -.. code-block:: php - - $iterator = $client->getIterator('ListObjects', array( - 'Bucket' => 'mybucket', - 'Prefix' => 'foo' - )); - - foreach ($iterator as $object) { - echo $object['Key'] . "\n"; - } - -You can convert any iterator to an array using the ``toArray()`` method of the iterator. - -.. note:: - - Converting an iterator to an array will load the entire contents of the iterator into memory. - -Downloading objects -------------------- - -You can use the ``GetObject`` operation to download an object. - -.. code-block:: php - - $result = $client->getObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt' - )); - - echo get_class($result['Body']); - // >>> Guzzle\Http\EntityBody - echo $result['Body']; - // >>> Hello! - -The contents of the object are stored in the ``Body`` parameter of the model object. Other parameters are stored in -model including ``ContentType``, ``ContentLength``, ``VersionId``, ``ETag``, etc... - -The ``Body`` parameter stores a reference to a ``Guzzle\Http\EntityBody`` object. The SDK will store the data in a -temporary PHP stream by default. This will work for most use-cases and will automatically protect your application from -attempting to download extremely large files into memory. - -The EntityBody object has other nice features that allow you to read data using streams. - -.. code-block:: php - - // Read the body off of the underlying stream - $result['Body']->rewind(); - while ($data = $result['Body']->read(1024)) { - echo $data; - } - - // Cast the body to a primitive string (loads the entire contents into memory!) - $bodyAsString = (string) $result['Body']; - -Saving objects to a file -~~~~~~~~~~~~~~~~~~~~~~~~ - -You can save the contents of an object to a file by setting the SaveAs parameter. - -.. code-block:: php - - $result = $client->getObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'SaveAs' => '/tmp/data.txt' - )); - -The ``SaveAs`` parameter will only work with versions of Guzzle >= 3.0.7. If you are using an older version of -Guzzle, you can set the ``command.response_body`` parameter to a valid ``Guzzle\Http\EntityBodyInterface`` object. - -.. code-block:: php - - use Guzzle\Http\EntityBody; - - $result = $client->getObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'command.response_body' => EntityBody::factory(fopen('/tmp/data.txt', 'r+')) - )); - -Uploading large files using multipart uploads ---------------------------------------------- - -Amazon S3 allows you to uploads large files in pieces. The AWS SDK for PHP provides an abstraction layer that makes it -easier to upload large files using multipart upload. - -.. code-block:: php - - use Aws\Common\Enum\Size; - use Aws\Common\Exception\MultipartUploadException; - use Aws\S3\Model\MultipartUpload\UploadBuilder; - - $uploader = UploadBuilder::newInstance() - ->setClient($client) - ->setSource('/path/to/large/file.mov') - ->setBucket('mybucket') - ->setKey('my-object-key') - ->setOption('Metadata', array('Foo' => 'Bar')), - ->setOption('CacheControl', 'max-age=3600') - ->build(); - - // Perform the upload. Abort the upload if something goes wrong - try { - $uploader->upload(); - echo "Upload complete.\n"; - } catch (MultipartUploadException $e) { - $uploader->abort(); - echo "Upload failed.\n"; - } - -You can attempt to upload parts in parallel by specifying the concurrency option on the UploadBuilder object. The -following example will create a transfer object that will attempt to upload three parts in parallel until the entire -object has been uploaded. - -.. code-block:: php - - $uploader = UploadBuilder::newInstance() - ->setClient($client) - ->setSource('/path/to/large/file.mov') - ->setBucket('mybucket') - ->setKey('my-object-key') - ->setConcurrency(3) - ->build(); - -Setting ACLs and Access Control Policies ----------------------------------------- - -You can specify a canned ACL on an object when uploading: - -.. code-block:: php - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'SourceFile' => '/path/to/data.txt', - 'ACL' => 'public-read' - )); - -You can use the ``Aws\S3\Enum\CannedAcl`` object to provide canned ACL constants: - -.. code-block:: php - - use Aws\S3\Enum\CannedAcl; - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'SourceFile' => '/path/to/data.txt', - 'ACL' => CannedAcl::PUBLIC_READ - )); - -You can specify more complex ACLs using the ``ACP`` parameter when sending PutObject, CopyObject, CreateBucket, -CreateMultipartUpload, PutBucketAcl, PutObjectAcl, and other operations that accept a canned ACL. Using the ``ACP`` -parameter allows you specify more granular access control policies using a ``Aws\S3\Model\Acp`` object. The easiest -way to create an Acp object is through the ``Aws\S3\Model\AcpBuilder``. - -.. code-block:: php - - use Aws\S3\Enum\Permission; - use Aws\S3\Enum\Group; - use Aws\S3\Model\AcpBuilder; - - $acp = AcpBuilder::newInstance() - ->setOwner($myOwnerId) - ->addGrantForEmail(Permission::READ, 'test@example.com') - ->addGrantForUser(Permission::FULL_CONTROL, 'user-id') - ->addGrantForGroup(Permission::READ, Group::AUTHENTICATED_USERS) - ->build(); - - $client->putObject(array( - 'Bucket' => 'mybucket', - 'Key' => 'data.txt', - 'SourceFile' => '/path/to/data.txt', - 'ACP' => $acp - )); - -Creating a Pre-Signed URL -------------------------- - -You can authenticate certain types of requests by passing the required information as query-string parameters instead -of using the Authorization HTTP header. This is useful for enabling direct third-party browser access to your private -Amazon S3 data, without proxying the request. The idea is to construct a "pre-signed" request and encode it as a URL -that an end-user's browser can retrieve. Additionally, you can limit a pre-signed request by specifying an expiration -time. - -Creating a pre-signed URL requires that you build a ``Guzzle\Http\Message\RequestInterface`` object. You can use the -``get()``, ``post()``, ``head()``, ``put()``, and ``delete()`` methods of a client object to easily create a request -object. - -.. code-block:: php - - $disposition = "attachment; filename=\"{$key}\""; - $url = "{$this->bucket}/{$key}?response-content-disposition={$disposition}" - $request = $this->client->get($url); - $signed = $this->client->createPresignedUrl($request, '+10 minutes'); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-ses.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-ses.rst deleted file mode 100644 index 06eb674..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-ses.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: ses - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-simpledb.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-simpledb.rst deleted file mode 100644 index 2f35269..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-simpledb.rst +++ /dev/null @@ -1,165 +0,0 @@ -.. service:: sdb - -Creating domains ----------------- - -The first step in storing data within Amazon SimpleDB is to -`create one or more domains `_. - -Domains are similar to database tables, except that you cannot perform functions across multiple domains, such as -querying multiple domains or using foreign keys. As a consequence, you should plan an Amazon SimpleDB data -architecture that will meet the needs of your project. - -Let's use the CreateDomain operation of the |serviceFullName| client to create a domain. - -.. code-block:: php - - $client->createDomain(array('DomainName' => 'mydomain')); - -List all domains ----------------- - -Now that the domain is created, we can list the domains in our account to verify that it exists. This is done using the -ListDomains operation and the ListDomains iterator. - -.. code-block:: php - - $domains = $client->getIterator('ListDomains')->toArray(); - var_export($domains); - // Lists an array of domain names, including "mydomain" - -Retrieving a domain -------------------- - -You can get more information about a domain using the DomainMetadata operation. This operation returns information about -a domain, including when the domain was created, the number of items and attributes, and the size of attribute names -and values. - -.. code-block:: php - - $result = $client->domainMetadata(array('DomainName' => 'mydomain')); - echo $result['ItemCount'] . "\n"; - echo $result['ItemNameSizeBytes'] . "\n"; - echo $result['AttributeNameCount'] . "\n"; - echo $result['AttributeNameSizeBytes'] . "\n"; - echo $result['AttributeValueCount'] . "\n"; - echo $result['AttributeNameSizeBytes'] . "\n"; - echo $result['AttributeValueSizeBytes'] . "\n"; - echo $result['Timestamp'] . "\n"; - -Adding items ------------- - -After creating a domain, you are ready to start putting data into it. Domains consist of items, which are described by -attribute name-value pairs. Items are added to a domain using the PutAttributes operation. - -.. code-block:: php - - $client->putAttributes(array( - 'DomainName' => 'mydomain', - 'ItemName' => 'test', - 'Attributes' => array( - array('Name' => 'a', 'Value' => 1, 'Replace' => true), - array('Name' => 'b', 'Value' => 2), - ) - )); - -.. note:: - - When you put attributes, notice that the Replace parameter is optional, and set to false by default. If you do not - explicitly set Replace to true, a new attribute name-value pair is created each time; even if the Name value - already exists in your Amazon SimpleDB domain. - -Retrieving items ----------------- - -GetAttributes -~~~~~~~~~~~~~ - -We can check to see if the item was added correctly by retrieving the specific item by name using the GetAttribute -operation. - -.. code-block:: php - - $result = $client->getAttributes(array( - 'DomainName' => 'mydomain', - 'ItemName' => 'test', - 'Attributes' => array( - 'a', 'b' - ), - 'ConsistentRead' => true - )); - -Notice that we set the `ConsistentRead` option to `true`. Amazon SimpleDB keeps multiple copies of each domain. A -successful write (using PutAttributes, BatchPutAttributes, DeleteAttributes, BatchDeleteAttributes, CreateDomain, or -DeleteDomain) guarantees that all copies of the domain will durably persist. Amazon SimpleDB supports two read -consistency options: eventually consistent read and consistent read. A consistent read (using Select or GetAttributes -with ConsistentRead=true) returns a result that reflects all writes that received a successful response prior to the -read. - -You can find out more about consistency and |serviceFullName| in the service's -`developer guide on consistency `_. - -Select -~~~~~~ - -You can retrieve attributes for items by name, but |serviceFullName| also supports the Select operation. The Select -operation returns a set of Attributes for ItemNames that match the select expression. Select is similar to the standard -SQL SELECT statement. - -Let's write a select query that will return all items withe the `a` attribute set to `1`. - -.. code-block:: php - - $result = $client->select(array( - 'SelectExpression' => "select * from mydomain where a = '1'" - )); - foreach ($result['Items'] as $item) { - echo $item['Name'] . "\n"; - var_export($item['Attributes']); - } - -Because some responses will be truncated and require subsequent requests, it is recommended to always use the -Select iterator to easily retrieve an entire result set. - -.. code-block:: php - - $iterator = $client->getIterator('Select', array( - 'SelectExpression' => "select * from mydomain where a = '1'" - )); - foreach ($iterator as $item) { - echo $item['Name'] . "\n"; - var_export($item['Attributes']); - } - -You can find much more information about the Select operation in the service's -`developer guide on select `_. - -Deleting items --------------- - -You can delete specific attributes of an item or an entire item using the DeleteAttributes operation. If all attributes -of an item are deleted, the item is deleted. - -Let's go ahead and delete the item we created in `mydomain`. - -.. code-block:: php - - $client->deleteAttributes(array( - 'DomainName' => 'mydomain', - 'ItemName' => 'test' - )); - -Because we did not specify an `Attributes` parameter, the entire item is deleted. - -Deleting domains ----------------- - -Now that we've explored some of the features of |serviceFullName|, we should delete our testing data. The -DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain are deleted as well. The -DeleteDomain operation might take 10 or more seconds to complete. - -.. code-block:: php - - $client->deleteDomain(array('DomainName' => 'mydomain')); - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sns.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sns.rst deleted file mode 100644 index 81431f9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sns.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: sns - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sqs.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sqs.rst deleted file mode 100644 index d8dbcef..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sqs.rst +++ /dev/null @@ -1,101 +0,0 @@ -.. service:: sqs - -Creating a queue ----------------- - -Now, let's create a queue. You can create a standard queue by just providing a name. Make sure to get the queue's URL -from the result, since the queue URL is the unique identifier used to specify the queue in order to send and receive -messages. - -.. code-block:: php - - $result = $client->createQueue(array('QueueName' => 'my-queue')); - $queueUrl = $result->get('QueueUrl'); - -You can also set attributes on your queue when you create it. - -.. code-block:: php - - use Aws\Common\Enum\Size; - use Aws\Sqs\Enum\QueueAttribute; - - $result = $client->createQueue(array( - 'QueueName' => 'my-queue', - 'Attributes' => array( - QueueAttribute::DELAY_SECONDS => 5, - QueueAttribute::MAXIMUM_MESSAGE_SIZE => 4 * Size::KB, - ), - )); - $queueUrl = $result->get('QueueUrl'); - -Or you can also set queue attributes later. - -.. code-block:: php - - use Aws\Common\Enum\Time; - use Aws\Sqs\Enum\QueueAttribute; - - $result = $client->setQueueAttributes(array( - 'QueueUrl' => $queueUrl, - 'Attributes' => array( - QueueAttribute::VISIBILITY_TIMEOUT => 2 * Time::MINUTES, - ), - )); - -Sending messages ----------------- - -Sending a message to a queue is straight forward with the ``SendMessage`` command. - -.. code-block:: php - - $client->sendMessage(array( - 'QueueUrl' => $queueUrl, - 'MessageBody' => 'An awesome message!', - )): - -You can overwrite the queue's default delay for a message when you send it. - -.. code-block:: php - - $client->sendMessage(array( - 'QueueUrl' => $queueUrl, - 'MessageBody' => 'An awesome message!', - 'DelaySeconds' => 30, - )): - -Receiving messages ------------------- - -Receiving messages is done with the ``ReceiveMessage`` command. - -.. code-block:: php - - $result = $client->receiveMessage(array( - 'QueueUrl' => $queueUrl, - )); - - foreach ($result->getPath('Messages/*/Body') as $messageBody) { - // Do something with the message - echo $messageBody; - } - -By default, only one message will be returned. If you want to get more messages, make sure to use the -``MaxNumberOfMessages`` parameter and specify a number of messages (1 to 10). Remember that you are not guaranteed to -receive that many messages, but you can receive up to that amount depending on how many are actually in the queue at -the time of your request. - -SQS also supports `"long polling" -`_, meaning that you -can instruct SQS to hold the connection open with the SDK for up to 20 seconds in order to wait for a message to arrive -in the queue. To configure this behavior, you must use the ``WaitTimeSeconds`` parameter. - -.. code-block:: php - - $result = $client->receiveMessage(array( - 'QueueUrl' => $queueUrl, - 'WaitTimeSeconds' => 10, - )); - -.. note:: You can also configure long-polling at the queue level by setting the ``ReceiveMessageWaitTimeSeconds`` queue - attribute. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-storagegateway.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-storagegateway.rst deleted file mode 100644 index 66517aa..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-storagegateway.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: storagegateway - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sts.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sts.rst deleted file mode 100644 index 7f082da..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-sts.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: sts - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-swf.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-swf.rst deleted file mode 100644 index 25625c1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/service-swf.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. service:: swf - -.. include:: _snippets/incomplete.txt diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/side-by-side.rst b/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/side-by-side.rst deleted file mode 100644 index e48e8cf..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/docs/side-by-side.rst +++ /dev/null @@ -1,277 +0,0 @@ -================== -Side-by-side Guide -================== - -This guide helps you install, configure, and run Version 1 and Version 2 of the AWS SDK for PHP side-by-side within the -same application or project. Please see the :doc:`migration-guide` for more information on migrating code from the -original AWS SDK for PHP to Version 2. - -Since Version 2 of the AWS SDK for PHP now supports all of the AWS services supported by Version 1 (and more), it is -recommended that you should begin migrating your code to use Version 2 of the SDK. Using both SDKs side-by-side may be -helpful if your use case requires you to migrate only sections of your code at a time. - -Installing and Including the SDKs ---------------------------------- - -To install and include the SDKs in your project, you must first choose whether or not to use Composer. - -Using Composer -~~~~~~~~~~~~~~ - -Using `Composer `_ is the recommended way to install both versions of the AWS SDK for PHP. -Composer is a dependency management tool for PHP that allows you to declare the dependencies your project requres and -installs them into your project. In order to simultaneously use both versions of the SDK in the same project through -Composer, you must do the following: - -#. Add both of the SDKs as dependencies in your project's ``composer.json`` file. - - .. code-block:: js - - { - "require": { - "aws/aws-sdk-php": "*", - "amazonwebservices/aws-sdk-for-php": "*" - } - } - - **Note:** Consider tightening your dependencies to a known version when deploying mission critical applications - (e.g., ``2.0.*``). - -#. Download and install Composer. - - .. code-block:: sh - - curl -s "http://getcomposer.org/installer" | php - -#. Install your dependencies. - - .. code-block:: sh - - php composer.phar install - -#. Require Composer's autoloader. - - Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that - it downloads. To use it, just add the following line to your code's bootstrap process. - - .. code-block:: php - - require '/path/to/sdk/vendor/autoload.php'; - -You can find out more on how to install Composer, configure autoloading, and other best-practices for defining -dependencies at `getcomposer.org `_. - -Without Composer -~~~~~~~~~~~~~~~~ - -Without Composer, you must manage your own project dependencies. - -#. Download both of the SDKs (via PEAR, GitHub, or the AWS website) into a location accessible by your project. Make - certain to use the pre-packaged ``aws.phar`` file, which includes all of the dependencies for the AWS SDK for PHP 2. - -#. In your code's bootstrap process, you need to explicitly require the bootstrap file from Version 1 of the SDK and the - ``aws.phar`` file containing Version 2 of the SDK: - - .. code-block:: php - - // Include each of the SDK's bootstrap files to setup autoloading - require '/path/to/sdk.class.php'; // Load the Version 1 bootstrap file - require '/path/to/aws.phar'; // Load the Version 2 pre-packaged phar file - -Configuring and Instantiating the SDKs --------------------------------------- - -How you configure and instantiate the SDKs is determined by whether or not you are using the service builder -(``Aws\Common\Aws`` class). - -Instantiating Clients via the Service Builder -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The service builder (``Aws\Common\Aws class``) in the AWS SDK for PHP 2 enables configuring all service clients with the -same credentials. It also accepts additional settings for some or all of the clients. The service builder functionality -is inherited from the `Guzzle `_ project. - -You can pass the service builder a configuration file containing your credentials and other settings. It will then -inject these into all of the service clients your code instantiates. For more information about the configuration file, -please read the :doc:`configuration` section of the guide. When using both SDKs side-by-side, your configuration file -must include the following line: - -.. code-block:: php - - 'includes' => array('_sdk1'), - -This will automatically set up the service clients from Version 1 of the SDK making them accessible through the service -builder by keys such as ``v1.s3`` and ``v1.cloudformation``. Here is an example configuration file that includes -referencing the Version 1 of the SDK: - -.. code-block:: php - - array('_sdk1'), - 'services' => array( - 'default_settings' => array( - 'params' => array( - 'key' => 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - 'region' => 'us-west-2' - ) - ) - ) - ); - -Your code must instantiate the service builder through its factory method by passing in the path of the configuration -file. Your code then retrieves instances of the specific service clients from the returned builder object. - -.. code-block:: php - - use Aws\Common\Aws; - - // Instantiate the service builder - $aws = Aws::factory('/path/to/your/config.php'); - - // Instantiate S3 clients via the service builder - $s3v1 = $aws->get('v1.s3'); // All Version 1 clients are prefixed with "v1." - $s3v2 = $aws->get('s3'); - -Instantiating Clients via Client Factories -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Your code can instantiate service clients using their respective ``factory()`` methods by passing in an array of -configuration data, including your credentials. The ``factory()`` will work for clients in either versions of the SDK. - -.. code-block:: php - - use Aws\S3\S3Client; - - // Create an array of configuration options - $config = array( - 'key' => 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - ); - - // Instantiate Amazon S3 clients from both SDKs via their factory methods - $s3v1 = AmazonS3::factory($config); - $s3v2 = S3Client::factory($config); - -Optionally, you could alias the classes to make it clearer which version of the SDK they are from. - -.. code-block:: php - - use AmazonS3 as S3ClientV1; - use Aws\S3\S3Client as S3ClientV2; - - $config = array( - 'key' => 'your-aws-access-key-id', - 'secret' => 'your-aws-secret-access-key', - ); - - $s3v1 = S3ClientV1::factory($config); - $s3v2 = S3ClientV2::factory($config); - -Complete Examples ------------------ - -The following two examples fully demonstrate including, configuring, instantiating, and using both SDKs side-by-side. -These examples adopt the recommended practices of using Composer and the service builder. - -Example 1 - Dual Amazon S3 Clients -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -This example demonstrates using an Amazon S3 client from the AWS SDK for PHP 2 working side-by-side with an Amazon S3 -client from the first PHP SDK. - -.. code-block:: php - - get('v1.s3'); - $s3v2 = $aws->get('s3'); - - echo "ListBuckets with SDK Version 1:\n"; - echo "-------------------------------\n"; - $response = $s3v1->listBuckets(); - if ($response->isOK()) { - foreach ($response->body->Buckets->Bucket as $bucket) { - echo "- {$bucket->Name}\n"; - } - } else { - echo "Request failed.\n"; - } - echo "\n"; - - echo "ListBuckets with SDK Version 2:\n"; - echo "-------------------------------\n"; - try { - $result = $s3v2->listBuckets(); - foreach ($result['Buckets'] as $bucket) { - echo "- {$bucket['Name']}\n"; - } - } catch (Aws\S3\Exception\S3Exception $e) { - echo "Request failed.\n"; - } - echo "\n"; - -Example 2 - Amazon DynamoDB and Amazon SNS Clients -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -This example shows how the AWS SDK for PHP 2 DynamoDB client works together with the SNS client from the original SDK. -For this example, an ice cream parlor publishes a daily message (via SNS) containing its "flavors of the day" to -subscribers. First, it retrieves the flavors of the day from its DynamoDB database using the AWS SDK for PHP 2 DynamoDB -client. It then uses the SNS client from the first SDK to publish a message to its SNS topic. - -.. code-block:: php - - get('dynamodb'); - $sns = $aws->get('v1.sns'); - $sns->set_region(AmazonSNS::REGION_US_W2); - - // Get today's flavors from DynamoDB using Version 2 of the SDK - $date = new DateTime(); - $flavors = $ddb->getItem(array( - 'TableName' => 'flavors-of-the-day', - 'Key' => array( - 'HashKeyElement' => array('N' => $date->format('n')), - 'RangeKeyElement' => array('N' => $date->format('j')) - ) - ))->getResult()->getPath('Item/flavors/SS'); - - // Generate the message - $today = $date->format('l, F jS'); - $message = "It's {$today}, and here are our flavors of the day:\n"; - foreach ($flavors as $flavor) { - $message .= "- {$flavor}\n"; - } - $message .= "\nCome visit Mr. Foo\'s Ice Cream Parlor on 5th and Pine!\n"; - echo "{$message}\n"; - - // Send today's flavors to subscribers using Version 1 of the SDK - $response = $sns->publish('flavors-of-the-day-sns-topic', $message, array( - 'Subject' => 'Flavors of the Day - Mr. Foo\'s Ice Cream Parlor' - )); - if ($response->isOK()) { - echo "Sent the flavors of the day to your subscribers.\n"; - } else { - echo "There was an error sending the flavors of the day to your subscribers.\n"; - } - -Final Notes ------------ - -Remember that **instantiating clients from the original SDK using the service builder from AWS SDK for PHP 2 does not -change how those clients work**. For example, notice the differences in response handling between SDK versions. For a -full list of differences between the versions, please see the :doc:`migration-guide`. - -For more information about using the original version of the SDK, please see the `Version 1 API Documentation -`_ and the `Version 1 SDK README -`_. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/phpunit.functional.xml.dist b/in-development/check_awsiops/vendor/aws/aws-sdk-php/phpunit.functional.xml.dist deleted file mode 100644 index aa951be..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/phpunit.functional.xml.dist +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - ./tests/Aws/Tests - - - - - - - integration - performance - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/phpunit.xml.dist b/in-development/check_awsiops/vendor/aws/aws-sdk-php/phpunit.xml.dist deleted file mode 100644 index 965ce4c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/phpunit.xml.dist +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - tests/Aws/Tests - - - - - - - integration - performance - - - - - - - - - - ./src/Aws - - ./src/Aws - ./src/Aws/**/Enum - ./src/Aws/**/Resources - ./src/Aws/Common/Exception/DomainException.php - ./src/Aws/Common/Exception/InvalidArgumentException.php - ./src/Aws/Common/Exception/LogicException.php - ./src/Aws/Common/Exception/OverflowException.php - ./src/Aws/Common/Exception/OutOfBoundsException.php - ./src/Aws/Common/Exception/RuntimeException.php - ./src/Aws/Common/Exception/UnexpectedValueException.php - ./src/Aws/AutoScaling/Exception - ./src/Aws/CloudFormation/Exception - ./src/Aws/CloudFront/Exception - ./src/Aws/CloudWatch/Exception - ./src/Aws/DataPipeline/Exception - ./src/Aws/DirectConnect/Exception - ./src/Aws/DynamoDb/Exception - ./src/Aws/Ec2/Exception - ./src/Aws/ElastiCache/Exception - ./src/Aws/ElasticBeanstalk/Exception - ./src/Aws/ElasticLoadBalancing/Exception - ./src/Aws/ElasticTranscoder/Exception - ./src/Aws/Emr/Exception - ./src/Aws/Glacier/Exception - ./src/Aws/Iam/Exception - ./src/Aws/ImportExport/Exception - ./src/Aws/OpsWorks/Exception - ./src/Aws/Rds/Exception - ./src/Aws/Redshift/Exception - ./src/Aws/Route53/Exception - ./src/Aws/S3/Exception - ./src/Aws/Ses/Exception - ./src/Aws/SimpleDb/Exception - ./src/Aws/Sns/Exception - ./src/Aws/Sqs/Exception - ./src/Aws/StorageGateway/Exception - ./src/Aws/Sts/Exception - ./src/Aws/Swf/Exception - - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/AutoScaling/AutoScalingClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/AutoScaling/AutoScalingClient.php deleted file mode 100644 index 3ba9e6e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/AutoScaling/AutoScalingClient.php +++ /dev/null @@ -1,114 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/autoscaling-2011-01-01.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/AutoScaling/Enum/LifecycleState.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/AutoScaling/Enum/LifecycleState.php deleted file mode 100644 index 439a02f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/AutoScaling/Enum/LifecycleState.php +++ /dev/null @@ -1,31 +0,0 @@ - '2011-01-01', - 'endpointPrefix' => 'autoscaling', - 'serviceFullName' => 'Auto Scaling', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'AutoScaling', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'autoscaling.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CreateAutoScalingGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateAutoScalingGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'LaunchConfigurationName' => array( - 'required' => true, - 'description' => 'The name of the launch configuration to use with the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'MinSize' => array( - 'required' => true, - 'description' => 'The minimum size of the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxSize' => array( - 'required' => true, - 'description' => 'The maximum size of the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DesiredCapacity' => array( - 'description' => 'The number of Amazon EC2 instances that should be running in the group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DefaultCooldown' => array( - 'description' => 'The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AvailabilityZones' => array( - 'description' => 'A list of Availability Zones for the Auto Scaling group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AvailabilityZones.member', - 'minItems' => 1, - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'LoadBalancerNames' => array( - 'description' => 'A list of load balancers to use.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LoadBalancerNames.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'HealthCheckType' => array( - 'description' => 'The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 32, - ), - 'HealthCheckGracePeriod' => array( - 'description' => 'Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PlacementGroup' => array( - 'description' => 'Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'VPCZoneIdentifier' => array( - 'description' => 'A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'TerminationPolicies' => array( - 'description' => 'A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'TerminationPolicies.member', - 'items' => array( - 'name' => 'XmlStringMaxLen1600', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'Tags' => array( - 'description' => 'The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tags.member', - 'items' => array( - 'name' => 'Tag', - 'description' => 'The tag applied to an Auto Scaling group.', - 'type' => 'object', - 'properties' => array( - 'ResourceId' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.', - 'type' => 'string', - ), - 'Key' => array( - 'required' => true, - 'description' => 'The key of the tag.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Value' => array( - 'description' => 'The value of the tag.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'PropagateAtLaunch' => array( - 'description' => 'Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The named Auto Scaling group or launch configuration already exists.', - 'class' => 'AlreadyExistsException', - ), - array( - 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'CreateLaunchConfiguration' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates a new launch configuration. The launch configuration name must be unique within the scope of the client\'s AWS account. The maximum limit of launch configurations, which by default is 100, must not yet have been met; otherwise, the call will fail. When created, the new launch configuration is available for immediate use.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateLaunchConfiguration', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'LaunchConfigurationName' => array( - 'required' => true, - 'description' => 'The name of the launch configuration to create.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'ImageId' => array( - 'required' => true, - 'description' => 'Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. For more information about Amazon EC2 images, please see Amazon EC2 product documentation.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'KeyName' => array( - 'description' => 'The name of the Amazon EC2 key pair.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'SecurityGroups' => array( - 'description' => 'The names of the security groups with which to associate Amazon EC2 or Amazon VPC instances. Specify Amazon EC2 security groups using security group names, such as websrv. Specify Amazon VPC security groups using security group IDs, such as sg-12345678. For more information about Amazon EC2 security groups, go to Using Security Groups in the Amazon EC2 product documentation. For more information about Amazon VPC security groups, go to Security Groups in the Amazon VPC product documentation.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroups.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - ), - ), - 'UserData' => array( - 'description' => 'The user data available to the launched Amazon EC2 instances. For more information about Amazon EC2 user data, please see Amazon EC2 product documentation.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 21847, - ), - 'InstanceType' => array( - 'required' => true, - 'description' => 'The instance type of the Amazon EC2 instance. For more information about Amazon EC2 instance types, please see Amazon EC2 product documentation', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'KernelId' => array( - 'description' => 'The ID of the kernel associated with the Amazon EC2 AMI.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'RamdiskId' => array( - 'description' => 'The ID of the RAM disk associated with the Amazon EC2 AMI.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'BlockDeviceMappings' => array( - 'description' => 'A list of mappings that specify how block devices are exposed to the instance. Each mapping is made up of a VirtualName, a DeviceName, and an ebs data structure that contains information about the associated Elastic Block Storage volume. For more information about Amazon EC2 BlockDeviceMappings, go to Block Device Mapping in the Amazon EC2 product documentation.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BlockDeviceMappings.member', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMapping data type.', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'The virtual name associated with the device.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'DeviceName' => array( - 'required' => true, - 'description' => 'The name of the device within Amazon EC2.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Ebs' => array( - 'description' => 'The Elastic Block Storage volume information.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The snapshot ID.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'VolumeSize' => array( - 'description' => 'The volume size, in gigabytes.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 1024, - ), - ), - ), - ), - ), - ), - 'InstanceMonitoring' => array( - 'description' => 'Enables detailed monitoring, which is enabled by default.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Enabled' => array( - 'description' => 'If True, instance monitoring is enabled.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'SpotPrice' => array( - 'description' => 'The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information on launching Spot Instances, go to Using Auto Scaling to Launch Spot Instances in the Auto Scaling Developer Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'IamInstanceProfile' => array( - 'description' => 'The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. For information on launching EC2 instances with an IAM role, go to Launching Auto Scaling Instances With an IAM Role in the Auto Scaling Developer Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The named Auto Scaling group or launch configuration already exists.', - 'class' => 'AlreadyExistsException', - ), - array( - 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'CreateOrUpdateTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates new tags or updates existing tags for an Auto Scaling group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateOrUpdateTags', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'Tags' => array( - 'required' => true, - 'description' => 'The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. The resource type and resource ID identify the type and name of resource for which the tag is created. Currently, auto-scaling-group is the only supported resource type. The valid value for the resource ID is groupname.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tags.member', - 'items' => array( - 'name' => 'Tag', - 'description' => 'The tag applied to an Auto Scaling group.', - 'type' => 'object', - 'properties' => array( - 'ResourceId' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.', - 'type' => 'string', - ), - 'Key' => array( - 'required' => true, - 'description' => 'The key of the tag.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Value' => array( - 'description' => 'The value of the tag.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'PropagateAtLaunch' => array( - 'description' => 'Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The named Auto Scaling group or launch configuration already exists.', - 'class' => 'AlreadyExistsException', - ), - ), - ), - 'DeleteAutoScalingGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteAutoScalingGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ForceDelete' => array( - 'description' => 'Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.', - 'class' => 'ScalingActivityInProgressException', - ), - array( - 'reason' => 'This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.', - 'class' => 'ResourceInUseException', - ), - ), - ), - 'DeleteLaunchConfiguration' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified LaunchConfiguration.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteLaunchConfiguration', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'LaunchConfigurationName' => array( - 'required' => true, - 'description' => 'The name of the launch configuration.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.', - 'class' => 'ResourceInUseException', - ), - ), - ), - 'DeleteNotificationConfiguration' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes notifications created by PutNotificationConfiguration.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteNotificationConfiguration', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'TopicARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - ), - 'DeletePolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a policy created by PutScalingPolicy.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeletePolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The name or PolicyARN of the policy you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - ), - 'DeleteScheduledAction' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a scheduled action previously created using the PutScheduledUpdateGroupAction.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteScheduledAction', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScheduledActionName' => array( - 'required' => true, - 'description' => 'The name of the action you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - ), - 'DeleteTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Removes the specified tags or a set of tags from a set of resources.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteTags', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'Tags' => array( - 'required' => true, - 'description' => 'Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values are: Resource type = auto-scaling-group, Resource ID = AutoScalingGroupName, key=value, value=value, propagate=true or false.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tags.member', - 'items' => array( - 'name' => 'Tag', - 'description' => 'The tag applied to an Auto Scaling group.', - 'type' => 'object', - 'properties' => array( - 'ResourceId' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.', - 'type' => 'string', - ), - 'Key' => array( - 'required' => true, - 'description' => 'The key of the tag.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Value' => array( - 'description' => 'The value of the tag.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'PropagateAtLaunch' => array( - 'description' => 'Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - ), - 'DescribeAdjustmentTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAdjustmentTypesAnswer', - 'responseType' => 'model', - 'summary' => 'Returns policy adjustment types for use in the PutScalingPolicy action.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAdjustmentTypes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - ), - ), - 'DescribeAutoScalingGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AutoScalingGroupsType', - 'responseType' => 'model', - 'summary' => 'Returns a full description of each Auto Scaling group in the given list. This includes all Amazon EC2 instances that are members of the group. If a list of names is not provided, the service returns the full details of all Auto Scaling groups.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAutoScalingGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupNames' => array( - 'description' => 'A list of Auto Scaling group names.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AutoScalingGroupNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to return.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeAutoScalingInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AutoScalingInstancesType', - 'responseType' => 'model', - 'summary' => 'Returns a description of each Auto Scaling instance in the InstanceIds list. If a list is not provided, the service returns the full details of all instances up to a maximum of 50. By default, the service returns a list of 20 items.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAutoScalingInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'InstanceIds' => array( - 'description' => 'The list of Auto Scaling instances to describe. If this list is omitted, all auto scaling instances are described. The list of requested instances cannot contain more than 50 items. If unknown instances are requested, they are ignored with no error.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceIds.member', - 'items' => array( - 'name' => 'XmlStringMaxLen16', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 16, - ), - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of Auto Scaling instances to be described with each call.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - 'NextToken' => array( - 'description' => 'The token returned by a previous call to indicate that there is more data available.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeAutoScalingNotificationTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAutoScalingNotificationTypesAnswer', - 'responseType' => 'model', - 'summary' => 'Returns a list of all notification types that are supported by Auto Scaling.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAutoScalingNotificationTypes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - ), - ), - 'DescribeLaunchConfigurations' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'LaunchConfigurationsType', - 'responseType' => 'model', - 'summary' => 'Returns a full description of the launch configurations, or the specified launch configurations, if they exist.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeLaunchConfigurations', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'LaunchConfigurationNames' => array( - 'description' => 'A list of launch configuration names.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LaunchConfigurationNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of launch configurations. The default is 100.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeMetricCollectionTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeMetricCollectionTypesAnswer', - 'responseType' => 'model', - 'summary' => 'Returns a list of metrics and a corresponding list of granularities for each metric.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeMetricCollectionTypes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - ), - ), - 'DescribeNotificationConfigurations' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeNotificationConfigurationsAnswer', - 'responseType' => 'model', - 'summary' => 'Returns a list of notification actions associated with Auto Scaling groups for specified events.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeNotificationConfigurations', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupNames' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AutoScalingGroupNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'NextToken' => array( - 'description' => 'A string that is used to mark the start of the next batch of returned results for pagination.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'Maximum number of records to be returned.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribePolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'PoliciesType', - 'responseType' => 'model', - 'summary' => 'Returns descriptions of what each policy does. This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the request with the response token as the NextToken parameter.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribePolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'PolicyNames' => array( - 'description' => 'A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group. The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PolicyNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'NextToken' => array( - 'description' => 'A string that is used to mark the start of the next batch of returned results for pagination.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of policies that will be described with each call.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeScalingActivities' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ActivitiesType', - 'responseType' => 'model', - 'summary' => 'Returns the scaling activities for the specified Auto Scaling group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeScalingActivities', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'ActivityIds' => array( - 'description' => 'A list containing the activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If an AutoScalingGroupName is provided, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ActivityIds.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - ), - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the AutoScalingGroup.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of scaling activities to return.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results for pagination.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeScalingProcessTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ProcessesType', - 'responseType' => 'model', - 'summary' => 'Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeScalingProcessTypes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - ), - ), - 'DescribeScheduledActions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ScheduledActionsType', - 'responseType' => 'model', - 'summary' => 'Lists all the actions scheduled for your Auto Scaling group that haven\'t been executed. To see a list of actions already executed, see the activity record returned in DescribeScalingActivities.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeScheduledActions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScheduledActionNames' => array( - 'description' => 'A list of scheduled actions to be described. If this list is omitted, all scheduled actions are described. The list of requested scheduled actions cannot contain more than 50 items. If an auto scaling group name is provided, the results are limited to that group. If unknown scheduled actions are requested, they are ignored with no error.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ScheduledActionNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'StartTime' => array( - 'description' => 'The earliest scheduled start time to return. If scheduled action names are provided, this field will be ignored.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'The latest scheduled start time to return. If scheduled action names are provided, this field is ignored.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of scheduled actions to return.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'TagsType', - 'responseType' => 'model', - 'summary' => 'Lists the Auto Scaling group tags.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeTags', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'Filters' => array( - 'description' => 'The value of the filter type used to identify the tags to be returned. For example, you can filter so that tags are returned according to Auto Scaling group, the key and value, or whether the new tag will be applied to instances launched after the tag is created (PropagateAtLaunch).', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filters.member', - 'items' => array( - 'name' => 'Filter', - 'description' => 'The Filter data type.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the filter. Valid Name values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'The value of the filter.', - 'type' => 'array', - 'sentAs' => 'Values.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - ), - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to return.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 50, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeTerminationPolicyTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeTerminationPolicyTypesAnswer', - 'responseType' => 'model', - 'summary' => 'Returns a list of all termination policies supported by Auto Scaling.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeTerminationPolicyTypes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - ), - ), - 'DisableMetricsCollection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Disables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName. You can specify the list of affected metrics with the Metrics parameter.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DisableMetricsCollection', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name or ARN of the Auto Scaling Group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'Metrics' => array( - 'description' => 'The list of metrics to disable. If no metrics are specified, all metrics are disabled. The following metrics are supported:', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Metrics.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'EnableMetricsCollection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Enables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName. You can specify the list of enabled metrics with the Metrics parameter.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EnableMetricsCollection', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name or ARN of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'Metrics' => array( - 'description' => 'The list of metrics to collect. If no metrics are specified, all metrics are enabled. The following metrics are supported:', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Metrics.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'Granularity' => array( - 'required' => true, - 'description' => 'The granularity to associate with the metrics to collect. Currently, the only legal granularity is "1Minute".', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - 'ExecutePolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Runs the policy you create for your Auto Scaling group in PutScalingPolicy.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ExecutePolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name or ARN of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The name or PolicyARN of the policy you want to run.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'HonorCooldown' => array( - 'description' => 'Set to True if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.', - 'class' => 'ScalingActivityInProgressException', - ), - ), - ), - 'PutNotificationConfiguration' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutNotificationConfiguration', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'TopicARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'NotificationTypes' => array( - 'required' => true, - 'description' => 'The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'NotificationTypes.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'PutScalingPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'PolicyARNType', - 'responseType' => 'model', - 'summary' => 'Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameter(s) you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutScalingPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name or ARN of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The name of the policy you want to create or update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'ScalingAdjustment' => array( - 'required' => true, - 'description' => 'The number of instances by which to scale. AdjustmentType determines the interpretation of this number (e.g., as an absolute number or as a percentage of the existing Auto Scaling group size). A positive increment adds to the current capacity and a negative value removes from the current capacity.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AdjustmentType' => array( - 'required' => true, - 'description' => 'Specifies whether the ScalingAdjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Cooldown' => array( - 'description' => 'The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MinAdjustmentStep' => array( - 'description' => 'Used with AdjustmentType with the value PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least the number of instances specified in the value.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'PutScheduledUpdateGroupAction' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutScheduledUpdateGroupAction', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name or ARN of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScheduledActionName' => array( - 'required' => true, - 'description' => 'The name of this scaling action.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Time' => array( - 'description' => 'Time is deprecated.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'StartTime' => array( - 'description' => 'The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'The time for this action to end.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'Recurrence' => array( - 'description' => 'The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'MinSize' => array( - 'description' => 'The minimum size for the new Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxSize' => array( - 'description' => 'The maximum size for the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DesiredCapacity' => array( - 'description' => 'The number of Amazon EC2 instances that should be running in the group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The named Auto Scaling group or launch configuration already exists.', - 'class' => 'AlreadyExistsException', - ), - array( - 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'ResumeProcesses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Resumes Auto Scaling processes for an Auto Scaling group. For more information, see SuspendProcesses and ProcessType.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResumeProcesses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name or Amazon Resource Name (ARN) of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScalingProcesses' => array( - 'description' => 'The processes that you want to suspend or resume, which can include one or more of the following:', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ScalingProcesses.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'SetDesiredCapacity' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adjusts the desired size of the AutoScalingGroup by initiating scaling activities. When reducing the size of the group, it is not possible to define which Amazon EC2 instances will be terminated. This applies to any Auto Scaling decisions that might result in terminating instances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetDesiredCapacity', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'DesiredCapacity' => array( - 'required' => true, - 'description' => 'The new capacity setting for the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'HonorCooldown' => array( - 'description' => 'By default, SetDesiredCapacity overrides any cooldown period. Set to True if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.', - 'class' => 'ScalingActivityInProgressException', - ), - ), - ), - 'SetInstanceHealth' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Sets the health status of an instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetInstanceHealth', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The identifier of the Amazon EC2 instance.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 16, - ), - 'HealthStatus' => array( - 'required' => true, - 'description' => 'The health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 32, - ), - 'ShouldRespectGracePeriod' => array( - 'description' => 'If True, this call should respect the grace period associated with the group.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'SuspendProcesses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Suspends Auto Scaling processes for an Auto Scaling group. To suspend specific process types, specify them by name with the ScalingProcesses.member.N parameter. To suspend all process types, omit the ScalingProcesses.member.N parameter.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SuspendProcesses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name or Amazon Resource Name (ARN) of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScalingProcesses' => array( - 'description' => 'The processes that you want to suspend or resume, which can include one or more of the following:', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ScalingProcesses.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'TerminateInstanceInAutoScalingGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ActivityType', - 'responseType' => 'model', - 'summary' => 'Terminates the specified instance. Optionally, the desired group size can be adjusted.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'TerminateInstanceInAutoScalingGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the Amazon EC2 instance to be terminated.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 16, - ), - 'ShouldDecrementDesiredCapacity' => array( - 'required' => true, - 'description' => 'Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.', - 'class' => 'ScalingActivityInProgressException', - ), - ), - ), - 'UpdateAutoScalingGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Updates the configuration for the specified AutoScalingGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateAutoScalingGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'LaunchConfigurationName' => array( - 'description' => 'The name of the launch configuration.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'MinSize' => array( - 'description' => 'The minimum size of the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxSize' => array( - 'description' => 'The maximum size of the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DesiredCapacity' => array( - 'description' => 'The desired capacity for the Auto Scaling group.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DefaultCooldown' => array( - 'description' => 'The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AvailabilityZones' => array( - 'description' => 'Availability Zones for the group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AvailabilityZones.member', - 'minItems' => 1, - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'HealthCheckType' => array( - 'description' => 'The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 32, - ), - 'HealthCheckGracePeriod' => array( - 'description' => 'The length of time that Auto Scaling waits before checking an instance\'s health status. The grace period begins when an instance comes into service.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PlacementGroup' => array( - 'description' => 'The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'VPCZoneIdentifier' => array( - 'description' => 'The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'TerminationPolicies' => array( - 'description' => 'A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'TerminationPolicies.member', - 'items' => array( - 'name' => 'XmlStringMaxLen1600', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.', - 'class' => 'ScalingActivityInProgressException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DescribeAdjustmentTypesAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AdjustmentTypes' => array( - 'description' => 'A list of specific policy adjustment types.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AdjustmentType', - 'description' => 'Specifies whether the PutScalingPolicy ScalingAdjustment parameter is an absolute number or a percentage of the current capacity.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AdjustmentType' => array( - 'description' => 'A policy adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'AutoScalingGroupsType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AutoScalingGroups' => array( - 'description' => 'A list of Auto Scaling groups.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AutoScalingGroup', - 'description' => 'The AutoScalingGroup data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AutoScalingGroupName' => array( - 'description' => 'Specifies the name of the group.', - 'type' => 'string', - ), - 'AutoScalingGroupARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the Auto Scaling group.', - 'type' => 'string', - ), - 'LaunchConfigurationName' => array( - 'description' => 'Specifies the name of the associated LaunchConfiguration.', - 'type' => 'string', - ), - 'MinSize' => array( - 'description' => 'Contains the minimum size of the Auto Scaling group.', - 'type' => 'numeric', - ), - 'MaxSize' => array( - 'description' => 'Contains the maximum size of the Auto Scaling group.', - 'type' => 'numeric', - ), - 'DesiredCapacity' => array( - 'description' => 'Specifies the desired capacity for the Auto Scaling group.', - 'type' => 'numeric', - ), - 'DefaultCooldown' => array( - 'description' => 'The number of seconds after a scaling activity completes before any further scaling activities can start.', - 'type' => 'numeric', - ), - 'AvailabilityZones' => array( - 'description' => 'Contains a list of Availability Zones for the group.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'LoadBalancerNames' => array( - 'description' => 'A list of load balancers associated with this Auto Scaling group.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'HealthCheckType' => array( - 'description' => 'The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.', - 'type' => 'string', - ), - 'HealthCheckGracePeriod' => array( - 'description' => 'The length of time that Auto Scaling waits before checking an instance\'s health status. The grace period begins when an instance comes into service.', - 'type' => 'numeric', - ), - 'Instances' => array( - 'description' => 'Provides a summary list of Amazon EC2 instances.', - 'type' => 'array', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Specifies the ID of the Amazon EC2 instance.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'Availability Zones associated with this instance.', - 'type' => 'string', - ), - 'LifecycleState' => array( - 'description' => 'Contains a description of the current lifecycle state.', - 'type' => 'string', - ), - 'HealthStatus' => array( - 'description' => 'The instance\'s health status.', - 'type' => 'string', - ), - 'LaunchConfigurationName' => array( - 'description' => 'The launch configuration associated with this instance.', - 'type' => 'string', - ), - ), - ), - ), - 'CreatedTime' => array( - 'description' => 'Specifies the date and time the Auto Scaling group was created.', - 'type' => 'string', - ), - 'SuspendedProcesses' => array( - 'description' => 'Suspended processes associated with this Auto Scaling group.', - 'type' => 'array', - 'items' => array( - 'name' => 'SuspendedProcess', - 'description' => 'An Auto Scaling process that has been suspended. For more information, see ProcessType.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ProcessName' => array( - 'description' => 'The name of the suspended process.', - 'type' => 'string', - ), - 'SuspensionReason' => array( - 'description' => 'The reason that the process was suspended.', - 'type' => 'string', - ), - ), - ), - ), - 'PlacementGroup' => array( - 'description' => 'The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.', - 'type' => 'string', - ), - 'VPCZoneIdentifier' => array( - 'description' => 'The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.', - 'type' => 'string', - ), - 'EnabledMetrics' => array( - 'description' => 'A list of metrics enabled for this Auto Scaling group.', - 'type' => 'array', - 'items' => array( - 'name' => 'EnabledMetric', - 'description' => 'The EnabledMetric data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Metric' => array( - 'description' => 'The name of the enabled metric.', - 'type' => 'string', - ), - 'Granularity' => array( - 'description' => 'The granularity of the enabled metric.', - 'type' => 'string', - ), - ), - ), - ), - 'Status' => array( - 'description' => 'A list of status conditions for the Auto Scaling group.', - 'type' => 'string', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Auto Scaling group.', - 'type' => 'array', - 'items' => array( - 'name' => 'TagDescription', - 'description' => 'The tag applied to an Auto Scaling group.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ResourceId' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.', - 'type' => 'string', - ), - 'Key' => array( - 'description' => 'The key of the tag.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of the tag.', - 'type' => 'string', - ), - 'PropagateAtLaunch' => array( - 'description' => 'Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.', - 'type' => 'boolean', - ), - ), - ), - ), - 'TerminationPolicies' => array( - 'description' => 'A standalone termination policy or a list of termination policies for this Auto Scaling group.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlStringMaxLen1600', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'AutoScalingInstancesType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AutoScalingInstances' => array( - 'description' => 'A list of Auto Scaling instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AutoScalingInstanceDetails', - 'description' => 'The AutoScalingInstanceDetails data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The instance ID of the Amazon EC2 instance.', - 'type' => 'string', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group associated with this instance.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which this instance resides.', - 'type' => 'string', - ), - 'LifecycleState' => array( - 'description' => 'The life cycle state of this instance.', - 'type' => 'string', - ), - 'HealthStatus' => array( - 'description' => 'The health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it.', - 'type' => 'string', - ), - 'LaunchConfigurationName' => array( - 'description' => 'The launch configuration associated with this instance.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeAutoScalingNotificationTypesAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AutoScalingNotificationTypes' => array( - 'description' => 'Notification types supported by Auto Scaling. They are: autoscaling:EC2_INSTANCE_LAUNCH, autoscaling:EC2_INSTANCE_LAUNCH_ERROR, autoscaling:EC2_INSTANCE_TERMINATE, autoscaling:EC2_INSTANCE_TERMINATE_ERROR, autoscaling:TEST_NOTIFICATION', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'LaunchConfigurationsType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LaunchConfigurations' => array( - 'description' => 'A list of launch configurations.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'LaunchConfiguration', - 'description' => 'The LaunchConfiguration data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'LaunchConfigurationName' => array( - 'description' => 'Specifies the name of the launch configuration.', - 'type' => 'string', - ), - 'LaunchConfigurationARN' => array( - 'description' => 'The launch configuration\'s Amazon Resource Name (ARN).', - 'type' => 'string', - ), - 'ImageId' => array( - 'description' => 'Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.', - 'type' => 'string', - ), - 'KeyName' => array( - 'description' => 'Provides the name of the Amazon EC2 key pair.', - 'type' => 'string', - ), - 'SecurityGroups' => array( - 'description' => 'A description of the security groups to associate with the Amazon EC2 instances.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'UserData' => array( - 'description' => 'The user data available to the launched Amazon EC2 instances.', - 'type' => 'string', - ), - 'InstanceType' => array( - 'description' => 'Specifies the instance type of the Amazon EC2 instance.', - 'type' => 'string', - ), - 'KernelId' => array( - 'description' => 'Provides the ID of the kernel associated with the Amazon EC2 AMI.', - 'type' => 'string', - ), - 'RamdiskId' => array( - 'description' => 'Provides ID of the RAM disk associated with the Amazon EC2 AMI.', - 'type' => 'string', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.', - 'type' => 'array', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMapping data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'The virtual name associated with the device.', - 'type' => 'string', - ), - 'DeviceName' => array( - 'description' => 'The name of the device within Amazon EC2.', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'The Elastic Block Storage volume information.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The snapshot ID.', - 'type' => 'string', - ), - 'VolumeSize' => array( - 'description' => 'The volume size, in gigabytes.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'InstanceMonitoring' => array( - 'description' => 'Controls whether instances in this group are launched with detailed monitoring or not.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'If True, instance monitoring is enabled.', - 'type' => 'boolean', - ), - ), - ), - 'SpotPrice' => array( - 'description' => 'Specifies the price to bid when launching Spot Instances.', - 'type' => 'string', - ), - 'IamInstanceProfile' => array( - 'description' => 'Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.', - 'type' => 'string', - ), - 'CreatedTime' => array( - 'description' => 'Provides the creation date and time for this launch configuration.', - 'type' => 'string', - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeMetricCollectionTypesAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Metrics' => array( - 'description' => 'The list of Metrics collected.The following metrics are supported:', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'MetricCollectionType', - 'description' => 'The MetricCollectionType data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Metric' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Granularities' => array( - 'description' => 'A list of granularities for the listed Metrics.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'MetricGranularityType', - 'description' => 'The MetricGranularityType data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Granularity' => array( - 'description' => 'The granularity of a Metric.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeNotificationConfigurationsAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NotificationConfigurations' => array( - 'description' => 'The list of notification configurations.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'NotificationConfiguration', - 'description' => 'The NotificationConfiguration data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AutoScalingGroupName' => array( - 'description' => 'Specifies the Auto Scaling group name.', - 'type' => 'string', - ), - 'TopicARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.', - 'type' => 'string', - ), - 'NotificationType' => array( - 'description' => 'The types of events for an action to start.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that is used to mark the start of the next batch of returned results for pagination.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'PoliciesType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ScalingPolicies' => array( - 'description' => 'A list of scaling policies.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ScalingPolicy', - 'description' => 'The ScalingPolicy data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group associated with this scaling policy.', - 'type' => 'string', - ), - 'PolicyName' => array( - 'description' => 'The name of the scaling policy.', - 'type' => 'string', - ), - 'ScalingAdjustment' => array( - 'description' => 'The number associated with the specified adjustment type. A positive value adds to the current capacity and a negative value removes from the current capacity.', - 'type' => 'numeric', - ), - 'AdjustmentType' => array( - 'description' => 'Specifies whether the ScalingAdjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.', - 'type' => 'string', - ), - 'Cooldown' => array( - 'description' => 'The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.', - 'type' => 'numeric', - ), - 'PolicyARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the policy.', - 'type' => 'string', - ), - 'Alarms' => array( - 'description' => 'A list of CloudWatch Alarms related to the policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'Alarm', - 'description' => 'The Alarm data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AlarmName' => array( - 'description' => 'The name of the alarm.', - 'type' => 'string', - ), - 'AlarmARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the alarm.', - 'type' => 'string', - ), - ), - ), - ), - 'MinAdjustmentStep' => array( - 'description' => 'Changes the DesiredCapacity of the Auto Scaling group by at least the specified number of instances.', - 'type' => 'numeric', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ActivitiesType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Activities' => array( - 'description' => 'A list of the requested scaling activities.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Activity', - 'description' => 'A scaling Activity is a long-running process that represents a change to your AutoScalingGroup, such as changing the size of the group. It can also be a process to replace an instance, or a process to perform any other long-running operations supported by the API.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ActivityId' => array( - 'description' => 'Specifies the ID of the activity.', - 'type' => 'string', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Contains a friendly, more verbose description of the scaling activity.', - 'type' => 'string', - ), - 'Cause' => array( - 'description' => 'Contains the reason the activity was begun.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'Provides the start time of this activity.', - 'type' => 'string', - ), - 'EndTime' => array( - 'description' => 'Provides the end time of this activity.', - 'type' => 'string', - ), - 'StatusCode' => array( - 'description' => 'Contains the current status of the activity.', - 'type' => 'string', - ), - 'StatusMessage' => array( - 'description' => 'Contains a friendly, more verbose description of the activity status.', - 'type' => 'string', - ), - 'Progress' => array( - 'description' => 'Specifies a value between 0 and 100 that indicates the progress of the activity.', - 'type' => 'numeric', - ), - 'Details' => array( - 'description' => 'Contains details of the scaling activity.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'Acts as a paging mechanism for large result sets. Set to a non-empty string if there are additional results waiting to be returned. Pass this in to subsequent calls to return additional results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ProcessesType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Processes' => array( - 'description' => 'A list of ProcessType names.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ProcessType', - 'description' => 'There are two primary Auto Scaling process types--Launch and Terminate. The Launch process creates a new Amazon EC2 instance for an Auto Scaling group, and the Terminate process removes an existing Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ProcessName' => array( - 'description' => 'The name of a process.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ScheduledActionsType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ScheduledUpdateGroupActions' => array( - 'description' => 'A list of scheduled actions designed to update an Auto Scaling group.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ScheduledUpdateGroupAction', - 'description' => 'This data type stores information about a scheduled update to an Auto Scaling group.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group to be updated.', - 'type' => 'string', - ), - 'ScheduledActionName' => array( - 'description' => 'The name of this scheduled action.', - 'type' => 'string', - ), - 'ScheduledActionARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of this scheduled action.', - 'type' => 'string', - ), - 'Time' => array( - 'description' => 'Time is deprecated.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time that the action is scheduled to begin. This value can be up to one month in the future.', - 'type' => 'string', - ), - 'EndTime' => array( - 'description' => 'The time that the action is scheduled to end. This value can be up to one month in the future.', - 'type' => 'string', - ), - 'Recurrence' => array( - 'description' => 'The regular schedule that an action occurs.', - 'type' => 'string', - ), - 'MinSize' => array( - 'description' => 'The minimum size of the Auto Scaling group.', - 'type' => 'numeric', - ), - 'MaxSize' => array( - 'description' => 'The maximum size of the Auto Scaling group.', - 'type' => 'numeric', - ), - 'DesiredCapacity' => array( - 'description' => 'The number of instances you prefer to maintain in your Auto Scaling group.', - 'type' => 'numeric', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'TagsType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Tags' => array( - 'description' => 'The list of tags.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'TagDescription', - 'description' => 'The tag applied to an Auto Scaling group.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ResourceId' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.', - 'type' => 'string', - ), - 'Key' => array( - 'description' => 'The key of the tag.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of the tag.', - 'type' => 'string', - ), - 'PropagateAtLaunch' => array( - 'description' => 'Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.', - 'type' => 'boolean', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string used to mark the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeTerminationPolicyTypesAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TerminationPolicyTypes' => array( - 'description' => 'Termination policies supported by Auto Scaling. They are: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'XmlStringMaxLen1600', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'PolicyARNType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyARN' => array( - 'description' => 'A policy\'s Amazon Resource Name (ARN).', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ActivityType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Activity' => array( - 'description' => 'A scaling Activity.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ActivityId' => array( - 'description' => 'Specifies the ID of the activity.', - 'type' => 'string', - ), - 'AutoScalingGroupName' => array( - 'description' => 'The name of the Auto Scaling group.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Contains a friendly, more verbose description of the scaling activity.', - 'type' => 'string', - ), - 'Cause' => array( - 'description' => 'Contains the reason the activity was begun.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'Provides the start time of this activity.', - 'type' => 'string', - ), - 'EndTime' => array( - 'description' => 'Provides the end time of this activity.', - 'type' => 'string', - ), - 'StatusCode' => array( - 'description' => 'Contains the current status of the activity.', - 'type' => 'string', - ), - 'StatusMessage' => array( - 'description' => 'Contains a friendly, more verbose description of the activity status.', - 'type' => 'string', - ), - 'Progress' => array( - 'description' => 'Specifies a value between 0 and 100 that indicates the progress of the activity.', - 'type' => 'numeric', - ), - 'Details' => array( - 'description' => 'Contains details of the scaling activity.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeAutoScalingGroups' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'AutoScalingGroups', - ), - 'DescribeAutoScalingInstances' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'AutoScalingInstances', - ), - 'DescribeLaunchConfigurations' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'LaunchConfigurations', - ), - 'DescribeNotificationConfigurations' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'NotificationConfigurations', - ), - 'DescribePolicies' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ScalingPolicies', - ), - 'DescribeScalingActivities' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Activities', - ), - 'DescribeScheduledActions' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ScheduledUpdateGroupActions', - ), - 'DescribeTags' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Tags', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFormation/CloudFormationClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFormation/CloudFormationClient.php deleted file mode 100644 index 7d83bed..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFormation/CloudFormationClient.php +++ /dev/null @@ -1,94 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudformation-2010-05-15.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFormation/Enum/Capability.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFormation/Enum/Capability.php deleted file mode 100644 index a89a4d8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFormation/Enum/Capability.php +++ /dev/null @@ -1,27 +0,0 @@ - '2010-05-15', - 'endpointPrefix' => 'cloudformation', - 'serviceFullName' => 'AWS CloudFormation', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'CloudFormation', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudformation.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CancelUpdateStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Cancels an update on the specified stack. If the call completes successfully, the stack will roll back the update and revert to the previous stack configuration.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelUpdateStack', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateStackOutput', - 'responseType' => 'model', - 'summary' => 'Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateStack', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name associated with the stack. The name must be unique within your AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TemplateBody' => array( - 'description' => 'Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 51200, - ), - 'TemplateURL' => array( - 'description' => 'Location of file containing the template body. The URL must point to a template (max size: 307,200 bytes) located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'Parameters' => array( - 'description' => 'A list of Parameter structures that specify input parameters for the stack.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'The Parameter data type.', - 'type' => 'object', - 'properties' => array( - 'ParameterKey' => array( - 'description' => 'The key associated with the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value associated with the parameter.', - 'type' => 'string', - ), - ), - ), - ), - 'DisableRollback' => array( - 'description' => 'Set to true to disable rollback of the stack if stack creation failed. You can specify either DisableRollback or OnFailure, but not both.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'TimeoutInMinutes' => array( - 'description' => 'The amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - ), - 'NotificationARNs' => array( - 'description' => 'The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI).', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'NotificationARNs.member', - 'maxItems' => 5, - 'items' => array( - 'name' => 'NotificationARN', - 'type' => 'string', - ), - ), - 'Capabilities' => array( - 'description' => 'The list of capabilities that you want to allow in the stack. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Capabilities.member', - 'items' => array( - 'name' => 'Capability', - 'type' => 'string', - 'enum' => array( - 'CAPABILITY_IAM', - ), - ), - ), - 'OnFailure' => array( - 'description' => 'Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'DO_NOTHING', - 'ROLLBACK', - 'DELETE', - ), - ), - 'Tags' => array( - 'description' => 'A set of user-defined Tags to associate with this stack, represented by key/value pairs. Tags defined for the stack are propogated to EC2 resources that are created as part of the stack. A maximum number of 10 tags can be specified.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tags.member', - 'items' => array( - 'name' => 'Tag', - 'description' => 'The Tag type is used by CreateStack in the Tags parameter. It allows you to specify a key/value pair that can be used to store information related to cost allocation for an AWS CloudFormation stack.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Quota for the resource has already been reached.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'Resource with the name requested already exists.', - 'class' => 'AlreadyExistsException', - ), - array( - 'reason' => 'The template contains resources with capabilities that were not specified in the Capabilities parameter.', - 'class' => 'InsufficientCapabilitiesException', - ), - ), - ), - 'DeleteStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteStack', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeStackEvents' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeStackEventsOutput', - 'responseType' => 'model', - 'summary' => 'Returns all the stack related events for the AWS account. If StackName is specified, returns events related to all the stacks with the given name. If StackName is not specified, returns all the events for the account. For more information about a stack\'s event history, go to the AWS CloudFormation User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeStackEvents', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'String that identifies the start of the next list of events, if there is one.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - ), - 'DescribeStackResource' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeStackResourceOutput', - 'responseType' => 'model', - 'summary' => 'Returns a description of the specified resource in the specified stack.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeStackResource', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LogicalResourceId' => array( - 'required' => true, - 'description' => 'The logical name of the resource as specified in the template.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeStackResources' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeStackResourcesOutput', - 'responseType' => 'model', - 'summary' => 'Returns AWS resource descriptions for running and deleted stacks. If StackName is specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated resources of the stack that the resource belongs to are returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeStackResources', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LogicalResourceId' => array( - 'description' => 'The logical name of the resource as specified in the template.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PhysicalResourceId' => array( - 'description' => 'The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeStacks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeStacksOutput', - 'responseType' => 'model', - 'summary' => 'Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeStacks', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - ), - 'EstimateTemplateCost' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EstimateTemplateCostOutput', - 'responseType' => 'model', - 'summary' => 'Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EstimateTemplateCost', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'TemplateBody' => array( - 'description' => 'Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 51200, - ), - 'TemplateURL' => array( - 'description' => 'Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'Parameters' => array( - 'description' => 'A list of Parameter structures that specify input parameters.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'The Parameter data type.', - 'type' => 'object', - 'properties' => array( - 'ParameterKey' => array( - 'description' => 'The key associated with the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value associated with the parameter.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'GetTemplate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetTemplateOutput', - 'responseType' => 'model', - 'summary' => 'Returns the template body for a specified stack name. You can get the template for running or deleted stacks.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetTemplate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ListStackResources' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListStackResourcesOutput', - 'responseType' => 'model', - 'summary' => 'Returns descriptions of all resources of the specified stack.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListStackResources', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name or the unique identifier associated with the stack.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'String that identifies the start of the next list of stack resource summaries, if there is one.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - ), - 'ListStacks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListStacksOutput', - 'responseType' => 'model', - 'summary' => 'Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListStacks', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'NextToken' => array( - 'description' => 'String that identifies the start of the next list of stacks, if there is one.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'StackStatusFilter' => array( - 'description' => 'Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'StackStatusFilter.member', - 'items' => array( - 'name' => 'StackStatus', - 'type' => 'string', - 'enum' => array( - 'CREATE_IN_PROGRESS', - 'CREATE_FAILED', - 'CREATE_COMPLETE', - 'ROLLBACK_IN_PROGRESS', - 'ROLLBACK_FAILED', - 'ROLLBACK_COMPLETE', - 'DELETE_IN_PROGRESS', - 'DELETE_FAILED', - 'DELETE_COMPLETE', - 'UPDATE_IN_PROGRESS', - 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS', - 'UPDATE_COMPLETE', - 'UPDATE_ROLLBACK_IN_PROGRESS', - 'UPDATE_ROLLBACK_FAILED', - 'UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS', - 'UPDATE_ROLLBACK_COMPLETE', - ), - ), - ), - ), - ), - 'UpdateStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateStackOutput', - 'responseType' => 'model', - 'summary' => 'Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateStack', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'StackName' => array( - 'required' => true, - 'description' => 'The name or stack ID of the stack to update.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TemplateBody' => array( - 'description' => 'Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 51200, - ), - 'TemplateURL' => array( - 'description' => 'Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'Parameters' => array( - 'description' => 'A list of Parameter structures that specify input parameters for the stack.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'The Parameter data type.', - 'type' => 'object', - 'properties' => array( - 'ParameterKey' => array( - 'description' => 'The key associated with the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value associated with the parameter.', - 'type' => 'string', - ), - ), - ), - ), - 'Capabilities' => array( - 'description' => 'The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Capabilities.member', - 'items' => array( - 'name' => 'Capability', - 'type' => 'string', - 'enum' => array( - 'CAPABILITY_IAM', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The template contains resources with capabilities that were not specified in the Capabilities parameter.', - 'class' => 'InsufficientCapabilitiesException', - ), - ), - ), - 'ValidateTemplate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ValidateTemplateOutput', - 'responseType' => 'model', - 'summary' => 'Validates a specified template.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ValidateTemplate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-15', - ), - 'TemplateBody' => array( - 'description' => 'String containing the template body. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 51200, - ), - 'TemplateURL' => array( - 'description' => 'Location of file containing the template body. The URL must point to a template (max size: 307,200 bytes) located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'CreateStackOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackId' => array( - 'description' => 'Unique identifier of the stack.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeStackEventsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackEvents' => array( - 'description' => 'A list of StackEvents structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'StackEvent', - 'description' => 'The StackEvent data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'StackId' => array( - 'description' => 'The unique ID name of the instance of the stack.', - 'type' => 'string', - ), - 'EventId' => array( - 'description' => 'The unique ID of this event.', - 'type' => 'string', - ), - 'StackName' => array( - 'description' => 'The name associated with a stack.', - 'type' => 'string', - ), - 'LogicalResourceId' => array( - 'description' => 'The logical name of the resource specified in the template.', - 'type' => 'string', - ), - 'PhysicalResourceId' => array( - 'description' => 'The name or unique identifier associated with the physical instance of the resource.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - ), - 'Timestamp' => array( - 'description' => 'Time the status was updated.', - 'type' => 'string', - ), - 'ResourceStatus' => array( - 'description' => 'Current status of the resource.', - 'type' => 'string', - ), - 'ResourceStatusReason' => array( - 'description' => 'Success/failure message associated with the resource.', - 'type' => 'string', - ), - 'ResourceProperties' => array( - 'description' => 'BLOB of the properties used to create the resource.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'String that identifies the start of the next list of events, if there is one.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeStackResourceOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackResourceDetail' => array( - 'description' => 'A StackResourceDetail structure containing the description of the specified resource in the specified stack.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'StackName' => array( - 'description' => 'The name associated with the stack.', - 'type' => 'string', - ), - 'StackId' => array( - 'description' => 'Unique identifier of the stack.', - 'type' => 'string', - ), - 'LogicalResourceId' => array( - 'description' => 'The logical name of the resource specified in the template.', - 'type' => 'string', - ), - 'PhysicalResourceId' => array( - 'description' => 'The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - ), - 'LastUpdatedTimestamp' => array( - 'description' => 'Time the status was updated.', - 'type' => 'string', - ), - 'ResourceStatus' => array( - 'description' => 'Current status of the resource.', - 'type' => 'string', - ), - 'ResourceStatusReason' => array( - 'description' => 'Success/failure message associated with the resource.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'User defined description associated with the resource.', - 'type' => 'string', - ), - 'Metadata' => array( - 'description' => 'The JSON format content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'DescribeStackResourcesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackResources' => array( - 'description' => 'A list of StackResource structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'StackResource', - 'description' => 'The StackResource data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'StackName' => array( - 'description' => 'The name associated with the stack.', - 'type' => 'string', - ), - 'StackId' => array( - 'description' => 'Unique identifier of the stack.', - 'type' => 'string', - ), - 'LogicalResourceId' => array( - 'description' => 'The logical name of the resource specified in the template.', - 'type' => 'string', - ), - 'PhysicalResourceId' => array( - 'description' => 'The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - ), - 'Timestamp' => array( - 'description' => 'Time the status was updated.', - 'type' => 'string', - ), - 'ResourceStatus' => array( - 'description' => 'Current status of the resource.', - 'type' => 'string', - ), - 'ResourceStatusReason' => array( - 'description' => 'Success/failure message associated with the resource.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'User defined description associated with the resource.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeStacksOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Stacks' => array( - 'description' => 'A list of stack structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Stack', - 'description' => 'The Stack data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'StackId' => array( - 'description' => 'Unique identifier of the stack.', - 'type' => 'string', - ), - 'StackName' => array( - 'description' => 'The name associated with the stack.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'User defined description associated with the stack.', - 'type' => 'string', - ), - 'Parameters' => array( - 'description' => 'A list of Parameter structures.', - 'type' => 'array', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'The Parameter data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ParameterKey' => array( - 'description' => 'The key associated with the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value associated with the parameter.', - 'type' => 'string', - ), - ), - ), - ), - 'CreationTime' => array( - 'description' => 'Time at which the stack was created.', - 'type' => 'string', - ), - 'LastUpdatedTime' => array( - 'description' => 'The time the stack was last updated. This field will only be returned if the stack has been updated at least once.', - 'type' => 'string', - ), - 'StackStatus' => array( - 'description' => 'Current status of the stack.', - 'type' => 'string', - ), - 'StackStatusReason' => array( - 'description' => 'Success/failure message associated with the stack status.', - 'type' => 'string', - ), - 'DisableRollback' => array( - 'description' => 'Boolean to enable or disable rollback on stack creation failures:', - 'type' => 'boolean', - ), - 'NotificationARNs' => array( - 'description' => 'SNS topic ARNs to which stack related events are published.', - 'type' => 'array', - 'items' => array( - 'name' => 'NotificationARN', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'TimeoutInMinutes' => array( - 'description' => 'The amount of time within which stack creation should complete.', - 'type' => 'numeric', - ), - 'Capabilities' => array( - 'description' => 'The capabilities allowed in the stack.', - 'type' => 'array', - 'items' => array( - 'name' => 'Capability', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'Outputs' => array( - 'description' => 'A list of output structures.', - 'type' => 'array', - 'items' => array( - 'name' => 'Output', - 'description' => 'The Output data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'OutputKey' => array( - 'description' => 'The key associated with the output.', - 'type' => 'string', - ), - 'OutputValue' => array( - 'description' => 'The value associated with the output.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'User defined description associated with the output.', - 'type' => 'string', - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of Tags that specify cost allocation information for the stack.', - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'description' => 'The Tag type is used by CreateStack in the Tags parameter. It allows you to specify a key/value pair that can be used to store information related to cost allocation for an AWS CloudFormation stack.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Key' => array( - 'description' => 'Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'EstimateTemplateCostOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Url' => array( - 'description' => 'An AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'GetTemplateOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TemplateBody' => array( - 'description' => 'Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListStackResourcesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackResourceSummaries' => array( - 'description' => 'A list of StackResourceSummary structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'StackResourceSummary', - 'description' => 'Contains high-level information about the specified stack resource.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'LogicalResourceId' => array( - 'description' => 'The logical name of the resource specified in the template.', - 'type' => 'string', - ), - 'PhysicalResourceId' => array( - 'description' => 'The name or unique identifier that corresponds to a physical instance ID of the resource.', - 'type' => 'string', - ), - 'ResourceType' => array( - 'description' => 'Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)', - 'type' => 'string', - ), - 'LastUpdatedTimestamp' => array( - 'description' => 'Time the status was updated.', - 'type' => 'string', - ), - 'ResourceStatus' => array( - 'description' => 'Current status of the resource.', - 'type' => 'string', - ), - 'ResourceStatusReason' => array( - 'description' => 'Success/failure message associated with the resource.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'String that identifies the start of the next list of events, if there is one.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListStacksOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackSummaries' => array( - 'description' => 'A list of StackSummary structures containing information about the specified stacks.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'StackSummary', - 'description' => 'The StackSummary Data Type', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'StackId' => array( - 'description' => 'Unique stack identifier.', - 'type' => 'string', - ), - 'StackName' => array( - 'description' => 'The name associated with the stack.', - 'type' => 'string', - ), - 'TemplateDescription' => array( - 'description' => 'The template description of the template used to create the stack.', - 'type' => 'string', - ), - 'CreationTime' => array( - 'description' => 'The time the stack was created.', - 'type' => 'string', - ), - 'LastUpdatedTime' => array( - 'description' => 'The time the stack was last updated. This field will only be returned if the stack has been updated at least once.', - 'type' => 'string', - ), - 'DeletionTime' => array( - 'description' => 'The time the stack was deleted.', - 'type' => 'string', - ), - 'StackStatus' => array( - 'description' => 'The current status of the stack.', - 'type' => 'string', - ), - 'StackStatusReason' => array( - 'description' => 'Success/Failure message associated with the stack status.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'String that identifies the start of the next list of stacks, if there is one.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'UpdateStackOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackId' => array( - 'description' => 'Unique identifier of the stack.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ValidateTemplateOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Parameters' => array( - 'description' => 'A list of TemplateParameter structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'TemplateParameter', - 'description' => 'The TemplateParameter data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ParameterKey' => array( - 'description' => 'The name associated with the parameter.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value associated with the parameter.', - 'type' => 'string', - ), - 'NoEcho' => array( - 'description' => 'Flag indicating whether the parameter should be displayed as plain text in logs and UIs.', - 'type' => 'boolean', - ), - 'Description' => array( - 'description' => 'User defined description associated with the parameter.', - 'type' => 'string', - ), - ), - ), - ), - 'Description' => array( - 'description' => 'The description found within the template.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Capabilities' => array( - 'description' => 'The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Capability', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'CapabilitiesReason' => array( - 'description' => 'The capabilities reason found within the template.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeStackEvents' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'StackEvents', - ), - 'DescribeStacks' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'Stacks', - ), - 'ListStackResources' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'StackResourceSummaries', - ), - 'ListStacks' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'StackSummaries', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/CloudFrontClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/CloudFrontClient.php deleted file mode 100644 index 472f0e1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/CloudFrontClient.php +++ /dev/null @@ -1,248 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudfront-2012-05-05.php', - Options::SIGNATURE => new CloudFrontSignature() - )) - ->setExceptionParser(new DefaultXmlExceptionParser()) - ->setIteratorsConfig(array( - 'token_param' => 'Marker', - 'token_key' => 'NextMarker', - 'more_key' => 'IsTruncated', - 'result_key' => 'Items', - 'operations' => array( - 'ListCloudFrontOriginAccessIdentities', - 'ListDistributions', - 'ListInvalidations', - 'ListStreamingDistributions' - ) - )) - ->build(); - - return $client; - } - - /** - * Create a signed URL - * - * This method accepts an array of configuration options: - * - url: (string) URL of the resource being signed (can include query string and wildcards). For example: - * rtmp://s5c39gqb8ow64r.cloudfront.net/videos/mp3_name.mp3 - * http://d111111abcdef8.cloudfront.net/images/horizon.jpg?size=large&license=yes - * - policy: (string) JSON policy. Use this option when creating a signed URL for a custom policy. - * - expires: (int) UTC Unix timestamp used when signing with a canned policy. Not required when passing a - * custom 'policy' option. - * - * @param array $options Array of configuration options used when signing - * - * @return string The file URL with authentication parameters. - * @throws InvalidArgumentException if key_pair_id and private_key have not been configured on the client - */ - public function getSignedUrl(array $options) - { - if (!$this->getConfig('key_pair_id') || !$this->getConfig('private_key')) { - throw new InvalidArgumentException( - 'An Amazon CloudFront keypair ID (key_pair_id) and an RSA private key (private_key) is required' - ); - } - - // Initialize the configuration data and ensure that the url was specified - $options = Collection::fromConfig($options, null, array('url')); - // Determine the scheme of the policy - $urlSections = explode('://', $options['url']); - // Ensure that the URL contained a scheme and parts after the scheme - if (count($urlSections) < 2) { - throw new InvalidArgumentException('Invalid URL: ' . $options['url']); - } - - // Get the real scheme by removing wildcards from the scheme - $scheme = str_replace('*', '', $urlSections[0]); - $policy = $options['policy'] ?: $this->createCannedPolicy($scheme, $options['url'], $options['expires']); - // Strip whitespace from the policy - $policy = str_replace(' ', '', $policy); - - $url = Url::factory($scheme . '://' . $urlSections[1]); - if ($options['policy']) { - // Custom policies require that the encoded policy be specified in the URL - $url->getQuery()->set('Policy', strtr(base64_encode($policy), '+=/', '-_~')); - } else { - // Canned policies require that the Expires parameter be set in the URL - $url->getQuery()->set('Expires', $options['expires']); - } - - // Sign the policy using the CloudFront private key - $signedPolicy = $this->rsaSha1Sign($policy, $this->getConfig('private_key')); - // Remove whitespace, base64 encode the policy, and replace special characters - $signedPolicy = strtr(base64_encode($signedPolicy), '+=/', '-_~'); - - $url->getQuery() - ->useUrlEncoding(false) - ->set('Signature', $signedPolicy) - ->set('Key-Pair-Id', $this->getConfig('key_pair_id')); - - if ($scheme != 'rtmp') { - // HTTP and HTTPS signed URLs include the full URL - return (string) $url; - } else { - // Use a relative URL when creating Flash player URLs - $url->setScheme(null)->setHost(null); - // Encode query string variables for flash players - $url = str_replace(array('?', '=', '&'), array('%3F', '%3D', '%26'), (string) $url); - - return substr($url, 1); - } - } - - /** - * Sign a policy string using OpenSSL RSA SHA1 - * - * @param string $policy Policy to sign - * @param string $privateKeyFilename File containing the OpenSSL private key - * - * @return string - */ - protected function rsaSha1Sign($policy, $privateKeyFilename) - { - $signature = ''; - openssl_sign($policy, $signature, file_get_contents($privateKeyFilename)); - - return $signature; - } - - /** - * Create a canned policy for a particular URL and expiration - * - * @param string $scheme Parsed scheme without wildcards - * @param string $url URL that is being signed - * @param int $expires Time in which the signature expires - * - * @return string - * @throws InvalidArgumentException if the expiration is not set - */ - protected function createCannedPolicy($scheme, $url, $expires) - { - if (!$expires) { - throw new InvalidArgumentException('An expires option is required when using a canned policy'); - } - - // Generate a canned policy - if ($scheme == 'http' || $scheme == 'https') { - $resource = $url; - } elseif ($scheme == 'rtmp') { - $parts = parse_url($url); - $pathParts = pathinfo($parts['path']); - // Add path leading to file, strip file extension, and add a query string if present - $resource = ltrim($pathParts['dirname'] . '/' . $pathParts['filename'], '/') - . (isset($parts['query']) ? "?{$parts['query']}" : ''); - } else { - throw new InvalidArgumentException("Invalid URI scheme: {$scheme}. Must be one of http or rtmp."); - } - - return sprintf( - '{"Statement":[{"Resource":"%s","Condition":{"DateLessThan":{"AWS:EpochTime":%d}}}]}', - $resource, - $expires - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/CloudFrontSignature.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/CloudFrontSignature.php deleted file mode 100644 index 31ee9c6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/CloudFrontSignature.php +++ /dev/null @@ -1,61 +0,0 @@ -hasHeader('date') && !$request->hasHeader('x-amz-date')) { - $request->setHeader('Date', gmdate(DateFormat::RFC2822)); - } - - $stringToSign = (string) $request->getHeader('Date') ?: (string) $request->getHeader('x-amz-date'); - $request->getParams()->set('aws.string_to_sign', $stringToSign); - - $request->setHeader( - 'Authorization', - 'AWS ' . $credentials->getAccessKeyId() . ':' . $this->signString($stringToSign, $credentials) - ); - } - - /** - * Sign a signature string by applying SHA-1 HMAC hashing. - * - * @param string $string The signature string to hash. - * @param CredentialsInterface $credentials Signing credentials. - * - * @return string The hashed signature string. - */ - public function signString($string, CredentialsInterface $credentials) - { - return base64_encode(hash_hmac('sha1', $string, $credentials->getSecretKey(), true)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/Enum/OriginProtocolPolicy.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/Enum/OriginProtocolPolicy.php deleted file mode 100644 index c3a62fe..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudFront/Enum/OriginProtocolPolicy.php +++ /dev/null @@ -1,28 +0,0 @@ - '2012-05-05', - 'endpointPrefix' => 'cloudfront', - 'serviceFullName' => 'Amazon CloudFront', - 'serviceAbbreviation' => 'CloudFront', - 'serviceType' => 'rest-xml', - 'globalEndpoint' => 'cloudfront.amazonaws.com', - 'signatureVersion' => 'cloudfront', - 'namespace' => 'CloudFront', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'cloudfront.amazonaws.com', - ), - ), - 'operations' => array( - 'CreateCloudFrontOriginAccessIdentity' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-05-05/origin-access-identity/cloudfront', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult', - 'responseType' => 'model', - 'summary' => 'Create a new origin access identity.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CloudFrontOriginAccessIdentityConfig', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Comment' => array( - 'required' => true, - 'description' => 'Any comments you want to include about the origin access identity.', - 'type' => 'string', - 'location' => 'xml', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'TooManyCloudFrontOriginAccessIdentitiesException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - 'CreateDistribution' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-05-05/distribution', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateDistributionResult', - 'responseType' => 'model', - 'summary' => 'Create a new distribution.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'DistributionConfig', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Aliases' => array( - 'required' => true, - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - ), - ), - ), - ), - 'DefaultRootObject' => array( - 'required' => true, - 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Origins' => array( - 'required' => true, - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'minItems' => 1, - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'required' => true, - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'required' => true, - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'required' => true, - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'required' => true, - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'required' => true, - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - 'enum' => array( - 'http-only', - 'match-viewer', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'required' => true, - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'TargetOriginId' => array( - 'required' => true, - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'required' => true, - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'required' => true, - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'TrustedSigners' => array( - 'required' => true, - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'required' => true, - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - 'enum' => array( - 'allow-all', - 'https-only', - ), - ), - 'MinTTL' => array( - 'required' => true, - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'required' => true, - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'PathPattern' => array( - 'required' => true, - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'required' => true, - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'required' => true, - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'required' => true, - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'TrustedSigners' => array( - 'required' => true, - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'required' => true, - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - 'enum' => array( - 'allow-all', - 'https-only', - ), - ), - 'MinTTL' => array( - 'required' => true, - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'required' => true, - 'description' => 'Any comments you want to include about the distribution.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Logging' => array( - 'required' => true, - 'description' => 'A complex type that controls whether access logs are written for the distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Bucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'required' => true, - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'Enabled' => array( - 'required' => true, - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'xml', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CNAMEAlreadyExistsException', - ), - array( - 'class' => 'DistributionAlreadyExistsException', - ), - array( - 'class' => 'InvalidOriginException', - ), - array( - 'class' => 'InvalidOriginAccessIdentityException', - ), - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'TooManyTrustedSignersException', - ), - array( - 'class' => 'TrustedSignerDoesNotExistException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'TooManyDistributionCNAMEsException', - ), - array( - 'class' => 'TooManyDistributionsException', - ), - array( - 'class' => 'InvalidDefaultRootObjectException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'InvalidRequiredProtocolException', - ), - array( - 'class' => 'NoSuchOriginException', - ), - array( - 'class' => 'TooManyOriginsException', - ), - array( - 'class' => 'TooManyCacheBehaviorsException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - 'CreateInvalidation' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateInvalidationResult', - 'responseType' => 'model', - 'summary' => 'Create a new invalidation.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'InvalidationBatch', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'DistributionId' => array( - 'required' => true, - 'description' => 'The distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Paths' => array( - 'required' => true, - 'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of objects that you want to invalidate.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains a list of the objects that you want to invalidate.', - 'type' => 'array', - 'items' => array( - 'name' => 'Path', - 'type' => 'string', - ), - ), - ), - ), - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'NoSuchDistributionException', - ), - array( - 'class' => 'BatchTooLargeException', - ), - array( - 'class' => 'TooManyInvalidationsInProgressException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - 'CreateStreamingDistribution' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-05-05/streaming-distribution', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateStreamingDistributionResult', - 'responseType' => 'model', - 'summary' => 'Create a new streaming distribution.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'StreamingDistributionConfig', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'S3Origin' => array( - 'required' => true, - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DomainName' => array( - 'required' => true, - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'required' => true, - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'required' => true, - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - ), - ), - ), - ), - 'Comment' => array( - 'required' => true, - 'description' => 'Any comments you want to include about the streaming distribution.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Logging' => array( - 'required' => true, - 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Bucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'required' => true, - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'TrustedSigners' => array( - 'required' => true, - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - ), - ), - ), - ), - 'Enabled' => array( - 'required' => true, - 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'xml', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CNAMEAlreadyExistsException', - ), - array( - 'class' => 'StreamingDistributionAlreadyExistsException', - ), - array( - 'class' => 'InvalidOriginException', - ), - array( - 'class' => 'InvalidOriginAccessIdentityException', - ), - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'TooManyTrustedSignersException', - ), - array( - 'class' => 'TrustedSignerDoesNotExistException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'TooManyStreamingDistributionCNAMEsException', - ), - array( - 'class' => 'TooManyStreamingDistributionsException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - 'DeleteCloudFrontOriginAccessIdentity' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2012_05_05Output', - 'responseType' => 'model', - 'summary' => 'Delete an origin access identity.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The origin access identity\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'InvalidIfMatchVersionException', - ), - array( - 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', - ), - array( - 'class' => 'PreconditionFailedException', - ), - array( - 'class' => 'CloudFrontOriginAccessIdentityInUseException', - ), - ), - ), - 'DeleteDistribution' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-05-05/distribution/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'DeleteDistribution2012_05_05Output', - 'responseType' => 'model', - 'summary' => 'Delete a distribution.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The distribution id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'DistributionNotDisabledException', - ), - array( - 'class' => 'InvalidIfMatchVersionException', - ), - array( - 'class' => 'NoSuchDistributionException', - ), - array( - 'class' => 'PreconditionFailedException', - ), - ), - ), - 'DeleteStreamingDistribution' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-05-05/streaming-distribution/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'DeleteStreamingDistribution2012_05_05Output', - 'responseType' => 'model', - 'summary' => 'Delete a streaming distribution.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The distribution id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'The value of the ETag header you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'StreamingDistributionNotDisabledException', - ), - array( - 'class' => 'InvalidIfMatchVersionException', - ), - array( - 'class' => 'NoSuchStreamingDistributionException', - ), - array( - 'class' => 'PreconditionFailedException', - ), - ), - ), - 'GetCloudFrontOriginAccessIdentity' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetCloudFrontOriginAccessIdentityResult', - 'responseType' => 'model', - 'summary' => 'Get the information about an origin access identity.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identity\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'GetCloudFrontOriginAccessIdentityConfig' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}/config', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult', - 'responseType' => 'model', - 'summary' => 'Get the configuration information about an origin access identity.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identity\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'GetDistribution' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/distribution/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetDistributionResult', - 'responseType' => 'model', - 'summary' => 'Get the information about a distribution.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchDistributionException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'GetDistributionConfig' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/distribution/{Id}/config', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetDistributionConfigResult', - 'responseType' => 'model', - 'summary' => 'Get the configuration information about a distribution.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchDistributionException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'GetInvalidation' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetInvalidationResult', - 'responseType' => 'model', - 'summary' => 'Get the information about an invalidation.', - 'parameters' => array( - 'DistributionId' => array( - 'required' => true, - 'description' => 'The distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Id' => array( - 'required' => true, - 'description' => 'The invalidation\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchInvalidationException', - ), - array( - 'class' => 'NoSuchDistributionException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'GetStreamingDistribution' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/streaming-distribution/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetStreamingDistributionResult', - 'responseType' => 'model', - 'summary' => 'Get the information about a streaming distribution.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The streaming distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchStreamingDistributionException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'GetStreamingDistributionConfig' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/streaming-distribution/{Id}/config', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetStreamingDistributionConfigResult', - 'responseType' => 'model', - 'summary' => 'Get the configuration information about a streaming distribution.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The streaming distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchStreamingDistributionException', - ), - array( - 'class' => 'AccessDeniedException', - ), - ), - ), - 'ListCloudFrontOriginAccessIdentities' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/origin-access-identity/cloudfront', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult', - 'responseType' => 'model', - 'summary' => 'List origin access identities.', - 'parameters' => array( - 'Marker' => array( - 'description' => 'Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last identity on that page).', - 'type' => 'string', - 'location' => 'query', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of origin access identities you want in the response body.', - 'type' => 'string', - 'location' => 'query', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidArgumentException', - ), - ), - ), - 'ListDistributions' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/distribution', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListDistributionsResult', - 'responseType' => 'model', - 'summary' => 'List distributions.', - 'parameters' => array( - 'Marker' => array( - 'description' => 'Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last distribution on that page).', - 'type' => 'string', - 'location' => 'query', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of distributions you want in the response body.', - 'type' => 'string', - 'location' => 'query', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidArgumentException', - ), - ), - ), - 'ListInvalidations' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListInvalidationsResult', - 'responseType' => 'model', - 'summary' => 'List invalidation batches.', - 'parameters' => array( - 'DistributionId' => array( - 'required' => true, - 'description' => 'The distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Marker' => array( - 'description' => 'Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response. This value is the same as the ID of the last invalidation batch on that page.', - 'type' => 'string', - 'location' => 'query', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of invalidation batches you want in the response body.', - 'type' => 'string', - 'location' => 'query', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'NoSuchDistributionException', - ), - ), - ), - 'ListStreamingDistributions' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-05-05/streaming-distribution', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListStreamingDistributionsResult', - 'responseType' => 'model', - 'summary' => 'List streaming distributions.', - 'parameters' => array( - 'Marker' => array( - 'description' => 'Use this when paginating results to indicate where to begin in your list of streaming distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last distribution on that page).', - 'type' => 'string', - 'location' => 'query', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of streaming distributions you want in the response body.', - 'type' => 'string', - 'location' => 'query', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidArgumentException', - ), - ), - ), - 'UpdateCloudFrontOriginAccessIdentity' => array( - 'httpMethod' => 'PUT', - 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}/config', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult', - 'responseType' => 'model', - 'summary' => 'Update an origin access identity.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CloudFrontOriginAccessIdentityConfig', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Comment' => array( - 'required' => true, - 'description' => 'Any comments you want to include about the origin access identity.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Id' => array( - 'required' => true, - 'description' => 'The identity\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'The value of the ETag header you received when retrieving the identity\'s configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'IllegalUpdateException', - ), - array( - 'class' => 'InvalidIfMatchVersionException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', - ), - array( - 'class' => 'PreconditionFailedException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - 'UpdateDistribution' => array( - 'httpMethod' => 'PUT', - 'uri' => '/2012-05-05/distribution/{Id}/config', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'UpdateDistributionResult', - 'responseType' => 'model', - 'summary' => 'Update a distribution.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'DistributionConfig', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Aliases' => array( - 'required' => true, - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - ), - ), - ), - ), - 'DefaultRootObject' => array( - 'required' => true, - 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Origins' => array( - 'required' => true, - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'minItems' => 1, - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'required' => true, - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'required' => true, - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'required' => true, - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'required' => true, - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'required' => true, - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - 'enum' => array( - 'http-only', - 'match-viewer', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'required' => true, - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'TargetOriginId' => array( - 'required' => true, - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'required' => true, - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'required' => true, - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'TrustedSigners' => array( - 'required' => true, - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'required' => true, - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - 'enum' => array( - 'allow-all', - 'https-only', - ), - ), - 'MinTTL' => array( - 'required' => true, - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'required' => true, - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'PathPattern' => array( - 'required' => true, - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'required' => true, - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'required' => true, - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'required' => true, - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'TrustedSigners' => array( - 'required' => true, - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'required' => true, - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - 'enum' => array( - 'allow-all', - 'https-only', - ), - ), - 'MinTTL' => array( - 'required' => true, - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'required' => true, - 'description' => 'Any comments you want to include about the distribution.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Logging' => array( - 'required' => true, - 'description' => 'A complex type that controls whether access logs are written for the distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Bucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'required' => true, - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'Enabled' => array( - 'required' => true, - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'xml', - ), - 'Id' => array( - 'required' => true, - 'description' => 'The distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'The value of the ETag header you received when retrieving the distribution\'s configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'CNAMEAlreadyExistsException', - ), - array( - 'class' => 'IllegalUpdateException', - ), - array( - 'class' => 'InvalidIfMatchVersionException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'NoSuchDistributionException', - ), - array( - 'class' => 'PreconditionFailedException', - ), - array( - 'class' => 'TooManyDistributionCNAMEsException', - ), - array( - 'class' => 'InvalidDefaultRootObjectException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'InvalidOriginAccessIdentityException', - ), - array( - 'class' => 'TooManyTrustedSignersException', - ), - array( - 'class' => 'TrustedSignerDoesNotExistException', - ), - array( - 'class' => 'InvalidRequiredProtocolException', - ), - array( - 'class' => 'NoSuchOriginException', - ), - array( - 'class' => 'TooManyOriginsException', - ), - array( - 'class' => 'TooManyCacheBehaviorsException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - 'UpdateStreamingDistribution' => array( - 'httpMethod' => 'PUT', - 'uri' => '/2012-05-05/streaming-distribution/{Id}/config', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'UpdateStreamingDistributionResult', - 'responseType' => 'model', - 'summary' => 'Update a streaming distribution.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'StreamingDistributionConfig', - 'namespaces' => array( - 'http://cloudfront.amazonaws.com/doc/2012-05-05/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'S3Origin' => array( - 'required' => true, - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DomainName' => array( - 'required' => true, - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'required' => true, - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'required' => true, - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - ), - ), - ), - ), - 'Comment' => array( - 'required' => true, - 'description' => 'Any comments you want to include about the streaming distribution.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Logging' => array( - 'required' => true, - 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Bucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'required' => true, - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'TrustedSigners' => array( - 'required' => true, - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Quantity' => array( - 'required' => true, - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - ), - ), - ), - ), - 'Enabled' => array( - 'required' => true, - 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'xml', - ), - 'Id' => array( - 'required' => true, - 'description' => 'The streaming distribution\'s id.', - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'The value of the ETag header you received when retrieving the streaming distribution\'s configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'AccessDeniedException', - ), - array( - 'class' => 'CNAMEAlreadyExistsException', - ), - array( - 'class' => 'IllegalUpdateException', - ), - array( - 'class' => 'InvalidIfMatchVersionException', - ), - array( - 'class' => 'MissingBodyException', - ), - array( - 'class' => 'NoSuchStreamingDistributionException', - ), - array( - 'class' => 'PreconditionFailedException', - ), - array( - 'class' => 'TooManyStreamingDistributionCNAMEsException', - ), - array( - 'class' => 'InvalidArgumentException', - ), - array( - 'class' => 'InvalidOriginAccessIdentityException', - ), - array( - 'class' => 'TooManyTrustedSignersException', - ), - array( - 'class' => 'TrustedSignerDoesNotExistException', - ), - array( - 'class' => 'InconsistentQuantitiesException', - ), - ), - ), - ), - 'models' => array( - 'CreateCloudFrontOriginAccessIdentityResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.', - 'type' => 'string', - 'location' => 'xml', - ), - 'S3CanonicalUserId' => array( - 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CloudFrontOriginAccessIdentityConfig' => array( - 'description' => 'The current configuration information for the identity.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Location' => array( - 'description' => 'The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.', - 'type' => 'string', - 'location' => 'header', - ), - 'ETag' => array( - 'description' => 'The current version of the origin access identity created.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateDistributionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'InProgressInvalidationBatches' => array( - 'description' => 'The number of invalidation batches currently in progress.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ActiveTrustedSigners' => array( - 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Each active trusted signer.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.', - 'type' => 'array', - 'items' => array( - 'name' => 'Signer', - 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.', - 'type' => 'object', - 'sentAs' => 'Signer', - 'properties' => array( - 'AwsAccountNumber' => array( - 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.', - 'type' => 'string', - ), - 'KeyPairIds' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyPairId', - 'type' => 'string', - 'sentAs' => 'KeyPairId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DistributionConfig' => array( - 'description' => 'The current configuration information for the distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'DefaultRootObject' => array( - 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.', - 'type' => 'string', - ), - 'Origins' => array( - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'sentAs' => 'Origin', - 'properties' => array( - 'Id' => array( - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'properties' => array( - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'sentAs' => 'CacheBehavior', - 'properties' => array( - 'PathPattern' => array( - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the distribution.', - 'type' => 'string', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - 'Location' => array( - 'description' => 'The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.', - 'type' => 'string', - 'location' => 'header', - ), - 'ETag' => array( - 'description' => 'The current version of the distribution created.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateInvalidationResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'description' => 'The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.', - 'type' => 'string', - 'location' => 'header', - ), - 'Id' => array( - 'description' => 'The identifier for the invalidation request. For example: IDFDVBD632BHDS5.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The status of the invalidation request. When the invalidation batch is finished, the status is Completed.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CreateTime' => array( - 'description' => 'The date and time the invalidation request was first made.', - 'type' => 'string', - 'location' => 'xml', - ), - 'InvalidationBatch' => array( - 'description' => 'The current invalidation information for the batch request.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Paths' => array( - 'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of objects that you want to invalidate.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains a list of the objects that you want to invalidate.', - 'type' => 'array', - 'items' => array( - 'name' => 'Path', - 'type' => 'string', - 'sentAs' => 'Path', - ), - ), - ), - ), - 'CallerReference' => array( - 'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.', - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateStreamingDistributionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ActiveTrustedSigners' => array( - 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Each active trusted signer.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.', - 'type' => 'array', - 'items' => array( - 'name' => 'Signer', - 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.', - 'type' => 'object', - 'sentAs' => 'Signer', - 'properties' => array( - 'AwsAccountNumber' => array( - 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.', - 'type' => 'string', - ), - 'KeyPairIds' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyPairId', - 'type' => 'string', - 'sentAs' => 'KeyPairId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'StreamingDistributionConfig' => array( - 'description' => 'The current configuration information for the streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - ), - 'S3Origin' => array( - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'properties' => array( - 'DomainName' => array( - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the streaming distribution.', - 'type' => 'string', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - 'Location' => array( - 'description' => 'The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8.', - 'type' => 'string', - 'location' => 'header', - ), - 'ETag' => array( - 'description' => 'The current version of the streaming distribution created.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteCloudFrontOriginAccessIdentity2012_05_05Output' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteDistribution2012_05_05Output' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteStreamingDistribution2012_05_05Output' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetCloudFrontOriginAccessIdentityResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.', - 'type' => 'string', - 'location' => 'xml', - ), - 'S3CanonicalUserId' => array( - 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CloudFrontOriginAccessIdentityConfig' => array( - 'description' => 'The current configuration information for the identity.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the origin access identity.', - 'type' => 'string', - ), - ), - ), - 'ETag' => array( - 'description' => 'The current version of the origin access identity\'s information. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetCloudFrontOriginAccessIdentityConfigResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the origin access identity.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ETag' => array( - 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetDistributionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'InProgressInvalidationBatches' => array( - 'description' => 'The number of invalidation batches currently in progress.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ActiveTrustedSigners' => array( - 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Each active trusted signer.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.', - 'type' => 'array', - 'items' => array( - 'name' => 'Signer', - 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.', - 'type' => 'object', - 'sentAs' => 'Signer', - 'properties' => array( - 'AwsAccountNumber' => array( - 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.', - 'type' => 'string', - ), - 'KeyPairIds' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyPairId', - 'type' => 'string', - 'sentAs' => 'KeyPairId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DistributionConfig' => array( - 'description' => 'The current configuration information for the distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'DefaultRootObject' => array( - 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.', - 'type' => 'string', - ), - 'Origins' => array( - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'sentAs' => 'Origin', - 'properties' => array( - 'Id' => array( - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'properties' => array( - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'sentAs' => 'CacheBehavior', - 'properties' => array( - 'PathPattern' => array( - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the distribution.', - 'type' => 'string', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - 'ETag' => array( - 'description' => 'The current version of the distribution\'s information. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetDistributionConfigResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'DefaultRootObject' => array( - 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Origins' => array( - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'sentAs' => 'Origin', - 'properties' => array( - 'Id' => array( - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'sentAs' => 'CacheBehavior', - 'properties' => array( - 'PathPattern' => array( - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the distribution.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'ETag' => array( - 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetInvalidationResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the invalidation request. For example: IDFDVBD632BHDS5.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The status of the invalidation request. When the invalidation batch is finished, the status is Completed.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CreateTime' => array( - 'description' => 'The date and time the invalidation request was first made.', - 'type' => 'string', - 'location' => 'xml', - ), - 'InvalidationBatch' => array( - 'description' => 'The current invalidation information for the batch request.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Paths' => array( - 'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of objects that you want to invalidate.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains a list of the objects that you want to invalidate.', - 'type' => 'array', - 'items' => array( - 'name' => 'Path', - 'type' => 'string', - 'sentAs' => 'Path', - ), - ), - ), - ), - 'CallerReference' => array( - 'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.', - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetStreamingDistributionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ActiveTrustedSigners' => array( - 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Each active trusted signer.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.', - 'type' => 'array', - 'items' => array( - 'name' => 'Signer', - 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.', - 'type' => 'object', - 'sentAs' => 'Signer', - 'properties' => array( - 'AwsAccountNumber' => array( - 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.', - 'type' => 'string', - ), - 'KeyPairIds' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyPairId', - 'type' => 'string', - 'sentAs' => 'KeyPairId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'StreamingDistributionConfig' => array( - 'description' => 'The current configuration information for the streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - ), - 'S3Origin' => array( - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'properties' => array( - 'DomainName' => array( - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the streaming distribution.', - 'type' => 'string', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - 'ETag' => array( - 'description' => 'The current version of the streaming distribution\'s information. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetStreamingDistributionConfigResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - 'location' => 'xml', - ), - 'S3Origin' => array( - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DomainName' => array( - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the streaming distribution.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'ETag' => array( - 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListCloudFrontOriginAccessIdentitiesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The value you provided for the Marker request parameter.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextMarker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The value you provided for the MaxItems request parameter.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Quantity' => array( - 'description' => 'The number of CloudFront origin access identities that were created by the current AWS account.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'Items' => array( - 'description' => 'A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CloudFrontOriginAccessIdentitySummary', - 'description' => 'Summary of the information about a CloudFront origin access identity.', - 'type' => 'object', - 'sentAs' => 'CloudFrontOriginAccessIdentitySummary', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.', - 'type' => 'string', - ), - 'S3CanonicalUserId' => array( - 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'The comment for this origin access identity, as originally specified when created.', - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListDistributionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The value you provided for the Marker request parameter.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextMarker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The value you provided for the MaxItems request parameter.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Quantity' => array( - 'description' => 'The number of distributions that were created by the current AWS account.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'Items' => array( - 'description' => 'A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DistributionSummary', - 'description' => 'A summary of the information for an Amazon CloudFront distribution.', - 'type' => 'object', - 'sentAs' => 'DistributionSummary', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.', - 'type' => 'string', - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'Origins' => array( - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'sentAs' => 'Origin', - 'properties' => array( - 'Id' => array( - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'properties' => array( - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'sentAs' => 'CacheBehavior', - 'properties' => array( - 'PathPattern' => array( - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'The comment originally specified when this distribution was created.', - 'type' => 'string', - ), - 'Enabled' => array( - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListInvalidationsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The value you provided for the Marker request parameter.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextMarker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your invalidation batches where they left off.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The value you provided for the MaxItems request parameter.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Quantity' => array( - 'description' => 'The number of invalidation batches that were created by the current AWS account.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'Items' => array( - 'description' => 'A complex type that contains one InvalidationSummary element for each invalidation batch that was created by the current AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'InvalidationSummary', - 'description' => 'Summary of an invalidation request.', - 'type' => 'object', - 'sentAs' => 'InvalidationSummary', - 'properties' => array( - 'Id' => array( - 'description' => 'The unique ID for an invalidation request.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of an invalidation request.', - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListStreamingDistributionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The value you provided for the Marker request parameter.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextMarker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your streaming distributions where they left off.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The value you provided for the MaxItems request parameter.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Quantity' => array( - 'description' => 'The number of streaming distributions that were created by the current AWS account.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'Items' => array( - 'description' => 'A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'StreamingDistributionSummary', - 'description' => 'A summary of the information for an Amazon CloudFront streaming distribution.', - 'type' => 'object', - 'sentAs' => 'StreamingDistributionSummary', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'Indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.', - 'type' => 'string', - ), - 'S3Origin' => array( - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'properties' => array( - 'DomainName' => array( - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'The comment originally specified when this distribution was created.', - 'type' => 'string', - ), - 'Enabled' => array( - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'UpdateCloudFrontOriginAccessIdentityResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.', - 'type' => 'string', - 'location' => 'xml', - ), - 'S3CanonicalUserId' => array( - 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CloudFrontOriginAccessIdentityConfig' => array( - 'description' => 'The current configuration information for the identity.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the origin access identity.', - 'type' => 'string', - ), - ), - ), - 'ETag' => array( - 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'UpdateDistributionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'InProgressInvalidationBatches' => array( - 'description' => 'The number of invalidation batches currently in progress.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ActiveTrustedSigners' => array( - 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Each active trusted signer.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.', - 'type' => 'array', - 'items' => array( - 'name' => 'Signer', - 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.', - 'type' => 'object', - 'sentAs' => 'Signer', - 'properties' => array( - 'AwsAccountNumber' => array( - 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.', - 'type' => 'string', - ), - 'KeyPairIds' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyPairId', - 'type' => 'string', - 'sentAs' => 'KeyPairId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DistributionConfig' => array( - 'description' => 'The current configuration information for the distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'DefaultRootObject' => array( - 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.', - 'type' => 'string', - ), - 'Origins' => array( - 'description' => 'A complex type that contains information about origins for this distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of origins for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains origins for this distribution.', - 'type' => 'array', - 'items' => array( - 'name' => 'Origin', - 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.', - 'type' => 'object', - 'sentAs' => 'Origin', - 'properties' => array( - 'Id' => array( - 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.', - 'type' => 'string', - ), - 'DomainName' => array( - 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.', - 'type' => 'string', - ), - 'S3OriginConfig' => array( - 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'OriginAccessIdentity' => array( - 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.', - 'type' => 'string', - ), - ), - ), - 'CustomOriginConfig' => array( - 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.', - 'type' => 'object', - 'properties' => array( - 'HTTPPort' => array( - 'description' => 'The HTTP port the custom origin listens on.', - 'type' => 'numeric', - ), - 'HTTPSPort' => array( - 'description' => 'The HTTPS port the custom origin listens on.', - 'type' => 'numeric', - ), - 'OriginProtocolPolicy' => array( - 'description' => 'The origin protocol policy to apply to your origin.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'DefaultCacheBehavior' => array( - 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.', - 'type' => 'object', - 'properties' => array( - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - 'CacheBehaviors' => array( - 'description' => 'A complex type that contains zero or more CacheBehavior elements.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of cache behaviors for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheBehavior', - 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.', - 'type' => 'object', - 'sentAs' => 'CacheBehavior', - 'properties' => array( - 'PathPattern' => array( - 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.', - 'type' => 'string', - ), - 'TargetOriginId' => array( - 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.', - 'type' => 'string', - ), - 'ForwardedValues' => array( - 'description' => 'A complex type that specifies how CloudFront handles query strings.', - 'type' => 'object', - 'properties' => array( - 'QueryString' => array( - 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.', - 'type' => 'boolean', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'ViewerProtocolPolicy' => array( - 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.', - 'type' => 'string', - ), - 'MinTTL' => array( - 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the distribution.', - 'type' => 'string', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - 'ETag' => array( - 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'UpdateStreamingDistributionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModifiedTime' => array( - 'description' => 'The date and time the distribution was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DomainName' => array( - 'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ActiveTrustedSigners' => array( - 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Each active trusted signer.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.', - 'type' => 'array', - 'items' => array( - 'name' => 'Signer', - 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.', - 'type' => 'object', - 'sentAs' => 'Signer', - 'properties' => array( - 'AwsAccountNumber' => array( - 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.', - 'type' => 'string', - ), - 'KeyPairIds' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyPairId', - 'type' => 'string', - 'sentAs' => 'KeyPairId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'StreamingDistributionConfig' => array( - 'description' => 'The current configuration information for the streaming distribution.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'CallerReference' => array( - 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.', - 'type' => 'string', - ), - 'S3Origin' => array( - 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.', - 'type' => 'object', - 'properties' => array( - 'DomainName' => array( - 'description' => 'The DNS name of the S3 origin.', - 'type' => 'string', - ), - 'OriginAccessIdentity' => array( - 'description' => 'Your S3 origin\'s origin access identity.', - 'type' => 'string', - ), - ), - ), - 'Aliases' => array( - 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Quantity' => array( - 'description' => 'The number of CNAMEs, if any, for this distribution.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'CNAME', - 'type' => 'string', - 'sentAs' => 'CNAME', - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'Any comments you want to include about the streaming distribution.', - 'type' => 'string', - ), - 'Logging' => array( - 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.', - 'type' => 'boolean', - ), - 'Bucket' => array( - 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.', - 'type' => 'string', - ), - ), - ), - 'TrustedSigners' => array( - 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.', - 'type' => 'boolean', - ), - 'Quantity' => array( - 'description' => 'The number of trusted signers for this cache behavior.', - 'type' => 'numeric', - ), - 'Items' => array( - 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.', - 'type' => 'array', - 'items' => array( - 'name' => 'AwsAccountNumber', - 'type' => 'string', - 'sentAs' => 'AwsAccountNumber', - ), - ), - ), - ), - 'Enabled' => array( - 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.', - 'type' => 'boolean', - ), - ), - ), - 'ETag' => array( - 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'success.type' => 'output', - 'success.path' => 'Status', - ), - 'StreamingDistributionDeployed' => array( - 'operation' => 'GetStreamingDistribution', - 'description' => 'Wait until a streaming distribution is deployed.', - 'interval' => 60, - 'max_attempts' => 25, - 'success.value' => 'Deployed', - ), - 'DistributionDeployed' => array( - 'operation' => 'GetDistribution', - 'description' => 'Wait until a distribution is deployed.', - 'interval' => 60, - 'max_attempts' => 25, - 'success.value' => 'Deployed', - ), - 'InvalidationCompleted' => array( - 'operation' => 'GetInvalidation', - 'description' => 'Wait until an invalidation has completed.', - 'interval' => 20, - 'max_attempts' => 30, - 'success.value' => 'Completed', - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/CloudSearchClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/CloudSearchClient.php deleted file mode 100644 index a193ac0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/CloudSearchClient.php +++ /dev/null @@ -1,100 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudsearch-2011-02-01.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/Enum/IndexFieldType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/Enum/IndexFieldType.php deleted file mode 100644 index c6bffff..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/Enum/IndexFieldType.php +++ /dev/null @@ -1,29 +0,0 @@ - '2011-02-01', - 'endpointPrefix' => 'cloudsearch', - 'serviceFullName' => 'Amazon CloudSearch', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'CloudSearch', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudsearch.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudsearch.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudsearch.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudsearch.eu-west-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'cloudsearch.ap-southeast-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CreateDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateDomainResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDomain', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'DefineIndexField' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DefineIndexFieldResponse', - 'responseType' => 'model', - 'summary' => 'Configures an IndexField for the search domain. Used to create new fields and modify existing ones. If the field exists, the new configuration replaces the old one. You can configure a maximum of 200 index fields.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DefineIndexField', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'IndexField' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'IndexFieldName' => array( - 'required' => true, - 'description' => 'The name of a field in the search index. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'IndexFieldType' => array( - 'required' => true, - 'description' => 'The type of field. Based on this type, exactly one of the UIntOptions, LiteralOptions or TextOptions must be present.', - 'type' => 'string', - 'enum' => array( - 'uint', - 'literal', - 'text', - ), - ), - 'UIntOptions' => array( - 'description' => 'Options for an unsigned integer field. Present if IndexFieldType specifies the field is of type unsigned integer.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for an unsigned integer field. Optional.', - 'type' => 'numeric', - ), - ), - ), - 'LiteralOptions' => array( - 'description' => 'Options for literal field. Present if IndexFieldType specifies the field is of type literal.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a literal field. Optional.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'SearchEnabled' => array( - 'description' => 'Specifies whether search is enabled for this field. Default: False.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'TextOptions' => array( - 'description' => 'Options for text field. Present if IndexFieldType specifies the field is of type text.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a text field. Optional.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'TextProcessor' => array( - 'description' => 'The text processor to apply to this field. Optional. Possible values:', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'SourceAttributes' => array( - 'description' => 'An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this IndexField. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an IndexField.', - 'type' => 'array', - 'sentAs' => 'SourceAttributes.member', - 'items' => array( - 'name' => 'SourceAttribute', - 'description' => 'Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.', - 'type' => 'object', - 'properties' => array( - 'SourceDataFunction' => array( - 'required' => true, - 'description' => 'Identifies the transformation to apply when copying data from a source attribute.', - 'type' => 'string', - 'enum' => array( - 'Copy', - 'TrimTitle', - 'Map', - ), - ), - 'SourceDataCopy' => array( - 'description' => 'Copies data from a source document attribute to an IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'required' => true, - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - 'maxLength' => 1024, - ), - ), - ), - 'SourceDataTrimTitle' => array( - 'description' => 'Trims common title words from a source document attribute when populating an IndexField. This can be used to create an IndexField you can use for sorting.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'required' => true, - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'Separator' => array( - 'description' => 'The separator that follows the text to trim.', - 'type' => 'string', - ), - 'Language' => array( - 'type' => 'string', - ), - ), - ), - 'SourceDataMap' => array( - 'description' => 'Maps source document attribute values to new values when populating the IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'required' => true, - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'Cases' => array( - 'description' => 'A map that translates source field values to custom values.', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'The value of a field or source document attribute.', - 'type' => 'string', - 'maxLength' => 1024, - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DefineRankExpression' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DefineRankExpressionResponse', - 'responseType' => 'model', - 'summary' => 'Configures a RankExpression for the search domain. Used to create new rank expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. You can configure a maximum of 50 rank expressions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DefineRankExpression', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'RankExpression' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'RankName' => array( - 'required' => true, - 'description' => 'The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'RankExpression' => array( - 'required' => true, - 'description' => 'The expression to evaluate for ranking or thresholding while processing a search request. The RankExpression syntax is based on JavaScript expressions and supports:', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 10240, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DeleteDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DeleteDomainResponse', - 'responseType' => 'model', - 'summary' => 'Permanently deletes a search domain and all of its data.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDomain', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - ), - ), - 'DeleteIndexField' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DeleteIndexFieldResponse', - 'responseType' => 'model', - 'summary' => 'Removes an IndexField from the search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteIndexField', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'IndexFieldName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DeleteRankExpression' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DeleteRankExpressionResponse', - 'responseType' => 'model', - 'summary' => 'Removes a RankExpression from the search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteRankExpression', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'RankName' => array( - 'required' => true, - 'description' => 'The name of the RankExpression to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeDefaultSearchField' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeDefaultSearchFieldResponse', - 'responseType' => 'model', - 'summary' => 'Gets the default search field configured for the search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDefaultSearchField', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeDomains' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeDomainsResponse', - 'responseType' => 'model', - 'summary' => 'Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDomains', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainNames' => array( - 'description' => 'Limits the DescribeDomains response to the specified search domains.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DomainNames.member', - 'items' => array( - 'name' => 'DomainName', - 'description' => 'A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.', - 'type' => 'string', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - ), - ), - 'DescribeIndexFields' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeIndexFieldsResponse', - 'responseType' => 'model', - 'summary' => 'Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. Shows all fields by default.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeIndexFields', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'FieldNames' => array( - 'description' => 'Limits the DescribeIndexFields response to the specified fields.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'FieldNames.member', - 'items' => array( - 'name' => 'FieldName', - 'description' => 'A string that represents the name of an index field. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeRankExpressions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeRankExpressionsResponse', - 'responseType' => 'model', - 'summary' => 'Gets the rank expressions configured for the search domain. Can be limited to specific rank expressions by name. Shows all rank expressions by default.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeRankExpressions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'RankNames' => array( - 'description' => 'Limits the DescribeRankExpressions response to the specified fields.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'RankNames.member', - 'items' => array( - 'name' => 'FieldName', - 'description' => 'A string that represents the name of an index field. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeServiceAccessPolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeServiceAccessPoliciesResponse', - 'responseType' => 'model', - 'summary' => 'Gets information about the resource-based policies that control access to the domain\'s document and search services.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeServiceAccessPolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeStemmingOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeStemmingOptionsResponse', - 'responseType' => 'model', - 'summary' => 'Gets the stemming dictionary configured for the search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeStemmingOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeStopwordOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeStopwordOptionsResponse', - 'responseType' => 'model', - 'summary' => 'Gets the stopwords configured for the search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeStopwordOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeSynonymOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSynonymOptionsResponse', - 'responseType' => 'model', - 'summary' => 'Gets the synonym dictionary configured for the search domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSynonymOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'IndexDocuments' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'IndexDocumentsResponse', - 'responseType' => 'model', - 'summary' => 'Tells the search domain to start indexing its documents using the latest text processing options and IndexFields. This operation must be invoked to make options whose OptionStatus has OptionState of RequiresIndexDocuments visible in search results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'IndexDocuments', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateDefaultSearchField' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateDefaultSearchFieldResponse', - 'responseType' => 'model', - 'summary' => 'Configures the default search field for the search domain. The default search field is used when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain\'s text fields.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateDefaultSearchField', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'DefaultSearchField' => array( - 'required' => true, - 'description' => 'The IndexField to use for search requests issued with the q parameter. The default is an empty string, which automatically searches all text fields.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateServiceAccessPolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateServiceAccessPoliciesResponse', - 'responseType' => 'model', - 'summary' => 'Configures the policies that control access to the domain\'s document and search services. The maximum size of an access policy document is 100 KB.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateServiceAccessPolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'AccessPolicies' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - ), - ), - 'UpdateStemmingOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateStemmingOptionsResponse', - 'responseType' => 'model', - 'summary' => 'Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500 KB.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateStemmingOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'Stems' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateStopwordOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateStopwordOptionsResponse', - 'responseType' => 'model', - 'summary' => 'Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10 KB.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateStopwordOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'Stopwords' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateSynonymOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateSynonymOptionsResponse', - 'responseType' => 'model', - 'summary' => 'Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100 KB.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateSynonymOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-02-01', - ), - 'DomainName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 28, - ), - 'Synonyms' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An error occurred while processing the request.', - 'class' => 'BaseException', - ), - array( - 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.', - 'class' => 'InternalException', - ), - array( - 'reason' => 'The request was rejected because it specified an invalid type definition.', - 'class' => 'InvalidTypeException', - ), - array( - 'reason' => 'The request was rejected because a resource limit has already been met.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - ), - 'models' => array( - 'CreateDomainResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DomainStatus' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DomainId' => array( - 'type' => 'string', - ), - 'DomainName' => array( - 'type' => 'string', - ), - 'Created' => array( - 'description' => 'True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete.', - 'type' => 'boolean', - ), - 'Deleted' => array( - 'description' => 'True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete.', - 'type' => 'boolean', - ), - 'NumSearchableDocs' => array( - 'description' => 'The number of documents that have been submitted to the domain and indexed.', - 'type' => 'numeric', - ), - 'DocService' => array( - 'description' => 'The service endpoint for updating documents in a search domain.', - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Endpoint' => array( - 'type' => 'string', - ), - ), - ), - 'SearchService' => array( - 'description' => 'The service endpoint for requesting search results from a search domain.', - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Endpoint' => array( - 'type' => 'string', - ), - ), - ), - 'RequiresIndexDocuments' => array( - 'description' => 'True if IndexDocuments needs to be called to activate the current domain configuration.', - 'type' => 'boolean', - ), - 'Processing' => array( - 'description' => 'True if processing is being done to activate the current domain configuration.', - 'type' => 'boolean', - ), - 'SearchInstanceType' => array( - 'description' => 'The instance type (such as search.m1.small) that is being used to process search requests.', - 'type' => 'string', - ), - 'SearchPartitionCount' => array( - 'description' => 'The number of partitions across which the search index is spread.', - 'type' => 'numeric', - ), - 'SearchInstanceCount' => array( - 'description' => 'The number of search instances that are available to process search requests.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'DefineIndexFieldResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IndexField' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'object', - 'properties' => array( - 'IndexFieldName' => array( - 'description' => 'The name of a field in the search index. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - ), - 'IndexFieldType' => array( - 'description' => 'The type of field. Based on this type, exactly one of the UIntOptions, LiteralOptions or TextOptions must be present.', - 'type' => 'string', - ), - 'UIntOptions' => array( - 'description' => 'Options for an unsigned integer field. Present if IndexFieldType specifies the field is of type unsigned integer.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for an unsigned integer field. Optional.', - 'type' => 'numeric', - ), - ), - ), - 'LiteralOptions' => array( - 'description' => 'Options for literal field. Present if IndexFieldType specifies the field is of type literal.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a literal field. Optional.', - 'type' => 'string', - ), - 'SearchEnabled' => array( - 'description' => 'Specifies whether search is enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - ), - ), - ), - 'TextOptions' => array( - 'description' => 'Options for text field. Present if IndexFieldType specifies the field is of type text.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a text field. Optional.', - 'type' => 'string', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - ), - 'TextProcessor' => array( - 'description' => 'The text processor to apply to this field. Optional. Possible values:', - 'type' => 'string', - ), - ), - ), - 'SourceAttributes' => array( - 'description' => 'An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this IndexField. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an IndexField.', - 'type' => 'array', - 'items' => array( - 'name' => 'SourceAttribute', - 'description' => 'Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SourceDataFunction' => array( - 'description' => 'Identifies the transformation to apply when copying data from a source attribute.', - 'type' => 'string', - ), - 'SourceDataCopy' => array( - 'description' => 'Copies data from a source document attribute to an IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - ), - ), - 'SourceDataTrimTitle' => array( - 'description' => 'Trims common title words from a source document attribute when populating an IndexField. This can be used to create an IndexField you can use for sorting.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - 'Separator' => array( - 'description' => 'The separator that follows the text to trim.', - 'type' => 'string', - ), - 'Language' => array( - 'type' => 'string', - ), - ), - ), - 'SourceDataMap' => array( - 'description' => 'Maps source document attribute values to new values when populating the IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - 'Cases' => array( - 'description' => 'A map that translates source field values to custom values.', - 'type' => 'array', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'description' => 'The value of a field or source document attribute.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DefineRankExpressionResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RankExpression' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'description' => 'The expression that is evaluated for ranking or thresholding while processing a search request.', - 'type' => 'object', - 'properties' => array( - 'RankName' => array( - 'description' => 'The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - ), - 'RankExpression' => array( - 'description' => 'The expression to evaluate for ranking or thresholding while processing a search request. The RankExpression syntax is based on JavaScript expressions and supports:', - 'type' => 'string', - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DeleteDomainResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DomainStatus' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DomainId' => array( - 'type' => 'string', - ), - 'DomainName' => array( - 'type' => 'string', - ), - 'Created' => array( - 'description' => 'True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete.', - 'type' => 'boolean', - ), - 'Deleted' => array( - 'description' => 'True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete.', - 'type' => 'boolean', - ), - 'NumSearchableDocs' => array( - 'description' => 'The number of documents that have been submitted to the domain and indexed.', - 'type' => 'numeric', - ), - 'DocService' => array( - 'description' => 'The service endpoint for updating documents in a search domain.', - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Endpoint' => array( - 'type' => 'string', - ), - ), - ), - 'SearchService' => array( - 'description' => 'The service endpoint for requesting search results from a search domain.', - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Endpoint' => array( - 'type' => 'string', - ), - ), - ), - 'RequiresIndexDocuments' => array( - 'description' => 'True if IndexDocuments needs to be called to activate the current domain configuration.', - 'type' => 'boolean', - ), - 'Processing' => array( - 'description' => 'True if processing is being done to activate the current domain configuration.', - 'type' => 'boolean', - ), - 'SearchInstanceType' => array( - 'description' => 'The instance type (such as search.m1.small) that is being used to process search requests.', - 'type' => 'string', - ), - 'SearchPartitionCount' => array( - 'description' => 'The number of partitions across which the search index is spread.', - 'type' => 'numeric', - ), - 'SearchInstanceCount' => array( - 'description' => 'The number of search instances that are available to process search requests.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'DeleteIndexFieldResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IndexField' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'object', - 'properties' => array( - 'IndexFieldName' => array( - 'description' => 'The name of a field in the search index. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - ), - 'IndexFieldType' => array( - 'description' => 'The type of field. Based on this type, exactly one of the UIntOptions, LiteralOptions or TextOptions must be present.', - 'type' => 'string', - ), - 'UIntOptions' => array( - 'description' => 'Options for an unsigned integer field. Present if IndexFieldType specifies the field is of type unsigned integer.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for an unsigned integer field. Optional.', - 'type' => 'numeric', - ), - ), - ), - 'LiteralOptions' => array( - 'description' => 'Options for literal field. Present if IndexFieldType specifies the field is of type literal.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a literal field. Optional.', - 'type' => 'string', - ), - 'SearchEnabled' => array( - 'description' => 'Specifies whether search is enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - ), - ), - ), - 'TextOptions' => array( - 'description' => 'Options for text field. Present if IndexFieldType specifies the field is of type text.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a text field. Optional.', - 'type' => 'string', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - ), - 'TextProcessor' => array( - 'description' => 'The text processor to apply to this field. Optional. Possible values:', - 'type' => 'string', - ), - ), - ), - 'SourceAttributes' => array( - 'description' => 'An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this IndexField. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an IndexField.', - 'type' => 'array', - 'items' => array( - 'name' => 'SourceAttribute', - 'description' => 'Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SourceDataFunction' => array( - 'description' => 'Identifies the transformation to apply when copying data from a source attribute.', - 'type' => 'string', - ), - 'SourceDataCopy' => array( - 'description' => 'Copies data from a source document attribute to an IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - ), - ), - 'SourceDataTrimTitle' => array( - 'description' => 'Trims common title words from a source document attribute when populating an IndexField. This can be used to create an IndexField you can use for sorting.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - 'Separator' => array( - 'description' => 'The separator that follows the text to trim.', - 'type' => 'string', - ), - 'Language' => array( - 'type' => 'string', - ), - ), - ), - 'SourceDataMap' => array( - 'description' => 'Maps source document attribute values to new values when populating the IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - 'Cases' => array( - 'description' => 'A map that translates source field values to custom values.', - 'type' => 'array', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'description' => 'The value of a field or source document attribute.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DeleteRankExpressionResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RankExpression' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'description' => 'The expression that is evaluated for ranking or thresholding while processing a search request.', - 'type' => 'object', - 'properties' => array( - 'RankName' => array( - 'description' => 'The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - ), - 'RankExpression' => array( - 'description' => 'The expression to evaluate for ranking or thresholding while processing a search request. The RankExpression syntax is based on JavaScript expressions and supports:', - 'type' => 'string', - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DescribeDefaultSearchFieldResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DefaultSearchField' => array( - 'description' => 'The name of the IndexField to use for search requests issued with the q parameter. The default is the empty string, which automatically searches all text fields.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'description' => 'The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.', - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DescribeDomainsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DomainStatusList' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DomainStatus', - 'description' => 'The current status of the search domain.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'DomainId' => array( - 'type' => 'string', - ), - 'DomainName' => array( - 'type' => 'string', - ), - 'Created' => array( - 'description' => 'True if the search domain is created. It can take several minutes to initialize a domain when CreateDomain is called. Newly created search domains are returned from DescribeDomains with a false value for Created until domain creation is complete.', - 'type' => 'boolean', - ), - 'Deleted' => array( - 'description' => 'True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when DeleteDomain is called. Newly deleted search domains are returned from DescribeDomains with a true value for IsDeleted for several minutes until resource cleanup is complete.', - 'type' => 'boolean', - ), - 'NumSearchableDocs' => array( - 'description' => 'The number of documents that have been submitted to the domain and indexed.', - 'type' => 'numeric', - ), - 'DocService' => array( - 'description' => 'The service endpoint for updating documents in a search domain.', - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Endpoint' => array( - 'type' => 'string', - ), - ), - ), - 'SearchService' => array( - 'description' => 'The service endpoint for requesting search results from a search domain.', - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Endpoint' => array( - 'type' => 'string', - ), - ), - ), - 'RequiresIndexDocuments' => array( - 'description' => 'True if IndexDocuments needs to be called to activate the current domain configuration.', - 'type' => 'boolean', - ), - 'Processing' => array( - 'description' => 'True if processing is being done to activate the current domain configuration.', - 'type' => 'boolean', - ), - 'SearchInstanceType' => array( - 'description' => 'The instance type (such as search.m1.small) that is being used to process search requests.', - 'type' => 'string', - ), - 'SearchPartitionCount' => array( - 'description' => 'The number of partitions across which the search index is spread.', - 'type' => 'numeric', - ), - 'SearchInstanceCount' => array( - 'description' => 'The number of search instances that are available to process search requests.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'DescribeIndexFieldsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IndexFields' => array( - 'description' => 'The index fields configured for the domain.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'IndexFieldStatus', - 'description' => 'The value of an IndexField and its current status.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Options' => array( - 'type' => 'object', - 'properties' => array( - 'IndexFieldName' => array( - 'description' => 'The name of a field in the search index. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - ), - 'IndexFieldType' => array( - 'description' => 'The type of field. Based on this type, exactly one of the UIntOptions, LiteralOptions or TextOptions must be present.', - 'type' => 'string', - ), - 'UIntOptions' => array( - 'description' => 'Options for an unsigned integer field. Present if IndexFieldType specifies the field is of type unsigned integer.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for an unsigned integer field. Optional.', - 'type' => 'numeric', - ), - ), - ), - 'LiteralOptions' => array( - 'description' => 'Options for literal field. Present if IndexFieldType specifies the field is of type literal.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a literal field. Optional.', - 'type' => 'string', - ), - 'SearchEnabled' => array( - 'description' => 'Specifies whether search is enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - ), - ), - ), - 'TextOptions' => array( - 'description' => 'Options for text field. Present if IndexFieldType specifies the field is of type text.', - 'type' => 'object', - 'properties' => array( - 'DefaultValue' => array( - 'description' => 'The default value for a text field. Optional.', - 'type' => 'string', - ), - 'FacetEnabled' => array( - 'description' => 'Specifies whether facets are enabled for this field. Default: False.', - 'type' => 'boolean', - ), - 'ResultEnabled' => array( - 'description' => 'Specifies whether values of this field can be returned in search results and used for ranking. Default: False.', - 'type' => 'boolean', - ), - 'TextProcessor' => array( - 'description' => 'The text processor to apply to this field. Optional. Possible values:', - 'type' => 'string', - ), - ), - ), - 'SourceAttributes' => array( - 'description' => 'An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this IndexField. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an IndexField.', - 'type' => 'array', - 'items' => array( - 'name' => 'SourceAttribute', - 'description' => 'Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SourceDataFunction' => array( - 'description' => 'Identifies the transformation to apply when copying data from a source attribute.', - 'type' => 'string', - ), - 'SourceDataCopy' => array( - 'description' => 'Copies data from a source document attribute to an IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - ), - ), - 'SourceDataTrimTitle' => array( - 'description' => 'Trims common title words from a source document attribute when populating an IndexField. This can be used to create an IndexField you can use for sorting.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - 'Separator' => array( - 'description' => 'The separator that follows the text to trim.', - 'type' => 'string', - ), - 'Language' => array( - 'type' => 'string', - ), - ), - ), - 'SourceDataMap' => array( - 'description' => 'Maps source document attribute values to new values when populating the IndexField.', - 'type' => 'object', - 'properties' => array( - 'SourceName' => array( - 'description' => 'The name of the document source field to add to this IndexField.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value to use if the source attribute is not specified in a document. Optional.', - 'type' => 'string', - ), - 'Cases' => array( - 'description' => 'A map that translates source field values to custom values.', - 'type' => 'array', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'description' => 'The value of a field or source document attribute.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeRankExpressionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RankExpressions' => array( - 'description' => 'The rank expressions configured for the domain.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'RankExpressionStatus', - 'description' => 'The value of a RankExpression and its current status.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Options' => array( - 'description' => 'The expression that is evaluated for ranking or thresholding while processing a search request.', - 'type' => 'object', - 'properties' => array( - 'RankName' => array( - 'description' => 'The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - ), - 'RankExpression' => array( - 'description' => 'The expression to evaluate for ranking or thresholding while processing a search request. The RankExpression syntax is based on JavaScript expressions and supports:', - 'type' => 'string', - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeServiceAccessPoliciesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AccessPolicies' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DescribeStemmingOptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Stems' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DescribeStopwordOptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Stopwords' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'DescribeSynonymOptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Synonyms' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'IndexDocumentsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'FieldNames' => array( - 'description' => 'The names of the fields that are currently being processed due to an IndexDocuments action.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'FieldName', - 'description' => 'A string that represents the name of an index field. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'UpdateDefaultSearchFieldResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DefaultSearchField' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'description' => 'The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.', - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'UpdateServiceAccessPoliciesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AccessPolicies' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'UpdateStemmingOptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Stems' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'UpdateStopwordOptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Stopwords' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'UpdateSynonymOptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Synonyms' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Options' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( - 'CreationDate' => array( - 'description' => 'A timestamp for when this option was created.', - 'type' => 'string', - ), - 'UpdateDate' => array( - 'description' => 'A timestamp for when this option was last updated.', - 'type' => 'string', - ), - 'UpdateVersion' => array( - 'description' => 'A unique integer that indicates when this option was last updated.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of processing a change to an option. Possible values:', - 'type' => 'string', - ), - 'PendingDeletion' => array( - 'description' => 'Indicates that the option will be deleted once processing is complete.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeDomains' => array( - 'result_key' => 'DomainStatusList', - ), - 'DescribeIndexFields' => array( - 'result_key' => 'IndexFields', - ), - 'DescribeRankExpressions' => array( - 'result_key' => 'RankExpressions', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/CloudWatchClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/CloudWatchClient.php deleted file mode 100644 index c4f4e77..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/CloudWatchClient.php +++ /dev/null @@ -1,91 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudwatch-2010-08-01.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/Enum/ComparisonOperator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/Enum/ComparisonOperator.php deleted file mode 100644 index 61dc947..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/CloudWatch/Enum/ComparisonOperator.php +++ /dev/null @@ -1,30 +0,0 @@ - '2010-08-01', - 'endpointPrefix' => 'monitoring', - 'serviceFullName' => 'Amazon CloudWatch', - 'serviceAbbreviation' => 'CloudWatch', - 'serviceType' => 'query', - 'timestampFormat' => 'iso8601', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'CloudWatch', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'monitoring.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'monitoring.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'DeleteAlarms' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes all specified alarms. In the event of an error, no alarms are deleted.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteAlarms', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmNames' => array( - 'required' => true, - 'description' => 'A list of alarms to be deleted.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AlarmNames.member', - 'maxItems' => 100, - 'items' => array( - 'name' => 'AlarmName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The named resource does not exist.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeAlarmHistory' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAlarmHistoryOutput', - 'responseType' => 'model', - 'summary' => 'Retrieves history for the specified alarm. Filter alarms by date range or item type. If an alarm name is not specified, Amazon CloudWatch returns histories for all of the owner\'s alarms.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAlarmHistory', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmName' => array( - 'description' => 'The name of the alarm.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'HistoryItemType' => array( - 'description' => 'The type of alarm histories to retrieve.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'ConfigurationUpdate', - 'StateUpdate', - 'Action', - ), - ), - 'StartDate' => array( - 'description' => 'The starting date to retrieve alarm history.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'EndDate' => array( - 'description' => 'The ending date to retrieve alarm history.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of alarm history records to retrieve.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 100, - ), - 'NextToken' => array( - 'description' => 'The token returned by a previous call to indicate that there is more data available.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The next token specified is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeAlarms' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAlarmsOutput', - 'responseType' => 'model', - 'summary' => 'Retrieves alarms with the specified names. If no name is specified, all alarms for the user are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAlarms', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmNames' => array( - 'description' => 'A list of alarm names to retrieve information for.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AlarmNames.member', - 'maxItems' => 100, - 'items' => array( - 'name' => 'AlarmName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'AlarmNamePrefix' => array( - 'description' => 'The alarm name prefix. AlarmNames cannot be specified if this parameter is specified.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'StateValue' => array( - 'description' => 'The state value to be used in matching alarms.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'OK', - 'ALARM', - 'INSUFFICIENT_DATA', - ), - ), - 'ActionPrefix' => array( - 'description' => 'The action name prefix.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of alarm descriptions to retrieve.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 100, - ), - 'NextToken' => array( - 'description' => 'The token returned by a previous call to indicate that there is more data available.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The next token specified is invalid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'DescribeAlarmsForMetric' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAlarmsForMetricOutput', - 'responseType' => 'model', - 'summary' => 'Retrieves all alarms for a single metric. Specify a statistic, period, or unit to filter the set of alarms further.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAlarmsForMetric', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'MetricName' => array( - 'required' => true, - 'description' => 'The name of the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Namespace' => array( - 'required' => true, - 'description' => 'The namespace of the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Statistic' => array( - 'description' => 'The statistic for the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'SampleCount', - 'Average', - 'Sum', - 'Minimum', - 'Maximum', - ), - ), - 'Dimensions' => array( - 'description' => 'The list of dimensions associated with the metric.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Dimensions.member', - 'maxItems' => 10, - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the dimension.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'Period' => array( - 'description' => 'The period in seconds over which the statistic is applied.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 60, - ), - 'Unit' => array( - 'description' => 'The unit for the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Seconds', - 'Microseconds', - 'Milliseconds', - 'Bytes', - 'Kilobytes', - 'Megabytes', - 'Gigabytes', - 'Terabytes', - 'Bits', - 'Kilobits', - 'Megabits', - 'Gigabits', - 'Terabits', - 'Percent', - 'Count', - 'Bytes/Second', - 'Kilobytes/Second', - 'Megabytes/Second', - 'Gigabytes/Second', - 'Terabytes/Second', - 'Bits/Second', - 'Kilobits/Second', - 'Megabits/Second', - 'Gigabits/Second', - 'Terabits/Second', - 'Count/Second', - 'None', - ), - ), - ), - ), - 'DisableAlarmActions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Disables actions for the specified alarms. When an alarm\'s actions are disabled the alarm\'s state may change, but none of the alarm\'s actions will execute.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DisableAlarmActions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmNames' => array( - 'required' => true, - 'description' => 'The names of the alarms to disable actions for.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AlarmNames.member', - 'maxItems' => 100, - 'items' => array( - 'name' => 'AlarmName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'EnableAlarmActions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Enables actions for the specified alarms.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EnableAlarmActions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmNames' => array( - 'required' => true, - 'description' => 'The names of the alarms to enable actions for.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AlarmNames.member', - 'maxItems' => 100, - 'items' => array( - 'name' => 'AlarmName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'GetMetricStatistics' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetMetricStatisticsOutput', - 'responseType' => 'model', - 'summary' => 'Gets statistics for the specified metric.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetMetricStatistics', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'Namespace' => array( - 'required' => true, - 'description' => 'The namespace of the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'MetricName' => array( - 'required' => true, - 'description' => 'The name of the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Dimensions' => array( - 'description' => 'A list of dimensions describing qualities of the metric.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Dimensions.member', - 'maxItems' => 10, - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the dimension.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'StartTime' => array( - 'required' => true, - 'description' => 'The time stamp to use for determining the first datapoint to return. The value specified is inclusive; results include datapoints with the time stamp specified.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'required' => true, - 'description' => 'The time stamp to use for determining the last datapoint to return. The value specified is exclusive; results will include datapoints up to the time stamp specified.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'Period' => array( - 'required' => true, - 'description' => 'The granularity, in seconds, of the returned datapoints. Period must be at least 60 seconds and must be a multiple of 60. The default value is 60.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 60, - ), - 'Statistics' => array( - 'required' => true, - 'description' => 'The metric statistics to return.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Statistics.member', - 'minItems' => 1, - 'maxItems' => 5, - 'items' => array( - 'name' => 'Statistic', - 'type' => 'string', - 'enum' => array( - 'SampleCount', - 'Average', - 'Sum', - 'Minimum', - 'Maximum', - ), - ), - ), - 'Unit' => array( - 'description' => 'The unit for the metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Seconds', - 'Microseconds', - 'Milliseconds', - 'Bytes', - 'Kilobytes', - 'Megabytes', - 'Gigabytes', - 'Terabytes', - 'Bits', - 'Kilobits', - 'Megabits', - 'Gigabits', - 'Terabits', - 'Percent', - 'Count', - 'Bytes/Second', - 'Kilobytes/Second', - 'Megabytes/Second', - 'Gigabytes/Second', - 'Terabytes/Second', - 'Bits/Second', - 'Kilobits/Second', - 'Megabits/Second', - 'Gigabits/Second', - 'Terabits/Second', - 'Count/Second', - 'None', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'MissingRequiredParameterException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - array( - 'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'ListMetrics' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListMetricsOutput', - 'responseType' => 'model', - 'summary' => 'Returns a list of valid metrics stored for the AWS account owner. Returned metrics can be used with GetMetricStatistics to obtain statistical data for a given metric.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListMetrics', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'Namespace' => array( - 'description' => 'The namespace to filter against.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'MetricName' => array( - 'description' => 'The name of the metric to filter against.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Dimensions' => array( - 'description' => 'A list of dimensions to filter against.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Dimensions.member', - 'maxItems' => 10, - 'items' => array( - 'name' => 'DimensionFilter', - 'description' => 'The DimensionFilter data type is used to filter ListMetrics results.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The dimension name to be matched.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Value' => array( - 'description' => 'The value of the dimension to be matched.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'The token returned by a previous call to indicate that there is more data available.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.', - 'class' => 'InternalServiceException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - ), - ), - 'PutMetricAlarm' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates or updates an alarm and associates it with the specified Amazon CloudWatch metric. Optionally, this operation can associate one or more Amazon Simple Notification Service resources with the alarm.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutMetricAlarm', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmName' => array( - 'required' => true, - 'description' => 'The descriptive name for the alarm. This name must be unique within the user\'s AWS account', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'AlarmDescription' => array( - 'description' => 'The description for the alarm.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 255, - ), - 'ActionsEnabled' => array( - 'description' => 'Indicates whether or not actions should be executed during any changes to the alarm\'s state.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'OKActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OKActions.member', - 'maxItems' => 5, - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'AlarmActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AlarmActions.member', - 'maxItems' => 5, - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'InsufficientDataActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InsufficientDataActions.member', - 'maxItems' => 5, - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'MetricName' => array( - 'required' => true, - 'description' => 'The name for the alarm\'s associated metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Namespace' => array( - 'required' => true, - 'description' => 'The namespace for the alarm\'s associated metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Statistic' => array( - 'required' => true, - 'description' => 'The statistic to apply to the alarm\'s associated metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'SampleCount', - 'Average', - 'Sum', - 'Minimum', - 'Maximum', - ), - ), - 'Dimensions' => array( - 'description' => 'The dimensions for the alarm\'s associated metric.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Dimensions.member', - 'maxItems' => 10, - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the dimension.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'Period' => array( - 'required' => true, - 'description' => 'The period in seconds over which the specified statistic is applied.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 60, - ), - 'Unit' => array( - 'description' => 'The unit for the alarm\'s associated metric.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Seconds', - 'Microseconds', - 'Milliseconds', - 'Bytes', - 'Kilobytes', - 'Megabytes', - 'Gigabytes', - 'Terabytes', - 'Bits', - 'Kilobits', - 'Megabits', - 'Gigabits', - 'Terabits', - 'Percent', - 'Count', - 'Bytes/Second', - 'Kilobytes/Second', - 'Megabytes/Second', - 'Gigabytes/Second', - 'Terabytes/Second', - 'Bits/Second', - 'Kilobits/Second', - 'Megabits/Second', - 'Gigabits/Second', - 'Terabits/Second', - 'Count/Second', - 'None', - ), - ), - 'EvaluationPeriods' => array( - 'required' => true, - 'description' => 'The number of periods over which data is compared to the specified threshold.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - ), - 'Threshold' => array( - 'required' => true, - 'description' => 'The value against which the specified statistic is compared.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'ComparisonOperator' => array( - 'required' => true, - 'description' => 'The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'GreaterThanOrEqualToThreshold', - 'GreaterThanThreshold', - 'LessThanThreshold', - 'LessThanOrEqualToThreshold', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The quota for alarms for this customer has already been reached.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'PutMetricData' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Publishes metric data points to Amazon CloudWatch. Amazon Cloudwatch associates the data points with the specified metric. If the specified metric does not exist, Amazon CloudWatch creates the metric.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutMetricData', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'Namespace' => array( - 'required' => true, - 'description' => 'The namespace for the metric data.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'MetricData' => array( - 'required' => true, - 'description' => 'A list of data describing the metric.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'MetricData.member', - 'items' => array( - 'name' => 'MetricDatum', - 'description' => 'The MetricDatum data type encapsulates the information sent with PutMetricData to either create a new metric or add new values to be aggregated into an existing metric.', - 'type' => 'object', - 'properties' => array( - 'MetricName' => array( - 'required' => true, - 'description' => 'The name of the metric.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Dimensions' => array( - 'description' => 'A list of dimensions associated with the metric.', - 'type' => 'array', - 'sentAs' => 'Dimensions.member', - 'maxItems' => 10, - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the dimension.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - ), - 'Timestamp' => array( - 'description' => 'The time stamp used for the metric. If not specified, the default value is set to the time the metric data was received.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - ), - 'Value' => array( - 'description' => 'The value for the metric.', - 'type' => 'numeric', - ), - 'StatisticValues' => array( - 'description' => 'A set of statistical values describing the metric.', - 'type' => 'object', - 'properties' => array( - 'SampleCount' => array( - 'required' => true, - 'description' => 'The number of samples used for the statistic set.', - 'type' => 'numeric', - ), - 'Sum' => array( - 'required' => true, - 'description' => 'The sum of values for the sample set.', - 'type' => 'numeric', - ), - 'Minimum' => array( - 'required' => true, - 'description' => 'The minimum value of the sample set.', - 'type' => 'numeric', - ), - 'Maximum' => array( - 'required' => true, - 'description' => 'The maximum value of the sample set.', - 'type' => 'numeric', - ), - ), - ), - 'Unit' => array( - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'enum' => array( - 'Seconds', - 'Microseconds', - 'Milliseconds', - 'Bytes', - 'Kilobytes', - 'Megabytes', - 'Gigabytes', - 'Terabytes', - 'Bits', - 'Kilobits', - 'Megabits', - 'Gigabits', - 'Terabits', - 'Percent', - 'Count', - 'Bytes/Second', - 'Kilobytes/Second', - 'Megabytes/Second', - 'Gigabytes/Second', - 'Terabytes/Second', - 'Bits/Second', - 'Kilobits/Second', - 'Megabits/Second', - 'Gigabits/Second', - 'Terabits/Second', - 'Count/Second', - 'None', - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'MissingRequiredParameterException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - array( - 'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'SetAlarmState' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Temporarily sets the state of an alarm. When the updated StateValue differs from the previous value, the action configured for the appropriate state is invoked. This is not a permanent change. The next periodic alarm check (in about a minute) will set the alarm to its actual state.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetAlarmState', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-08-01', - ), - 'AlarmName' => array( - 'required' => true, - 'description' => 'The descriptive name for the alarm. This name must be unique within the user\'s AWS account. The maximum length is 255 characters.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'StateValue' => array( - 'required' => true, - 'description' => 'The value of the state.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'OK', - 'ALARM', - 'INSUFFICIENT_DATA', - ), - ), - 'StateReason' => array( - 'required' => true, - 'description' => 'The reason that this alarm is set to this specific state (in human-readable text format)', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 1023, - ), - 'StateReasonData' => array( - 'description' => 'The reason that this alarm is set to this specific state (in machine-readable JSON format)', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 4000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The named resource does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Data was not syntactically valid JSON.', - 'class' => 'InvalidFormatException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DescribeAlarmHistoryOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AlarmHistoryItems' => array( - 'description' => 'A list of alarm histories in JSON format.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AlarmHistoryItem', - 'description' => 'The AlarmHistoryItem data type contains descriptive information about the history of a specific alarm. If you call DescribeAlarmHistory, Amazon CloudWatch returns this data type as part of the DescribeAlarmHistoryResult data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AlarmName' => array( - 'description' => 'The descriptive name for the alarm.', - 'type' => 'string', - ), - 'Timestamp' => array( - 'description' => 'The time stamp for the alarm history item.', - 'type' => 'string', - ), - 'HistoryItemType' => array( - 'description' => 'The type of alarm history item.', - 'type' => 'string', - ), - 'HistorySummary' => array( - 'description' => 'A human-readable summary of the alarm history.', - 'type' => 'string', - ), - 'HistoryData' => array( - 'description' => 'Machine-readable data about the alarm in JSON format.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeAlarmsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MetricAlarms' => array( - 'description' => 'A list of information for the specified alarms.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'MetricAlarm', - 'description' => 'The MetricAlarm data type represents an alarm. You can use PutMetricAlarm to create or update an alarm.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AlarmName' => array( - 'description' => 'The name of the alarm.', - 'type' => 'string', - ), - 'AlarmArn' => array( - 'description' => 'The Amazon Resource Name (ARN) of the alarm.', - 'type' => 'string', - ), - 'AlarmDescription' => array( - 'description' => 'The description for the alarm.', - 'type' => 'string', - ), - 'AlarmConfigurationUpdatedTimestamp' => array( - 'description' => 'The time stamp of the last update to the alarm configuration.', - 'type' => 'string', - ), - 'ActionsEnabled' => array( - 'description' => 'Indicates whether actions should be executed during any changes to the alarm\'s state.', - 'type' => 'boolean', - ), - 'OKActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic and triggering an Auto Scaling policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'AlarmActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic and triggering an Auto Scaling policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'InsufficientDataActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic or triggering an Auto Scaling policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'StateValue' => array( - 'description' => 'The state value for the alarm.', - 'type' => 'string', - ), - 'StateReason' => array( - 'description' => 'A human-readable explanation for the alarm\'s state.', - 'type' => 'string', - ), - 'StateReasonData' => array( - 'description' => 'An explanation for the alarm\'s state in machine-readable JSON format', - 'type' => 'string', - ), - 'StateUpdatedTimestamp' => array( - 'description' => 'The time stamp of the last update to the alarm\'s state.', - 'type' => 'string', - ), - 'MetricName' => array( - 'description' => 'The name of the alarm\'s metric.', - 'type' => 'string', - ), - 'Namespace' => array( - 'description' => 'The namespace of alarm\'s associated metric.', - 'type' => 'string', - ), - 'Statistic' => array( - 'description' => 'The statistic to apply to the alarm\'s associated metric.', - 'type' => 'string', - ), - 'Dimensions' => array( - 'description' => 'The list of dimensions associated with the alarm\'s associated metric.', - 'type' => 'array', - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the dimension.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - ), - ), - ), - ), - 'Period' => array( - 'description' => 'The period in seconds over which the statistic is applied.', - 'type' => 'numeric', - ), - 'Unit' => array( - 'description' => 'The unit of the alarm\'s associated metric.', - 'type' => 'string', - ), - 'EvaluationPeriods' => array( - 'description' => 'The number of periods over which data is compared to the specified threshold.', - 'type' => 'numeric', - ), - 'Threshold' => array( - 'description' => 'The value against which the specified statistic is compared.', - 'type' => 'numeric', - ), - 'ComparisonOperator' => array( - 'description' => 'The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeAlarmsForMetricOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MetricAlarms' => array( - 'description' => 'A list of information for each alarm with the specified metric.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'MetricAlarm', - 'description' => 'The MetricAlarm data type represents an alarm. You can use PutMetricAlarm to create or update an alarm.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AlarmName' => array( - 'description' => 'The name of the alarm.', - 'type' => 'string', - ), - 'AlarmArn' => array( - 'description' => 'The Amazon Resource Name (ARN) of the alarm.', - 'type' => 'string', - ), - 'AlarmDescription' => array( - 'description' => 'The description for the alarm.', - 'type' => 'string', - ), - 'AlarmConfigurationUpdatedTimestamp' => array( - 'description' => 'The time stamp of the last update to the alarm configuration.', - 'type' => 'string', - ), - 'ActionsEnabled' => array( - 'description' => 'Indicates whether actions should be executed during any changes to the alarm\'s state.', - 'type' => 'boolean', - ), - 'OKActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic and triggering an Auto Scaling policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'AlarmActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic and triggering an Auto Scaling policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'InsufficientDataActions' => array( - 'description' => 'The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic or triggering an Auto Scaling policy.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'StateValue' => array( - 'description' => 'The state value for the alarm.', - 'type' => 'string', - ), - 'StateReason' => array( - 'description' => 'A human-readable explanation for the alarm\'s state.', - 'type' => 'string', - ), - 'StateReasonData' => array( - 'description' => 'An explanation for the alarm\'s state in machine-readable JSON format', - 'type' => 'string', - ), - 'StateUpdatedTimestamp' => array( - 'description' => 'The time stamp of the last update to the alarm\'s state.', - 'type' => 'string', - ), - 'MetricName' => array( - 'description' => 'The name of the alarm\'s metric.', - 'type' => 'string', - ), - 'Namespace' => array( - 'description' => 'The namespace of alarm\'s associated metric.', - 'type' => 'string', - ), - 'Statistic' => array( - 'description' => 'The statistic to apply to the alarm\'s associated metric.', - 'type' => 'string', - ), - 'Dimensions' => array( - 'description' => 'The list of dimensions associated with the alarm\'s associated metric.', - 'type' => 'array', - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the dimension.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - ), - ), - ), - ), - 'Period' => array( - 'description' => 'The period in seconds over which the statistic is applied.', - 'type' => 'numeric', - ), - 'Unit' => array( - 'description' => 'The unit of the alarm\'s associated metric.', - 'type' => 'string', - ), - 'EvaluationPeriods' => array( - 'description' => 'The number of periods over which data is compared to the specified threshold.', - 'type' => 'numeric', - ), - 'Threshold' => array( - 'description' => 'The value against which the specified statistic is compared.', - 'type' => 'numeric', - ), - 'ComparisonOperator' => array( - 'description' => 'The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'GetMetricStatisticsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Label' => array( - 'description' => 'A label describing the specified metric.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Datapoints' => array( - 'description' => 'The datapoints for the specified metric.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Datapoint', - 'description' => 'The Datapoint data type encapsulates the statistical data that Amazon CloudWatch computes from metric data.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Timestamp' => array( - 'description' => 'The time stamp used for the datapoint.', - 'type' => 'string', - ), - 'SampleCount' => array( - 'description' => 'The number of metric values that contributed to the aggregate value of this datapoint.', - 'type' => 'numeric', - ), - 'Average' => array( - 'description' => 'The average of metric values that correspond to the datapoint.', - 'type' => 'numeric', - ), - 'Sum' => array( - 'description' => 'The sum of metric values used for the datapoint.', - 'type' => 'numeric', - ), - 'Minimum' => array( - 'description' => 'The minimum metric value used for the datapoint.', - 'type' => 'numeric', - ), - 'Maximum' => array( - 'description' => 'The maximum of the metric value used for the datapoint.', - 'type' => 'numeric', - ), - 'Unit' => array( - 'description' => 'The standard unit used for the datapoint.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ListMetricsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Metrics' => array( - 'description' => 'A list of metrics used to generate statistics for an AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Metric', - 'description' => 'The Metric data type contains information about a specific metric. If you call ListMetrics, Amazon CloudWatch returns information contained by this data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Namespace' => array( - 'description' => 'The namespace of the metric.', - 'type' => 'string', - ), - 'MetricName' => array( - 'description' => 'The name of the metric.', - 'type' => 'string', - ), - 'Dimensions' => array( - 'description' => 'A list of dimensions associated with the metric.', - 'type' => 'array', - 'items' => array( - 'name' => 'Dimension', - 'description' => 'The Dimension data type further expands on the identity of a metric using a Name, Value pair.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the dimension.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value representing the dimension measurement', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string that marks the start of the next batch of returned results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeAlarmHistory' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'AlarmHistoryItems', - ), - 'DescribeAlarms' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'MetricAlarms', - ), - 'DescribeAlarmsForMetric' => array( - 'result_key' => 'MetricAlarms', - ), - 'ListMetrics' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'Metrics', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Aws.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Aws.php deleted file mode 100644 index 77f8d72..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Aws.php +++ /dev/null @@ -1,97 +0,0 @@ -load($config, $globalParameters); - } - - /** - * Get the full path to the default JSON service definition file - * - * @return string - */ - public static function getDefaultServiceDefinition() - { - return __DIR__ . '/Resources/aws-config.php'; - } - - /** - * Constructor - */ - public function __construct() - { - $this->addAlias('_aws', self::getDefaultServiceDefinition()) - ->addAlias('_sdk1', __DIR__ . '/Resources/sdk1-config.php'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php deleted file mode 100644 index f17ca52..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php +++ /dev/null @@ -1,267 +0,0 @@ -get(Options::BASE_URL), $config); - $this->credentials = $credentials; - $this->signature = $signature; - - // Make sure the user agent is prefixed by the SDK version - $this->setUserAgent('aws-sdk-php2/' . Aws::VERSION, true); - - // Add the event listener so that requests are signed before they are sent - $dispatcher = $this->getEventDispatcher(); - $dispatcher->addSubscriber(new SignatureListener($credentials, $signature)); - - if ($backoff = $config->get(Options::BACKOFF)) { - $dispatcher->addSubscriber($backoff, -255); - } - } - - /** - * {@inheritdoc} - */ - public function __call($method, $args = null) - { - if (substr($method, 0, 9) == 'waitUntil') { - // Allow magic method calls for waiters (e.g. $client->waitUntil($resource, $options)) - array_unshift($args, substr($method, 9)); - - return call_user_func_array(array($this, 'waitUntil'), $args); - } else { - return parent::__call(ucfirst($method), $args); - } - } - - /** - * Get an endpoint for a specific region from a service description - * - * @param ServiceDescriptionInterface $description Service description - * @param string $region Region of the endpoint - * @param string $scheme URL scheme - * - * @return string - * @throws InvalidArgumentException - */ - public static function getEndpoint(ServiceDescriptionInterface $description, $region, $scheme) - { - $service = $description->getData('serviceFullName'); - // Lookup the region in the service description - if (!($regions = $description->getData('regions'))) { - throw new InvalidArgumentException("No regions found in the {$service} description"); - } - // Ensure that the region exists for the service - if (!isset($regions[$region])) { - throw new InvalidArgumentException("{$region} is not a valid region for {$service}"); - } - // Ensure that the scheme is valid - if ($regions[$region][$scheme] == false) { - throw new InvalidArgumentException("{$scheme} is not a valid URI scheme for {$service} in {$region}"); - } - - return $scheme . '://' . $regions[$region]['hostname']; - } - - /** - * {@inheritdoc} - */ - public function getCredentials() - { - return $this->credentials; - } - - /** - * {@inheritdoc} - */ - public function setCredentials(CredentialsInterface $credentials) - { - $formerCredentials = $this->credentials; - $this->credentials = $credentials; - - // Dispatch an event that the credentials have been changed - $this->dispatch('client.credentials_changed', array( - 'credentials' => $credentials, - 'former_credentials' => $formerCredentials, - )); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getSignature() - { - return $this->signature; - } - - /** - * {@inheritdoc} - */ - public function getRegions() - { - return $this->serviceDescription->getData('regions'); - } - - /** - * {@inheritdoc} - */ - public function getRegion() - { - return $this->getConfig(Options::REGION); - } - - /** - * {@inheritdoc} - */ - public function setRegion($region) - { - $config = $this->getConfig(); - $formerRegion = $config->get(Options::REGION); - - $baseUrl = self::getEndpoint($this->serviceDescription, $region, $config->get(Options::SCHEME)); - $this->setBaseUrl($baseUrl); - $config->set(Options::BASE_URL, $baseUrl)->set(Options::REGION, $region); - - // Update the signature if necessary - $signature = $this->getSignature(); - if ($signature instanceof EndpointSignatureInterface) { - /** @var $signature EndpointSignatureInterface */ - $signature->setRegionName($region); - } - - // Dispatch an event that the region has been changed - $this->dispatch('client.region_changed', array( - 'region' => $region, - 'former_region' => $formerRegion, - )); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function waitUntil($waiter, array $input = array()) - { - $this->getWaiter($waiter, $input)->wait(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getWaiter($waiter, array $input = array()) - { - return $this->getWaiterFactory()->build($waiter) - ->setClient($this) - ->setConfig($input); - } - - /** - * Set the waiter factory to use with the client - * - * @param WaiterFactoryInterface $waiterFactory Factory used to create waiters - * - * @return self - */ - public function setWaiterFactory(WaiterFactoryInterface $waiterFactory) - { - $this->waiterFactory = $waiterFactory; - - return $this; - } - - /** - * Get the waiter factory used with the class - * - * @return WaiterFactoryInterface - */ - public function getWaiterFactory() - { - if (!$this->waiterFactory) { - $clientClass = get_class($this); - // Use a composite factory that checks for classes first, then config waiters - $this->waiterFactory = new CompositeWaiterFactory(array( - new WaiterClassFactory(substr($clientClass, 0, strrpos($clientClass, '\\')) . '\\Waiter') - )); - if ($this->getDescription()) { - $this->waiterFactory->addFactory(new WaiterConfigFactory($this->getDescription()->getData('waiters'))); - } - } - - return $this->waiterFactory; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AwsClientInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AwsClientInterface.php deleted file mode 100644 index 06d986e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AwsClientInterface.php +++ /dev/null @@ -1,111 +0,0 @@ - 'https'); - - /** - * @var array Default client requirements - */ - protected static $commonConfigRequirements = array(Options::SERVICE_DESCRIPTION); - - /** - * @var string The namespace of the client - */ - protected $clientNamespace; - - /** - * @var array The config options - */ - protected $config = array(); - - /** - * @var array The config defaults - */ - protected $configDefaults = array(); - - /** - * @var array The config requirements - */ - protected $configRequirements = array(); - - /** - * @var ExceptionParserInterface The Parser interface for the client - */ - protected $exceptionParser; - - /** - * @var array Array of configuration data for iterators available for the client - */ - protected $iteratorsConfig = array(); - - /** - * Factory method for creating the client builder - * - * @param string $namespace The namespace of the client - * - * @return ClientBuilder - */ - public static function factory($namespace = null) - { - return new static($namespace); - } - - /** - * Constructs a client builder - * - * @param string $namespace The namespace of the client - */ - public function __construct($namespace = null) - { - $this->clientNamespace = $namespace; - } - - /** - * Sets the config options - * - * @param array|Collection $config The config options - * - * @return ClientBuilder - */ - public function setConfig($config) - { - $this->config = $this->processArray($config); - - return $this; - } - - /** - * Sets the config options' defaults - * - * @param array|Collection $defaults The default values - * - * @return ClientBuilder - */ - public function setConfigDefaults($defaults) - { - $this->configDefaults = $this->processArray($defaults); - - return $this; - } - - /** - * Sets the required config options - * - * @param array|Collection $required The required config options - * - * @return ClientBuilder - */ - public function setConfigRequirements($required) - { - $this->configRequirements = $this->processArray($required); - - return $this; - } - - /** - * Sets the exception parser. If one is not provided the builder will use - * the default XML exception parser. - * - * @param ExceptionParserInterface $parser The exception parser - * - * @return ClientBuilder - */ - public function setExceptionParser(ExceptionParserInterface $parser) - { - $this->exceptionParser = $parser; - - return $this; - } - - /** - * Set the configuration for the client's iterators - * - * @param array $config Configuration data for client's iterators - * - * @return ClientBuilder - */ - public function setIteratorsConfig(array $config) - { - $this->iteratorsConfig = $config; - - return $this; - } - - /** - * Performs the building logic using all of the parameters that have been - * set and falling back to default values. Returns an instantiate service - * client with credentials prepared and plugins attached. - * - * @return AwsClientInterface - * @throws InvalidArgumentException - */ - public function build() - { - // Resolve configuration - $config = Collection::fromConfig( - $this->config, - array_merge(self::$commonConfigDefaults, $this->configDefaults), - (self::$commonConfigRequirements + $this->configRequirements) - ); - - // Set values from the service description - $signature = $this->getSignature($this->updateConfigFromDescription($config), $config); - - // Resolve credentials - if (!$credentials = $config->get('credentials')) { - $credentials = Credentials::factory($config); - } - - $backoff = $config->get(Options::BACKOFF); - if ($backoff === null) { - $backoff = BackoffPlugin::getExponentialBackoff(); - $config->set(Options::BACKOFF, $backoff); - } - - if ($backoff) { - $this->addBackoffLogger($backoff, $config); - } - - // Determine service and class name - $clientClass = 'Aws\Common\Client\DefaultClient'; - if ($this->clientNamespace) { - $serviceName = substr($this->clientNamespace, strrpos($this->clientNamespace, '\\') + 1); - $clientClass = $this->clientNamespace . '\\' . $serviceName . 'Client'; - } - - /** @var $client AwsClientInterface */ - $client = new $clientClass($credentials, $signature, $config); - $client->setDescription($config->get(Options::SERVICE_DESCRIPTION)); - - // Add exception marshaling so that more descriptive exception are thrown - if ($this->clientNamespace) { - $exceptionFactory = new NamespaceExceptionFactory( - $this->exceptionParser ?: new DefaultXmlExceptionParser(), - "{$this->clientNamespace}\\Exception", - "{$this->clientNamespace}\\Exception\\{$serviceName}Exception" - ); - $client->addSubscriber(new ExceptionListener($exceptionFactory)); - } - - // Add the UserAgentPlugin to append to the User-Agent header of requests - $client->addSubscriber(new UserAgentListener()); - - // Filters used for the cache plugin - $client->getConfig()->set( - 'params.cache.key_filter', - 'header=date,x-amz-date,x-amz-security-token,x-amzn-authorization' - ); - - // Set the iterator resource factory based on the provided iterators config - $client->setResourceIteratorFactory(new AwsResourceIteratorFactory( - $this->iteratorsConfig, - new ResourceIteratorClassFactory($this->clientNamespace . '\\Iterator') - )); - - // Disable parameter validation if needed - if ($config->get(Options::VALIDATION) === false) { - $params = $config->get('command.params') ?: array(); - $params['command.disable_validation'] = true; - $config->set('command.params', $params); - } - - return $client; - } - - /** - * Add backoff logging to the backoff plugin if needed - * - * @param BackoffPlugin $plugin Backoff plugin - * @param Collection $config Configuration settings - * - * @throws InvalidArgumentException - */ - protected function addBackoffLogger(BackoffPlugin $plugin, Collection $config) - { - // The log option can be set to `debug` or an instance of a LogAdapterInterface - if ($logger = $config->get(Options::BACKOFF_LOGGER)) { - $format = $config->get(Options::BACKOFF_LOGGER_TEMPLATE); - if ($logger === 'debug') { - $logger = new ClosureLogAdapter(function ($message) { - trigger_error($message . "\n"); - }); - } elseif (!($logger instanceof LogAdapterInterface)) { - throw new InvalidArgumentException( - Options::BACKOFF_LOGGER . ' must be set to `debug` or an instance of ' - . 'Guzzle\\Common\\Log\\LogAdapterInterface' - ); - } - // Create the plugin responsible for logging exponential backoff retries - $logPlugin = new BackoffLogger($logger); - // You can specify a custom format or use the default - if ($format) { - $logPlugin->setTemplate($format); - } - $plugin->addSubscriber($logPlugin); - } - } - - /** - * Ensures that an array (e.g. for config data) is actually in array form - * - * @param array|Collection $array The array data - * - * @return array - * @throws InvalidArgumentException if the arg is not an array or Collection - */ - protected function processArray($array) - { - if ($array instanceof Collection) { - $array = $array->getAll(); - } - - if (!is_array($array)) { - throw new InvalidArgumentException('The config must be provided as an array or Collection.'); - } - - return $array; - } - - /** - * Update a configuration object from a service description - * - * @param Collection $config Config to update - * - * @return ServiceDescription - * @throws InvalidArgumentException - */ - protected function updateConfigFromDescription(Collection $config) - { - $description = $config->get(Options::SERVICE_DESCRIPTION); - if (!($description instanceof ServiceDescription)) { - $description = ServiceDescription::factory($description); - $config->set(Options::SERVICE_DESCRIPTION, $description); - } - - if (!$config->get(Options::SERVICE)) { - $config->set(Options::SERVICE, $description->getData('endpointPrefix')); - } - - if ($iterators = $description->getData('iterators')) { - $this->setIteratorsConfig($iterators); - } - - // Ensure that the service description has regions - if (!$description->getData('regions')) { - throw new InvalidArgumentException( - 'No regions found in the ' . $description->getData('serviceFullName'). ' description' - ); - } - - $region = $config->get(Options::REGION); - if (!$region) { - if (!$description->getData('globalEndpoint')) { - throw new InvalidArgumentException( - 'A region is required when using ' . $description->getData('serviceFullName') - . '. Set "region" to one of: ' . implode(', ', array_keys($description->getData('regions'))) - ); - } - $region = 'us-east-1'; - $config->set(Options::REGION, $region); - } - - if (!$config->get(Options::BASE_URL)) { - // Set the base URL using the scheme and hostname of the service's region - $config->set(Options::BASE_URL, AbstractClient::getEndpoint( - $description, - $region, - $config->get(Options::SCHEME) - )); - } - - return $description; - } - - /** - * Return an appropriate signature object for a a client based on a description - * - * @param ServiceDescription $description Description that holds a signature option - * @param Collection $config Configuration options - * - * @return SignatureInterface - * @throws InvalidArgumentException - */ - protected function getSignature(ServiceDescription $description, Collection $config) - { - if (!$signature = $config->get(Options::SIGNATURE)) { - switch ($description->getData('signatureVersion')) { - case 'v2': - $signature = new SignatureV2(); - break; - case 'v3': - $signature = new SignatureV3(); - break; - case 'v3https': - $signature = new SignatureV3Https(); - break; - case 'v4': - $signature = new SignatureV4(); - break; - default: - throw new InvalidArgumentException('Service description does not specify a valid signatureVersion'); - } - } - - // Allow a custom service name or region value to be provided - if ($signature instanceof EndpointSignatureInterface) { - - // Determine the service name to use when signing - if (!$service = $config->get(Options::SIGNATURE_SERVICE)) { - if (!$service = $description->getData('signingName')) { - $service = $description->getData('endpointPrefix'); - } - } - $signature->setServiceName($service); - - // Determine the region to use when signing requests - if (!$region = $config->get(Options::SIGNATURE_REGION)) { - $region = $config->get(Options::REGION); - } - $signature->setRegionName($region); - } - - return $signature; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/DefaultClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/DefaultClient.php deleted file mode 100644 index 4bc257a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/DefaultClient.php +++ /dev/null @@ -1,76 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array(Options::SCHEME => 'https')) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UploadBodyListener.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UploadBodyListener.php deleted file mode 100644 index 5aa4eed..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UploadBodyListener.php +++ /dev/null @@ -1,97 +0,0 @@ -commands = $commands; - $this->bodyParameter = (string) $bodyParameter; - $this->sourceParameter = (string) $sourceParameter; - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array('command.before_prepare' => array('onCommandBeforePrepare')); - } - - /** - * Converts filenames and file handles into EntityBody objects before the command is validated - * - * @param Event $event Event emitted - */ - public function onCommandBeforePrepare(Event $event) - { - /** @var $command Command */ - $command = $event['command']; - if (in_array($command->getName(), $this->commands)) { - // Get the interesting parameters - $source = $command->get($this->sourceParameter); - $body = $command->get($this->bodyParameter); - - // If a file path is passed in then get the file handle - if (is_string($source) && file_exists($source)) { - $body = fopen($source, 'r'); - } - - if (null !== $body) { - $body = EntityBody::factory($body); - // Apply a ContentType parameter to the command if one is not present - if (!$command->get('ContentType') && $command->getOperation()->hasParam('ContentType')) { - $command->set('ContentType', $body->getContentType()); - } - } - - // Prepare the body parameter and remove the source file parameter - $command->remove($this->sourceParameter); - $command->set($this->bodyParameter, $body); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UserAgentListener.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UserAgentListener.php deleted file mode 100644 index 67bf379..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UserAgentListener.php +++ /dev/null @@ -1,58 +0,0 @@ - 'onBeforeSend'); - } - - /** - * Adds strings to the User-Agent header using the `ua.append` parameter of a command - * - * @param Event $event Event emitted - */ - public function onBeforeSend(Event $event) - { - $command = $event['command']; - if ($userAgentAppends = $command->get(self::OPTION)) { - $request = $command->getRequest(); - $userAgent = (string) $request->getHeader('User-Agent'); - foreach ((array) $userAgentAppends as $append) { - $userAgent .= " {$append}"; - } - $request->setHeader('User-Agent', $userAgent); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/AwsQueryVisitor.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/AwsQueryVisitor.php deleted file mode 100644 index b6d1409..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/AwsQueryVisitor.php +++ /dev/null @@ -1,100 +0,0 @@ -customResolver($value, $param, $query, $param->getWireName()); - $request->addPostFields($query); - } - - /** - * Map nested parameters into the location_key based parameters - * - * @param array $value Value to map - * @param Parameter $param Parameter that holds information about the current key - * @param array $query Built up query string values - * @param string $prefix String to prepend to sub query values - */ - protected function customResolver($value, Parameter $param, array &$query, $prefix = '') - { - switch ($param->getType()) { - case 'object': - $this->resolveObject($param, $value, $prefix, $query); - break; - case 'array': - $this->resolveArray($param, $value, $prefix, $query); - break; - default: - $query[$prefix] = $param->filter($value); - } - } - - /** - * Custom handling for objects - * - * @param Parameter $param Parameter for the object - * @param array $value Value that is set for this parameter - * @param string $prefix Prefix for the resulting key - * @param array $query Query string array passed by reference - */ - protected function resolveObject(Parameter $param, array $value, $prefix, array &$query) - { - // Maps are implemented using additional properties - $hasAdditionalProperties = ($param->getAdditionalProperties() instanceof Parameter); - $additionalPropertyCount = 0; - - foreach ($value as $name => $v) { - if ($subParam = $param->getProperty($name)) { - // if the parameter was found by name as a regular property - $key = $prefix . '.' . $subParam->getWireName(); - $this->customResolver($v, $subParam, $query, $key); - } elseif ($hasAdditionalProperties) { - // Handle map cases like &Attribute.1.Name=&Attribute.1.Value= - $additionalPropertyCount++; - $query["{$prefix}.{$additionalPropertyCount}.Name"] = $name; - $newPrefix = "{$prefix}.{$additionalPropertyCount}.Value"; - if (is_array($v)) { - $this->customResolver($v, $param->getAdditionalProperties(), $query, $newPrefix); - } else { - $query[$newPrefix] = $param->filter($v); - } - } - } - } - - /** - * Custom handling for arrays - * - * @param Parameter $param Parameter for the object - * @param array $value Value that is set for this parameter - * @param string $prefix Prefix for the resulting key - * @param array $query Query string array passed by reference - */ - protected function resolveArray(Parameter $param, array $value, $prefix, array &$query) - { - $offset = $param->getData('offset') ?: 1; - foreach ($value as $index => $v) { - $index += $offset; - if (is_array($v) && $items = $param->getItems()) { - $this->customResolver($v, $items, $query, $prefix . '.' . $index); - } else { - $query[$prefix . '.' . $index] = $param->filter($v); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/JsonCommand.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/JsonCommand.php deleted file mode 100644 index 15ad593..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/JsonCommand.php +++ /dev/null @@ -1,47 +0,0 @@ -request->getBody()) { - $this->request->setBody('{}'); - } - - // Never send the Expect header when interacting with a JSON query service - $this->request->removeHeader('Expect'); - - // Always send JSON requests as a raw string rather than using streams to avoid issues with - // cURL error code 65: "necessary data rewind wasn't possible". - // This could be removed after PHP addresses https://bugs.php.net/bug.php?id=47204 - $this->request->getCurlOptions()->set(CurlHandle::BODY_AS_STRING, true); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/QueryCommand.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/QueryCommand.php deleted file mode 100644 index 63eb8e8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/QueryCommand.php +++ /dev/null @@ -1,53 +0,0 @@ -getRequestSerializer()->addVisitor('aws.query', self::$queryVisitor); - $this->getResponseParser()->addVisitor('xml', self::$xmlVisitor); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/XmlResponseLocationVisitor.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/XmlResponseLocationVisitor.php deleted file mode 100644 index c7a41fc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Command/XmlResponseLocationVisitor.php +++ /dev/null @@ -1,69 +0,0 @@ -getOperation(); - if ($operation->getServiceDescription()->getData('resultWrapped')) { - $wrappingNode = $operation->getName() . 'Result'; - if (isset($result[$wrappingNode])) { - $result = $result[$wrappingNode] + $result; - unset($result[$wrappingNode]); - } - } - } - - /** - * Accounts for wrapper nodes - * {@inheritdoc} - */ - public function visit(CommandInterface $command, Response $response, Parameter $param, &$value, $context = null) - { - parent::visit($command, $response, $param, $value, $context); - - // Account for wrapper nodes (e.g. RDS, ElastiCache, etc) - if ($param->getData('wrapper')) { - $wireName = $param->getWireName(); - $value += $value[$wireName]; - unset($value[$wireName]); - } - } - - /** - * Filter used when converting XML maps into associative arrays in service descriptions - * - * @param array $value Value to filter - * @param string $entryName Name of each entry - * @param string $keyName Name of each key - * @param string $valueName Name of each value - * - * @return array Returns the map of the XML data - */ - public static function xmlMap($value, $entryName, $keyName, $valueName) - { - $result = array(); - foreach ($value as $entry) { - $result[$entry[$keyName]] = $entry[$valueName]; - } - - return $result; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/AbstractCredentialsDecorator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/AbstractCredentialsDecorator.php deleted file mode 100644 index b3a1df9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/AbstractCredentialsDecorator.php +++ /dev/null @@ -1,136 +0,0 @@ -credentials = $credentials; - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return $this->credentials->serialize(); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - $this->credentials = new Credentials('', ''); - $this->credentials->unserialize($serialized); - } - - /** - * {@inheritdoc} - */ - public function getAccessKeyId() - { - return $this->credentials->getAccessKeyId(); - } - - /** - * {@inheritdoc} - */ - public function getSecretKey() - { - return $this->credentials->getSecretKey(); - } - - /** - * {@inheritdoc} - */ - public function getSecurityToken() - { - return $this->credentials->getSecurityToken(); - } - - /** - * {@inheritdoc} - */ - public function getExpiration() - { - return $this->credentials->getExpiration(); - } - - /** - * {@inheritdoc} - */ - public function isExpired() - { - return $this->credentials->isExpired(); - } - - /** - * {@inheritdoc} - */ - public function setAccessKeyId($key) - { - $this->credentials->setAccessKeyId($key); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setSecretKey($secret) - { - $this->credentials->setSecretKey($secret); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setSecurityToken($token) - { - $this->credentials->setSecurityToken($token); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setExpiration($timestamp) - { - $this->credentials->setExpiration($timestamp); - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/AbstractRefreshableCredentials.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/AbstractRefreshableCredentials.php deleted file mode 100644 index 235bf9d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/AbstractRefreshableCredentials.php +++ /dev/null @@ -1,76 +0,0 @@ -credentials->isExpired()) { - $this->refresh(); - } - - return $this->credentials->getAccessKeyId(); - } - - /** - * {@inheritdoc} - */ - public function getSecretKey() - { - if ($this->credentials->isExpired()) { - $this->refresh(); - } - - return $this->credentials->getSecretKey(); - } - - /** - * {@inheritdoc} - */ - public function getSecurityToken() - { - if ($this->credentials->isExpired()) { - $this->refresh(); - } - - return $this->credentials->getSecurityToken(); - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - if ($this->credentials->isExpired()) { - $this->refresh(); - } - - return $this->credentials->serialize(); - } - - /** - * Attempt to get new credentials - */ - abstract protected function refresh(); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/CacheableCredentials.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/CacheableCredentials.php deleted file mode 100644 index fbebf78..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/CacheableCredentials.php +++ /dev/null @@ -1,73 +0,0 @@ -credentials = $credentials; - $this->cache = $cache; - $this->cacheKey = $cacheKey; - } - - /** - * Attempt to get new credentials from cache or from the adapted object - */ - protected function refresh() - { - if (!$cache = $this->cache->fetch($this->cacheKey)) { - // The credentials were not found, so try again and cache if new - $this->credentials->getAccessKeyId(); - if (!$this->credentials->isExpired()) { - // The credentials were updated, so cache them - $this->cache->save($this->cacheKey, $this->credentials, $this->credentials->getExpiration() - time()); - } - } else { - // The credentials were found in cache, so update the adapter object - // if the cached credentials are not expired - if (!$cache->isExpired()) { - $this->credentials->setAccessKeyId($cache->getAccessKeyId()); - $this->credentials->setSecretKey($cache->getSecretKey()); - $this->credentials->setSecurityToken($cache->getSecurityToken()); - $this->credentials->setExpiration($cache->getExpiration()); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/Credentials.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/Credentials.php deleted file mode 100644 index dfb19c9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/Credentials.php +++ /dev/null @@ -1,276 +0,0 @@ - null, - Options::SECRET => null, - Options::TOKEN => null, - Options::TOKEN_TTD => null, - Options::CREDENTIALS_CACHE => null, - Options::CREDENTIALS_CACHE_KEY => null, - Options::CREDENTIALS_CLIENT => null - ); - } - - /** - * Factory method for creating new credentials. This factory method will - * create the appropriate credentials object with appropriate decorators - * based on the passed configuration options. - * - * @param array $config Options to use when instantiating the credentials - * - * @return CredentialsInterface - * @throws InvalidArgumentException If the caching options are invalid - * @throws RuntimeException If using the default cache and APC is disabled - */ - public static function factory($config = array()) - { - // Add default key values - foreach (self::getConfigDefaults() as $key => $value) { - if (!isset($config[$key])) { - $config[$key] = $value; - } - } - - // Start tracking the cache key - $cacheKey = $config[Options::CREDENTIALS_CACHE_KEY]; - - // Create the credentials object - if (!$config[Options::KEY] || !$config[Options::SECRET]) { - // No keys were provided, so attempt to retrieve some from the environment - $envKey = isset($_SERVER[self::ENV_KEY]) ? $_SERVER[self::ENV_KEY] : getenv(self::ENV_KEY); - $envSecret = isset($_SERVER[self::ENV_SECRET]) ? $_SERVER[self::ENV_SECRET] : getenv(self::ENV_SECRET); - if ($envKey && $envSecret) { - // Use credentials set in the environment variables - $credentials = new static($envKey, $envSecret); - } else { - // Use instance profile credentials (available on EC2 instances) - $credentials = new RefreshableInstanceProfileCredentials( - new static('', '', '', 1), - $config[Options::CREDENTIALS_CLIENT] - ); - } - // If no cache key was set, use the crc32 hostname of the server - $cacheKey = $cacheKey ?: 'credentials_' . crc32(gethostname()); - } else { - // Instantiate using short or long term credentials - $credentials = new static( - $config[Options::KEY], - $config[Options::SECRET], - $config[Options::TOKEN], - $config[Options::TOKEN_TTD] - ); - // If no cache key was set, use the access key ID - $cacheKey = $cacheKey ?: 'credentials_' . $config[Options::KEY]; - } - - // Check if the credentials are refreshable, and if so, configure caching - $cache = $config[Options::CREDENTIALS_CACHE]; - if ($cacheKey && $cache) { - if ($cache === 'true' || $cache === true) { - // If no cache adapter was provided, then create one for the user - // @codeCoverageIgnoreStart - if (!extension_loaded('apc')) { - throw new RequiredExtensionNotLoadedException('PHP has not been compiled with APC. Unable to cache ' - . 'the credentials.'); - } elseif (!class_exists('Doctrine\Common\Cache\ApcCache')) { - throw new RuntimeException( - 'Cannot set ' . Options::CREDENTIALS_CACHE . ' to true because the Doctrine cache component is ' - . 'not installed. Either install doctrine/cache or pass in an instantiated ' - . 'Guzzle\Cache\CacheAdapterInterface object' - ); - } - // @codeCoverageIgnoreEnd - $cache = new DoctrineCacheAdapter(new \Doctrine\Common\Cache\ApcCache()); - } elseif (!($cache instanceof CacheAdapterInterface)) { - throw new InvalidArgumentException('Unable to utilize caching with the specified options'); - } - // Decorate the credentials with a cache - $credentials = new CacheableCredentials($credentials, $cache, $cacheKey); - } - - return $credentials; - } - - /** - * Constructs a new BasicAWSCredentials object, with the specified AWS - * access key and AWS secret key - * - * @param string $accessKeyId AWS access key ID - * @param string $secretAccessKey AWS secret access key - * @param string $token Security token to use - * @param int $expiration UNIX timestamp for when credentials expire - */ - public function __construct($accessKeyId, $secretAccessKey, $token = null, $expiration = null) - { - $this->key = trim($accessKeyId); - $this->secret = trim($secretAccessKey); - $this->token = $token; - $this->ttd = $expiration; - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return json_encode(array( - Options::KEY => $this->key, - Options::SECRET => $this->secret, - Options::TOKEN => $this->token, - Options::TOKEN_TTD => $this->ttd - )); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - $data = json_decode($serialized, true); - $this->key = $data[Options::KEY]; - $this->secret = $data[Options::SECRET]; - $this->token = $data[Options::TOKEN]; - $this->ttd = $data[Options::TOKEN_TTD]; - } - - /** - * {@inheritdoc} - */ - public function getAccessKeyId() - { - return $this->key; - } - - /** - * {@inheritdoc} - */ - public function getSecretKey() - { - return $this->secret; - } - - /** - * {@inheritdoc} - */ - public function getSecurityToken() - { - return $this->token; - } - - /** - * {@inheritdoc} - */ - public function getExpiration() - { - return $this->ttd; - } - - /** - * {@inheritdoc} - */ - public function isExpired() - { - return $this->ttd !== null && time() >= $this->ttd; - } - - /** - * {@inheritdoc} - */ - public function setAccessKeyId($key) - { - $this->key = $key; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setSecretKey($secret) - { - $this->secret = $secret; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setSecurityToken($token) - { - $this->token = $token; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setExpiration($timestamp) - { - $this->ttd = $timestamp; - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/CredentialsInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/CredentialsInterface.php deleted file mode 100644 index dd43037..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Credentials/CredentialsInterface.php +++ /dev/null @@ -1,96 +0,0 @@ -credentials = $credentials; - $this->client = $client ?: InstanceMetadataClient::factory(); - } - - /** - * Attempt to get new credentials from the instance profile - * - * @throws InstanceProfileCredentialsException On error - */ - protected function refresh() - { - $credentials = $this->client->getInstanceProfileCredentials(); - $this->credentials->setAccessKeyId($credentials->getAccessKeyId()) - ->setSecretKey($credentials->getSecretKey()) - ->setSecurityToken($credentials->getSecurityToken()) - ->setExpiration($credentials->getExpiration()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Enum.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Enum.php deleted file mode 100644 index 7f4d356..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Enum.php +++ /dev/null @@ -1,55 +0,0 @@ -getConstants(); - } - - return self::$cache[$class]; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Enum/ClientOptions.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Enum/ClientOptions.php deleted file mode 100644 index 462c246..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Enum/ClientOptions.php +++ /dev/null @@ -1,146 +0,0 @@ -factory = $factory; - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array('request.error' => array('onRequestError', -1)); - } - - /** - * Throws a more meaningful request exception if available - * - * @param Event $event Event emitted - */ - public function onRequestError(Event $event) - { - $e = $this->factory->fromResponse($event['response']); - $event->stopPropagation(); - throw $e; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/InstanceProfileCredentialsException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/InstanceProfileCredentialsException.php deleted file mode 100644 index fb1dcf1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/InstanceProfileCredentialsException.php +++ /dev/null @@ -1,50 +0,0 @@ -statusCode = $code; - } - - /** - * Get the error response code from the service - * - * @return string|null - */ - public function getStatusCode() - { - return $this->statusCode; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/InvalidArgumentException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/InvalidArgumentException.php deleted file mode 100644 index 4360a00..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/InvalidArgumentException.php +++ /dev/null @@ -1,22 +0,0 @@ -getMessage(), - 0, - $exception - ); - - $this->state = $state; - } - - /** - * Get the state of the transfer - * - * @return TransferStateInterface - */ - public function getState() - { - return $this->state; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/NamespaceExceptionFactory.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/NamespaceExceptionFactory.php deleted file mode 100644 index 804f46c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/NamespaceExceptionFactory.php +++ /dev/null @@ -1,100 +0,0 @@ -parser = $parser; - $this->baseNamespace = $baseNamespace; - $this->defaultException = $defaultException; - } - - /** - * {@inheritdoc} - */ - public function fromResponse(Response $response) - { - $parts = $this->parser->parse($response); - - // Removing leading 'AWS.' and embedded periods - $className = $this->baseNamespace . '\\' . str_replace(array('AWS.', '.'), '', $parts['code']); - if (substr($className, -9) !== 'Exception') { - $className .= 'Exception'; - } - - $className = class_exists($className) ? $className : $this->defaultException; - - return $this->createException($className, $response, $parts); - } - - /** - * Create an prepare an exception object - * - * @param string $className Name of the class to create - * @param Response $response Response received - * @param array $parts Parsed exception data - * - * @return \Exception - */ - protected function createException($className, Response $response, array $parts) - { - $class = new $className($parts['message']); - - if ($class instanceof ServiceResponseException) { - $class->setExceptionCode($parts['code']); - $class->setExceptionType($parts['type']); - $class->setResponse($response); - $class->setRequestId($parts['request_id']); - } - - return $class; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/OutOfBoundsException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/OutOfBoundsException.php deleted file mode 100644 index 6738c0c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/OutOfBoundsException.php +++ /dev/null @@ -1,22 +0,0 @@ - null, - 'message' => null, - 'type' => $response->isClientError() ? 'client' : 'server', - 'request_id' => (string) $response->getHeader('x-amzn-RequestId'), - 'parsed' => null - ); - - // Parse the json and normalize key casings - if (null !== $json = json_decode($response->getBody(true), true)) { - $data['parsed'] = array_change_key_case($json); - } - - // Do additional, protocol-specific parsing and return the result - $data = $this->doParse($data, $response); - - // Remove "Fault" suffix from exception names - if (isset($data['code']) && strpos($data['code'], 'Fault')) { - $data['code'] = preg_replace('/^([a-zA-Z]+)Fault$/', '$1', $data['code']); - } - - return $data; - } - - /** - * Pull relevant exception data out of the parsed json - * - * @param array $data The exception data - * @param Response $response The response from the service containing the error - * - * @return array - */ - abstract protected function doParse(array $data, Response $response); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/Parser/DefaultXmlExceptionParser.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/Parser/DefaultXmlExceptionParser.php deleted file mode 100644 index 0e0d17b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/Parser/DefaultXmlExceptionParser.php +++ /dev/null @@ -1,98 +0,0 @@ - null, - 'message' => null, - 'type' => $response->isClientError() ? 'client' : 'server', - 'request_id' => null, - 'parsed' => null - ); - - if ($body = $response->getBody(true)) { - $this->parseBody(new \SimpleXMLElement($body), $data); - } else { - $this->parseHeaders($response, $data); - } - - return $data; - } - - /** - * Parses additional exception information from the response headers - * - * @param Response $response The response from the request - * @param array $data The current set of exception data - */ - protected function parseHeaders(Response $response, array &$data) - { - $data['message'] = $response->getStatusCode() . ' ' . $response->getReasonPhrase(); - if ($requestId = $response->getHeader('x-amz-request-id')) { - $data['request_id'] = $requestId; - $data['message'] .= " (Request-ID: $requestId)"; - } - } - - /** - * Parses additional exception information from the response body - * - * @param \SimpleXMLElement $body The response body as XML - * @param array $data The current set of exception data - */ - protected function parseBody(\SimpleXMLElement $body, array &$data) - { - $data['parsed'] = $body; - - $namespaces = $body->getDocNamespaces(); - if (isset($namespaces[''])) { - // Account for the default namespace being defined and PHP not being able to handle it :( - $body->registerXPathNamespace('ns', $namespaces['']); - $prefix = 'ns:'; - } else { - $prefix = ''; - } - - if ($tempXml = $body->xpath("//{$prefix}Code[1]")) { - $data['code'] = (string) $tempXml[0]; - } - - if ($tempXml = $body->xpath("//{$prefix}Message[1]")) { - $data['message'] = (string) $tempXml[0]; - } - - $tempXml = $body->xpath("//{$prefix}RequestId[1]"); - if (empty($tempXml)) { - $tempXml = $body->xpath("//{$prefix}RequestID[1]"); - } - if (isset($tempXml[0])) { - $data['request_id'] = (string) $tempXml[0]; - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/Parser/ExceptionParserInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/Parser/ExceptionParserInterface.php deleted file mode 100644 index 9f25ef3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/Parser/ExceptionParserInterface.php +++ /dev/null @@ -1,40 +0,0 @@ -getHeader('x-amzn-ErrorType')) { - $data['code'] = substr($code, 0, strpos($code, ':')); - } - - return $data; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/RequiredExtensionNotLoadedException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/RequiredExtensionNotLoadedException.php deleted file mode 100644 index c4a072c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/RequiredExtensionNotLoadedException.php +++ /dev/null @@ -1,22 +0,0 @@ -exceptionCode = $code; - } - - /** - * Get the exception code - * - * @return string|null - */ - public function getExceptionCode() - { - return $this->exceptionCode; - } - - /** - * Set the exception type - * - * @param string $type Exception type - */ - public function setExceptionType($type) - { - $this->exceptionType = $type; - } - - /** - * Get the exception type (one of client or server) - * - * @return string|null - */ - public function getExceptionType() - { - return $this->exceptionType; - } - - /** - * Set the request ID - * - * @param string $id Request ID - */ - public function setRequestId($id) - { - $this->requestId = $id; - } - - /** - * Get the Request ID - * - * @return string|null - */ - public function getRequestId() - { - return $this->requestId; - } - - /** - * Set the associated response - * - * @param Response $response Response - */ - public function setResponse(Response $response) - { - $this->response = $response; - } - - /** - * Get the associated response object - * - * @return Response|null - */ - public function getResponse() - { - return $this->response; - } - - /** - * Get the status code of the response - * - * @return int|null - */ - public function getStatusCode() - { - return $this->response ? $this->response->getStatusCode() : null; - } - - /** - * Cast to a string - * - * @return string - */ - public function __toString() - { - $message = get_class($this) . ': ' - . 'AWS Error Code: ' . $this->getExceptionCode() . ', ' - . 'Status Code: ' . $this->getStatusCode() . ', ' - . 'AWS Request ID: ' . $this->getRequestId() . ', ' - . 'AWS Error Type: ' . $this->getExceptionType() . ', ' - . 'AWS Error Message: ' . $this->getMessage(); - - // Add the User-Agent if available - if ($this->response && $this->response->getRequest()) { - $message .= ', ' . 'User-Agent: ' . $this->response->getRequest()->getHeader('User-Agent'); - } - - return $message; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/UnexpectedValueException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/UnexpectedValueException.php deleted file mode 100644 index 2de6fc6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/UnexpectedValueException.php +++ /dev/null @@ -1,22 +0,0 @@ -context = hash_init($algorithm); - } - - /** - * {@inheritdoc} - */ - public function addData($data) - { - if (!$this->context) { - throw new LogicException('You may not add more data to a finalized chunk hash.'); - } - - hash_update($this->context, $data); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getHash($returnBinaryForm = false) - { - if (!$this->hash) { - $this->hashRaw = hash_final($this->context, true); - $this->hash = HashUtils::binToHex($this->hashRaw); - $this->context = null; - } - - return $returnBinaryForm ? $this->hashRaw : $this->hash; - } - - /** - * {@inheritdoc} - */ - public function __clone() - { - if ($this->context) { - $this->context = hash_copy($this->context); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Hash/ChunkHashInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Hash/ChunkHashInterface.php deleted file mode 100644 index 5fcf9a5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Hash/ChunkHashInterface.php +++ /dev/null @@ -1,52 +0,0 @@ -checksums = $inBinaryForm ? $checksums : array_map('Aws\Common\Hash\HashUtils::hexToBin', $checksums); - - // Pre-calculate hash - $treeHash->getHash(); - - return $treeHash; - } - - /** - * Create a tree hash from a content body - * - * @param string|resource|EntityBody $content Content to create a tree hash for - * @param string $algorithm A valid hash algorithm name as returned by `hash_algos()` - * - * @return TreeHash - */ - public static function fromContent($content, $algorithm = self::DEFAULT_ALGORITHM) - { - $treeHash = new self($algorithm); - - // Read the data in 1MB chunks and add to tree hash - $content = EntityBody::factory($content); - while ($data = $content->read(Size::MB)) { - $treeHash->addData($data); - } - - // Pre-calculate hash - $treeHash->getHash(); - - return $treeHash; - } - - /** - * Validates an entity body with a tree hash checksum - * - * @param string|resource|EntityBody $content Content to create a tree hash for - * @param string $checksum The checksum to use for validation - * @param string $algorithm A valid hash algorithm name as returned by `hash_algos()` - * - * @return bool - */ - public static function validateChecksum($content, $checksum, $algorithm = self::DEFAULT_ALGORITHM) - { - $treeHash = self::fromContent($content, $algorithm); - - return ($checksum === $treeHash->getHash()); - } - - /** - * {@inheritdoc} - */ - public function __construct($algorithm = self::DEFAULT_ALGORITHM) - { - HashUtils::validateAlgorithm($algorithm); - $this->algorithm = $algorithm; - } - - /** - * {@inheritdoc} - * @throws LogicException if the root tree hash is already calculated - * @throws InvalidArgumentException if the data is larger than 1MB - */ - public function addData($data) - { - // Error if hash is already calculated - if ($this->hash) { - throw new LogicException('You may not add more data to a finalized tree hash.'); - } - - // Make sure that only 1MB chunks or smaller get passed in - if (strlen($data) > Size::MB) { - throw new InvalidArgumentException('The chunk of data added is too large for tree hashing.'); - } - - // Store the raw hash of this data segment - $this->checksums[] = hash($this->algorithm, $data, true); - - return $this; - } - - /** - * Add a checksum to the tree hash directly - * - * @param string $checksum The checksum to add - * @param bool $inBinaryForm Whether or not the checksum is already in binary form - * - * @return self - * @throws LogicException if the root tree hash is already calculated - */ - public function addChecksum($checksum, $inBinaryForm = false) - { - // Error if hash is already calculated - if ($this->hash) { - throw new LogicException('You may not add more checksums to a finalized tree hash.'); - } - - // Convert the checksum to binary form if necessary - $this->checksums[] = $inBinaryForm ? $checksum : HashUtils::hexToBin($checksum); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getHash($returnBinaryForm = false) - { - if (!$this->hash) { - // Perform hashes up the tree to arrive at the root checksum of the tree hash - $hashes = $this->checksums; - while (count($hashes) > 1) { - $sets = array_chunk($hashes, 2); - $hashes = array(); - foreach ($sets as $set) { - $hashes[] = (count($set) === 1) ? $set[0] : hash($this->algorithm, $set[0] . $set[1], true); - } - } - - $this->hashRaw = $hashes[0]; - $this->hash = HashUtils::binToHex($this->hashRaw); - } - - return $returnBinaryForm ? $this->hashRaw : $this->hash; - } - - /** - * @return array Array of raw checksums composing the tree hash - */ - public function getChecksums() - { - return $this->checksums; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/HostNameUtils.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/HostNameUtils.php deleted file mode 100644 index 460bc77..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/HostNameUtils.php +++ /dev/null @@ -1,85 +0,0 @@ -getHost(), -14) != '.amazonaws.com') { - return self::DEFAULT_REGION; - } - - $serviceAndRegion = substr($url->getHost(), 0, -14); - // Special handling for S3 regions - $separator = strpos($serviceAndRegion, 's3') === 0 ? '-' : '.'; - $separatorPos = strpos($serviceAndRegion, $separator); - - // If don't detect a separator, then return the default region - if ($separatorPos === false) { - return self::DEFAULT_REGION; - } - - $region = substr($serviceAndRegion, $separatorPos + 1); - - // All GOV regions currently use the default GOV region - if ($region == 'us-gov') { - return self::DEFAULT_GOV_REGION; - } - - return $region; - } - - /** - * Parse the AWS service name from a URL - * - * @param Url $url HTTP URL - * - * @return string Returns a service name (or empty string) - * @link http://docs.amazonwebservices.com/general/latest/gr/rande.html - */ - public static function parseServiceName(Url $url) - { - // The service name is the first part of the host - $parts = explode('.', $url->getHost(), 2); - - // Special handling for S3 - if (stripos($parts[0], 's3') === 0) { - return 's3'; - } - - return $parts[0]; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/InstanceMetadata/InstanceMetadataClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/InstanceMetadata/InstanceMetadataClient.php deleted file mode 100644 index 1d4b158..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/InstanceMetadata/InstanceMetadataClient.php +++ /dev/null @@ -1,102 +0,0 @@ - 'http://169.254.169.254/{version}/', - 'version' => 'latest', - 'curl.options' => array( - 'blacklist' => array(CURLOPT_ENCODING, 'header.Expect') - ) - ), array('base_url', 'version')); - - return new self($config); - } - - /** - * Constructor override - */ - public function __construct(Collection $config) - { - $this->setConfig($config); - $this->setBaseUrl($config->get(Options::BASE_URL)); - $this->defaultHeaders = new Collection(); - $this->setRequestFactory(RequestFactory::getInstance()); - } - - /** - * Get instance profile credentials - * - * @return Credentials - * @throws InstanceProfileCredentialsException - */ - public function getInstanceProfileCredentials() - { - try { - $request = $this->get('meta-data/iam/security-credentials/'); - $request->getCurlOptions()->set(CURLOPT_TIMEOUT, 1)->set(CURLOPT_CONNECTTIMEOUT, 1); - $credentials = trim($request->send()->getBody(true)); - $result = $this->get("meta-data/iam/security-credentials/{$credentials}")->send()->json(); - } catch (\Exception $e) { - $message = 'Error retrieving credentials from the instance profile metadata server. When you are not' - . ' running inside of Amazon EC2, you must provide your AWS access key ID and secret access key in' - . ' the "key" and "secret" options when creating a client or provide an instantiated' - . ' Aws\\Common\\Credentials\\CredentialsInterface object.'; - throw new InstanceProfileCredentialsException($message, $e->getCode(), $e); - } - - // Ensure that the status code was successful - if ($result['Code'] !== 'Success') { - $e = new InstanceProfileCredentialsException('Unexpected response code: ' . $result['Code']); - $e->setStatusCode($result['Code']); - throw $e; - } - - return new Credentials( - $result['AccessKeyId'], - $result['SecretAccessKey'], - $result['Token'], - strtotime($result['Expiration']) - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/InstanceMetadata/Waiter/ServiceAvailable.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/InstanceMetadata/Waiter/ServiceAvailable.php deleted file mode 100644 index ac305c3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/InstanceMetadata/Waiter/ServiceAvailable.php +++ /dev/null @@ -1,50 +0,0 @@ -client->get(); - try { - $request->getCurlOptions()->set(CURLOPT_CONNECTTIMEOUT, 10) - ->set(CURLOPT_TIMEOUT, 10); - $request->send(); - - return true; - } catch (CurlException $e) { - return false; - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Iterator/AwsResourceIterator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Iterator/AwsResourceIterator.php deleted file mode 100644 index a384617..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Iterator/AwsResourceIterator.php +++ /dev/null @@ -1,149 +0,0 @@ -lastResult; - } - - /** - * {@inheritdoc} - * This AWS specific version of the resource iterator provides a default implementation of the typical AWS iterator - * process. It relies on configuration and extension to implement the operation-specific logic of handling results - * and nextTokens. This method will loop until resources are acquired or there are no more iterations available. - */ - protected function sendRequest() - { - do { - // Prepare the request including setting the next token - $this->prepareRequest(); - if ($this->nextToken) { - $this->applyNextToken(); - } - - // Execute the request and handle the results - $this->command->add(Ua::OPTION, Ua::ITERATOR); - $this->lastResult = $this->command->getResult(); - $resources = $this->handleResults($this->lastResult); - $this->determineNextToken($this->lastResult); - - // If no resources collected, prepare to reiterate before yielding - if ($reiterate = empty($resources) && $this->nextToken) { - $this->command = clone $this->originalCommand; - } - } while ($reiterate); - - return $resources; - } - - /** - * {@inheritdoc} - */ - protected function prepareRequest() - { - // Get the limit parameter key to set - $param = $this->get('limit_param'); - if ($param && ($limit = $this->command->get($param))) { - $pageSize = $this->calculatePageSize(); - - // If the limit of the command is different than the pageSize of the iterator, use the smaller value - if ($limit && $pageSize) { - $this->command->set('limit', min($limit, $pageSize)); - } - } - } - - /** - * {@inheritdoc} - */ - protected function handleResults(Model $result) - { - $results = array(); - - // Get the result key that contains the results - if ($resultKey = $this->get('result_key')) { - $results = $result->getPath($resultKey) ?: array(); - } - - return $results; - } - - /** - * {@inheritdoc} - */ - protected function applyNextToken() - { - // Get the token parameter key to set - if ($tokenParam = $this->get('token_param')) { - // Set the next token. Works with multi-value tokens - if (is_array($tokenParam)) { - if (is_array($this->nextToken) && count($tokenParam) === count($this->nextToken)) { - foreach (array_combine($tokenParam, $this->nextToken) as $param => $token) { - $this->command->set($param, $token); - } - } else { - throw new RuntimeException('The definition of the iterator\'s token parameter and the actual token ' - . 'value are not compatible.'); - } - } else { - $this->command->set($tokenParam, $this->nextToken); - } - } - } - - /** - * {@inheritdoc} - */ - protected function determineNextToken(Model $result) - { - $this->nextToken = null; - - // If the value of "more key" is true or there is no "more key" to check, then try to get the next token - $moreKey = $this->get('more_key'); - if ($moreKey === null || $result->getPath($moreKey)) { - // Get the token key to check - if ($tokenKey = $this->get('token_key')) { - // Get the next token's value. Works with multi-value tokens - $getToken = function ($key) use ($result) { - return $result->getPath((string) $key); - }; - $this->nextToken = is_array($tokenKey) ? array_map($getToken, $tokenKey) : $getToken($tokenKey); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Iterator/AwsResourceIteratorFactory.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Iterator/AwsResourceIteratorFactory.php deleted file mode 100644 index 1d4ac27..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Iterator/AwsResourceIteratorFactory.php +++ /dev/null @@ -1,101 +0,0 @@ - null, - 'limit_param' => null, - 'more_key' => null, - 'token_key' => null, - 'token_param' => null, - 'operations' => array(), - ); - - /** - * @var Collection The configuration for the iterators - */ - protected $config; - - /** - * @var Collection Additional configurations for specific iterators - */ - protected $operations; - - /** - * @var ResourceIteratorFactoryInterface Another factory that will be used first to instantiate the iterator - */ - protected $primaryIteratorFactory; - - /** - * @param array $config An array of configuration values for the factory - * @param ResourceIteratorFactoryInterface $primaryIteratorFactory Another factory to use for chain of command - * - * @throws InvalidArgumentException - */ - public function __construct(array $config, ResourceIteratorFactoryInterface $primaryIteratorFactory = null) - { - $this->primaryIteratorFactory = $primaryIteratorFactory; - // Set up the config with default values - $this->config = Collection::fromConfig($config, self::$defaultConfig); - - // Pull out the operation-specific configurations - $this->operations = new Collection(); - $potentialOperations = $this->config->get('operations') ?: array(); - $this->config->remove('operations'); - foreach ($potentialOperations as $key => $value) { - if (is_int($key) && is_string($value)) { - $this->operations->set($value, array()); - } elseif (is_string($key) && is_array($value)) { - $this->operations->set($key, $value); - } else { - throw new InvalidArgumentException('The iterator factory configuration was invalid.'); - } - } - } - - /** - * {@inheritdoc} - */ - public function build(CommandInterface $command, array $options = array()) - { - // Get the configuration data for the command - $commandName = $command->getName(); - $iteratorConfig = $this->operations->get($commandName) ?: array(); - $options = array_replace($this->config->getAll(), $iteratorConfig, $options); - - // Instantiate the iterator using the primary factory (if there is one) - if ($this->primaryIteratorFactory && $this->primaryIteratorFactory->canBuild($command)) { - $iterator = $this->primaryIteratorFactory->build($command, $options); - } elseif (!$this->operations->hasKey($commandName)) { - throw new InvalidArgumentException("Iterator was not found for {$commandName}."); - } else { - // Fallback to this factory for creating the iterator if the primary factory did not work - $iterator = new AwsResourceIterator($command, $options); - } - - return $iterator; - } - - /** - * {@inheritdoc} - */ - public function canBuild(CommandInterface $command) - { - return ($this->primaryIteratorFactory && $this->primaryIteratorFactory->canBuild($command)) - || $this->operations->hasKey($command->getName()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransfer.php deleted file mode 100644 index bd76f8b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransfer.php +++ /dev/null @@ -1,239 +0,0 @@ -client = $client; - $this->state = $state; - $this->source = $source; - $this->options = $options; - - $this->init(); - - $this->partSize = $this->calculatePartSize(); - } - - /** - * {@inheritdoc} - */ - public static function getAllEvents() - { - return array( - self::BEFORE_PART_UPLOAD, - self::AFTER_UPLOAD, - self::BEFORE_PART_UPLOAD, - self::AFTER_PART_UPLOAD, - self::AFTER_ABORT, - self::AFTER_COMPLETE - ); - } - - /** - * {@inheritdoc} - */ - public function abort() - { - $command = $this->getAbortCommand(); - $result = $command->getResult(); - - $this->state->setAborted(true); - $this->stop(); - $this->dispatch(self::AFTER_ABORT, $this->getEventData($command)); - - return $result; - } - - /** - * {@inheritdoc} - */ - public function stop() - { - $this->stopped = true; - - return $this->state; - } - - /** - * {@inheritdoc} - */ - public function getState() - { - return $this->state; - } - - /** - * Get the array of options associated with the transfer - * - * @return array - */ - public function getOptions() - { - return $this->options; - } - - /** - * {@inheritdoc} - * @throws MultipartUploadException when an error is encountered. Use getLastException() to get more information. - * @throws RuntimeException when attempting to upload an aborted transfer - */ - public function upload() - { - if ($this->state->isAborted()) { - throw new RuntimeException('The transfer has been aborted and cannot be uploaded'); - } - - $this->stopped = false; - $eventData = $this->getEventData(); - $this->dispatch(self::BEFORE_UPLOAD, $eventData); - - try { - $this->transfer(); - $this->dispatch(self::AFTER_UPLOAD, $eventData); - - if ($this->stopped) { - return null; - } else { - $result = $this->complete(); - $this->dispatch(self::AFTER_COMPLETE, $eventData); - } - } catch (\Exception $e) { - throw new MultipartUploadException($this->state, $e); - } - - return $result; - } - - /** - * Get an array used for event notifications - * - * @param OperationCommand $command Command to include in event data - * - * @return array - */ - protected function getEventData(OperationCommand $command = null) - { - $data = array( - 'transfer' => $this, - 'source' => $this->source, - 'options' => $this->options, - 'client' => $this->client, - 'part_size' => $this->partSize, - 'state' => $this->state - ); - - if ($command) { - $data['command'] = $command; - } - - return $data; - } - - /** - * Hook to initialize the transfer - */ - protected function init() {} - - /** - * Determine the upload part size based on the size of the source data and - * taking into account the acceptable minimum and maximum part sizes. - * - * @return int The part size - */ - abstract protected function calculatePartSize(); - - /** - * Complete the multipart upload - * - * @return Model Returns the result of the complete multipart upload command - */ - abstract protected function complete(); - - /** - * Hook to implement in subclasses to perform the actual transfer - */ - abstract protected function transfer(); - - /** - * Fetches the abort command fom the concrete implementation - * - * @return OperationCommand - */ - abstract protected function getAbortCommand(); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransferState.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransferState.php deleted file mode 100644 index f12c4d5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransferState.php +++ /dev/null @@ -1,150 +0,0 @@ -uploadId = $uploadId; - } - - /** - * {@inheritdoc} - */ - public function getUploadId() - { - return $this->uploadId; - } - - /** - * {@inheritdoc} - */ - public function getPart($partNumber) - { - return isset($this->parts[$partNumber]) ? $this->parts[$partNumber] : null; - } - - /** - * {@inheritdoc} - */ - public function addPart(UploadPartInterface $part) - { - $partNumber = $part->getPartNumber(); - $this->parts[$partNumber] = $part; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function hasPart($partNumber) - { - return isset($this->parts[$partNumber]); - } - - /** - * {@inheritdoc} - */ - public function getPartNumbers() - { - return array_keys($this->parts); - } - - /** - * {@inheritdoc} - */ - public function setAborted($aborted) - { - $this->aborted = (bool) $aborted; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function isAborted() - { - return $this->aborted; - } - - /** - * {@inheritdoc} - */ - public function count() - { - return count($this->parts); - } - - /** - * {@inheritdoc} - */ - public function getIterator() - { - return new \ArrayIterator($this->parts); - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return serialize(get_object_vars($this)); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - $data = unserialize($serialized); - foreach (get_object_vars($this) as $property => $oldValue) { - if (array_key_exists($property, $data)) { - $this->{$property} = $data[$property]; - } else { - throw new RuntimeException("The {$property} property could be restored during unserialization."); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php deleted file mode 100644 index a1ad678..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php +++ /dev/null @@ -1,148 +0,0 @@ -client = $client; - - return $this; - } - - /** - * Set the state of the upload. This is useful for resuming from a previously started multipart upload. - * You must use a local file stream as the data source if you wish to resume from a previous upload. - * - * @param TransferStateInterface|string $state Pass a TransferStateInterface object or the ID of the initiated - * multipart upload. When an ID is passed, the builder will create a - * state object using the data from a ListParts API response. - * - * @return self - */ - public function resumeFrom($state) - { - $this->state = $state; - - return $this; - } - - /** - * Set the data source of the transfer - * - * @param resource|string|EntityBody $source Source of the transfer. Pass a string to transfer from a file on disk. - * You can also stream from a resource returned from fopen or a Guzzle - * {@see EntityBody} object. - * - * @return self - * @throws InvalidArgumentException when the source cannot be found or opened - */ - public function setSource($source) - { - // Use the contents of a file as the data source - if (is_string($source)) { - if (!file_exists($source)) { - throw new InvalidArgumentException("File does not exist: {$source}"); - } - // Clear the cache so that we send accurate file sizes - clearstatcache(true, $source); - $source = fopen($source, 'r'); - } - - $this->source = EntityBody::factory($source); - - if ($this->source->isSeekable() && $this->source->getSize() == 0) { - throw new InvalidArgumentException('Empty body provided to upload builder'); - } - - return $this; - } - - /** - * Specify the headers to set on the upload - * - * @param array $headers Headers to add to the uploaded object - * - * @return self - */ - public function setHeaders(array $headers) - { - $this->headers = $headers; - - return $this; - } - - /** - * Build the appropriate uploader based on the builder options - * - * @return TransferInterface - */ - abstract public function build(); - - /** - * Initiate the multipart upload - * - * @return TransferStateInterface - */ - abstract protected function initiateMultipartUpload(); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadId.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadId.php deleted file mode 100644 index da79521..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadId.php +++ /dev/null @@ -1,89 +0,0 @@ -loadData($data); - - return $uploadId; - } - - /** - * {@inheritdoc} - */ - public function toParams() - { - return $this->data; - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return serialize($this->data); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - $this->loadData(unserialize($serialized)); - } - - /** - * Loads an array of data into the UploadId by extracting only the needed keys - * - * @param array $data Data to load - * - * @throws InvalidArgumentException if a required key is missing - */ - protected function loadData($data) - { - $data = array_replace(static::$expectedValues, array_intersect_key($data, static::$expectedValues)); - foreach ($data as $key => $value) { - if (isset($data[$key])) { - $this->data[$key] = $data[$key]; - } else { - throw new InvalidArgumentException("A required key [$key] was missing from the UploadId."); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadPart.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadPart.php deleted file mode 100644 index 1cf4c6d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractUploadPart.php +++ /dev/null @@ -1,101 +0,0 @@ -loadData($data); - - return $part; - } - - /** - * {@inheritdoc} - */ - public function getPartNumber() - { - return $this->partNumber; - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - $array = array(); - foreach (static::$keyMap as $key => $property) { - $array[$key] = $this->{$property}; - } - - return $array; - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return serialize($this->toArray()); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - $this->loadData(unserialize($serialized)); - } - - /** - * Loads an array of data into the upload part by extracting only the needed keys - * - * @param array|\Traversable $data Data to load into the upload part value object - * - * @throws InvalidArgumentException if a required key is missing - */ - protected function loadData($data) - { - foreach (static::$keyMap as $key => $property) { - if (isset($data[$key])) { - $this->{$property} = $data[$key]; - } else { - throw new InvalidArgumentException("A required key [$key] was missing from the upload part."); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/TransferInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/TransferInterface.php deleted file mode 100644 index a63c82a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/TransferInterface.php +++ /dev/null @@ -1,56 +0,0 @@ - array( - - 'default_settings' => array( - 'params' => array() - ), - - 'autoscaling' => array( - 'alias' => 'AutoScaling', - 'extends' => 'default_settings', - 'class' => 'Aws\AutoScaling\AutoScalingClient' - ), - - 'cloudformation' => array( - 'alias' => 'CloudFormation', - 'extends' => 'default_settings', - 'class' => 'Aws\CloudFormation\CloudFormationClient' - ), - - 'cloudfront' => array( - 'alias' => 'CloudFront', - 'extends' => 'default_settings', - 'class' => 'Aws\CloudFront\CloudFrontClient' - ), - - 'cloudsearch' => array( - 'alias' => 'CloudSearch', - 'extends' => 'default_settings', - 'class' => 'Aws\CloudSearch\CloudSearchClient' - ), - - 'cloudwatch' => array( - 'alias' => 'CloudWatch', - 'extends' => 'default_settings', - 'class' => 'Aws\CloudWatch\CloudWatchClient' - ), - - 'datapipeline' => array( - 'alias' => 'DataPipeline', - 'extends' => 'default_settings', - 'class' => 'Aws\DataPipeline\DataPipelineClient' - ), - - 'directconnect' => array( - 'alias' => 'DirectConnect', - 'extends' => 'default_settings', - 'class' => 'Aws\DirectConnect\DirectConnectClient' - ), - - 'dynamodb' => array( - 'alias' => 'DynamoDb', - 'extends' => 'default_settings', - 'class' => 'Aws\DynamoDb\DynamoDbClient' - ), - - 'ec2' => array( - 'alias' => 'Ec2', - 'extends' => 'default_settings', - 'class' => 'Aws\Ec2\Ec2Client' - ), - - 'elasticache' => array( - 'alias' => 'ElastiCache', - 'extends' => 'default_settings', - 'class' => 'Aws\ElastiCache\ElastiCacheClient' - ), - - 'elasticbeanstalk' => array( - 'alias' => 'ElasticBeanstalk', - 'extends' => 'default_settings', - 'class' => 'Aws\ElasticBeanstalk\ElasticBeanstalkClient' - ), - - 'elasticloadbalancing' => array( - 'alias' => 'ElasticLoadBalancing', - 'extends' => 'default_settings', - 'class' => 'Aws\ElasticLoadBalancing\ElasticLoadBalancingClient' - ), - - 'elastictranscoder' => array( - 'alias' => 'ElasticTranscoder', - 'extends' => 'default_settings', - 'class' => 'Aws\ElasticTranscoder\ElasticTranscoderClient' - ), - - 'emr' => array( - 'alias' => 'Emr', - 'extends' => 'default_settings', - 'class' => 'Aws\Emr\EmrClient' - ), - - 'glacier' => array( - 'alias' => 'Glacier', - 'extends' => 'default_settings', - 'class' => 'Aws\Glacier\GlacierClient' - ), - - 'iam' => array( - 'alias' => 'Iam', - 'extends' => 'default_settings', - 'class' => 'Aws\Iam\IamClient' - ), - - 'importexport' => array( - 'alias' => 'ImportExport', - 'extends' => 'default_settings', - 'class' => 'Aws\ImportExport\ImportExportClient' - ), - - 'opsworks' => array( - 'alias' => 'OpsWorks', - 'extends' => 'default_settings', - 'class' => 'Aws\OpsWorks\OpsWorksClient' - ), - - 'rds' => array( - 'alias' => 'Rds', - 'extends' => 'default_settings', - 'class' => 'Aws\Rds\RdsClient' - ), - - 'redshift' => array( - 'alias' => 'Redshift', - 'extends' => 'default_settings', - 'class' => 'Aws\Redshift\RedshiftClient' - ), - - 'route53' => array( - 'alias' => 'Route53', - 'extends' => 'default_settings', - 'class' => 'Aws\Route53\Route53Client' - ), - - 's3' => array( - 'alias' => 'S3', - 'extends' => 'default_settings', - 'class' => 'Aws\S3\S3Client' - ), - - 'sdb' => array( - 'alias' => 'SimpleDb', - 'extends' => 'default_settings', - 'class' => 'Aws\SimpleDb\SimpleDbClient' - ), - - 'ses' => array( - 'alias' => 'Ses', - 'extends' => 'default_settings', - 'class' => 'Aws\Ses\SesClient' - ), - - 'sns' => array( - 'alias' => 'Sns', - 'extends' => 'default_settings', - 'class' => 'Aws\Sns\SnsClient' - ), - - 'sqs' => array( - 'alias' => 'Sqs', - 'extends' => 'default_settings', - 'class' => 'Aws\Sqs\SqsClient' - ), - - 'storagegateway' => array( - 'alias' => 'StorageGateway', - 'extends' => 'default_settings', - 'class' => 'Aws\StorageGateway\StorageGatewayClient' - ), - - 'sts' => array( - 'alias' => 'Sts', - 'extends' => 'default_settings', - 'class' => 'Aws\Sts\StsClient' - ), - - 'swf' => array( - 'alias' => 'Swf', - 'extends' => 'default_settings', - 'class' => 'Aws\Swf\SwfClient' - ), - ) -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Resources/sdk1-config.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Resources/sdk1-config.php deleted file mode 100644 index a5121ab..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Resources/sdk1-config.php +++ /dev/null @@ -1,138 +0,0 @@ - array('_aws'), - 'services' => array( - - 'sdk1_settings' => array( - 'extends' => 'default_settings', - 'params' => array( - 'certificate_authority' => false - ) - ), - - 'v1.autoscaling' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonAS' - ), - - 'v1.cloudformation' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonCloudFormation' - ), - - 'v1.cloudfront' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonCloudFront' - ), - - 'v1.cloudsearch' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonCloudSearch' - ), - - 'v1.cloudwatch' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonCloudWatch' - ), - - 'v1.dynamodb' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonDynamoDB' - ), - - 'v1.ec2' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonEC2' - ), - - 'v1.elasticache' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonElastiCache' - ), - - 'v1.elasticbeanstalk' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonElasticBeanstalk' - ), - - 'v1.elb' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonELB' - ), - - 'v1.emr' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonEMR' - ), - - 'v1.iam' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonIAM' - ), - - 'v1.importexport' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonImportExport' - ), - - 'v1.rds' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonRDS' - ), - - 'v1.s3' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonS3' - ), - - 'v1.sdb' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonSDB' - ), - - 'v1.ses' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonSES' - ), - - 'v1.sns' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonSNS' - ), - - 'v1.sqs' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonSQS' - ), - - 'v1.storagegateway' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonStorageGateway' - ), - - 'v1.sts' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonSTS' - ), - - 'v1.swf' => array( - 'extends' => 'sdk1_settings', - 'class' => 'AmazonSWF' - ) - ) -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/AbstractSignature.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/AbstractSignature.php deleted file mode 100644 index 00d66f8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/AbstractSignature.php +++ /dev/null @@ -1,90 +0,0 @@ -getQuery()->getAll(); - unset($queryParams['X-Amz-Signature']); - if (empty($queryParams)) { - return ''; - } - - $qs = ''; - ksort($queryParams); - foreach ($queryParams as $key => $values) { - if (is_array($values)) { - sort($values); - } elseif (!$values) { - $values = array(''); - } - - foreach ((array) $values as $value) { - $qs .= rawurlencode($key) . '=' . rawurlencode($value) . '&'; - } - } - - return substr($qs, 0, -1); - } - - /** - * Provides the timestamp used for the class - * - * @param bool $refresh Set to TRUE to refresh the cached timestamp - * - * @return int - */ - protected function getTimestamp($refresh = false) - { - if (!$this->timestamp || $refresh) { - $this->timestamp = time(); - } - - return $this->timestamp; - } - - /** - * Get a date for one of the parts of the requests - * - * @param string $format Date format - * - * @return string - */ - protected function getDateTime($format) - { - return gmdate($format, $this->getTimestamp()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/EndpointSignatureInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/EndpointSignatureInterface.php deleted file mode 100644 index a71cb73..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/EndpointSignatureInterface.php +++ /dev/null @@ -1,42 +0,0 @@ -credentials = $credentials; - $this->signature = $signature; - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array( - 'request.before_send' => array('onRequestBeforeSend', -255) - ); - } - - /** - * Signs requests before they are sent - * - * @param Event $event Event emitted - */ - public function onRequestBeforeSend(Event $event) - { - $this->signature->signRequest($event['request'], $this->credentials); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV2.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV2.php deleted file mode 100644 index 8b2f3a4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV2.php +++ /dev/null @@ -1,112 +0,0 @@ -getTimestamp(true); - - // set values we need in CanonicalizedParameterString - $this->addParameter($request, 'Timestamp', $this->getDateTime('c')); - $this->addParameter($request, 'SignatureVersion', '2'); - $this->addParameter($request, 'SignatureMethod', 'HmacSHA256'); - $this->addParameter($request, 'AWSAccessKeyId', $credentials->getAccessKeyId()); - - if ($token = $credentials->getSecurityToken()) { - $this->addParameter($request, 'SecurityToken', $token); - } - - // Get the path and ensure it's absolute - $path = '/' . ltrim($request->getUrl(true)->normalizePath()->getPath(), '/'); - - // build string to sign - $sign = $request->getMethod() . "\n" - . $request->getHost() . "\n" - . $path . "\n" - . $this->getCanonicalizedParameterString($request); - - // Add the string to sign to the request for debugging purposes - $request->getParams()->set('aws.string_to_sign', $sign); - - $signature = base64_encode( - hash_hmac( - 'sha256', - $sign, - $credentials->getSecretKey(), - true - ) - ); - - $this->addParameter($request, 'Signature', $signature); - } - - /** - * Add a parameter key and value to the request according to type - * - * @param RequestInterface $request The request - * @param string $key The name of the parameter - * @param string $value The value of the parameter - */ - public function addParameter(RequestInterface $request, $key, $value) - { - if ($request->getMethod() == 'POST') { - $request->setPostField($key, $value); - } else { - $request->getQuery()->set($key, $value); - } - } - - /** - * Get the canonicalized query/parameter string for a request - * - * @param RequestInterface $request Request used to build canonicalized string - * - * @return string - */ - public function getCanonicalizedParameterString(RequestInterface $request) - { - if ($request->getMethod() == 'POST') { - $params = $request->getPostFields()->toArray(); - } else { - $params = $request->getQuery()->toArray(); - } - - // Don't resign a previous signature value - unset($params['Signature']); - uksort($params, 'strcmp'); - - $str = ''; - foreach ($params as $key => $val) { - $str .= rawurlencode($key) . '=' . rawurlencode($val) . '&'; - } - - return substr($str, 0, -1); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV3.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV3.php deleted file mode 100644 index 7cfe626..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV3.php +++ /dev/null @@ -1,102 +0,0 @@ -getHeaders() as $k => $v) { - $k = strtolower($k); - if ($k == 'host' || strpos($k, 'x-amz-') !== false) { - $headers[$k] = implode(',', $v); - } - } - - // Sort the headers alphabetically and add them to the string to sign - ksort($headers); - - return $headers; - } - - /** - * {@inheritdoc} - */ - public function signRequest(RequestInterface $request, CredentialsInterface $credentials) - { - // Refresh the cached timestamp - $this->getTimestamp(true); - - // Add default headers - $request->setHeader('x-amz-date', $this->getDateTime(DateFormat::RFC1123)); - - // Add the security token if one is present - if ($credentials->getSecurityToken()) { - $request->setHeader('x-amz-security-token', $credentials->getSecurityToken()); - } - - // Grab the path and ensure that it is absolute - $path = '/' . ltrim($request->getUrl(true)->normalizePath()->getPath(), '/'); - - // Begin building the string to sign - $sign = $request->getMethod() . "\n" - . "{$path}\n" - . $this->getCanonicalizedQueryString($request) . "\n"; - - // Get all of the headers that must be signed (host and x-amz-*) - $headers = $this->getHeadersToSign($request); - foreach ($headers as $key => $value) { - $sign .= $key . ':' . $value . "\n"; - } - - $sign .= "\n"; - - // Add the body of the request if a body is present - if ($request instanceof EntityEnclosingRequestInterface) { - $sign .= (string) $request->getBody(); - } - - // Add the string to sign to the request for debugging purposes - $request->getParams()->set('aws.string_to_sign', $sign); - - $signature = base64_encode(hash_hmac('sha256', - hash('sha256', $sign, true), $credentials->getSecretKey(), true)); - - // Add the authorization header to the request - $request->setHeader('x-amzn-authorization', sprintf('AWS3 AWSAccessKeyId=%s,Algorithm=HmacSHA256,SignedHeaders=%s,Signature=%s', - $credentials->getAccessKeyId(), - implode(';', array_keys($headers)), - $signature)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV3Https.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV3Https.php deleted file mode 100644 index dfe88ff..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV3Https.php +++ /dev/null @@ -1,55 +0,0 @@ -hasHeader('date') && !$request->hasHeader('x-amz-date')) { - $request->setHeader('Date', $this->getDateTime(DateFormat::RFC1123)); - } - - // Add the security token if one is present - if ($credentials->getSecurityToken()) { - $request->setHeader('x-amz-security-token', $credentials->getSecurityToken()); - } - - // Determine the string to sign - $stringToSign = $request->getHeader('Date', true) ?: $request->getHeader('x-amz-date', true); - $request->getParams()->set('aws.string_to_sign', $stringToSign); - - // Calculate the signature - $signature = base64_encode(hash_hmac('sha256', $stringToSign, $credentials->getSecretKey(), true)); - - // Add the authorization header to the request - $headerFormat = 'AWS3-HTTPS AWSAccessKeyId=%s,Algorithm=HmacSHA256,Signature=%s'; - $request->setHeader('X-Amzn-Authorization', sprintf($headerFormat, $credentials->getAccessKeyId(), $signature)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV4.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV4.php deleted file mode 100644 index 06d4d45..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Signature/SignatureV4.php +++ /dev/null @@ -1,256 +0,0 @@ -serviceName = $service; - - return $this; - } - - /** - * Set the region name instead of inferring it from a request URL - * - * @param string $region Name of the region used when signing - * - * @return self - */ - public function setRegionName($region) - { - $this->regionName = $region; - - return $this; - } - - /** - * Set the maximum number of computed hashes to cache - * - * @param int $maxCacheSize Maximum number of hashes to cache - * - * @return self - */ - public function setMaxCacheSize($maxCacheSize) - { - $this->maxCacheSize = $maxCacheSize; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function signRequest(RequestInterface $request, CredentialsInterface $credentials) - { - // Refresh the cached timestamp - $this->getTimestamp(true); - - $longDate = $this->getDateTime(DateFormat::ISO8601); - $shortDate = $this->getDateTime(DateFormat::SHORT); - - // Remove any previously set Authorization headers so that - // exponential backoff works correctly - $request->removeHeader('Authorization'); - - // Requires a x-amz-date header or Date - if ($request->hasHeader('x-amz-date') || !$request->hasHeader('Date')) { - $request->setHeader('x-amz-date', $longDate); - } else { - $request->setHeader('Date', $this->getDateTime(DateFormat::RFC1123)); - } - - // Add the security token if one is present - if ($credentials->getSecurityToken()) { - $request->setHeader('x-amz-security-token', $credentials->getSecurityToken()); - } - - // Parse the service and region or use one that is explicitly set - $url = null; - if (!$this->regionName || !$this->serviceName) { - $url = Url::factory($request->getUrl()); - } - if (!$region = $this->regionName) { - $region = HostNameUtils::parseRegionName($url); - } - if (!$service = $this->serviceName) { - $service = HostNameUtils::parseServiceName($url); - } - - $credentialScope = "{$shortDate}/{$region}/{$service}/aws4_request"; - - $signingContext = $this->createCanonicalRequest($request); - $signingContext['string_to_sign'] = "AWS4-HMAC-SHA256\n{$longDate}\n{$credentialScope}\n" - . hash('sha256', $signingContext['canonical_request']); - - // Calculate the signing key using a series of derived keys - $signingKey = $this->getSigningKey($shortDate, $region, $service, $credentials->getSecretKey()); - $signature = hash_hmac('sha256', $signingContext['string_to_sign'], $signingKey); - - $request->setHeader('Authorization', "AWS4-HMAC-SHA256 " - . "Credential={$credentials->getAccessKeyId()}/{$credentialScope}, " - . "SignedHeaders={$signingContext['signed_headers']}, Signature={$signature}"); - - // Add debug information to the request - $request->getParams()->set('aws.signature', $signingContext); - } - - /** - * Create the canonical representation of a request - * - * @param RequestInterface $request Request to canonicalize - * - * @return array Returns an array of context information - */ - private function createCanonicalRequest(RequestInterface $request) - { - // Normalize the path as required by SigV4 and ensure it's absolute - $method = $request->getMethod(); - $canon = $method . "\n" - . '/' . ltrim($request->getUrl(true)->normalizePath()->getPath(), '/') . "\n" - . $this->getCanonicalizedQueryString($request) . "\n"; - - // Create the canonical headers - $headers = array(); - foreach ($request->getHeaders()->getAll() as $key => $values) { - if ($key != 'User-Agent') { - $key = strtolower($key); - if (!isset($headers[$key])) { - $headers[$key] = array(); - } - foreach ($values as $value) { - $headers[$key][] = preg_replace('/\s+/', ' ', trim($value)); - } - } - } - - // The headers must be sorted - ksort($headers); - - // Continue to build the canonical request by adding headers - foreach ($headers as $key => $values) { - // Combine multi-value headers into a sorted comma separated list - if (count($values) > 1) { - sort($values); - } - $canon .= $key . ':' . implode(',', $values) . "\n"; - } - - // Create the signed headers - $signedHeaders = implode(';', array_keys($headers)); - $canon .= "\n{$signedHeaders}\n"; - - // Create the payload if this request has an entity body - if ($request->hasHeader('x-amz-content-sha256')) { - // Handle streaming operations (e.g. Glacier.UploadArchive) - $canon .= $request->getHeader('x-amz-content-sha256'); - } elseif ($request instanceof EntityEnclosingRequestInterface) { - $canon .= hash( - 'sha256', - $method == 'POST' && count($request->getPostFields()) - ? (string) $request->getPostFields() : (string) $request->getBody() - ); - } else { - $canon .= self::DEFAULT_PAYLOAD; - } - - return array( - 'canonical_request' => $canon, - 'signed_headers' => $signedHeaders - ); - } - - /** - * Get a hash for a specific key and value. If the hash was previously - * cached, return it - * - * @param string $shortDate Short date - * @param string $region Region name - * @param string $service Service name - * @param string $secretKey Secret Access Key - * - * @return string - */ - private function getSigningKey($shortDate, $region, $service, $secretKey) - { - $cacheKey = $shortDate . '_' . $region . '_' . $service . '_' . $secretKey; - - // Retrieve the hash form the cache or create it and add it to the cache - if (!isset($this->hashCache[$cacheKey])) { - // When the cache size reaches the max, then just clear the cache - if (++$this->cacheSize > $this->maxCacheSize) { - $this->hashCache = array(); - $this->cacheSize = 0; - } - $dateKey = hash_hmac('sha256', $shortDate, 'AWS4' . $secretKey, true); - $regionKey = hash_hmac('sha256', $region, $dateKey, true); - $serviceKey = hash_hmac('sha256', $service, $regionKey, true); - $this->hashCache[$cacheKey] = hash_hmac('sha256', 'aws4_request', $serviceKey, true); - } - - return $this->hashCache[$cacheKey]; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/AbstractResourceWaiter.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/AbstractResourceWaiter.php deleted file mode 100644 index 5334848..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/AbstractResourceWaiter.php +++ /dev/null @@ -1,53 +0,0 @@ -client = $client; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function wait() - { - if (!$this->client) { - throw new RuntimeException('No client has been specified on the waiter'); - } - - parent::wait(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/AbstractWaiter.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/AbstractWaiter.php deleted file mode 100644 index 5d294cc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/AbstractWaiter.php +++ /dev/null @@ -1,136 +0,0 @@ -config[self::MAX_ATTEMPTS]) ? $this->config[self::MAX_ATTEMPTS] : 10; - } - - /** - * Get the amount of time in seconds to delay between attempts - * - * @return int - */ - public function getInterval() - { - return isset($this->config[self::INTERVAL]) ? $this->config[self::INTERVAL] : 0; - } - - /** - * {@inheritdoc} - */ - public function setMaxAttempts($maxAttempts) - { - $this->config[self::MAX_ATTEMPTS] = $maxAttempts; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setInterval($interval) - { - $this->config[self::INTERVAL] = $interval; - - return $this; - } - - /** - * Set config options associated with the waiter - * - * @param array $config Options to set - * - * @return self - */ - public function setConfig(array $config) - { - $this->config = $config; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function wait() - { - $this->attempts = 0; - - do { - $this->dispatch('waiter.before_attempt', array( - 'waiter' => $this, - 'config' => $this->config, - )); - - if ($this->doWait()) { - break; - } - - if (++$this->attempts >= $this->getMaxAttempts()) { - throw new RuntimeException('Wait method never resolved to true after ' . $this->attempts . ' attempts'); - } - - $this->dispatch('waiter.before_wait', array( - 'waiter' => $this, - 'config' => $this->config, - )); - - if ($this->getInterval()) { - usleep($this->getInterval() * 1000000); - } - - } while (1); - } - - /** - * Method to implement in subclasses - * - * @return bool Return true when successful, false on failure - */ - abstract protected function doWait(); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/CallableWaiter.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/CallableWaiter.php deleted file mode 100644 index a205e06..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/CallableWaiter.php +++ /dev/null @@ -1,82 +0,0 @@ -callable = $callable; - - return $this; - } - - /** - * Set additional context for the callable function. This data will be passed into the callable function as the - * second argument - * - * @param array $context Additional context - * - * @return self - */ - public function setContext(array $context) - { - $this->context = $context; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function doWait() - { - if (!$this->callable) { - throw new RuntimeException('No callable was specified for the wait method'); - } - - return call_user_func($this->callable, $this->attempts, $this->context); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/CompositeWaiterFactory.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/CompositeWaiterFactory.php deleted file mode 100644 index 5278e49..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/CompositeWaiterFactory.php +++ /dev/null @@ -1,90 +0,0 @@ -factories = $factories; - } - - /** - * {@inheritdoc} - */ - public function build($waiter) - { - if (!($factory = $this->getFactory($waiter))) { - throw new InvalidArgumentException("Waiter was not found matching {$waiter}."); - } - - return $factory->build($waiter); - } - - /** - * {@inheritdoc} - */ - public function canBuild($waiter) - { - return (bool) $this->getFactory($waiter); - } - - /** - * Add a factory to the composite factory - * - * @param WaiterFactoryInterface $factory Factory to add - * - * @return self - */ - public function addFactory(WaiterFactoryInterface $factory) - { - $this->factories[] = $factory; - - return $this; - } - - /** - * Get the factory that matches the waiter name - * - * @param string $waiter Name of the waiter - * - * @return WaiterFactoryInterface|bool - */ - protected function getFactory($waiter) - { - foreach ($this->factories as $factory) { - if ($factory->canBuild($waiter)) { - return $factory; - } - } - - return false; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/ConfigResourceWaiter.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/ConfigResourceWaiter.php deleted file mode 100644 index 2646eaa..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/ConfigResourceWaiter.php +++ /dev/null @@ -1,225 +0,0 @@ -waiterConfig = $waiterConfig; - $this->setInterval($waiterConfig->get(WaiterConfig::INTERVAL)); - $this->setMaxAttempts($waiterConfig->get(WaiterConfig::MAX_ATTEMPTS)); - } - - /** - * {@inheritdoc} - */ - public function setConfig(array $config) - { - foreach ($config as $key => $value) { - if (substr($key, 0, 7) == 'waiter.') { - $this->waiterConfig->set(substr($key, 7), $value); - } - } - - if (!isset($config[self::INTERVAL])) { - $config[self::INTERVAL] = $this->waiterConfig->get(WaiterConfig::INTERVAL); - } - - if (!isset($config[self::MAX_ATTEMPTS])) { - $config[self::MAX_ATTEMPTS] = $this->waiterConfig->get(WaiterConfig::MAX_ATTEMPTS); - } - - return parent::setConfig($config); - } - - /** - * Get the waiter's configuration data - * - * @return WaiterConfig - */ - public function getWaiterConfig() - { - return $this->waiterConfig; - } - - /** - * {@inheritdoc} - */ - protected function doWait() - { - $params = $this->config; - // remove waiter settings from the operation's input - foreach (array_keys($params) as $key) { - if (substr($key, 0, 7) == 'waiter.') { - unset($params[$key]); - } - } - - $operation = $this->client->getCommand($this->waiterConfig->get(WaiterConfig::OPERATION), $params); - - try { - return $this->checkResult($this->client->execute($operation)); - } catch (ValidationException $e) { - throw new InvalidArgumentException( - $this->waiterConfig->get(WaiterConfig::WAITER_NAME) . ' waiter validation failed: ' . $e->getMessage(), - $e->getCode(), - $e - ); - } catch (ServiceResponseException $e) { - - // Check if this exception satisfies a success or failure acceptor - $transition = $this->checkErrorAcceptor($e); - if (null !== $transition) { - return $transition; - } - - // Check if this exception should be ignored - foreach ((array) $this->waiterConfig->get(WaiterConfig::IGNORE_ERRORS) as $ignore) { - if ($e->getExceptionCode() == $ignore) { - // This exception is ignored, so it counts as a failed attempt rather than a fast-fail - return false; - } - } - - // Allow non-ignore exceptions to bubble through - throw $e; - } - } - - /** - * Check if an exception satisfies a success or failure acceptor - * - * @param ServiceResponseException $e - * - * @return bool|null Returns true for success, false for failure, and null for no transition - */ - protected function checkErrorAcceptor(ServiceResponseException $e) - { - if ($this->waiterConfig->get(WaiterConfig::SUCCESS_TYPE) == 'error') { - if ($e->getExceptionCode() == $this->waiterConfig->get(WaiterConfig::SUCCESS_VALUE)) { - // Mark as a success - return true; - } - } - - // Mark as an attempt - return null; - } - - /** - * Check to see if the response model satisfies a success or failure state - * - * @param Model $result Result model - * - * @return bool - * @throws RuntimeException - */ - protected function checkResult(Model $result) - { - // Check if the result evaluates to true based on the path and output model - if ($this->waiterConfig->get(WaiterConfig::SUCCESS_TYPE) == 'output' && - $this->checkPath( - $result, - $this->waiterConfig->get(WaiterConfig::SUCCESS_PATH), - $this->waiterConfig->get(WaiterConfig::SUCCESS_VALUE) - ) - ) { - return true; - } - - // It did not finish waiting yet. Determine if we need to fail-fast based on the failure acceptor. - if ($this->waiterConfig->get(WaiterConfig::FAILURE_TYPE) == 'output') { - $failureValue = $this->waiterConfig->get(WaiterConfig::FAILURE_VALUE); - if ($failureValue) { - $key = $this->waiterConfig->get(WaiterConfig::FAILURE_PATH); - if ($this->checkPath($result, $key, $failureValue, false)) { - // Determine which of the results triggered the failure - $triggered = array_intersect( - (array) $this->waiterConfig->get(WaiterConfig::FAILURE_VALUE), - array_unique((array) $result->getPath($key)) - ); - // fast fail because the failure case was satisfied - throw new RuntimeException( - 'A resource entered into an invalid state of "' - . implode(', ', $triggered) . '" while waiting with the "' - . $this->waiterConfig->get(WaiterConfig::WAITER_NAME) . '" waiter.' - ); - } - } - } - - return false; - } - - /** - * Check to see if the path of the output key is satisfied by the value - * - * @param Model $model Result model - * @param string $key Key to check - * @param string $checkValue Compare the key to the value - * @param bool $all Set to true to ensure all value match or false to only match one - * - * @return bool - */ - protected function checkPath(Model $model, $key = null, $checkValue, $all = true) - { - // If no key is set, then just assume true because the request succeeded - if (!$key) { - return true; - } - - if (!($result = $model->getPath($key))) { - return false; - } - - $total = $matches = 0; - foreach ((array) $result as $value) { - $total++; - foreach ((array) $checkValue as $check) { - if ($value == $check) { - $matches++; - break; - } - } - } - - // When matching all values, ensure that the match count matches the total count - if ($all && $total != $matches) { - return false; - } - - return $matches > 0; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/ResourceWaiterInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/ResourceWaiterInterface.php deleted file mode 100644 index 07cf41d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/ResourceWaiterInterface.php +++ /dev/null @@ -1,34 +0,0 @@ - CamelCase). - */ -class WaiterClassFactory implements WaiterFactoryInterface -{ - /** - * @var array List of namespaces used to look for classes - */ - protected $namespaces; - - /** - * @var InflectorInterface Inflector used to inflect class names - */ - protected $inflector; - - /** - * @param array|string $namespaces Namespaces of waiter objects - * @param InflectorInterface $inflector Inflector used to resolve class names - */ - public function __construct($namespaces = array(), InflectorInterface $inflector = null) - { - $this->namespaces = (array) $namespaces; - $this->inflector = $inflector ?: Inflector::getDefault(); - } - - /** - * Registers a namespace to check for Waiters - * - * @param string $namespace Namespace which contains Waiter classes - * - * @return self - */ - public function registerNamespace($namespace) - { - array_unshift($this->namespaces, $namespace); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function build($waiter) - { - if (!($className = $this->getClassName($waiter))) { - throw new InvalidArgumentException("Waiter was not found matching {$waiter}."); - } - - return new $className(); - } - - /** - * {@inheritdoc} - */ - public function canBuild($waiter) - { - return $this->getClassName($waiter) !== null; - } - - /** - * Get the name of a waiter class - * - * @param string $waiter Waiter name - * - * @return string|null - */ - protected function getClassName($waiter) - { - $waiterName = $this->inflector->camel($waiter); - - // Determine the name of the class to load - $className = null; - foreach ($this->namespaces as $namespace) { - $potentialClassName = $namespace . '\\' . $waiterName; - if (class_exists($potentialClassName)) { - return $potentialClassName; - } - } - - return null; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterConfig.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterConfig.php deleted file mode 100644 index 7c10f5a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterConfig.php +++ /dev/null @@ -1,67 +0,0 @@ -data = $data; - $this->extractConfig(); - } - - /** - * Create the command configuration variables - */ - protected function extractConfig() - { - // Populate success.* and failure.* if specified in acceptor.* - foreach ($this->data as $key => $value) { - if (substr($key, 0, 9) == 'acceptor.') { - $name = substr($key, 9); - if (!isset($this->data["success.{$name}"])) { - $this->data["success.{$name}"] = $value; - } - if (!isset($this->data["failure.{$name}"])) { - $this->data["failure.{$name}"] = $value; - } - unset($this->data[$key]); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterConfigFactory.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterConfigFactory.php deleted file mode 100644 index cb92149..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterConfigFactory.php +++ /dev/null @@ -1,98 +0,0 @@ -config = $config; - $this->inflector = $inflector ?: Inflector::getDefault(); - } - - /** - * {@inheritdoc} - */ - public function build($waiter) - { - return new ConfigResourceWaiter($this->getWaiterConfig($waiter)); - } - - /** - * {@inheritdoc} - */ - public function canBuild($waiter) - { - return isset($this->config[$waiter]) || isset($this->config[$this->inflector->camel($waiter)]); - } - - /** - * Get waiter configuration data, taking __default__ and extensions into account - * - * @param string $name Waiter name - * - * @return WaiterConfig - * @throws InvalidArgumentException - */ - protected function getWaiterConfig($name) - { - if (!$this->canBuild($name)) { - throw new InvalidArgumentException('No waiter found matching "' . $name . '"'); - } - - // inflect the name if needed - $name = isset($this->config[$name]) ? $name : $this->inflector->camel($name); - $waiter = new WaiterConfig($this->config[$name]); - $waiter['name'] = $name; - - // Always use __default__ as the basis if it's set - if (isset($this->config['__default__'])) { - $parentWaiter = new WaiterConfig($this->config['__default__']); - $waiter = $parentWaiter->overwriteWith($waiter); - } - - // Allow for configuration extensions - if (isset($this->config[$name]['extends'])) { - $waiter = $this->getWaiterConfig($this->config[$name]['extends'])->overwriteWith($waiter); - } - - return $waiter; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterFactoryInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterFactoryInterface.php deleted file mode 100644 index b9bf0f4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterFactoryInterface.php +++ /dev/null @@ -1,41 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/datapipeline-2012-10-29.php' - )) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->setIteratorsConfig(array( - 'limit_key' => 'limit', - 'more_key' => 'hasMoreResults', - 'token_param' => 'marker', - 'token_key' => 'marker', - 'operations' => array( - 'ListPipelines' => array( - 'result_key' => 'pipelineIdList', - ), - 'DescribeObjects' => array( - 'result_key' => 'pipelineObjects', - ), - 'QueryObjects' => array( - 'result_key' => 'ids', - ), - ) - )) - ->build(); - - return $client; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DataPipeline/Enum/WorkStatus.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DataPipeline/Enum/WorkStatus.php deleted file mode 100644 index 70231f5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DataPipeline/Enum/WorkStatus.php +++ /dev/null @@ -1,29 +0,0 @@ - '2012-10-29', - 'endpointPrefix' => 'datapipeline', - 'serviceFullName' => 'AWS Data Pipeline', - 'serviceType' => 'json', - 'jsonVersion' => '1.1', - 'targetPrefix' => 'DataPipeline.', - 'signatureVersion' => 'v4', - 'namespace' => 'DataPipeline', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'datapipeline.us-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'ActivatePipeline' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Validates a pipeline and initiates processing. If the pipeline does not pass validation, activation fails.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.ActivatePipeline', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline to activate.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'CreatePipeline' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreatePipelineOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new empty pipeline. When this action succeeds, you can then use the PutPipelineDefinition action to populate the pipeline.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.CreatePipeline', - ), - 'name' => array( - 'required' => true, - 'description' => 'The name of the new pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each new pipeline a unique pipeline identifier.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'uniqueId' => array( - 'required' => true, - 'description' => 'A unique identifier that you specify. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline. You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this parameter to ensure idempotency during repeated calls to CreatePipeline. For example, if the first call to CreatePipeline does not return a clear success, you can pass in the same unique identifier and pipeline name combination on a subsequent call to CreatePipeline. CreatePipeline ensures that if a pipeline already exists with the same name and unique identifier, a new pipeline will not be created. Instead, you\'ll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS account or IAM user credentials.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'description' => array( - 'description' => 'The description of the new pipeline.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'DeletePipeline' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Permanently deletes a pipeline, its pipeline definition and its run history. You cannot query or restore a deleted pipeline. AWS Data Pipeline will attempt to cancel instances associated with the pipeline that are currently being processed by task runners. Deleting a pipeline cannot be undone.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.DeletePipeline', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline to be deleted.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'DescribeObjects' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeObjectsOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.DescribeObjects', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'Identifier of the pipeline that contains the object definitions.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'objectIds' => array( - 'required' => true, - 'description' => 'Identifiers of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to DescribeObjects', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'id', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'evaluateExpressions' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'marker' => array( - 'description' => 'The starting point for the results to be returned. The first time you call DescribeObjects, this value should be empty. As long as the action returns HasMoreResults as True, you can call DescribeObjects again and pass the marker value from the response to retrieve the next set of results.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - 'DescribePipelines' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribePipelinesOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Retrieve metadata about one or more pipelines. The information retrieved includes the name of the pipeline, the pipeline identifier, its current state, and the user account that owns the pipeline. Using account credentials, you can retrieve metadata about pipelines that you or your IAM users have created. If you are using an IAM user account, you can retrieve metadata about only those pipelines you have read permission for.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.DescribePipelines', - ), - 'pipelineIds' => array( - 'required' => true, - 'description' => 'Identifiers of the pipelines to describe. You can pass as many as 25 identifiers in a single call to DescribePipelines. You can obtain pipeline identifiers by calling ListPipelines.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'id', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'EvaluateExpression' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EvaluateExpressionOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Evaluates a string in the context of a specified object. A task runner can use this action to evaluate SQL queries stored in Amazon S3.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.EvaluateExpression', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'objectId' => array( - 'required' => true, - 'description' => 'The identifier of the object.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'expression' => array( - 'required' => true, - 'description' => 'The expression to evaluate.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 20971520, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The specified task was not found.', - 'class' => 'TaskNotFoundException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - 'GetPipelineDefinition' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'GetPipelineDefinitionOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the definition of the specified pipeline. You can call GetPipelineDefinition to retrieve the pipeline definition you provided using PutPipelineDefinition.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.GetPipelineDefinition', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'version' => array( - 'description' => 'The version of the pipeline definition to retrieve.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - 'ListPipelines' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListPipelinesOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns a list of pipeline identifiers for all active pipelines. Identifiers are returned only for pipelines you have permission to access.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.ListPipelines', - ), - 'marker' => array( - 'description' => 'The starting point for the results to be returned. The first time you call ListPipelines, this value should be empty. As long as the action returns HasMoreResults as True, you can call ListPipelines again and pass the marker value from the response to retrieve the next set of results.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'PollForTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'PollForTaskOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Task runners call this action to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform by setting a value for the workerGroup parameter of the PollForTask call. The task returned by PollForTask may come from any of the pipelines that match the workerGroup value passed in by the task runner and that was launched using the IAM user credentials specified by the task runner.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.PollForTask', - ), - 'curl.options' => array( - 'static' => true, - 'default' => array( - 'CURLOPT_TIMEOUT' => 90, - ), - ), - 'workerGroup' => array( - 'required' => true, - 'description' => 'Indicates the type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup in the call to PollForTask. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'hostname' => array( - 'description' => 'The public DNS name of the calling task runner.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'instanceIdentity' => array( - 'description' => 'Identity information for the Amazon EC2 instance that is hosting the task runner. You can get this value by calling the URI, http://169.254.169.254/latest/meta-data/instance-id, from the EC2 instance. For more information, go to Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'document' => array( - 'description' => 'A description of an Amazon EC2 instance that is generated when the instance is launched and exposed to the instance via the instance meta-data service in the form of a JSON representation of an object.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'signature' => array( - 'description' => 'A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.', - 'type' => 'string', - 'maxLength' => 1024, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified task was not found.', - 'class' => 'TaskNotFoundException', - ), - ), - ), - 'PutPipelineDefinition' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'PutPipelineDefinitionOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Adds tasks, schedules, and preconditions that control the behavior of the pipeline. You can use PutPipelineDefinition to populate a new pipeline or to update an existing pipeline that has not yet been activated.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.PutPipelineDefinition', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline to be configured.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'pipelineObjects' => array( - 'required' => true, - 'description' => 'The objects that define the pipeline. These will overwrite the existing pipeline definition.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PipelineObject', - 'description' => 'Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'required' => true, - 'description' => 'Identifier of the object.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'name' => array( - 'required' => true, - 'description' => 'Name of the object.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'fields' => array( - 'required' => true, - 'description' => 'Key-value pairs that define the properties of the object.', - 'type' => 'array', - 'items' => array( - 'name' => 'Field', - 'description' => 'A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.', - 'type' => 'object', - 'properties' => array( - 'key' => array( - 'required' => true, - 'description' => 'The field identifier.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'stringValue' => array( - 'description' => 'The field value, expressed as a String.', - 'type' => 'string', - 'maxLength' => 10240, - ), - 'refValue' => array( - 'description' => 'The field value, expressed as the identifier of another object.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - 'QueryObjects' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'QueryObjectsOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Queries a pipeline for the names of objects that match a specified set of conditions.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.QueryObjects', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'Identifier of the pipeline to be queried for object names.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'query' => array( - 'description' => 'Query that defines the objects to be returned. The Query object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'selectors' => array( - 'description' => 'List of selectors that define the query. An object must satisfy all of the selectors to match the query.', - 'type' => 'array', - 'items' => array( - 'name' => 'Selector', - 'description' => 'A comparision that is used to determine whether a query should return this object.', - 'type' => 'object', - 'properties' => array( - 'fieldName' => array( - 'description' => 'The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'operator' => array( - 'type' => 'object', - 'properties' => array( - '' => array( - ), - ), - ), - ), - ), - ), - ), - ), - 'sphere' => array( - 'required' => true, - 'description' => 'Specifies whether the query applies to components or instances. Allowable values: COMPONENT, INSTANCE, ATTEMPT.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'marker' => array( - 'description' => 'The starting point for the results to be returned. The first time you call QueryObjects, this value should be empty. As long as the action returns HasMoreResults as True, you can call QueryObjects again and pass the marker value from the response to retrieve the next set of results.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'limit' => array( - 'description' => 'Specifies the maximum number of object names that QueryObjects will return in a single call. The default value is 100.', - 'type' => 'numeric', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'ReportTaskProgress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ReportTaskProgressOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates the AWS Data Pipeline service on the progress of the calling task runner. When the task runner is assigned a task, it should call ReportTaskProgress to acknowledge that it has the task within 2 minutes. If the web service does not recieve this acknowledgement within the 2 minute window, it will assign the task in a subsequent PollForTask call. After this initial acknowledgement, the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time from 15 minutes by specifying a reportProgressTimeout field in your pipeline. If a task runner does not report its status after 5 minutes, AWS Data Pipeline will assume that the task runner is unable to process the task and will reassign the task in a subsequent response to PollForTask. task runners should call ReportTaskProgress every 60 seconds.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.ReportTaskProgress', - ), - 'taskId' => array( - 'required' => true, - 'description' => 'Identifier of the task assigned to the task runner. This value is provided in the TaskObject that the service returns with the response for the PollForTask action.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 2048, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified task was not found.', - 'class' => 'TaskNotFoundException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - 'ReportTaskRunnerHeartbeat' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ReportTaskRunnerHeartbeatOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Task runners call ReportTaskRunnerHeartbeat to indicate that they are operational. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service can use this call to detect when the task runner application has failed and restart a new instance.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.ReportTaskRunnerHeartbeat', - ), - 'taskrunnerId' => array( - 'required' => true, - 'description' => 'The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'workerGroup' => array( - 'description' => 'Indicates the type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup in the call to ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'hostname' => array( - 'description' => 'The public DNS name of the calling task runner.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'SetStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Requests that the status of an array of physical or logical pipeline objects be updated in the pipeline. This update may not occur immediately, but is eventually consistent. The status that can be set depends on the type of object.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.SetStatus', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'Identifies the pipeline that contains the objects.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'objectIds' => array( - 'required' => true, - 'description' => 'Identifies an array of objects. The corresponding objects can be either physical or components, but not a mix of both types.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'id', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - ), - 'status' => array( - 'required' => true, - 'description' => 'Specifies the status to be set on all the objects in objectIds. For components, this can be either PAUSE or RESUME. For instances, this can be either CANCEL, RERUN, or MARK_FINISHED.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - ), - ), - 'SetTaskStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Notifies AWS Data Pipeline that a task is completed and provides information about the final status. The task runner calls this action regardless of whether the task was sucessful. The task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.SetTaskStatus', - ), - 'taskId' => array( - 'required' => true, - 'description' => 'Identifies the task assigned to the task runner. This value is set in the TaskObject that is returned by the PollForTask action.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 2048, - ), - 'taskStatus' => array( - 'required' => true, - 'description' => 'If FINISHED, the task successfully completed. If FAILED the task ended unsuccessfully. The FALSE value is used by preconditions.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'FINISHED', - 'FAILED', - 'FALSE', - ), - ), - 'errorCode' => array( - 'description' => 'If an error occurred during the task, specifies a numerical value that represents the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'errorMessage' => array( - 'description' => 'If an error occurred during the task, specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.', - 'type' => 'string', - 'location' => 'json', - ), - 'errorStackTrace' => array( - 'description' => 'If an error occurred during the task, specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The specified task was not found.', - 'class' => 'TaskNotFoundException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - 'ValidatePipelineDefinition' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ValidatePipelineDefinitionOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Tests the pipeline definition with a set of validation checks to ensure that it is well formed and can run without error.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DataPipeline.ValidatePipelineDefinition', - ), - 'pipelineId' => array( - 'required' => true, - 'description' => 'Identifies the pipeline whose definition is to be validated.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'pipelineObjects' => array( - 'required' => true, - 'description' => 'A list of objects that define the pipeline changes to validate against the pipeline.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PipelineObject', - 'description' => 'Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'required' => true, - 'description' => 'Identifier of the object.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'name' => array( - 'required' => true, - 'description' => 'Name of the object.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'fields' => array( - 'required' => true, - 'description' => 'Key-value pairs that define the properties of the object.', - 'type' => 'array', - 'items' => array( - 'name' => 'Field', - 'description' => 'A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.', - 'type' => 'object', - 'properties' => array( - 'key' => array( - 'required' => true, - 'description' => 'The field identifier.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'stringValue' => array( - 'description' => 'The field value, expressed as a String.', - 'type' => 'string', - 'maxLength' => 10240, - ), - 'refValue' => array( - 'description' => 'The field value, expressed as the identifier of another object.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'An internal service error occurred.', - 'class' => 'InternalServiceErrorException', - ), - array( - 'reason' => 'The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven\'t exceeded any of the service limits for your account.', - 'class' => 'InvalidRequestException', - ), - array( - 'reason' => 'The specified pipeline was not found. Verify that you used the correct user and account identifiers.', - 'class' => 'PipelineNotFoundException', - ), - array( - 'reason' => 'The specified pipeline has been deleted.', - 'class' => 'PipelineDeletedException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'CreatePipelineOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'pipelineId' => array( - 'description' => 'The ID that AWS Data Pipeline assigns the newly created pipeline. The ID is a string of the form: df-06372391ZG65EXAMPLE.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DescribeObjectsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'pipelineObjects' => array( - 'description' => 'An array of object definitions that are returned by the call to DescribeObjects.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PipelineObject', - 'description' => 'Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'description' => 'Identifier of the object.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the object.', - 'type' => 'string', - ), - 'fields' => array( - 'description' => 'Key-value pairs that define the properties of the object.', - 'type' => 'array', - 'items' => array( - 'name' => 'Field', - 'description' => 'A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.', - 'type' => 'object', - 'properties' => array( - 'key' => array( - 'description' => 'The field identifier.', - 'type' => 'string', - ), - 'stringValue' => array( - 'description' => 'The field value, expressed as a String.', - 'type' => 'string', - ), - 'refValue' => array( - 'description' => 'The field value, expressed as the identifier of another object.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'marker' => array( - 'description' => 'The starting point for the next page of results. To view the next page of results, call DescribeObjects again with this marker value.', - 'type' => 'string', - 'location' => 'json', - ), - 'hasMoreResults' => array( - 'description' => 'If True, there are more pages of results to return.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'DescribePipelinesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'pipelineDescriptionList' => array( - 'description' => 'An array of descriptions returned for the specified pipelines.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PipelineDescription', - 'description' => 'Contains pipeline metadata.', - 'type' => 'object', - 'properties' => array( - 'pipelineId' => array( - 'description' => 'The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the pipeline.', - 'type' => 'string', - ), - 'fields' => array( - 'description' => 'A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.', - 'type' => 'array', - 'items' => array( - 'name' => 'Field', - 'description' => 'A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.', - 'type' => 'object', - 'properties' => array( - 'key' => array( - 'description' => 'The field identifier.', - 'type' => 'string', - ), - 'stringValue' => array( - 'description' => 'The field value, expressed as a String.', - 'type' => 'string', - ), - 'refValue' => array( - 'description' => 'The field value, expressed as the identifier of another object.', - 'type' => 'string', - ), - ), - ), - ), - 'description' => array( - 'description' => 'Description of the pipeline.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'EvaluateExpressionOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'evaluatedExpression' => array( - 'description' => 'The evaluated expression.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'GetPipelineDefinitionOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'pipelineObjects' => array( - 'description' => 'An array of objects defined in the pipeline.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PipelineObject', - 'description' => 'Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'description' => 'Identifier of the object.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the object.', - 'type' => 'string', - ), - 'fields' => array( - 'description' => 'Key-value pairs that define the properties of the object.', - 'type' => 'array', - 'items' => array( - 'name' => 'Field', - 'description' => 'A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.', - 'type' => 'object', - 'properties' => array( - 'key' => array( - 'description' => 'The field identifier.', - 'type' => 'string', - ), - 'stringValue' => array( - 'description' => 'The field value, expressed as a String.', - 'type' => 'string', - ), - 'refValue' => array( - 'description' => 'The field value, expressed as the identifier of another object.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'ListPipelinesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'pipelineIdList' => array( - 'description' => 'A list of all the pipeline identifiers that your account has permission to access. If you require additional information about the pipelines, you can use these identifiers to call DescribePipelines and GetPipelineDefinition.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PipelineIdName', - 'description' => 'Contains the name and identifier of a pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'description' => 'Identifier of the pipeline that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the pipeline.', - 'type' => 'string', - ), - ), - ), - ), - 'marker' => array( - 'description' => 'If not null, indicates the starting point for the set of pipeline identifiers that the next call to ListPipelines will retrieve. If null, there are no more pipeline identifiers. .', - 'type' => 'string', - 'location' => 'json', - ), - 'hasMoreResults' => array( - 'description' => 'If True, there are more results that can be obtained by a subsequent call to ListPipelines.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'PollForTaskOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'taskObject' => array( - 'description' => 'An instance of PollForTaskResult, which contains an instance of TaskObject. The returned object contains all the information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId, which contains an identifier for the task being assigned. The calling task runner uses taskId in subsequent calls to ReportTaskProgress and SetTaskStatus.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'taskId' => array( - 'description' => 'An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.', - 'type' => 'string', - ), - 'pipelineId' => array( - 'description' => 'Identifier of the pipeline that provided the task.', - 'type' => 'string', - ), - 'attemptId' => array( - 'description' => 'Identifier of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.', - 'type' => 'string', - ), - 'objects' => array( - 'description' => 'Connection information for the location where the task runner will publish the output of the task.', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'description' => 'Identifier of the object.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the object.', - 'type' => 'string', - ), - 'fields' => array( - 'description' => 'Key-value pairs that define the properties of the object.', - 'type' => 'array', - 'items' => array( - 'name' => 'Field', - 'description' => 'A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.', - 'type' => 'object', - 'properties' => array( - 'key' => array( - 'description' => 'The field identifier.', - 'type' => 'string', - ), - 'stringValue' => array( - 'description' => 'The field value, expressed as a String.', - 'type' => 'string', - ), - 'refValue' => array( - 'description' => 'The field value, expressed as the identifier of another object.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'PutPipelineDefinitionOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'validationErrors' => array( - 'description' => 'A list of the validation errors that are associated with the objects defined in pipelineObjects.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ValidationError', - 'description' => 'Defines a validation error returned by PutPipelineDefinition or ValidatePipelineDefinition. The set of validation errors that can be returned are defined by AWS Data Pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'description' => 'The identifier of the object that contains the validation error.', - 'type' => 'string', - ), - 'errors' => array( - 'description' => 'A description of the validation error.', - 'type' => 'array', - 'items' => array( - 'name' => 'validationError', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errored' => array( - 'description' => 'If True, there were validation errors. If errored is True, the pipeline definition is stored but cannot be activated until you correct the pipeline and call PutPipelineDefinition to commit the corrected pipeline.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'QueryObjectsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ids' => array( - 'description' => 'A list of identifiers that match the query selectors.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'id', - 'type' => 'string', - ), - ), - 'marker' => array( - 'description' => 'The starting point for the results to be returned. As long as the action returns HasMoreResults as True, you can call QueryObjects again and pass the marker value from the response to retrieve the next set of results.', - 'type' => 'string', - 'location' => 'json', - ), - 'hasMoreResults' => array( - 'description' => 'If True, there are more results that can be obtained by a subsequent call to QueryObjects.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'ReportTaskProgressOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'canceled' => array( - 'description' => 'If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'ReportTaskRunnerHeartbeatOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'terminate' => array( - 'description' => 'Indicates whether the calling task runner should terminate. If True, the task runner that called ReportTaskRunnerHeartbeat should terminate.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'ValidatePipelineDefinitionOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'validationErrors' => array( - 'description' => 'Lists the validation errors that were found by ValidatePipelineDefinition.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ValidationError', - 'description' => 'Defines a validation error returned by PutPipelineDefinition or ValidatePipelineDefinition. The set of validation errors that can be returned are defined by AWS Data Pipeline.', - 'type' => 'object', - 'properties' => array( - 'id' => array( - 'description' => 'The identifier of the object that contains the validation error.', - 'type' => 'string', - ), - 'errors' => array( - 'description' => 'A description of the validation error.', - 'type' => 'array', - 'items' => array( - 'name' => 'validationError', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errored' => array( - 'description' => 'If True, there were validation errors.', - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/DirectConnectClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/DirectConnectClient.php deleted file mode 100644 index 57367c6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/DirectConnectClient.php +++ /dev/null @@ -1,110 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/directconnect-2012-10-25.php' - )) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->setIteratorsConfig(array( - 'operations' => array( - 'DescribeConnections' => array( - 'result_key' => 'connections', - ), - 'DescribeOfferings' => array( - 'result_key' => 'offerings', - ), - 'DescribeVirtualGateways' => array( - 'result_key' => 'virtualGateways', - ), - 'DescribeVirtualInterfaces' => array( - 'result_key' => 'virtualInterfaces', - ), - ) - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/Enum/ConnectionState.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/Enum/ConnectionState.php deleted file mode 100644 index 4a9921e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/Enum/ConnectionState.php +++ /dev/null @@ -1,30 +0,0 @@ - '2012-10-25', - 'endpointPrefix' => 'directconnect', - 'serviceFullName' => 'AWS Direct Connect', - 'serviceType' => 'json', - 'jsonVersion' => '1.1', - 'targetPrefix' => 'OvertureService.', - 'signatureVersion' => 'v4', - 'namespace' => 'DirectConnect', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'directconnect.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CreateConnection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'Connection', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new network connection between the customer network and a specific AWS Direct Connect location.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.CreateConnection', - ), - 'offeringId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - ), - 'connectionName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'CreatePrivateVirtualInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'VirtualInterface', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single Virtual Private Cloud (VPC).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.CreatePrivateVirtualInterface', - ), - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'newPrivateVirtualInterface' => array( - 'description' => 'Detailed information of the private virtual interface to be created.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'virtualInterfaceName' => array( - 'type' => 'string', - ), - 'vlan' => array( - 'type' => 'numeric', - ), - 'asn' => array( - 'type' => 'numeric', - ), - 'authKey' => array( - 'type' => 'string', - ), - 'amazonAddress' => array( - 'type' => 'string', - ), - 'customerAddress' => array( - 'type' => 'string', - ), - 'virtualGatewayId' => array( - 'type' => 'string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'CreatePublicVirtualInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'VirtualInterface', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon Simple Storage Service (Amazon S3).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.CreatePublicVirtualInterface', - ), - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'newPublicVirtualInterface' => array( - 'description' => 'Detailed information of the public virtual interface to be created.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'virtualInterfaceName' => array( - 'type' => 'string', - ), - 'vlan' => array( - 'type' => 'numeric', - ), - 'asn' => array( - 'type' => 'numeric', - ), - 'authKey' => array( - 'type' => 'string', - ), - 'amazonAddress' => array( - 'type' => 'string', - ), - 'customerAddress' => array( - 'type' => 'string', - ), - 'routeFilterPrefixes' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'RouteFilterPrefix', - 'description' => 'A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.', - 'type' => 'object', - 'properties' => array( - 'cidr' => array( - 'description' => 'CIDR notation for the advertised route. Multiple routes are separated by commas', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DeleteConnection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'Connection', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes the connection.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DeleteConnection', - ), - 'connectionId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DeleteVirtualInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteVirtualInterfaceResponse', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a virtual interface.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DeleteVirtualInterface', - ), - 'virtualInterfaceId' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DescribeConnectionDetail' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ConnectionDetail', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Displays details about a specific connection including the order steps for the connection and the current state of the connection order.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DescribeConnectionDetail', - ), - 'connectionId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DescribeConnections' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'Connections', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Displays all connections in this region.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DescribeConnections', - ), - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DescribeOfferingDetail' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'OfferingDetail', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Displays additional ordering step details for a specified offering.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DescribeOfferingDetail', - ), - 'offeringId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DescribeOfferings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'Offerings', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes one or more of the offerings that are currently available for creating new connections. The results include offerings for all regions.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DescribeOfferings', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DescribeVirtualGateways' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'VirtualGateways', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns a list of virtual private gateways owned by the AWS account.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DescribeVirtualGateways', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - 'DescribeVirtualInterfaces' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'VirtualInterfaces', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a virtual interface ID is included then only a single virtual interface will be returned.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OvertureService.DescribeVirtualInterfaces', - ), - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'virtualInterfaceId' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectServerException', - ), - array( - 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.', - 'class' => 'DirectConnectClientException', - ), - ), - ), - ), - 'models' => array( - 'Connection' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionName' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionState' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'region' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'location' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'VirtualInterface' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'virtualInterfaceId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'location' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'virtualInterfaceType' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'virtualInterfaceName' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'vlan' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'asn' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'authKey' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'amazonAddress' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'customerAddress' => array( - 'description' => 'IP address assigned to the customer interface.', - 'type' => 'string', - 'location' => 'json', - ), - 'virtualInterfaceState' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'customerRouterConfig' => array( - 'description' => 'Information for generating the customer router configuration.', - 'type' => 'string', - 'location' => 'json', - ), - 'virtualGatewayId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'routeFilterPrefixes' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'RouteFilterPrefix', - 'description' => 'A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.', - 'type' => 'object', - 'properties' => array( - 'cidr' => array( - 'description' => 'CIDR notation for the advertised route. Multiple routes are separated by commas', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DeleteVirtualInterfaceResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'virtualInterfaceState' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ConnectionDetail' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'connectionId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionName' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionState' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'region' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'location' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'bandwidth' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionCosts' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ConnectionCost', - 'description' => 'Cost description.', - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'description' => 'The name of the cost item.', - 'type' => 'string', - ), - 'unit' => array( - 'description' => 'The unit used in cost calculation.', - 'type' => 'string', - ), - 'currencyCode' => array( - 'description' => 'Currency code based on ISO 4217.', - 'type' => 'string', - ), - 'amount' => array( - 'description' => 'The amount of charge per unit.', - 'type' => 'string', - ), - ), - ), - ), - 'orderSteps' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ConnectionOrderStep', - 'description' => 'A step in the connection order process.', - 'type' => 'object', - 'properties' => array( - 'number' => array( - 'description' => 'Number of an order step.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the order step.', - 'type' => 'string', - ), - 'description' => array( - 'description' => 'More detailed description of the order step.', - 'type' => 'string', - ), - 'owner' => array( - 'description' => 'The entity who owns the completion of the order step.', - 'type' => 'string', - ), - 'sla' => array( - 'description' => 'Time to complete the order step in minutes.', - 'type' => 'numeric', - ), - 'stepState' => array( - 'description' => 'State of the connection step. Pending: This step is not yet completed. Completed: This step has been completed', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'Connections' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'connections' => array( - 'description' => 'A list of connections.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Connection', - 'description' => 'A connection represents the physical network connection between the Direct Connect location and the customer.', - 'type' => 'object', - 'properties' => array( - 'connectionId' => array( - 'type' => 'string', - ), - 'connectionName' => array( - 'type' => 'string', - ), - 'connectionState' => array( - 'type' => 'string', - ), - 'region' => array( - 'type' => 'string', - ), - 'location' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'OfferingDetail' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'offeringId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'region' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'location' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'offeringName' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'description' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'bandwidth' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'connectionCosts' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ConnectionCost', - 'description' => 'Cost description.', - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'description' => 'The name of the cost item.', - 'type' => 'string', - ), - 'unit' => array( - 'description' => 'The unit used in cost calculation.', - 'type' => 'string', - ), - 'currencyCode' => array( - 'description' => 'Currency code based on ISO 4217.', - 'type' => 'string', - ), - 'amount' => array( - 'description' => 'The amount of charge per unit.', - 'type' => 'string', - ), - ), - ), - ), - 'orderSteps' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'OfferingOrderStep', - 'description' => 'A step in the offering order process.', - 'type' => 'object', - 'properties' => array( - 'number' => array( - 'description' => 'Number of an order step.', - 'type' => 'string', - ), - 'name' => array( - 'description' => 'Name of the order step.', - 'type' => 'string', - ), - 'description' => array( - 'description' => 'More detailed description of the order step.', - 'type' => 'string', - ), - 'owner' => array( - 'description' => 'The entity who owns the completion of the order step.', - 'type' => 'string', - ), - 'sla' => array( - 'description' => 'Time to complete the order step in minutes.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Offerings' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'offerings' => array( - 'description' => 'A list of offerings.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Offering', - 'description' => 'An offer to create a new connection for a specific price and terms.', - 'type' => 'object', - 'properties' => array( - 'offeringId' => array( - 'type' => 'string', - ), - 'region' => array( - 'type' => 'string', - ), - 'location' => array( - 'type' => 'string', - ), - 'offeringName' => array( - 'description' => 'Name of the offering.', - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - 'bandwidth' => array( - 'type' => 'string', - ), - 'connectionCosts' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'ConnectionCost', - 'description' => 'Cost description.', - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'description' => 'The name of the cost item.', - 'type' => 'string', - ), - 'unit' => array( - 'description' => 'The unit used in cost calculation.', - 'type' => 'string', - ), - 'currencyCode' => array( - 'description' => 'Currency code based on ISO 4217.', - 'type' => 'string', - ), - 'amount' => array( - 'description' => 'The amount of charge per unit.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'VirtualGateways' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'virtualGateways' => array( - 'description' => 'A list of virtual gateways.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VirtualGateway', - 'description' => 'You can create one or more Direct Connect private virtual interfaces linking to your virtual private gateway.', - 'type' => 'object', - 'properties' => array( - 'virtualGatewayId' => array( - 'type' => 'string', - ), - 'virtualGatewayState' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'VirtualInterfaces' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'virtualInterfaces' => array( - 'description' => 'A list of virtual interfaces.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VirtualInterface', - 'description' => 'A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer.', - 'type' => 'object', - 'properties' => array( - 'virtualInterfaceId' => array( - 'type' => 'string', - ), - 'location' => array( - 'type' => 'string', - ), - 'connectionId' => array( - 'type' => 'string', - ), - 'virtualInterfaceType' => array( - 'type' => 'string', - ), - 'virtualInterfaceName' => array( - 'type' => 'string', - ), - 'vlan' => array( - 'type' => 'numeric', - ), - 'asn' => array( - 'type' => 'numeric', - ), - 'authKey' => array( - 'type' => 'string', - ), - 'amazonAddress' => array( - 'type' => 'string', - ), - 'customerAddress' => array( - 'description' => 'IP address assigned to the customer interface.', - 'type' => 'string', - ), - 'virtualInterfaceState' => array( - 'type' => 'string', - ), - 'customerRouterConfig' => array( - 'description' => 'Information for generating the customer router configuration.', - 'type' => 'string', - ), - 'virtualGatewayId' => array( - 'type' => 'string', - ), - 'routeFilterPrefixes' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'RouteFilterPrefix', - 'description' => 'A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.', - 'type' => 'object', - 'properties' => array( - 'cidr' => array( - 'description' => 'CIDR notation for the advertised route. Multiple routes are separated by commas', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Crc32ErrorChecker.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Crc32ErrorChecker.php deleted file mode 100644 index 914eda2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Crc32ErrorChecker.php +++ /dev/null @@ -1,66 +0,0 @@ -setNext($next); - } - } - - /** - * {@inheridoc} - */ - public function makesDecision() - { - return true; - } - - /** - * {@inheritdoc} - */ - protected function getDelay( - $retries, - RequestInterface $request, - Response $response = null, - HttpException $e = null - ) { - if ($response) { - // Validate the checksum against our computed checksum - if ($checksum = (string) $response->getHeader('x-amz-crc32')) { - // Retry the request if the checksums don't match, otherwise, return null - return $checksum != hexdec(Stream::getHash($response->getBody(), 'crc32b')) ? true : null; - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/DynamoDbClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/DynamoDbClient.php deleted file mode 100644 index f6b5f6b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/DynamoDbClient.php +++ /dev/null @@ -1,218 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - // DynamoDB does not use redirects - self::DISABLE_REDIRECTS => true, - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/dynamodb-2011-12-05.php', - // DynamoDB does not require response processing other than turning JSON into an array - self::COMMAND_PARAMS => array(Cmd::RESPONSE_PROCESSING => Cmd::TYPE_NO_TRANSLATION) - )) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->setIteratorsConfig(array( - 'result_key' => 'Items', - 'token_param' => 'ExclusiveStartKey', - 'token_key' => 'LastEvaluatedKey', - 'operations' => array( - 'BatchGetItem' => array( - 'token_param' => 'RequestItems', - 'token_key' => 'UnprocessedKeys', - ), - 'ListTables' => array( - 'result_key' => 'TableNames', - 'token_param' => 'ExclusiveStartTableName', - 'token_key' => 'LastEvaluatedTableName', - ), - 'Query', - 'Scan', - ) - )) - ->build(); - } - - /** - * Formats a value as a DynamoDB attribute. - * - * @param mixed $value The value to format for DynamoDB. - * @param string $format The type of format (e.g. put, update). - * - * @return array The formatted value. - */ - public function formatValue($value, $format = Attribute::FORMAT_PUT) - { - return Attribute::factory($value)->getFormatted($format); - } - - /** - * Formats an array of values as DynamoDB attributes. - * - * @param array $values The values to format for DynamoDB. - * @param string $format The type of format (e.g. put, update). - * - * @return array The formatted values. - */ - public function formatAttributes(array $values, $format = Attribute::FORMAT_PUT) - { - $formatted = array(); - - foreach ($values as $key => $value) { - $formatted[$key] = $this->formatValue($value, $format); - } - - return $formatted; - } - - /** - * Calculate the amount of time needed for an exponential backoff to wait - * before retrying a request - * - * @param int $retries Number of retries - * - * @return float Returns the amount of time to wait in seconds - */ - public static function calculateRetryDelay($retries) - { - return $retries == 0 ? 0 : (50 * (int) pow(2, $retries - 1)) / 1000; - } - - /** - * Convenience method for instantiating and registering the DynamoDB - * Session handler with this DynamoDB client object. - * - * @param array $config Array of options for the session handler factory - * - * @return SessionHandler - */ - public function registerSessionHandler(array $config = array()) - { - $config = array_replace(array('dynamodb_client' => $this), $config); - - $handler = SessionHandler::factory($config); - $handler->register(); - - return $handler; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Enum/AttributeAction.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Enum/AttributeAction.php deleted file mode 100644 index a0f1d2f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Enum/AttributeAction.php +++ /dev/null @@ -1,29 +0,0 @@ -addItem($unprocessedItem); - } - } - - /** - * Adds an unprocessed write request to the collection - * - * @param WriteRequestInterface $unprocessedItem - * - * @return UnprocessedWriteRequestsException - */ - public function addItem(WriteRequestInterface $unprocessedItem) - { - $this->items[] = $unprocessedItem; - - return $this; - } - - /** - * Get the total number of request exceptions - * - * @return int - */ - public function count() - { - return count($this->items); - } - - /** - * Allows array-like iteration over the request exceptions - * - * @return \ArrayIterator - */ - public function getIterator() - { - return new \ArrayIterator($this->items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Exception/UnrecognizedClientException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Exception/UnrecognizedClientException.php deleted file mode 100644 index 04d9d93..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Exception/UnrecognizedClientException.php +++ /dev/null @@ -1,22 +0,0 @@ -get('Responses')) { - foreach ($responses as $table) { - foreach ($table['Items'] as $item) { - $items[] = $item; - } - } - } - - return $items; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Iterator/ScanIterator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Iterator/ScanIterator.php deleted file mode 100644 index fe68534..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Iterator/ScanIterator.php +++ /dev/null @@ -1,51 +0,0 @@ -scannedCount; - } - - /** - * {@inheritdoc} - */ - protected function handleResults(Model $result) - { - $this->scannedCount += (int) $result->get('ScannedCount'); - - return parent::handleResults($result); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/Attribute.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/Attribute.php deleted file mode 100644 index 13e8df0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/Attribute.php +++ /dev/null @@ -1,243 +0,0 @@ - 1) { - throw new InvalidArgumentException('Sets must be at most one level deep.'); - } - - // Handle specific, allowed object types - if ($value instanceof Attribute) { - return $value; - } elseif ($value instanceof \Traversable) { - $value = iterator_to_array($value); - } elseif (is_object($value) && method_exists($value, '__toString')) { - $value = (string) $value; - } - - // Ensure that the value is valid - if ($value === null || $value === array() || $value === '') { - // Note: "Empty" values are not allowed except for zero and false. - throw new InvalidArgumentException('The value must not be empty.'); - } elseif (is_resource($value) || is_object($value)) { - throw new InvalidArgumentException('The value must be able to be converted to string.'); - } - - // Create the attribute to return - if (is_int($value) || is_float($value)) { - // Handle numeric values - $attribute = new Attribute((string) $value, Type::NUMBER); - } elseif (is_bool($value)) { - // Handle boolean values - $attribute = new Attribute($value ? '1' : '0', Type::NUMBER); - } elseif (is_array($value) || $value instanceof \Traversable) { - // Handle arrays - $setType = null; - $attribute = new Attribute(array()); - - // Loop through each value to analyze and prepare it - foreach ($value as $subValue) { - // Recursively get the attribute for the set. The depth param only allows one level of recursion - $subAttribute = static::factory($subValue, $depth + 1); - - // The type of each sub-value must be the same, or else the whole array is invalid - if ($setType === null) { - $setType = $subAttribute->type; - } elseif ($setType !== $subAttribute->type) { - throw new InvalidArgumentException('The set did not contain values of a uniform type.'); - } - - // Save the value for the upstream array - $attribute->value[] = (string) $subAttribute->value; - } - - // Make sure the type is changed to be a set type - $attribute->type = $setType . self::SET_SUFFIX; - } else { - $attribute = new Attribute((string) $value); - } - - return $attribute; - } - - /** - * Instantiates a DynamoDB attribute. - * - * @param string|array $value The DynamoDB attribute value - * @param string $type The DynamoDB attribute type (N, S, B, NS, SS, BS) - */ - public function __construct($value, $type = Type::STRING) - { - $this->setValue($value); - $this->setType($type); - } - - /** - * Convert the attribute to a string - * - * @return string - */ - public function __toString() - { - return implode(', ', (array) $this->value); - } - - /** - * Retrieve the formatted data. - * - * @param string $format The format to apply to the data. - * - * @return string The formatted version of the data. - */ - public function getFormatted($format = Attribute::FORMAT_PUT) - { - switch ($format) { - case self::FORMAT_EXPECTED: - // no break - case self::FORMAT_UPDATE: - $formatted = array('Value' => array($this->type => $this->value)); - break; - case self::FORMAT_PUT: - // no break - default: - $formatted = array($this->type => $this->value); - } - - return $formatted; - } - - /** - * Retrieve the attribute type. - * - * @return string The attribute type. - */ - public function getType() - { - return $this->type; - } - - /** - * Retrieve the attribute value. - * - * @return string The attribute value. - */ - public function getValue() - { - return $this->value; - } - - /** - * Set the attribute type. - * - * @param string $type The attribute type to set. - * - * @return string The attribute type. - */ - public function setType($type) - { - if (in_array($type, Type::values())) { - $this->type = $type; - } else { - throw new InvalidArgumentException('An attribute type must be a valid DynamoDB type.'); - } - - return $this; - } - - /** - * Set the attribute value. - * - * @param string $type The attribute value to set. - * - * @return string The attribute value. - */ - public function setValue($value) - { - if (is_string($value) || is_array($value)) { - $this->value = $value; - } else { - throw new InvalidArgumentException('An attribute value may only be a string or array.'); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - return $this->getFormatted(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/AbstractWriteRequest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/AbstractWriteRequest.php deleted file mode 100644 index 3589816..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/AbstractWriteRequest.php +++ /dev/null @@ -1,36 +0,0 @@ -tableName; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/DeleteRequest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/DeleteRequest.php deleted file mode 100644 index f01cedc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/DeleteRequest.php +++ /dev/null @@ -1,94 +0,0 @@ -getName() !== 'DeleteItem') { - throw new InvalidArgumentException(); - } - - // Get relevant data for a DeleteRequest - $table = $command->get('TableName'); - $key = $command->get('Key'); - - // Return an instantiated DeleteRequest object - return new DeleteRequest($key, $table); - } - - /** - * Constructs a new delete request - * - * @param array $key The key of the item to delete - * @param string $tableName The name of the table which has the item - */ - public function __construct(array $key, $tableName) - { - $this->key = $key; - $this->tableName = $tableName; - } - - /** - * The parameter form of the request - * - * @return array - */ - public function toArray() - { - $key = $this->key; - foreach ($key as &$element) { - if ($element instanceof Attribute) { - $element = $element->toArray(); - } - } - - return array('DeleteRequest' => array('Key' => $key)); - } - - /** - * Get the key - * - * @return array - */ - public function getKey() - { - return $this->key; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/PutRequest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/PutRequest.php deleted file mode 100644 index eec3d1c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/PutRequest.php +++ /dev/null @@ -1,98 +0,0 @@ -getName() !== 'PutItem') { - throw new InvalidArgumentException(); - } - - // Get relevant data for a PutRequest - $table = $command->get('TableName'); - $item = $command->get('Item'); - - // Create an Item object from the 'item' command data - if (!($item instanceof Item)) { - $item = new Item($item, $table); - } - - // Return an instantiated PutRequest object - return new PutRequest($item, $table); - } - - /** - * Constructs a new put request - * - * @param Item $item The item to put into DynamoDB - * @param string $tableName The name of the table which has the item - * - * @throw InvalidArgumentException if the table name is not provided - */ - public function __construct(Item $item, $tableName = null) - { - $this->item = $item; - $this->tableName = $tableName ?: $item->getTableName(); - - if (!$this->tableName) { - throw new InvalidArgumentException('A table name is required to create a PutRequest.'); - } - } - - /** - * The parameter form of the request - * - * @return array - */ - public function toArray() - { - return array('PutRequest' => array('Item' => $this->item->toArray())); - } - - /** - * Get the item - * - * @return Item - */ - public function getItem() - { - return $this->item; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/UnprocessedRequest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/UnprocessedRequest.php deleted file mode 100644 index 4519630..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/UnprocessedRequest.php +++ /dev/null @@ -1,48 +0,0 @@ -data = $data; - $this->tableName = $tableName; - } - - /** - * The parameter form of the request - * - * @return array - */ - public function toArray() - { - return $this->data; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php deleted file mode 100644 index b44e7e6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php +++ /dev/null @@ -1,120 +0,0 @@ -createBatchesWith(new BatchSizeDivisor($batchSize)) - ->transferWith(new WriteRequestBatchTransfer($client)); - - if ($notify) { - $builder->notify($notify); - } - - $batch = new self($builder->build()); - $batch = new FlushingBatch($batch, $batchSize); - - return $batch; - } - - /** - * {@inheritdoc} - */ - public function add($item) - { - if ($item instanceof AbstractCommand) { - // Convert PutItem and DeleteItem into the correct format - $name = $item->getName(); - if (in_array($name, array('PutItem', 'DeleteItem'))) { - $class = __NAMESPACE__ . '\\' . str_replace('Item', 'Request', $name); - $item = $class::fromCommand($item); - } else { - throw new InvalidArgumentException('The command provided was not a PutItem or DeleteItem command.'); - } - } - - if (!($item instanceof WriteRequestInterface)) { - throw new InvalidArgumentException('The item are are trying to add to the batch queue is invalid.'); - } - - return $this->decoratedBatch->add($item); - } - - /** - * {@inheritdoc} - */ - public function flush() - { - // Flush the queue - $items = array(); - while (!$this->decoratedBatch->isEmpty()) { - try { - $items = array_merge($items, $this->decoratedBatch->flush()); - } catch (BatchTransferException $e) { - $unprocessed = $e->getPrevious(); - if ($unprocessed instanceof UnprocessedWriteRequestsException) { - // Handles the UnprocessedItemsException that may occur for - // throttled items the batch. These are re-queued here - foreach ($unprocessed as $unprocessedItem) { - $this->add($unprocessedItem); - } - } else { - // Re-throw the exception if not handled - throw $e; - } - } - } - - return $items; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php deleted file mode 100644 index 7e14139..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php +++ /dev/null @@ -1,203 +0,0 @@ -client = $client; - } - - /** - * {@inheritdoc} - */ - public function transfer(array $batch) - { - // Create a container exception for any unprocessed items - $unprocessed = new UnprocessedWriteRequestsException(); - - // Execute the transfer logic - $this->performTransfer($batch, $unprocessed); - - // Throw an exception containing the unprocessed items if there are any - if (count($unprocessed)) { - throw $unprocessed; - } - } - - /** - * Transfer a batch of requests and collect any unprocessed items - * - * @param array $batch A batch of write requests - * @param UnprocessedWriteRequestsException $unprocessedRequests Collection of unprocessed items - * - * @throws \Guzzle\Common\Exception\ExceptionCollection - */ - protected function performTransfer( - array $batch, - UnprocessedWriteRequestsException $unprocessedRequests - ) { - // Do nothing if the batch is empty - if (empty($batch)) { - return; - } - - // Chunk the array and prepare a set of parallel commands - $commands = array(); - foreach (array_chunk($batch, self::BATCH_WRITE_MAX_SIZE) as $chunk) { - // Convert the request items into the format required by the client - $items = array(); - foreach ($chunk as $item) { - if ($item instanceof AbstractWriteRequest) { - /** @var $item AbstractWriteRequest */ - $table = $item->getTableName(); - if (!isset($items[$table])) { - $items[$table] = array(); - } - $items[$table][] = $item->toArray(); - } - } - - // Create the BatchWriteItem request - $commands[] = $this->client->getCommand('BatchWriteItem', array( - 'RequestItems' => $items, - Ua::OPTION => Ua::BATCH - )); - } - - // Execute the commands and handle exceptions - try { - $commands = $this->client->execute($commands); - $this->getUnprocessedRequestsFromCommands($commands, $unprocessedRequests); - } catch (ExceptionCollection $exceptions) { - // Create a container exception for any unhandled (true) exceptions - $unhandledExceptions = new ExceptionCollection(); - - // Loop through caught exceptions and handle RequestTooLarge scenarios - /** @var $e DynamoDbException */ - foreach ($exceptions as $e) { - if ($e instanceof DynamoDbException && $e->getStatusCode() === 413) { - $request = $e->getResponse()->getRequest(); - $this->retryLargeRequest($request, $unprocessedRequests); - } else { - $unhandledExceptions->add($e); - } - } - - // If there were unhandled exceptions, throw them - if (count($unhandledExceptions)) { - throw $unhandledExceptions; - } - } - } - - /** - * Handles unprocessed items from the executed commands. Unprocessed items - * can be collected and thrown in an UnprocessedWriteRequestsException - * - * @param array $commands Array of commands - * @param UnprocessedWriteRequestsException $unprocessedRequests Collection of unprocessed items - */ - protected function getUnprocessedRequestsFromCommands( - array $commands, - UnprocessedWriteRequestsException $unprocessedRequests - ) { - /** @var $command CommandInterface */ - foreach ($commands as $command) { - if ($command instanceof CommandInterface && $command->isExecuted()) { - $result = $command->getResult(); - $items = $this->convertResultsToUnprocessedRequests($result['UnprocessedItems']); - foreach ($items as $request) { - $unprocessedRequests->addItem($request); - } - } - } - } - - /** - * Handles exceptions caused by the request being too large (over 1 MB). The - * response will have a status code of 413. In this case the batch should be - * split up into smaller batches and retried. - * - * @param EntityEnclosingRequestInterface $request The failed request - * @param UnprocessedWriteRequestsException $unprocessedRequests Collection of unprocessed items - */ - protected function retryLargeRequest( - EntityEnclosingRequestInterface $request, - UnprocessedWriteRequestsException $unprocessedRequests - ) { - // Collect the items out from the request object - $items = json_decode($request->getBody(true), true); - $items = $this->convertResultsToUnprocessedRequests($items['RequestItems']); - - // Divide batch into smaller batches and transfer them via recursion - // NOTE: Dividing the batch into 3 (instead of 2) batches resulted in less recursion during testing - if ($items) { - $newBatches = array_chunk($items, ceil(count($items) / 3)); - foreach ($newBatches as $newBatch) { - $this->performTransfer($newBatch, $unprocessedRequests); - } - } - } - - /** - * Collects and creates unprocessed request objects from data collected from erroneous cases - * - * @param array $items Data formatted under "RequestItems" or "UnprocessedItems" keys - * - * @return array - */ - protected function convertResultsToUnprocessedRequests(array $items) - { - $unprocessed = array(); - foreach ($items as $table => $requests) { - foreach ($requests as $request) { - $unprocessed[] = new UnprocessedRequest($request, $table); - } - } - - return $unprocessed; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestInterface.php deleted file mode 100644 index 70503e2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Model/BatchRequest/WriteRequestInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -data; - foreach ($result as &$value) { - if ($value instanceof Attribute) { - $value = $value->toArray(); - } - } - - return $result; - } - - /** - * Construct a new Item - * - * @param array $attributes Array of attributes - * @param string $tableName Table of the item (if known) - */ - public function __construct(array $attributes = array(), $tableName = null) - { - $this->replace($attributes); - $this->tableName = $tableName; - } - - /** - * Set the name of the table associated with the item - * - * @param string $tableName Table name - * - * @return self - */ - public function setTableName($tableName) - { - $this->tableName = $tableName; - - return $this; - } - - /** - * Get the name of the table associated with the item - * - * @return string|null - */ - public function getTableName() - { - return $this->tableName; - } - - /** - * Get an attribute object by name - * - * @param string $name Name of the attribute to retrieve - * - * @return Attribute|null - */ - public function get($name) - { - return isset($this->data[$name]) ? $this->data[$name] : null; - } - - /** - * Get all of the attribute names of the item - * - * @return array - */ - public function keys() - { - return array_keys($this->data); - } - - /** - * Check if a particular attribute exists on the item - * - * @param string $attribute Attribute name to check - * - * @return bool - */ - public function has($attribute) - { - return isset($this->data[$attribute]); - } - - /** - * Get all of the {@see Attribute} objects - * - * @return array - */ - public function all() - { - return $this->data; - } - - /** - * Add an attribute - * - * @param string $name Name of the attribute to add - * @param Attribute $attribute Attribute to add - * - * @return self - */ - public function add($name, Attribute $attribute) - { - $this->data[$name] = $attribute; - - return $this; - } - - /** - * Set all of the attributes - * - * @param array $attributes Array of {@see Attribute} objects - * - * @return self - */ - public function replace(array $attributes) - { - foreach ($attributes as $name => $attribute) { - if (!($attribute instanceof Attribute)) { - $attribute = new Attribute(current($attribute), key($attribute)); - } - $this->add($name, $attribute); - } - - return $this; - } - - /** - * Remove an attribute by name - * - * @param string $name Name of the attribute to remove - * - * @return self - */ - public function remove($name) - { - unset($this->data[$name]); - - return $this; - } - - /** - * Get the total number of attributes - * - * @return int - */ - public function count() - { - return count($this->data); - } - - /** - * {@inheritdoc} - */ - public function getIterator() - { - return new \ArrayIterator($this->data); - } - - /** - * ArrayAccess implementation of offsetExists() - * - * @param string $offset Array key - * - * @return bool - */ - public function offsetExists($offset) - { - return isset($this->data[$offset]); - } - - /** - * ArrayAccess implementation of offsetGet() - * - * @param string $offset Array key - * - * @return null|mixed - */ - public function offsetGet($offset) - { - return isset($this->data[$offset]) ? $this->data[$offset] : null; - } - - /** - * ArrayAccess implementation of offsetGet() - * - * @param string $offset Array key - * @param mixed $value Value to set - */ - public function offsetSet($offset, $value) - { - $this->data[$offset] = $value; - } - - /** - * ArrayAccess implementation of offsetUnset() - * - * @param string $offset Array key - */ - public function offsetUnset($offset) - { - unset($this->data[$offset]); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php deleted file mode 100644 index 3fb427e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php +++ /dev/null @@ -1,3495 +0,0 @@ - '2011-12-05', - 'endpointPrefix' => 'dynamodb', - 'serviceFullName' => 'Amazon DynamoDB', - 'serviceAbbreviation' => 'DynamoDB', - 'serviceType' => 'json', - 'jsonVersion' => '1.0', - 'targetPrefix' => 'DynamoDB_20111205.', - 'signatureVersion' => 'v4', - 'namespace' => 'DynamoDb', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'dynamodb.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'dynamodb.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'BatchGetItem' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'BatchGetItemOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Retrieves the attributes for multiple items from multiple tables using their primary keys.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.BatchGetItem', - ), - 'RequestItems' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'object', - 'properties' => array( - 'Keys' => array( - 'required' => true, - 'type' => 'array', - 'minItems' => 1, - 'maxItems' => 100, - 'items' => array( - 'name' => 'Key', - 'description' => 'The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key.', - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - ), - 'AttributesToGet' => array( - 'type' => 'array', - 'minItems' => 1, - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'ConsistentRead' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'BatchWriteItem' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'BatchWriteItemOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Allows to execute a batch of Put and/or Delete Requests for many tables in a single call. A total of 25 requests are allowed.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.BatchWriteItem', - ), - 'RequestItems' => array( - 'required' => true, - 'description' => 'A map of table name to list-of-write-requests. Used as input to the BatchWriteItem API call', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'array', - 'minItems' => 1, - 'maxItems' => 25, - 'items' => array( - 'name' => 'WriteRequest', - 'description' => 'This structure is a Union of PutRequest and DeleteRequest. It can contain exactly one of PutRequest or DeleteRequest. Never Both. This is enforced in the code.', - 'type' => 'object', - 'properties' => array( - 'PutRequest' => array( - 'type' => 'object', - 'properties' => array( - 'Item' => array( - 'required' => true, - 'description' => 'The item to put', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - ), - 'DeleteRequest' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'required' => true, - 'description' => 'The item\'s key to be delete', - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'CreateTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateTableOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Adds a new table to your account.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.CreateTable', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table you want to create. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'KeySchema' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'required' => true, - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'AttributeType' => array( - 'required' => true, - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - 'enum' => array( - 'S', - 'N', - 'B', - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'required' => true, - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'AttributeType' => array( - 'required' => true, - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - 'enum' => array( - 'S', - 'N', - 'B', - ), - ), - ), - ), - ), - ), - 'ProvisionedThroughput' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'ReadCapacityUnits' => array( - 'required' => true, - 'description' => 'ReadCapacityUnits are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the ReadCapacityUnits. Eventually-consistent reads only require half the ReadCapacityUnits of stirctly consistent reads.', - 'type' => 'numeric', - 'minimum' => 1, - ), - 'WriteCapacityUnits' => array( - 'required' => true, - 'description' => 'WriteCapacityUnits are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the WriteCapacityUnits.', - 'type' => 'numeric', - 'minimum' => 1, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteItem' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteItemOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a single item in a table by primary key.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.DeleteItem', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table in which you want to delete an item. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'Key' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - 'Expected' => array( - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it.', - 'type' => 'object', - 'properties' => array( - 'Value' => array( - 'description' => 'Specify whether or not a value already exists and has a specific content for the attribute name-value pair.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'Exists' => array( - 'description' => 'Specify whether or not a value already exists for the attribute name-value pair.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'ReturnValues' => array( - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'NONE', - 'ALL_OLD', - 'UPDATED_OLD', - 'ALL_NEW', - 'UPDATED_NEW', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when an expected value does not match what was found in the system.', - 'class' => 'ConditionalCheckFailedException', - ), - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteTableOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a table and all of its items.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.DeleteTable', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table you want to delete. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeTableOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Retrieves information about the table, including the current status of the table, the primary key schema and when the table was created.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.DescribeTable', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table you want to describe. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'GetItem' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'GetItemOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Retrieves a set of Attributes for an item that matches the primary key.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.GetItem', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table in which you want to get an item. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'Key' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - 'AttributesToGet' => array( - 'type' => 'array', - 'location' => 'json', - 'minItems' => 1, - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'ConsistentRead' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ListTables' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListTablesOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Retrieves a paginated list of table names created by the AWS Account of the caller in the AWS Region (e.g. us-east-1).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.ListTables', - ), - 'ExclusiveStartTableName' => array( - 'description' => 'The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'Limit' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - 'maximum' => 100, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'PutItem' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'PutItemOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new item, or replaces an old item with a new item (including all the attributes).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.PutItem', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table in which you want to put an item. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'Item' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - 'Expected' => array( - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it.', - 'type' => 'object', - 'properties' => array( - 'Value' => array( - 'description' => 'Specify whether or not a value already exists and has a specific content for the attribute name-value pair.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'Exists' => array( - 'description' => 'Specify whether or not a value already exists for the attribute name-value pair.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'ReturnValues' => array( - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'NONE', - 'ALL_OLD', - 'UPDATED_OLD', - 'ALL_NEW', - 'UPDATED_NEW', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when an expected value does not match what was found in the system.', - 'class' => 'ConditionalCheckFailedException', - ), - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'Query' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'QueryOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Gets the values of one or more items and its attributes by primary key (composite primary key, only).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.Query', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table in which you want to query. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'AttributesToGet' => array( - 'type' => 'array', - 'location' => 'json', - 'minItems' => 1, - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'Limit' => array( - 'description' => 'The maximum number of items to return. If Amazon DynamoDB hits this limit while querying the table, it stops the query and returns the matching values up to the limit, and a LastEvaluatedKey to apply in a subsequent operation to continue the query. Also, if the result set size exceeds 1MB before Amazon DynamoDB hits this limit, it stops the query and returns the matching values, and a LastEvaluatedKey to apply in a subsequent operation to continue the query.', - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - ), - 'ConsistentRead' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'Count' => array( - 'description' => 'If set to true, Amazon DynamoDB returns a total number of items that match the query parameters, instead of a list of the matching items and their attributes. Do not set Count to true while providing a list of AttributesToGet, otherwise Amazon DynamoDB returns a validation error.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'HashKeyValue' => array( - 'required' => true, - 'description' => 'Attribute value of the hash component of the composite primary key.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyCondition' => array( - 'description' => 'A container for the attribute values and comparison operators to use for the query.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'AttributeValueList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'AttributeValue', - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - 'ComparisonOperator' => array( - 'required' => true, - 'type' => 'string', - 'enum' => array( - 'EQ', - 'NE', - 'IN', - 'LE', - 'LT', - 'GE', - 'GT', - 'BETWEEN', - 'NOT_NULL', - 'NULL', - 'CONTAINS', - 'NOT_CONTAINS', - 'BEGINS_WITH', - ), - ), - ), - ), - 'ScanIndexForward' => array( - 'description' => 'Specifies forward or backward traversal of the index. Amazon DynamoDB returns results reflecting the requested order, determined by the range key. The default value is true (forward).', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'ExclusiveStartKey' => array( - 'description' => 'Primary key of the item from which to continue an earlier query. An earlier query might provide this value as the LastEvaluatedKey if that query operation was interrupted before completing the query; either because of the result set size or the Limit parameter. The LastEvaluatedKey can be passed back in a new query request to continue the operation from that point.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'Scan' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ScanOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Retrieves one or more items and its attributes by performing a full scan of a table.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.Scan', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table in which you want to scan. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'AttributesToGet' => array( - 'type' => 'array', - 'location' => 'json', - 'minItems' => 1, - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'Limit' => array( - 'description' => 'The maximum number of items to return. If Amazon DynamoDB hits this limit while scanning the table, it stops the scan and returns the matching values up to the limit, and a LastEvaluatedKey to apply in a subsequent operation to continue the scan. Also, if the scanned data set size exceeds 1 MB before Amazon DynamoDB hits this limit, it stops the scan and returns the matching values up to the limit, and a LastEvaluatedKey to apply in a subsequent operation to continue the scan.', - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - ), - 'Count' => array( - 'description' => 'If set to true, Amazon DynamoDB returns a total number of items for the Scan operation, even if the operation has no matching items for the assigned filter. Do not set Count to true while providing a list of AttributesToGet, otherwise Amazon DynamoDB returns a validation error.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'ScanFilter' => array( - 'description' => 'Evaluates the scan results and returns only the desired values.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'object', - 'properties' => array( - 'AttributeValueList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'AttributeValue', - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - 'ComparisonOperator' => array( - 'required' => true, - 'type' => 'string', - 'enum' => array( - 'EQ', - 'NE', - 'IN', - 'LE', - 'LT', - 'GE', - 'GT', - 'BETWEEN', - 'NOT_NULL', - 'NULL', - 'CONTAINS', - 'NOT_CONTAINS', - 'BEGINS_WITH', - ), - ), - ), - ), - ), - 'ExclusiveStartKey' => array( - 'description' => 'Primary key of the item from which to continue an earlier scan. An earlier scan might provide this value if that scan operation was interrupted before scanning the entire table; either because of the result set size or the Limit parameter. The LastEvaluatedKey can be passed back in a new scan request to continue the operation from that point.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateItem' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateItemOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Edits an existing item\'s attributes.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.UpdateItem', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table in which you want to update an item. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'Key' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'required' => true, - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - ), - ), - 'AttributeUpdates' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'Specifies the attribute to update and how to perform the update. Possible values: PUT (default), ADD or DELETE.', - 'type' => 'object', - 'properties' => array( - 'Value' => array( - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'Action' => array( - 'type' => 'string', - 'enum' => array( - 'ADD', - 'PUT', - 'DELETE', - ), - ), - ), - ), - ), - 'Expected' => array( - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it.', - 'type' => 'object', - 'properties' => array( - 'Value' => array( - 'description' => 'Specify whether or not a value already exists and has a specific content for the attribute name-value pair.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - ), - 'Exists' => array( - 'description' => 'Specify whether or not a value already exists for the attribute name-value pair.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'ReturnValues' => array( - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'NONE', - 'ALL_OLD', - 'UPDATED_OLD', - 'ALL_NEW', - 'UPDATED_NEW', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when an expected value does not match what was found in the system.', - 'class' => 'ConditionalCheckFailedException', - ), - array( - 'reason' => 'This exception is thrown when the level of provisioned throughput defined for the table is exceeded.', - 'class' => 'ProvisionedThroughputExceededException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateTableOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates the provisioned throughput for the given table.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'DynamoDB_20111205.UpdateTable', - ), - 'TableName' => array( - 'required' => true, - 'description' => 'The name of the table you want to update. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 255, - ), - 'ProvisionedThroughput' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'ReadCapacityUnits' => array( - 'required' => true, - 'description' => 'ReadCapacityUnits are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the ReadCapacityUnits. Eventually-consistent reads only require half the ReadCapacityUnits of stirctly consistent reads.', - 'type' => 'numeric', - 'minimum' => 1, - ), - 'WriteCapacityUnits' => array( - 'required' => true, - 'description' => 'WriteCapacityUnits are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the WriteCapacityUnits.', - 'type' => 'numeric', - 'minimum' => 1, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'This exception is thrown when the resource which is being attempted to be changed is in use.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'This exception is thrown when the service has a problem when trying to process the request.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - ), - 'models' => array( - 'BatchGetItemOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Responses' => array( - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'The item attributes from a response in a specific table, along with the read resources consumed on the table during the request.', - 'type' => 'object', - 'properties' => array( - 'Items' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'AttributeMap', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - ), - ), - ), - ), - 'UnprocessedKeys' => array( - 'description' => 'Contains a map of tables and their respective keys that were not processed with the current response, possibly due to reaching a limit on the response size. The UnprocessedKeys value is in the same form as a RequestItems parameter (so the value can be provided directly to a subsequent BatchGetItem operation). For more information, see the above RequestItems parameter.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'object', - 'properties' => array( - 'Keys' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Key', - 'description' => 'The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key.', - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'AttributesToGet' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'ConsistentRead' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - 'BatchWriteItemOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Responses' => array( - 'description' => 'The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'object', - 'properties' => array( - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - ), - ), - ), - ), - 'UnprocessedItems' => array( - 'description' => 'The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'WriteRequest', - 'description' => 'This structure is a Union of PutRequest and DeleteRequest. It can contain exactly one of PutRequest or DeleteRequest. Never Both. This is enforced in the code.', - 'type' => 'object', - 'properties' => array( - 'PutRequest' => array( - 'type' => 'object', - 'properties' => array( - 'Item' => array( - 'description' => 'The item to put', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DeleteRequest' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The item\'s key to be delete', - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateTableOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TableDescription' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'TableName' => array( - 'description' => 'The name of the table being described.', - 'type' => 'string', - ), - 'KeySchema' => array( - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'TableStatus' => array( - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'type' => 'string', - ), - 'ProvisionedThroughput' => array( - 'type' => 'object', - 'properties' => array( - 'LastIncreaseDateTime' => array( - 'type' => 'string', - ), - 'LastDecreaseDateTime' => array( - 'type' => 'string', - ), - 'ReadCapacityUnits' => array( - 'type' => 'numeric', - ), - 'WriteCapacityUnits' => array( - 'type' => 'numeric', - ), - ), - ), - 'TableSizeBytes' => array( - 'type' => 'numeric', - ), - 'ItemCount' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'DeleteItemOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'DeleteTableOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TableDescription' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'TableName' => array( - 'description' => 'The name of the table being described.', - 'type' => 'string', - ), - 'KeySchema' => array( - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'TableStatus' => array( - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'type' => 'string', - ), - 'ProvisionedThroughput' => array( - 'type' => 'object', - 'properties' => array( - 'LastIncreaseDateTime' => array( - 'type' => 'string', - ), - 'LastDecreaseDateTime' => array( - 'type' => 'string', - ), - 'ReadCapacityUnits' => array( - 'type' => 'numeric', - ), - 'WriteCapacityUnits' => array( - 'type' => 'numeric', - ), - ), - ), - 'TableSizeBytes' => array( - 'type' => 'numeric', - ), - 'ItemCount' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'DescribeTableOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Table' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'TableName' => array( - 'description' => 'The name of the table being described.', - 'type' => 'string', - ), - 'KeySchema' => array( - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'TableStatus' => array( - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'type' => 'string', - ), - 'ProvisionedThroughput' => array( - 'type' => 'object', - 'properties' => array( - 'LastIncreaseDateTime' => array( - 'type' => 'string', - ), - 'LastDecreaseDateTime' => array( - 'type' => 'string', - ), - 'ReadCapacityUnits' => array( - 'type' => 'numeric', - ), - 'WriteCapacityUnits' => array( - 'type' => 'numeric', - ), - ), - ), - 'TableSizeBytes' => array( - 'type' => 'numeric', - ), - 'ItemCount' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'GetItemOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Item' => array( - 'description' => 'Contains the requested attributes.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'ListTablesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TableNames' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'TableName', - 'type' => 'string', - ), - ), - 'LastEvaluatedTableName' => array( - 'description' => 'The name of the last table in the current list. Use this value as the ExclusiveStartTableName in a new request to continue the list until all the table names are returned. If this value is null, all table names have been returned.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'PutItemOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'QueryOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Items' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'AttributeMap', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'Count' => array( - 'description' => 'Number of items in the response.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'LastEvaluatedKey' => array( - 'description' => 'Primary key of the item where the query operation stopped, inclusive of the previous result set. Use this value to start a new operation excluding this value in the new request. The LastEvaluatedKey is null when the entire query result set is complete (i.e. the operation processed the "last page").', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'ScanOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Items' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'AttributeMap', - 'type' => 'object', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'Count' => array( - 'description' => 'Number of items in the response.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'ScannedCount' => array( - 'description' => 'Number of items in the complete scan before any filters are applied. A high ScannedCount value with few, or no, Count results indicates an inefficient Scan operation.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'LastEvaluatedKey' => array( - 'description' => 'Primary key of the item where the scan operation stopped. Provide this value in a subsequent scan operation to continue the operation from that point. The LastEvaluatedKey is null when the entire scan result set is complete (i.e. the operation processed the "last page").', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'UpdateItemOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'A map of attribute name-value pairs, but only if the ReturnValues parameter is specified as something other than NONE in the request.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'description' => 'AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.', - 'type' => 'object', - 'properties' => array( - 'S' => array( - 'description' => 'Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).', - 'type' => 'string', - ), - 'N' => array( - 'description' => 'Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.', - 'type' => 'string', - ), - 'B' => array( - 'description' => 'Binary attributes are sequences of unsigned bytes.', - 'type' => 'string', - ), - 'SS' => array( - 'description' => 'A set of strings.', - 'type' => 'array', - 'items' => array( - 'name' => 'StringAttributeValue', - 'type' => 'string', - ), - ), - 'NS' => array( - 'description' => 'A set of numbers.', - 'type' => 'array', - 'items' => array( - 'name' => 'NumberAttributeValue', - 'type' => 'string', - ), - ), - 'BS' => array( - 'description' => 'A set of binary attributes.', - 'type' => 'array', - 'items' => array( - 'name' => 'BinaryAttributeValue', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ConsumedCapacityUnits' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'UpdateTableOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TableDescription' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'TableName' => array( - 'description' => 'The name of the table being described.', - 'type' => 'string', - ), - 'KeySchema' => array( - 'type' => 'object', - 'properties' => array( - 'HashKeyElement' => array( - 'description' => 'A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - 'RangeKeyElement' => array( - 'description' => 'A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be String, Number, StringSet, NumberSet.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The AttributeName of the KeySchemaElement.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The AttributeType of the KeySchemaElement which can be a String or a Number.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'TableStatus' => array( - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'type' => 'string', - ), - 'ProvisionedThroughput' => array( - 'type' => 'object', - 'properties' => array( - 'LastIncreaseDateTime' => array( - 'type' => 'string', - ), - 'LastDecreaseDateTime' => array( - 'type' => 'string', - ), - 'ReadCapacityUnits' => array( - 'type' => 'numeric', - ), - 'WriteCapacityUnits' => array( - 'type' => 'numeric', - ), - ), - ), - 'TableSizeBytes' => array( - 'type' => 'numeric', - ), - 'ItemCount' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'interval' => 20, - 'max_attempts' => 25, - ), - '__TableState' => array( - 'operation' => 'DescribeTable', - ), - 'TableExists' => array( - 'extends' => '__TableState', - 'description' => 'Wait until a table exists and can be accessed', - 'success.type' => 'output', - 'success.path' => 'Table/TableStatus', - 'success.value' => 'ACTIVE', - 'ignore_errors' => array( - 'ResourceNotFoundException', - ), - ), - 'TableNotExists' => array( - 'extends' => '__TableState', - 'description' => 'Wait until a table is deleted', - 'success.type' => 'error', - 'success.value' => 'ResourceNotFoundException', - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/AbstractLockingStrategy.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/AbstractLockingStrategy.php deleted file mode 100644 index b10ab87..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/AbstractLockingStrategy.php +++ /dev/null @@ -1,115 +0,0 @@ -client = $client; - $this->config = $config; - } - - /** - * {@inheritdoc} - */ - public function doWrite($id, $data, $isDataChanged) - { - // Prepare the attributes - $expires = time() + $this->config->get('session_lifetime'); - $attributes = array( - 'expires' => array( - 'Value' => array( - 'N' => (string) $expires - ) - ) - ); - if ($isDataChanged) { - $attributes['data'] = array( - 'Value' => array( - 'S' => $data - ) - ); - } - $attributes = array_merge($attributes, $this->getExtraAttributes()); - - // Perform the UpdateItem command - try { - return (bool) $this->client->getCommand('UpdateItem', array( - 'TableName' => $this->config->get('table_name'), - 'Key' => array( - 'HashKeyElement' => array( - 'S' => $id - ) - ), - 'AttributeUpdates' => $attributes, - Ua::OPTION => Ua::SESSION - ))->execute(); - } catch (DynamoDbException $e) { - return false; - } - } - - /** - * {@inheritdoc} - */ - public function doDestroy($id) - { - try { - return (bool) $this->client->getCommand('DeleteItem', array( - 'TableName' => $this->config->get('table_name'), - 'Key' => array( - 'HashKeyElement' => array( - 'S' => $id - ) - ), - Ua::OPTION => Ua::SESSION - ))->execute(); - } catch (DynamoDbException $e) { - return false; - } - } - - /** - * Allows the specific strategy to add additional attributes to update - * - * @return array - */ - abstract protected function getExtraAttributes(); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactory.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactory.php deleted file mode 100644 index 7676683..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactory.php +++ /dev/null @@ -1,85 +0,0 @@ -baseNamespace = $baseNamespace ?: __NAMESPACE__; - $this->inflector = $inflector ?: Inflector::getDefault(); - } - - /** - * Creates a session handler locking strategy - * - * @param string $lockingStrategy The name if the locking strategy - * @param SessionHandlerConfig $config The session handler config data - * - * @return LockingStrategyInterface - * - * @throws InvalidArgumentException If the locking strategy doesn't exist - */ - public function factory($lockingStrategy = null, SessionHandlerConfig $config) - { - // If the locking strategy is null, let's give it the name "null" - if ($lockingStrategy === null) { - $lockingStrategy = 'null'; - } - - // Make sure the locking strategy name provided is a string - if (!is_string($lockingStrategy)) { - throw new InvalidArgumentException('The session locking strategy ' - . 'name must be provided as a string.'); - } - - // Determine the class name of the locking strategy class - $classPath = $this->baseNamespace . '\\' - . $this->inflector->camel($lockingStrategy) . 'LockingStrategy'; - - // Make sure the locking strategy class exists - if (!class_exists($classPath)) { - throw new InvalidArgumentException("There is no session locking " - . "strategy named \"{$classPath}\"."); - } - - // Call the factory on the locking strategy class to create it - return new $classPath($config->get('dynamodb_client'), $config); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryInterface.php deleted file mode 100644 index 0834ee3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryInterface.php +++ /dev/null @@ -1,36 +0,0 @@ -client->getCommand('GetItem', array( - 'TableName' => $this->config->get('table_name'), - 'Key' => array( - 'HashKeyElement' => array( - 'S' => $id - ) - ), - 'ConsistentRead' => (bool) $this->config->get('consistent_read'), - Ua::OPTION => Ua::SESSION - ))->execute(); - - // Get the item values - $item = array(); - $result = isset($result['Item']) ? $result['Item'] : array(); - foreach ($result as $key => $value) { - $item[$key] = current($value); - } - } catch (DynamoDbException $e) { - $item = array(); - } - - return $item; - } - - /** - * {@inheritdoc} - */ - protected function getExtraAttributes() - { - // @codeCoverageIgnoreStart - return array(); - // @codeCoverageIgnoreEnd - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategy.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategy.php deleted file mode 100644 index 334760d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategy.php +++ /dev/null @@ -1,121 +0,0 @@ -addDefaults(array( - 'max_lock_wait_time' => 10, - 'min_lock_retry_microtime' => 10000, - 'max_lock_retry_microtime' => 50000, - )); - - parent::__construct($client, $config); - } - - /** - * {@inheritdoc} - * Retries the request until the lock can be acquired - */ - public function doRead($id) - { - $item = array(); - $rightNow = time(); - $timeout = $rightNow + $this->config->get('max_lock_wait_time'); - - // Create an UpdateItem command so that a lock can be set and the item - // returned (via ReturnValues) in a single, atomic operation - $updateItem = $this->client->getCommand('UpdateItem', array( - 'TableName' => $this->config->get('table_name'), - 'Key' => array( - 'HashKeyElement' => array( - 'S' => $id) - ), - 'Expected' => array( - 'lock' => array( - 'Exists' => false - ) - ), - 'AttributeUpdates' => array( - 'lock' => array( - 'Value' => array( - 'N' => '1' - ) - ) - ), - 'ReturnValues' => 'ALL_NEW', - Ua::OPTION => Ua::SESSION - )); - - // Acquire the lock and fetch the item data - do { - try { - $result = $updateItem->execute(); - } catch (ConditionalCheckFailedException $e) { - // If lock fails, sleep and try again later - usleep(rand( - $this->config->get('min_lock_retry_microtime'), - $this->config->get('max_lock_retry_microtime') - )); - - $result = array(); - $rightNow = time(); - } catch (DynamoDbException $e) { - return $item; - } - } while (!$result && $rightNow < $timeout); - - // Get the item attributes - if (isset($result['Attributes'])) { - foreach ($result['Attributes'] as $key => $value) { - $item[$key] = current($value); - } - } - - return $item; - } - - /** - * {@inheritdoc} - */ - protected function getExtraAttributes() - { - // @codeCoverageIgnoreStart - return array('lock' => array('Action' => 'DELETE')); - // @codeCoverageIgnoreEnd - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/SessionHandler.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/SessionHandler.php deleted file mode 100644 index 9ac0bd4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/SessionHandler.php +++ /dev/null @@ -1,427 +0,0 @@ -get('dynamodb_client'); - - // Make sure locking strategy has been provided or provide a default - $strategy = $config->get('locking_strategy'); - if (!($strategy instanceof LockingStrategyInterface)) { - $factory = new LockingStrategyFactory(); - $strategy = $factory->factory($strategy, $config); - } - - // Return an instance of the session handler - return new static($client, $strategy, $config); - } - - /** - * Constructs a new DynamoDB Session Handler - * - * @param DynamoDbClient $client Client for doing DynamoDB operations - * @param LockingStrategyInterface $strategy Locking strategy for performing session locking logic - * @param SessionHandlerConfig $config Configuration options for the session handler - */ - public function __construct( - DynamoDbClient $client, - LockingStrategyInterface $strategy, - SessionHandlerConfig $config - ) { - $this->client = $client; - $this->lockingStrategy = $strategy; - $this->config = $config; - } - - /** - * Destruct the session handler and make sure the session gets written - * - * NOTE: It is usually better practice to call `session_write_close()` - * manually in your application as soon as session modifications are - * complete. This is especially true if session locking is enabled. - * - * @link http://php.net/manual/en/function.session-set-save-handler.php#refsect1-function.session-set-save-handler-notes - */ - public function __destruct() - { - session_write_close(); - } - - /** - * Register the DynamoDB session handler. - * - * Uses the PHP-provided method to register this class as a session handler. - * - * @return bool Whether or not the handler was registered - */ - public function register() - { - // Set garbage collection probability based on config - $autoGarbageCollection = $this->config->get('automatic_gc') ? '1' : '0'; - ini_set('session.gc_probability', $autoGarbageCollection); - - // Register the session handler - return session_set_save_handler( - array($this, 'open'), - array($this, 'close'), - array($this, 'read'), - array($this, 'write'), - array($this, 'destroy'), - array($this, 'gc') - ); - } - - /** - * Checks if the session is open and writable - * - * @return bool Whether or not the session is open for writing - */ - public function isSessionOpen() - { - return (bool) $this->openSessionId; - } - - /** - * Checks if the session has been written - * - * @return bool Whether or not the session has been written - */ - public function isSessionWritten() - { - return $this->sessionWritten; - } - - /** - * Creates a table in DynamoDB for session storage according to provided - * configuration options. - * - * Note: This is a one-time operation. It may be better to do this via the - * AWS management console prior to using the session handler. - * - * @param int $readCapacityUnits RCUs for table read throughput - * @param int $writeCapacityUnits WCUs table write throughput - * - * @return array The command result - */ - public function createSessionsTable($readCapacityUnits, $writeCapacityUnits) - { - $tableName = $this->config->get('table_name'); - - $result = $this->client->getCommand('CreateTable', array( - 'TableName' => $tableName, - 'KeySchema' => array( - 'HashKeyElement' => array( - 'AttributeName' => $this->config->get('hash_key'), - 'AttributeType' => 'S', - ) - ), - 'ProvisionedThroughput' => array( - 'ReadCapacityUnits' => (int) $readCapacityUnits, - 'WriteCapacityUnits' => (int) $writeCapacityUnits, - ), - Ua::OPTION => Ua::SESSION - ))->execute(); - - $this->client->waitUntil('table_exists', array('TableName' => $tableName)); - - return $result; - } - - /** - * Open a session for writing. Triggered by session_start() - * - * Part of the standard PHP session handler interface - * - * @param string $savePath The session save path - * @param string $sessionName The session name - * - * @return bool Whether or not the operation succeeded - */ - public function open($savePath, $sessionName) - { - $this->savePath = $savePath; - $this->sessionName = $sessionName; - $this->openSessionId = session_id(); - - return $this->isSessionOpen(); - } - - /** - * Close a session from writing - * - * Part of the standard PHP session handler interface - * - * @return bool Success - */ - public function close() - { - // Make sure the session is unlocked even if the write did not happen. - // Also, make sure to update the expiration time - if (!$this->isSessionWritten()) { - $id = $this->formatId($this->openSessionId); - $result = $this->lockingStrategy->doWrite($id, '', false); - $this->sessionWritten = (bool) $result; - } - - $this->openSessionId = null; - - return $this->isSessionWritten(); - } - - /** - * Read a session stored in DynamoDB - * - * Part of the standard PHP session handler interface - * - * @param string $id The session ID - * - * @return string The session data - */ - public function read($id) - { - // PHP expects an empty string to be returned from this method if no - // data is retrieved - $this->dataRead = ''; - - // Get session data using the selected locking strategy - $item = $this->lockingStrategy->doRead($this->formatId($id)); - - // Return the data if it is not expired. If it is expired, remove it - if (isset($item['expires']) && isset($item['data'])) { - $this->dataRead = $item['data']; - if ($item['expires'] <= time()) { - $this->dataRead = ''; - $this->destroy($id); - } - } - - return $this->dataRead; - } - - /** - * Write a session to DynamoDB - * - * Part of the standard PHP session handler interface - * - * @param string $id The session ID - * @param string $data The serialized session data to write - * - * @return bool Whether or not the operation succeeded - */ - public function write($id, $data) - { - // Write the session data using the selected locking strategy - $this->sessionWritten = $this->lockingStrategy->doWrite( - $this->formatId($id), - $data, - ($data !== $this->dataRead) - ); - - return $this->isSessionWritten(); - } - - /** - * Delete a session stored in DynamoDB - * - * Part of the standard PHP session handler interface - * - * @param string $id The session ID - * - * @return bool Whether or not the operation succeeded - */ - public function destroy($id) - { - // Delete the session data using the selected locking strategy - $this->sessionWritten = $this->lockingStrategy->doDestroy($this->formatId($id)); - - return $this->isSessionWritten(); - } - - /** - * Triggers garbage collection on expired sessions - * - * Part of the standard PHP session handler interface - * - * @param int $maxLifetime The value of `session.gc_maxlifetime`. Ignored - * - * @return bool - */ - public function gc($maxLifetime) - { - try { - $this->garbageCollect(); - - return true; - } catch (\Exception $e) { - return false; - } - } - - /** - * Performs garbage collection on the sessions stored in the DynamoDB table - * - * If triggering garbage collection manually, use this method. If your - * garbage collection is triggered automatically by php (not recommended), - * then use the `gc` method. - */ - public function garbageCollect() - { - $deleteBatch = WriteRequestBatch::factory( - $this->client, - $this->config->get('gc_batch_size') - ); - $tableName = $this->config->get('table_name'); - $expires = (string) time(); - - // Setup a scan table command for finding expired session items - $tableScan = $this->client->getCommand('Scan', array( - 'TableName' => $tableName, - 'AttributesToGet' => array( - $this->config->get('hash_key') - ), - 'ScanFilter' => array( - 'expires' => array( - 'ComparisonOperator' => 'LT', - 'AttributeValueList' => array( - array( - 'N' => $expires - ) - ), - ), - 'lock' => array( - 'ComparisonOperator' => 'NULL', - ) - ), - Ua::OPTION => Ua::SESSION - )); - - // Perform scan and batch delete operations as needed - foreach ($this->client->getIterator($tableScan) as $item) { - // @codeCoverageIgnoreStart - $key = array('HashKeyElement' => $item[$this->config->get('hash_key')]); - $deleteBatch->add(new DeleteRequest($key, $tableName)); - // @codeCoverageIgnoreEnd - } - - // Delete any remaining items - $deleteBatch->flush(); - } - - /** - * Prepend the session ID with the session name - * - * @param string $id The session ID - * - * @return string Prepared session ID - */ - protected function formatId($id) - { - return trim($this->sessionName . '_' . $id, '_'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/SessionHandlerConfig.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/SessionHandlerConfig.php deleted file mode 100644 index b24312b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/Session/SessionHandlerConfig.php +++ /dev/null @@ -1,85 +0,0 @@ -data = $data; - - // Make sure the DynamoDB client has been provided - if (!($this->get('dynamodb_client') instanceof DynamoDbClient)) { - throw new InvalidArgumentException('The DynamoDB Session Handler ' - . 'must be provided an instance of the DynamoDbClient.'); - } - - // Merge provided data with defaults - $this->addDefaults(array( - 'table_name' => 'sessions', - 'hash_key' => 'id', - 'session_lifetime' => (int) ini_get('session.gc_maxlifetime'), - 'consistent_read' => true, - 'automatic_gc' => (bool) ini_get('session.gc_probability'), - 'gc_batch_size' => 25 - )); - } - - /** - * Gets a config value if it exists, otherwise it returns null - * - * @param string $key The key of the config item - * - * @return mixed - */ - public function get($key) - { - return array_key_exists($key, $this->data) ? $this->data[$key] : null; - } - - /** - * Applies default values by merging underneath the current data - * - * @param array $defaults The new default data to merge underneath - * - * @return SessionHandlerConfig - */ - public function addDefaults(array $defaults) - { - $this->data = array_replace($defaults, $this->data); - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/ThrottlingErrorChecker.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/ThrottlingErrorChecker.php deleted file mode 100644 index 745c140..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/DynamoDb/ThrottlingErrorChecker.php +++ /dev/null @@ -1,71 +0,0 @@ -parser = new JsonQueryExceptionParser(); - if ($next) { - $this->setNext($next); - } - } - - /** - * {@inheridoc} - */ - public function makesDecision() - { - return true; - } - - /** - * {@inheritdoc} - */ - protected function getDelay( - $retries, - RequestInterface $request, - Response $response = null, - HttpException $e = null - ) { - if ($response && $response->isClientError()) { - $parts = $this->parser->parse($response); - - return $parts['code'] == 'ProvisionedThroughputExceededException' - || $parts['code'] == 'ThrottlingException' ? true : null; - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Ec2Client.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Ec2Client.php deleted file mode 100644 index a796926..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Ec2Client.php +++ /dev/null @@ -1,248 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array(Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/ec2-2013-02-01.php')) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Enum/ContainerFormat.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Enum/ContainerFormat.php deleted file mode 100644 index 422be1f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Enum/ContainerFormat.php +++ /dev/null @@ -1,27 +0,0 @@ -get('Reservations') as $reservation) { - foreach ($reservation['Instances'] as $instance) { - $instance['Reservation'] = $reservation; - unset($instance['Reservation']['Instances']); - $instances[] = $instance; - } - } - - return $instances; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Resources/ec2-2013-02-01.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Resources/ec2-2013-02-01.php deleted file mode 100644 index 328dbca..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ec2/Resources/ec2-2013-02-01.php +++ /dev/null @@ -1,15976 +0,0 @@ - '2013-02-01', - 'endpointPrefix' => 'ec2', - 'serviceFullName' => 'Amazon Elastic Compute Cloud', - 'serviceAbbreviation' => 'Amazon EC2', - 'serviceType' => 'query', - 'signatureVersion' => 'v2', - 'namespace' => 'Ec2', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'ec2.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'ec2.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'ActivateLicense' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Activates a specific number of licenses for a 90-day period. Activations can be done against a specific license ID.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ActivateLicense', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'LicenseId' => array( - 'required' => true, - 'description' => 'Specifies the ID for the specific license to activate against.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Capacity' => array( - 'required' => true, - 'description' => 'Specifies the additional number of licenses to activate.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'AllocateAddress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AllocateAddressResult', - 'responseType' => 'model', - 'summary' => 'The AllocateAddress operation acquires an elastic IP address for use with your account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AllocateAddress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Domain' => array( - 'description' => 'Set to vpc to allocate the address to your VPC. By default, will allocate to EC2.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'vpc', - 'standard', - ), - ), - ), - ), - 'AssignPrivateIpAddresses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AssignPrivateIpAddresses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PrivateIpAddress', - 'items' => array( - 'name' => 'PrivateIpAddress', - 'type' => 'string', - ), - ), - 'SecondaryPrivateIpAddressCount' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AllowReassignment' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'AssociateAddress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AssociateAddressResult', - 'responseType' => 'model', - 'summary' => 'The AssociateAddress operation associates an elastic IP address with an instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AssociateAddress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'description' => 'The instance to associate with the IP address.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PublicIp' => array( - 'description' => 'IP address that you are assigning to the instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllocationId' => array( - 'description' => 'The allocation ID that AWS returned when you allocated the elastic IP address for use with Amazon VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllowReassociation' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'AssociateDhcpOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Associates a set of DHCP options (that you\'ve previously created) with the specified VPC. Or, associates the default DHCP options with the VPC. The default set consists of the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. For more information about the supported DHCP options and using them with Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud Developer Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AssociateDhcpOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'DhcpOptionsId' => array( - 'required' => true, - 'description' => 'The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC to associate the DHCP options with.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'AssociateRouteTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AssociateRouteTableResult', - 'responseType' => 'model', - 'summary' => 'Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need if you want to disassociate the route table from the subnet later. A route table can be associated with multiple subnets.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AssociateRouteTable', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SubnetId' => array( - 'required' => true, - 'description' => 'The ID of the subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RouteTableId' => array( - 'required' => true, - 'description' => 'The ID of the route table.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'AttachInternetGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachInternetGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InternetGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the Internet gateway to attach.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'AttachNetworkInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AttachNetworkInterfaceResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachNetworkInterface', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DeviceIndex' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'AttachVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'attachment', - 'responseType' => 'model', - 'summary' => 'Attach a previously created volume to a running instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachVolume', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'description' => 'The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone and the instance must be running.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance to which the volume attaches. The volume and instance must be within the same Availability Zone and the instance must be running.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Device' => array( - 'required' => true, - 'description' => 'Specifies how the device is exposed to the instance (e.g., /dev/sdh).', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'AttachVpnGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AttachVpnGatewayResult', - 'responseType' => 'model', - 'summary' => 'Attaches a VPN gateway to a VPC. This is the last step required to get your VPC fully connected to your data center before launching instances in it. For more information, go to Process for Using Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachVpnGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the VPN gateway to attach to the VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC to attach to the VPN gateway.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'AuthorizeSecurityGroupEgress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This action applies only to security groups in a VPC; it\'s not supported for EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AuthorizeSecurityGroupEgress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupId' => array( - 'required' => true, - 'description' => 'ID of the VPC security group to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'IpPermissions' => array( - 'description' => 'List of IP permissions to authorize on the specified security group. Specifying permissions through IP permissions is the preferred way of authorizing permissions since it offers more flexibility and control.', - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'IpPermission', - 'description' => 'An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.', - 'type' => 'object', - 'properties' => array( - 'IpProtocol' => array( - 'description' => 'The IP protocol of this permission.', - 'type' => 'string', - ), - 'FromPort' => array( - 'description' => 'Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).', - 'type' => 'numeric', - ), - 'ToPort' => array( - 'description' => 'End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).', - 'type' => 'numeric', - ), - 'UserIdGroupPairs' => array( - 'description' => 'The list of AWS user IDs and groups included in this permission.', - 'type' => 'array', - 'sentAs' => 'Groups', - 'items' => array( - 'name' => 'Groups', - 'description' => 'An AWS user ID identifiying an AWS account, and the name of a security group within that account.', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of an account.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - ), - ), - ), - 'IpRanges' => array( - 'description' => 'The list of CIDR IP ranges included in this permission.', - 'type' => 'array', - 'items' => array( - 'name' => 'IpRange', - 'description' => 'Contains a list of CIRD IP ranges.', - 'type' => 'object', - 'properties' => array( - 'CidrIp' => array( - 'description' => 'The list of CIDR IP ranges.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'AuthorizeSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The AuthorizeSecurityGroupIngress operation adds permissions to a security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AuthorizeSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupName' => array( - 'description' => 'Name of the standard (EC2) security group to modify. The group must belong to your account. Can be used instead of GroupID for standard (EC2) security groups.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GroupId' => array( - 'description' => 'ID of the standard (EC2) or VPC security group to modify. The group must belong to your account. Required for VPC security groups; can be used instead of GroupName for standard (EC2) security groups.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'IpPermissions' => array( - 'description' => 'List of IP permissions to authorize on the specified security group. Specifying permissions through IP permissions is the preferred way of authorizing permissions since it offers more flexibility and control.', - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'IpPermission', - 'description' => 'An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.', - 'type' => 'object', - 'properties' => array( - 'IpProtocol' => array( - 'description' => 'The IP protocol of this permission.', - 'type' => 'string', - ), - 'FromPort' => array( - 'description' => 'Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).', - 'type' => 'numeric', - ), - 'ToPort' => array( - 'description' => 'End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).', - 'type' => 'numeric', - ), - 'UserIdGroupPairs' => array( - 'description' => 'The list of AWS user IDs and groups included in this permission.', - 'type' => 'array', - 'sentAs' => 'Groups', - 'items' => array( - 'name' => 'Groups', - 'description' => 'An AWS user ID identifiying an AWS account, and the name of a security group within that account.', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of an account.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - ), - ), - ), - 'IpRanges' => array( - 'description' => 'The list of CIDR IP ranges included in this permission.', - 'type' => 'array', - 'items' => array( - 'name' => 'IpRange', - 'description' => 'Contains a list of CIRD IP ranges.', - 'type' => 'object', - 'properties' => array( - 'CidrIp' => array( - 'description' => 'The list of CIDR IP ranges.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'BundleInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'BundleInstanceResult', - 'responseType' => 'model', - 'summary' => 'The BundleInstance operation request that an instance is bundled the next time it boots. The bundling process creates a new image from a running instance and stores the AMI data in S3. Once bundled, the image must be registered in the normal way using the RegisterImage API.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'BundleInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance to bundle.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Storage' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'S3' => array( - 'description' => 'The details of S3 storage for bundling a Windows instance.', - 'type' => 'object', - 'properties' => array( - 'Bucket' => array( - 'description' => 'The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'The prefix to use when storing the AMI in S3.', - 'type' => 'string', - ), - 'AWSAccessKeyId' => array( - 'description' => 'The Access Key ID of the owner of the Amazon S3 bucket.', - 'type' => 'string', - ), - 'UploadPolicy' => array( - 'description' => 'A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user\'s behalf.', - 'type' => 'string', - ), - 'UploadPolicySignature' => array( - 'description' => 'The signature of the Base64 encoded JSON document.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'CancelBundleTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CancelBundleTaskResult', - 'responseType' => 'model', - 'summary' => 'CancelBundleTask operation cancels a pending or in-progress bundling task. This is an asynchronous call and it make take a while for the task to be canceled. If a task is canceled while it is storing items, there may be parts of the incomplete AMI stored in S3. It is up to the caller to clean up these parts from S3.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelBundleTask', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'BundleId' => array( - 'required' => true, - 'description' => 'The ID of the bundle task to cancel.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CancelConversionTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelConversionTask', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ConversionTaskId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReasonMessage' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CancelExportTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelExportTask', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ExportTaskId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CancelReservedInstancesListing' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CancelReservedInstancesListingResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelReservedInstancesListing', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ReservedInstancesListingId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CancelSpotInstanceRequests' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CancelSpotInstanceRequestsResult', - 'responseType' => 'model', - 'summary' => 'Cancels one or more Spot Instance requests.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelSpotInstanceRequests', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SpotInstanceRequestIds' => array( - 'required' => true, - 'description' => 'Specifies the ID of the Spot Instance request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SpotInstanceRequestId', - 'items' => array( - 'name' => 'SpotInstanceRequestId', - 'type' => 'string', - ), - ), - ), - ), - 'ConfirmProductInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfirmProductInstanceResult', - 'responseType' => 'model', - 'summary' => 'The ConfirmProductInstance operation returns true if the specified product code is attached to the specified instance. The operation returns false if the product code is not attached to the instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ConfirmProductInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ProductCode' => array( - 'required' => true, - 'description' => 'The product code to confirm.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance to confirm.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CopyImage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CopyImageResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CopyImage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SourceRegion' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceImageId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Name' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClientToken' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CopySnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CopySnapshotResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CopySnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SourceRegion' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceSnapshotId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateCustomerGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateCustomerGatewayResult', - 'responseType' => 'model', - 'summary' => 'Provides information to AWS about your customer gateway device. The customer gateway is the appliance at your end of the VPN connection (compared to the VPN gateway, which is the device at the AWS side of the VPN connection). You can have a single active customer gateway per AWS account (active means that you\'ve created a VPN connection to use with the customer gateway). AWS might delete any customer gateway that you create with this operation if you leave it inactive for an extended period of time.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateCustomerGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Type' => array( - 'required' => true, - 'description' => 'The type of VPN connection this customer gateway supports.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PublicIp' => array( - 'required' => true, - 'description' => 'The Internet-routable IP address for the customer gateway\'s outside interface. The address must be static', - 'type' => 'string', - 'location' => 'aws.query', - 'sentAs' => 'IpAddress', - ), - 'BgpAsn' => array( - 'required' => true, - 'description' => 'The customer gateway\'s Border Gateway Protocol (BGP) Autonomous System Number (ASN).', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'CreateDhcpOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateDhcpOptionsResult', - 'responseType' => 'model', - 'summary' => 'Creates a set of DHCP options that you can then associate with one or more VPCs, causing all existing and new instances that you launch in those VPCs to use the set of DHCP options. The following table lists the individual DHCP options you can specify. For more information about the options, go to http://www.ietf.org/rfc/rfc2132.txt', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDhcpOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'DhcpConfigurations' => array( - 'required' => true, - 'description' => 'A set of one or more DHCP configurations.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DhcpConfiguration', - 'items' => array( - 'name' => 'DhcpConfiguration', - 'description' => 'The DhcpConfiguration data type', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'Contains the name of a DHCP option.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains a set of values for a DHCP option.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'CreateImage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateImageResult', - 'responseType' => 'model', - 'summary' => 'Creates an Amazon EBS-backed AMI from a "running" or "stopped" instance. AMIs that use an Amazon EBS root device boot faster than AMIs that use instance stores. They can be up to 1 TiB in size, use storage that persists on instance failure, and can be stopped and started.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateImage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance from which to create the new image.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The name for the new AMI being created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'description' => 'The description for the new AMI being created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NoReboot' => array( - 'description' => 'By default this property is set to false, which means Amazon EC2 attempts to cleanly shut down the instance before image creation and reboots the instance afterwards. When set to true, Amazon EC2 will not shut down the instance before creating the image. When this option is used, file system integrity on the created image cannot be guaranteed.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'BlockDeviceMappings' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BlockDeviceMapping', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'VolumeType' => array( - 'type' => 'string', - 'enum' => array( - 'standard', - 'io1', - ), - ), - 'Iops' => array( - 'type' => 'numeric', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'CreateInstanceExportTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateInstanceExportTaskResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateInstanceExportTask', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TargetEnvironment' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'citrix', - 'vmware', - ), - ), - 'ExportToS3Task' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'ExportToS3', - 'properties' => array( - 'DiskImageFormat' => array( - 'type' => 'string', - 'enum' => array( - 'vmdk', - 'vhd', - ), - ), - 'ContainerFormat' => array( - 'type' => 'string', - 'enum' => array( - 'ova', - ), - ), - 'S3Bucket' => array( - 'type' => 'string', - ), - 'S3Prefix' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'CreateInternetGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateInternetGatewayResult', - 'responseType' => 'model', - 'summary' => 'Creates a new Internet gateway in your AWS account. After creating the Internet gateway, you then attach it to a VPC using AttachInternetGateway. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateInternetGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - ), - ), - 'CreateKeyPair' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateKeyPairResult', - 'responseType' => 'model', - 'summary' => 'The CreateKeyPair operation creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. For more information, see RunInstances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateKeyPair', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'KeyName' => array( - 'required' => true, - 'description' => 'The unique name for the new key pair.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateNetworkAcl' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateNetworkAclResult', - 'responseType' => 'model', - 'summary' => 'Creates a new network ACL in a VPC. Network ACLs provide an optional layer of security (on top of security groups) for the instances in your VPC. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateNetworkAcl', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC where the network ACL will be created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateNetworkAclEntry' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates an entry (i.e., rule) in a network ACL with a rule number you specify. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, Amazon VPC processes the entries in the ACL according to the rule numbers, in ascending order.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateNetworkAclEntry', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkAclId' => array( - 'required' => true, - 'description' => 'ID of the ACL where the entry will be created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RuleNumber' => array( - 'required' => true, - 'description' => 'Rule number to assign to the entry (e.g., 100). ACL entries are processed in ascending order by rule number.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Protocol' => array( - 'required' => true, - 'description' => 'IP protocol the rule applies to. Valid Values: tcp, udp, icmp or an IP protocol number.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RuleAction' => array( - 'required' => true, - 'description' => 'Whether to allow or deny traffic that matches the rule.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'allow', - 'deny', - ), - ), - 'Egress' => array( - 'required' => true, - 'description' => 'Whether this rule applies to egress traffic from the subnet (true) or ingress traffic to the subnet (false).', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'CidrBlock' => array( - 'required' => true, - 'description' => 'The CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'IcmpTypeCode' => array( - 'description' => 'ICMP values.', - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'Icmp', - 'properties' => array( - 'Type' => array( - 'description' => 'For the ICMP protocol, the ICMP type. A value of -1 is a wildcard meaning all types. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - ), - 'Code' => array( - 'description' => 'For the ICMP protocol, the ICMP code. A value of -1 is a wildcard meaning all codes. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - ), - ), - ), - 'PortRange' => array( - 'description' => 'Port ranges.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'From' => array( - 'description' => 'The first port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - ), - 'To' => array( - 'description' => 'The last port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'CreateNetworkInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateNetworkInterfaceResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateNetworkInterface', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SubnetId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Groups' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'PrivateIpAddressSpecification', - 'type' => 'object', - 'properties' => array( - 'PrivateIpAddress' => array( - 'required' => true, - 'type' => 'string', - ), - 'Primary' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'SecondaryPrivateIpAddressCount' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'CreatePlacementGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates a PlacementGroup into which multiple Amazon EC2 instances can be launched. Users must give the group a name unique within the scope of the user account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreatePlacementGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'The name of the PlacementGroup.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Strategy' => array( - 'required' => true, - 'description' => 'The PlacementGroup strategy.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'cluster', - ), - ), - ), - ), - 'CreateReservedInstancesListing' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateReservedInstancesListingResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateReservedInstancesListing', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ReservedInstancesId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceCount' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PriceSchedules' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'PriceScheduleSpecification', - 'type' => 'object', - 'properties' => array( - 'Term' => array( - 'type' => 'numeric', - ), - 'Price' => array( - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'type' => 'string', - ), - ), - ), - ), - 'ClientToken' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateRoute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates a new route in a route table within a VPC. The route\'s target can be either a gateway attached to the VPC or a NAT instance in the VPC.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateRoute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableId' => array( - 'required' => true, - 'description' => 'The ID of the route table where the route will be added.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DestinationCidrBlock' => array( - 'required' => true, - 'description' => 'The CIDR address block used for the destination match. For example: 0.0.0.0/0. Routing decisions are based on the most specific match.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GatewayId' => array( - 'description' => 'The ID of a VPN or Internet gateway attached to your VPC. You must provide either GatewayId or InstanceId, but not both.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'description' => 'The ID of a NAT instance in your VPC. You must provide either GatewayId or InstanceId, but not both.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateRouteTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateRouteTableResult', - 'responseType' => 'model', - 'summary' => 'Creates a new route table within a VPC. After you create a new route table, you can add routes and associate the table with a subnet. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateRouteTable', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC where the route table will be created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateSecurityGroupResult', - 'responseType' => 'model', - 'summary' => 'The CreateSecurityGroup operation creates a new security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the security group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'Description of the group. This is informational only.', - 'type' => 'string', - 'location' => 'aws.query', - 'sentAs' => 'GroupDescription', - ), - 'VpcId' => array( - 'description' => 'ID of the VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'snapshot', - 'responseType' => 'model', - 'summary' => 'Create a snapshot of the volume identified by volume ID. A volume does not have to be detached at the time the snapshot is taken.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'description' => 'The ID of the volume from which to create the snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'description' => 'The description for the new snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateSpotDatafeedSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateSpotDatafeedSubscriptionResult', - 'responseType' => 'model', - 'summary' => 'Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateSpotDatafeedSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Bucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket in which to store the Spot Instance datafeed.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Prefix' => array( - 'description' => 'The prefix that is prepended to datafeed files.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateSubnet' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateSubnetResult', - 'responseType' => 'model', - 'summary' => 'Creates a subnet in an existing VPC. You can create up to 20 subnets in a VPC. If you add more than one subnet to a VPC, they\'re set up in a star topology with a logical router in the middle. When you create each subnet, you provide the VPC ID and the CIDR block you want for the subnet. Once you create a subnet, you can\'t change its CIDR block. The subnet\'s CIDR block can be the same as the VPC\'s CIDR block (assuming you want only a single subnet in the VPC), or a subset of the VPC\'s CIDR block. If you create more than one subnet in a VPC, the subnets\' CIDR blocks must not overlap. The smallest subnet (and VPC) you can create uses a /28 netmask (16 IP addresses), and the largest uses a /18 netmask (16,384 IP addresses).', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateSubnet', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC to create the subnet in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CidrBlock' => array( - 'required' => true, - 'description' => 'The CIDR block the subnet is to cover.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone to create the subnet in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds or overwrites tags for the specified resources. Each resource can have a maximum of 10 tags. Each tag consists of a key-value pair. Tag keys must be unique per resource.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateTags', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Resources' => array( - 'required' => true, - 'description' => 'One or more IDs of resources to tag. This could be the ID of an AMI, an instance, an EBS volume, or snapshot, etc.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ResourceId', - 'items' => array( - 'name' => 'ResourceId', - 'type' => 'string', - ), - ), - 'Tags' => array( - 'required' => true, - 'description' => 'The tags to add or overwrite for the specified resources. Each tag item consists of a key-value pair.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tag', - 'items' => array( - 'name' => 'Tag', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'CreateVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'volume', - 'responseType' => 'model', - 'summary' => 'Initializes an empty volume of a given size.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateVolume', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Size' => array( - 'description' => 'The size of the volume, in gigabytes. Required if you are not creating a volume from a snapshot.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which to create the new volume.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'required' => true, - 'description' => 'The Availability Zone in which to create the new volume.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VolumeType' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'standard', - 'io1', - ), - ), - 'Iops' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'CreateVpc' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateVpcResult', - 'responseType' => 'model', - 'summary' => 'Creates a VPC with the CIDR block you specify. The smallest VPC you can create uses a /28 netmask (16 IP addresses), and the largest uses a /18 netmask (16,384 IP addresses). To help you decide how big to make your VPC, go to the topic about creating VPCs in the Amazon Virtual Private Cloud Developer Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateVpc', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'CidrBlock' => array( - 'required' => true, - 'description' => 'A valid CIDR block.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceTenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means instances must be launched with tenancy as dedicated.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateVpnConnection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateVpnConnectionResult', - 'responseType' => 'model', - 'summary' => 'Creates a new VPN connection between an existing VPN gateway and customer gateway. The only supported connection type is ipsec.1.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateVpnConnection', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Type' => array( - 'required' => true, - 'description' => 'The type of VPN connection.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CustomerGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the customer gateway.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VpnGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the VPN gateway.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Options' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'StaticRoutesOnly' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'CreateVpnConnectionRoute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateVpnConnectionRoute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnConnectionId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DestinationCidrBlock' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'CreateVpnGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateVpnGatewayResult', - 'responseType' => 'model', - 'summary' => 'Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateVpnGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Type' => array( - 'required' => true, - 'description' => 'The type of VPN connection this VPN gateway supports.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which to create the VPN gateway.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeactivateLicense' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deactivates a specific number of licenses. Deactivations can be done against a specific license ID after they have persisted for at least a 90-day period.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeactivateLicense', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'LicenseId' => array( - 'required' => true, - 'description' => 'Specifies the ID for the specific license to deactivate against.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Capacity' => array( - 'required' => true, - 'description' => 'Specifies the amount of capacity to deactivate against the license.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteCustomerGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteCustomerGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'CustomerGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the customer gateway to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteDhcpOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDhcpOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'DhcpOptionsId' => array( - 'required' => true, - 'description' => 'The ID of the DHCP options set to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteInternetGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteInternetGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InternetGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the Internet gateway to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteKeyPair' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DeleteKeyPair operation deletes a key pair.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteKeyPair', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'KeyName' => array( - 'required' => true, - 'description' => 'The name of the Amazon EC2 key pair to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteNetworkAcl' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can\'t delete the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteNetworkAcl', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkAclId' => array( - 'required' => true, - 'description' => 'The ID of the network ACL to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteNetworkAclEntry' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteNetworkAclEntry', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkAclId' => array( - 'required' => true, - 'description' => 'ID of the network ACL.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RuleNumber' => array( - 'required' => true, - 'description' => 'Rule number for the entry to delete.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Egress' => array( - 'required' => true, - 'description' => 'Whether the rule to delete is an egress rule (true) or ingress rule (false).', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteNetworkInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteNetworkInterface', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeletePlacementGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a PlacementGroup from a user\'s account. Terminate all Amazon EC2 instances in the placement group before deletion.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeletePlacementGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'The name of the PlacementGroup to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteRoute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a route from a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteRoute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableId' => array( - 'required' => true, - 'description' => 'The ID of the route table where the route will be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DestinationCidrBlock' => array( - 'required' => true, - 'description' => 'The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteRouteTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a route table from a VPC. The route table must not be associated with a subnet. You can\'t delete the main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteRouteTable', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableId' => array( - 'required' => true, - 'description' => 'The ID of the route table to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DeleteSecurityGroup operation deletes a security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupName' => array( - 'description' => 'The name of the Amazon EC2 security group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GroupId' => array( - 'description' => 'The ID of the Amazon EC2 security group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the snapshot identified by snapshotId.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SnapshotId' => array( - 'required' => true, - 'description' => 'The ID of the snapshot to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteSpotDatafeedSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the data feed for Spot Instances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteSpotDatafeedSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - ), - ), - 'DeleteSubnet' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteSubnet', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SubnetId' => array( - 'required' => true, - 'description' => 'The ID of the subnet you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes tags from the specified Amazon EC2 resources.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteTags', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Resources' => array( - 'required' => true, - 'description' => 'A list of one or more resource IDs. This could be the ID of an AMI, an instance, an EBS volume, or snapshot, etc.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ResourceId', - 'items' => array( - 'name' => 'ResourceId', - 'type' => 'string', - ), - ), - 'Tags' => array( - 'description' => 'The tags to delete from the specified resources. Each tag item consists of a key-value pair.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tag', - 'items' => array( - 'name' => 'Tag', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DeleteVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a previously created volume. Once successfully deleted, a new volume can be created with the same name.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVolume', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'description' => 'The ID of the EBS volume to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteVpc' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVpc', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteVpnConnection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or VPN gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVpnConnection', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnConnectionId' => array( - 'required' => true, - 'description' => 'The ID of the VPN connection to delete', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteVpnConnectionRoute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVpnConnectionRoute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnConnectionId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DestinationCidrBlock' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteVpnGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don\'t need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVpnGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the VPN gateway to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeregisterImage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DeregisterImage operation deregisters an AMI. Once deregistered, instances of the AMI can no longer be launched.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeregisterImage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageId' => array( - 'required' => true, - 'description' => 'The ID of the AMI to deregister.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeAccountAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAccountAttributesResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAccountAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'AttributeNames' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AttributeName', - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - ), - ), - 'DescribeAddresses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAddressesResult', - 'responseType' => 'model', - 'summary' => 'The DescribeAddresses operation lists elastic IP addresses assigned to your account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAddresses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'PublicIps' => array( - 'description' => 'The optional list of Elastic IP addresses to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PublicIp', - 'items' => array( - 'name' => 'PublicIp', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'AllocationIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AllocationId', - 'items' => array( - 'name' => 'AllocationId', - 'type' => 'string', - ), - ), - ), - ), - 'DescribeAvailabilityZones' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAvailabilityZonesResult', - 'responseType' => 'model', - 'summary' => 'The DescribeAvailabilityZones operation describes availability zones that are currently available to the account and their states.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeAvailabilityZones', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ZoneNames' => array( - 'description' => 'A list of the availability zone names to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ZoneName', - 'items' => array( - 'name' => 'ZoneName', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for AvailabilityZones. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeBundleTasks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeBundleTasksResult', - 'responseType' => 'model', - 'summary' => 'The DescribeBundleTasks operation describes in-progress and recent bundle tasks. Complete and failed tasks are removed from the list a short time after completion. If no bundle ids are given, all bundle tasks are returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeBundleTasks', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'BundleIds' => array( - 'description' => 'The list of bundle task IDs to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BundleId', - 'items' => array( - 'name' => 'BundleId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeConversionTasks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeConversionTasksResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeConversionTasks', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Filters' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ConversionTaskIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ConversionTaskId', - 'items' => array( - 'name' => 'ConversionTaskId', - 'type' => 'string', - ), - ), - ), - ), - 'DescribeCustomerGateways' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeCustomerGatewaysResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway\'s state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway\'s state is pending or available). The result includes information for a particular customer gateway only if the gateway matches all your filters. If there\'s no match, no special message is returned; the response is simply empty. The following table shows the available filters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCustomerGateways', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'CustomerGatewayIds' => array( - 'description' => 'A set of one or more customer gateway IDs.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'CustomerGatewayId', - 'items' => array( - 'name' => 'CustomerGatewayId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Customer Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeDhcpOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeDhcpOptionsResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about one or more sets of DHCP options. You can specify one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options). The returned information consists of:', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDhcpOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'DhcpOptionsIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DhcpOptionsId', - 'items' => array( - 'name' => 'DhcpOptionsId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeExportTasks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeExportTasksResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeExportTasks', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ExportTaskIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ExportTaskId', - 'items' => array( - 'name' => 'ExportTaskId', - 'type' => 'string', - ), - ), - ), - ), - 'DescribeImageAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'imageAttribute', - 'responseType' => 'model', - 'summary' => 'The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeImageAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageId' => array( - 'required' => true, - 'description' => 'The ID of the AMI whose attribute is to be described.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'required' => true, - 'description' => 'The name of the attribute to describe.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeImages' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeImagesResult', - 'responseType' => 'model', - 'summary' => 'The DescribeImages operation returns information about AMIs, AKIs, and ARIs available to the user. Information returned includes image type, product codes, architecture, and kernel and RAM disk IDs. Images available to the user include public images available for any user to launch, private images owned by the user making the request, and private images owned by other users for which the user has explicit launch permissions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeImages', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageIds' => array( - 'description' => 'An optional list of the AMI IDs to describe. If not specified, all AMIs will be described.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ImageId', - 'items' => array( - 'name' => 'ImageId', - 'type' => 'string', - ), - ), - 'Owners' => array( - 'description' => 'The optional list of owners for the described AMIs. The IDs amazon, self, and explicit can be used to include AMIs owned by Amazon, AMIs owned by the user, and AMIs for which the user has explicit launch permissions, respectively.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Owner', - 'items' => array( - 'name' => 'Owner', - 'type' => 'string', - ), - ), - 'ExecutableUsers' => array( - 'description' => 'The optional list of users with explicit launch permissions for the described AMIs. The user ID can be a user\'s account ID, \'self\' to return AMIs for which the sender of the request has explicit launch permissions, or \'all\' to return AMIs with public launch permissions.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ExecutableBy', - 'items' => array( - 'name' => 'ExecutableBy', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Images. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeInstanceAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'InstanceAttribute', - 'responseType' => 'model', - 'summary' => 'Returns information about an attribute of an instance. Only one attribute can be specified per call.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeInstanceAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance whose instance attribute is being described.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'required' => true, - 'description' => 'The name of the attribute to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'instanceType', - 'kernel', - 'ramdisk', - 'userData', - 'disableApiTermination', - 'instanceInitiatedShutdownBehavior', - 'rootDeviceName', - 'blockDeviceMapping', - 'productCodes', - 'sourceDestCheck', - 'groupSet', - 'ebsOptimized', - ), - ), - ), - ), - 'DescribeInstanceStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeInstanceStatusResult', - 'responseType' => 'model', - 'summary' => 'Describes the status of an Amazon Elastic Compute Cloud (Amazon EC2) instance. Instance status provides information about two types of scheduled events for an instance that may require your attention:', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeInstanceStatus', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'description' => 'The list of instance IDs. If not specified, all instances are described.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'The list of filters to limit returned results.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string specifying the next paginated set of results to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxResults' => array( - 'description' => 'The maximum number of paginated instance items per response.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'IncludeAllInstances' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeInstancesResult', - 'responseType' => 'model', - 'summary' => 'The DescribeInstances operation returns information about instances that you own.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'description' => 'An optional list of the instances to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Instances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeInternetGateways' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeInternetGatewaysResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeInternetGateways', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InternetGatewayIds' => array( - 'description' => 'One or more Internet gateway IDs.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InternetGatewayId', - 'items' => array( - 'name' => 'InternetGatewayId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Internet Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeKeyPairs' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeKeyPairsResult', - 'responseType' => 'model', - 'summary' => 'The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeKeyPairs', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'KeyNames' => array( - 'description' => 'The optional list of key pair names to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'KeyName', - 'items' => array( - 'name' => 'KeyName', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for KeyPairs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeLicenses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeLicensesResult', - 'responseType' => 'model', - 'summary' => 'Provides details of a user\'s registered licenses. Zero or more IDs may be specified on the call. When one or more license IDs are specified, only data for the specified IDs are returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeLicenses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'LicenseIds' => array( - 'description' => 'Specifies the license registration for which details are to be returned.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LicenseId', - 'items' => array( - 'name' => 'LicenseId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeNetworkAcls' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeNetworkAclsResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about the network ACLs in your VPC. You can filter the results to return information only about ACLs that match criteria you specify. For example, you could get information only the ACL associated with a particular subnet. The ACL must match at least one of the specified values for it to be included in the results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeNetworkAcls', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkAclIds' => array( - 'description' => 'One or more network ACL IDs.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'NetworkAclId', - 'items' => array( - 'name' => 'NetworkAclId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Network ACLs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeNetworkInterfaceAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeNetworkInterfaceAttributeResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeNetworkInterfaceAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceDestCheck' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Groups' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'sentAs' => 'GroupSet', - ), - 'Attachment' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeNetworkInterfaces' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeNetworkInterfacesResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeNetworkInterfaces', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'NetworkInterfaceId', - 'items' => array( - 'name' => 'NetworkInterfaceId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribePlacementGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribePlacementGroupsResult', - 'responseType' => 'model', - 'summary' => 'Returns information about one or more PlacementGroup instances in a user\'s account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribePlacementGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupNames' => array( - 'description' => 'The name of the PlacementGroup.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'GroupName', - 'items' => array( - 'name' => 'GroupName', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Placement Groups. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeRegions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeRegionsResult', - 'responseType' => 'model', - 'summary' => 'The DescribeRegions operation describes regions zones that are currently available to the account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeRegions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RegionNames' => array( - 'description' => 'The optional list of regions to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'RegionName', - 'items' => array( - 'name' => 'RegionName', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Regions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeReservedInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeReservedInstancesResult', - 'responseType' => 'model', - 'summary' => 'The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ReservedInstancesIds' => array( - 'description' => 'The optional list of Reserved Instance IDs to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ReservedInstancesId', - 'items' => array( - 'name' => 'ReservedInstancesId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'OfferingType' => array( - 'description' => 'The Reserved Instance offering type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeReservedInstancesListings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeReservedInstancesListingsResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedInstancesListings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ReservedInstancesId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedInstancesListingId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Filters' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeReservedInstancesOfferings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeReservedInstancesOfferingsResult', - 'responseType' => 'model', - 'summary' => 'The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedInstancesOfferings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ReservedInstancesOfferingIds' => array( - 'description' => 'An optional list of the unique IDs of the Reserved Instance offerings to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ReservedInstancesOfferingId', - 'items' => array( - 'name' => 'ReservedInstancesOfferingId', - 'type' => 'string', - ), - ), - 'InstanceType' => array( - 'description' => 'The instance type on which the Reserved Instance can be used.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 't1.micro', - 'm1.small', - 'm1.medium', - 'm1.large', - 'm1.xlarge', - 'm2.xlarge', - 'm2.2xlarge', - 'm2.4xlarge', - 'm3.xlarge', - 'm3.2xlarge', - 'c1.medium', - 'c1.xlarge', - 'hi1.4xlarge', - 'hs1.8xlarge', - 'cc1.4xlarge', - 'cc2.8xlarge', - 'cg1.4xlarge', - ), - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which the Reserved Instance can be used.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ProductDescription' => array( - 'description' => 'The Reserved Instance product description.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for ReservedInstancesOfferings. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'InstanceTenancy' => array( - 'description' => 'The tenancy of the Reserved Instance offering. A Reserved Instance with tenancy of dedicated will run on single-tenant hardware and can only be launched within a VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OfferingType' => array( - 'description' => 'The Reserved Instance offering type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxResults' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeRouteTables' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeRouteTablesResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your route tables. You can filter the results to return information only about tables that match criteria you specify. For example, you could get information only about a table associated with a particular subnet. You can specify multiple values for the filter. The table must match at least one of the specified values for it to be included in the results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeRouteTables', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableIds' => array( - 'description' => 'One or more route table IDs.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'RouteTableId', - 'items' => array( - 'name' => 'RouteTableId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeSecurityGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSecurityGroupsResult', - 'responseType' => 'model', - 'summary' => 'The DescribeSecurityGroups operation returns information about security groups that you own.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSecurityGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupNames' => array( - 'description' => 'The optional list of Amazon EC2 security groups to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'GroupName', - 'items' => array( - 'name' => 'GroupName', - 'type' => 'string', - ), - ), - 'GroupIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'GroupId', - 'items' => array( - 'name' => 'GroupId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for SecurityGroups. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeSnapshotAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSnapshotAttributeResult', - 'responseType' => 'model', - 'summary' => 'Returns information about an attribute of a snapshot. Only one attribute can be specified per call.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSnapshotAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SnapshotId' => array( - 'required' => true, - 'description' => 'The ID of the EBS snapshot whose attribute is being described.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'required' => true, - 'description' => 'The name of the EBS attribute to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'productCodes', - 'createVolumePermission', - ), - ), - ), - ), - 'DescribeSnapshots' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSnapshotsResult', - 'responseType' => 'model', - 'summary' => 'Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you\'ve been given explicit create volume permissions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSnapshots', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SnapshotIds' => array( - 'description' => 'The optional list of EBS snapshot IDs to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SnapshotId', - 'items' => array( - 'name' => 'SnapshotId', - 'type' => 'string', - ), - ), - 'OwnerIds' => array( - 'description' => 'The optional list of EBS snapshot owners.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Owner', - 'items' => array( - 'name' => 'Owner', - 'type' => 'string', - ), - ), - 'RestorableByUserIds' => array( - 'description' => 'The optional list of users who have permission to create volumes from the described EBS snapshots.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'RestorableBy', - 'items' => array( - 'name' => 'RestorableBy', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Snapshots. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeSpotDatafeedSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSpotDatafeedSubscriptionResult', - 'responseType' => 'model', - 'summary' => 'Describes the data feed for Spot Instances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSpotDatafeedSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - ), - ), - 'DescribeSpotInstanceRequests' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSpotInstanceRequestsResult', - 'responseType' => 'model', - 'summary' => 'Describes Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests. For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSpotInstanceRequests', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SpotInstanceRequestIds' => array( - 'description' => 'The ID of the request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SpotInstanceRequestId', - 'items' => array( - 'name' => 'SpotInstanceRequestId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for SpotInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeSpotPriceHistory' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSpotPriceHistoryResult', - 'responseType' => 'model', - 'summary' => 'Describes the Spot Price history.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSpotPriceHistory', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'StartTime' => array( - 'description' => 'The start date and time of the Spot Instance price history data.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'The end date and time of the Spot Instance price history data.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'InstanceTypes' => array( - 'description' => 'Specifies the instance type to return.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceType', - 'items' => array( - 'name' => 'InstanceType', - 'type' => 'string', - 'enum' => array( - 't1.micro', - 'm1.small', - 'm1.medium', - 'm1.large', - 'm1.xlarge', - 'm2.xlarge', - 'm2.2xlarge', - 'm2.4xlarge', - 'm3.xlarge', - 'm3.2xlarge', - 'c1.medium', - 'c1.xlarge', - 'hi1.4xlarge', - 'hs1.8xlarge', - 'cc1.4xlarge', - 'cc2.8xlarge', - 'cg1.4xlarge', - ), - ), - ), - 'ProductDescriptions' => array( - 'description' => 'The description of the AMI.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ProductDescription', - 'items' => array( - 'name' => 'ProductDescription', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for SpotPriceHistory. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'AvailabilityZone' => array( - 'description' => 'Filters the results by availability zone (ex: \'us-east-1a\').', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxResults' => array( - 'description' => 'Specifies the number of rows to return.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'Specifies the next set of rows to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeSubnets' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeSubnetsResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your subnets. You can filter the results to return information only about subnets that match criteria you specify.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeSubnets', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SubnetIds' => array( - 'description' => 'A set of one or more subnet IDs.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetId', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Subnets. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeTagsResult', - 'responseType' => 'model', - 'summary' => 'Describes the tags for the specified resources.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeTags', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for tags.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeVolumeAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVolumeAttributeResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVolumeAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'autoEnableIO', - 'productCodes', - ), - ), - ), - ), - 'DescribeVolumeStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVolumeStatusResult', - 'responseType' => 'model', - 'summary' => 'Describes the status of a volume.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVolumeStatus', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VolumeId', - 'items' => array( - 'name' => 'VolumeId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxResults' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeVolumes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVolumesResult', - 'responseType' => 'model', - 'summary' => 'Describes the status of the indicated volume or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVolumes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeIds' => array( - 'description' => 'The optional list of EBS volumes to describe.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VolumeId', - 'items' => array( - 'name' => 'VolumeId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for Volumes. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeVpcAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVpcAttributeResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVpcAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'enableDnsSupport', - 'enableDnsHostnames', - ), - ), - ), - ), - 'DescribeVpcs' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVpcsResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVpcs', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcIds' => array( - 'description' => 'The ID of a VPC you want information about.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpcId', - 'items' => array( - 'name' => 'VpcId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeVpnConnections' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVpnConnectionsResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your VPN connections.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVpnConnections', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnConnectionIds' => array( - 'description' => 'A VPN connection ID. More than one may be specified per request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpnConnectionId', - 'items' => array( - 'name' => 'VpnConnectionId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for VPN Connections. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeVpnGateways' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeVpnGatewaysResult', - 'responseType' => 'model', - 'summary' => 'Gives you information about your VPN gateways. You can filter the results to return information only about VPN gateways that match criteria you specify.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeVpnGateways', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnGatewayIds' => array( - 'description' => 'A list of filters used to match properties for VPN Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpnGatewayId', - 'items' => array( - 'name' => 'VpnGatewayId', - 'type' => 'string', - ), - ), - 'Filters' => array( - 'description' => 'A list of filters used to match properties for VPN Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Filter', - 'items' => array( - 'name' => 'Filter', - 'description' => 'A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the filter.', - 'type' => 'string', - ), - 'Values' => array( - 'description' => 'Contains one or more values for the filter.', - 'type' => 'array', - 'sentAs' => 'Value', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DetachInternetGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DetachInternetGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InternetGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the Internet gateway to detach.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DetachNetworkInterface' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DetachNetworkInterface', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'AttachmentId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Force' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'DetachVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'attachment', - 'responseType' => 'model', - 'summary' => 'Detach a previously attached volume from a running instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DetachVolume', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'description' => 'The ID of the volume to detach.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'description' => 'The ID of the instance from which to detach the the specified volume.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Device' => array( - 'description' => 'The device name to which the volume is attached on the specified instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Force' => array( - 'description' => 'Forces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally).', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'DetachVpnGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Detaches a VPN gateway from a VPC. You do this if you\'re planning to turn off the VPC and not use it anymore. You can confirm a VPN gateway has been completely detached from a VPC by describing the VPN gateway (any attachments to the VPN gateway are also described).', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DetachVpnGateway', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpnGatewayId' => array( - 'required' => true, - 'description' => 'The ID of the VPN gateway to detach from the VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VpcId' => array( - 'required' => true, - 'description' => 'The ID of the VPC to detach the VPN gateway from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DisableVgwRoutePropagation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DisableVgwRoutePropagation', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GatewayId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DisassociateAddress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DisassociateAddress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'PublicIp' => array( - 'description' => 'The elastic IP address that you are disassociating from the instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AssociationId' => array( - 'description' => 'Association ID corresponding to the VPC elastic IP address you want to disassociate.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DisassociateRouteTable' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Disassociates a subnet from a route table.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DisassociateRouteTable', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'AssociationId' => array( - 'required' => true, - 'description' => 'The association ID representing the current association between the route table and subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'EnableVgwRoutePropagation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EnableVgwRoutePropagation', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GatewayId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'EnableVolumeIO' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Enable IO on the volume after an event has occured.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EnableVolumeIO', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'GetConsoleOutput' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetConsoleOutputResult', - 'responseType' => 'model', - 'summary' => 'The GetConsoleOutput operation retrieves console output for the specified instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetConsoleOutput', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance for which you want console output.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'GetPasswordData' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetPasswordDataResult', - 'responseType' => 'model', - 'summary' => 'Retrieves the encrypted administrator password for the instances running Windows.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetPasswordData', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance for which you want the Windows administrator password.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ImportInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ImportInstanceResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ImportInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LaunchSpecification' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Architecture' => array( - 'type' => 'string', - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroup', - 'items' => array( - 'name' => 'SecurityGroup', - 'type' => 'string', - ), - ), - 'AdditionalInfo' => array( - 'type' => 'string', - ), - 'UserData' => array( - 'type' => 'string', - ), - 'InstanceType' => array( - 'type' => 'string', - 'enum' => array( - 't1.micro', - 'm1.small', - 'm1.medium', - 'm1.large', - 'm1.xlarge', - 'm2.xlarge', - 'm2.2xlarge', - 'm2.4xlarge', - 'm3.xlarge', - 'm3.2xlarge', - 'c1.medium', - 'c1.xlarge', - 'hi1.4xlarge', - 'hs1.8xlarge', - 'cc1.4xlarge', - 'cc2.8xlarge', - 'cg1.4xlarge', - ), - ), - 'Placement' => array( - 'type' => 'object', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - ), - 'Tenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means all instances launched into the VPC will be launched as dedicated tenancy regardless of the tenancy assigned to the instance at launch.', - 'type' => 'string', - ), - ), - ), - 'BlockDeviceMappings' => array( - 'type' => 'array', - 'sentAs' => 'BlockDeviceMapping', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'VolumeType' => array( - 'type' => 'string', - 'enum' => array( - 'standard', - 'io1', - ), - ), - 'Iops' => array( - 'type' => 'numeric', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - ), - ), - ), - ), - 'Monitoring' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'SubnetId' => array( - 'type' => 'string', - ), - 'DisableApiTermination' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'InstanceInitiatedShutdownBehavior' => array( - 'type' => 'string', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - ), - ), - ), - 'DiskImages' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DiskImage', - 'items' => array( - 'name' => 'DiskImage', - 'type' => 'object', - 'properties' => array( - 'Image' => array( - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'required' => true, - 'type' => 'string', - ), - 'Bytes' => array( - 'required' => true, - 'type' => 'numeric', - ), - 'ImportManifestUrl' => array( - 'required' => true, - 'type' => 'string', - ), - ), - ), - 'Description' => array( - 'type' => 'string', - ), - 'Volume' => array( - 'type' => 'object', - 'properties' => array( - 'Size' => array( - 'required' => true, - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'Platform' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ImportKeyPair' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ImportKeyPairResult', - 'responseType' => 'model', - 'summary' => 'Imports the public key from an RSA key pair created with a third-party tool. This operation differs from CreateKeyPair as the private key is never transferred between the caller and AWS servers.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ImportKeyPair', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'KeyName' => array( - 'required' => true, - 'description' => 'The unique name for the key pair.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PublicKeyMaterial' => array( - 'required' => true, - 'description' => 'The public key portion of the key pair being imported. This value will be base64 encoded for you automatically.', - 'type' => 'string', - 'location' => 'aws.query', - 'filters' => array( - 'base64_encode', - ), - ), - ), - ), - 'ImportVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ImportVolumeResult', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ImportVolume', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Image' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Format' => array( - 'required' => true, - 'type' => 'string', - ), - 'Bytes' => array( - 'required' => true, - 'type' => 'numeric', - ), - 'ImportManifestUrl' => array( - 'required' => true, - 'type' => 'string', - ), - ), - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Volume' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Size' => array( - 'required' => true, - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'ModifyImageAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The ModifyImageAttribute operation modifies an attribute of an AMI.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyImageAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageId' => array( - 'required' => true, - 'description' => 'The ID of the AMI whose attribute you want to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'description' => 'The name of the AMI attribute you want to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OperationType' => array( - 'description' => 'The type of operation being requested.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'UserIds' => array( - 'description' => 'The AWS user ID being added to or removed from the list of users with launch permissions for this AMI. Only valid when the launchPermission attribute is being modified.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'UserId', - 'items' => array( - 'name' => 'UserId', - 'type' => 'string', - ), - ), - 'UserGroups' => array( - 'description' => 'The user group being added to or removed from the list of user groups with launch permissions for this AMI. Only valid when the launchPermission attribute is being modified.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'UserGroup', - 'items' => array( - 'name' => 'UserGroup', - 'type' => 'string', - ), - ), - 'ProductCodes' => array( - 'description' => 'The list of product codes being added to or removed from the specified AMI. Only valid when the productCodes attribute is being modified.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ProductCode', - 'items' => array( - 'name' => 'ProductCode', - 'type' => 'string', - ), - ), - 'Value' => array( - 'description' => 'The value of the attribute being modified. Only valid when the description attribute is being modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LaunchPermission' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Add' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'LaunchPermission', - 'description' => 'Describes a permission to launch an Amazon Machine Image (AMI).', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of the user involved in this launch permission.', - 'type' => 'string', - ), - 'Group' => array( - 'description' => 'The AWS group of the user involved in this launch permission.', - 'type' => 'string', - ), - ), - ), - ), - 'Remove' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'LaunchPermission', - 'description' => 'Describes a permission to launch an Amazon Machine Image (AMI).', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of the user involved in this launch permission.', - 'type' => 'string', - ), - 'Group' => array( - 'description' => 'The AWS group of the user involved in this launch permission.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'Description' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ModifyInstanceAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Modifies an attribute of an instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyInstanceAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the instance whose attribute is being modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'description' => 'The name of the attribute being modified.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'instanceType', - 'kernel', - 'ramdisk', - 'userData', - 'disableApiTermination', - 'instanceInitiatedShutdownBehavior', - 'rootDeviceName', - 'blockDeviceMapping', - 'productCodes', - 'sourceDestCheck', - 'groupSet', - 'ebsOptimized', - ), - ), - 'Value' => array( - 'description' => 'The new value of the instance attribute being modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'BlockDeviceMappings' => array( - 'description' => 'The new block device mappings for the instance whose attributes are being modified.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BlockDeviceMapping', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'Specifies how an instance\'s block devices should be mapped on a running instance.', - 'type' => 'object', - 'properties' => array( - 'DeviceName' => array( - 'description' => 'The device name (e.g., /dev/sdh) at which the block device is exposed on the instance.', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.', - 'type' => 'object', - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The ID of the EBS volume that should be mounted as a block device on an Amazon EC2 instance.', - 'type' => 'string', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'VirtualName' => array( - 'description' => 'The virtual device name.', - 'type' => 'string', - ), - 'NoDevice' => array( - 'description' => 'When set to the empty string, specifies that the device name in this object should not be mapped to any real device.', - 'type' => 'string', - ), - ), - ), - ), - 'SourceDestCheck' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'DisableApiTermination' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'InstanceType' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - 'Kernel' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - 'Ramdisk' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - 'UserData' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - 'InstanceInitiatedShutdownBehavior' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - 'Groups' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'GroupId', - 'items' => array( - 'name' => 'GroupId', - 'type' => 'string', - ), - ), - 'EbsOptimized' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'ModifyNetworkInterfaceAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyNetworkInterfaceAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - ), - ), - ), - 'SourceDestCheck' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'Groups' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'Attachment' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'ModifySnapshotAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds or remove permission settings for the specified snapshot.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifySnapshotAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SnapshotId' => array( - 'required' => true, - 'description' => 'The ID of the EBS snapshot whose attributes are being modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'description' => 'The name of the attribute being modified.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'productCodes', - 'createVolumePermission', - ), - ), - 'OperationType' => array( - 'description' => 'The operation to perform on the attribute.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'UserIds' => array( - 'description' => 'The AWS user IDs to add to or remove from the list of users that have permission to create EBS volumes from the specified snapshot. Currently supports "all".', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'UserId', - 'items' => array( - 'name' => 'UserId', - 'type' => 'string', - ), - ), - 'GroupNames' => array( - 'description' => 'The AWS group names to add to or remove from the list of groups that have permission to create EBS volumes from the specified snapshot. Currently supports "all".', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'UserGroup', - 'items' => array( - 'name' => 'UserGroup', - 'type' => 'string', - ), - ), - 'CreateVolumePermission' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Add' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'CreateVolumePermission', - 'description' => 'Describes a permission allowing either a user or group to create a new EBS volume from a snapshot.', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The user ID of the user that can create volumes from the snapshot.', - 'type' => 'string', - ), - 'Group' => array( - 'description' => 'The group that is allowed to create volumes from the snapshot (currently supports "all").', - 'type' => 'string', - ), - ), - ), - ), - 'Remove' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'CreateVolumePermission', - 'description' => 'Describes a permission allowing either a user or group to create a new EBS volume from a snapshot.', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The user ID of the user that can create volumes from the snapshot.', - 'type' => 'string', - ), - 'Group' => array( - 'description' => 'The group that is allowed to create volumes from the snapshot (currently supports "all").', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'ModifyVolumeAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyVolumeAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VolumeId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AutoEnableIO' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'ModifyVpcAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyVpcAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'VpcId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnableDnsSupport' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'EnableDnsHostnames' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - 'MonitorInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'MonitorInstancesResult', - 'responseType' => 'model', - 'summary' => 'Enables monitoring for a running instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'MonitorInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'The list of Amazon EC2 instances on which to enable monitoring.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - ), - ), - 'PurchaseReservedInstancesOffering' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'PurchaseReservedInstancesOfferingResult', - 'responseType' => 'model', - 'summary' => 'The PurchaseReservedInstancesOffering operation purchases a Reserved Instance for use with your account. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PurchaseReservedInstancesOffering', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ReservedInstancesOfferingId' => array( - 'required' => true, - 'description' => 'The unique ID of the Reserved Instances offering being purchased.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceCount' => array( - 'required' => true, - 'description' => 'The number of Reserved Instances to purchase.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'LimitPrice' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Amount' => array( - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'RebootInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The RebootInstances operation requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to the user. Requests to reboot terminated instances are ignored.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RebootInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'The list of instances to terminate.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - ), - ), - 'RegisterImage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'RegisterImageResult', - 'responseType' => 'model', - 'summary' => 'The RegisterImage operation registers an AMI with Amazon EC2. Images must be registered before they can be launched. For more information, see RunInstances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RegisterImage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageLocation' => array( - 'description' => 'The full path to your AMI manifest in Amazon S3 storage.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Name' => array( - 'description' => 'The name to give the new Amazon Machine Image.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'description' => 'The description describing the new AMI.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Architecture' => array( - 'description' => 'The architecture of the image. Valid Values: i386, x86_64', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'KernelId' => array( - 'description' => 'The optional ID of a specific kernel to register with the new AMI.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RamdiskId' => array( - 'description' => 'The optional ID of a specific ramdisk to register with the new AMI.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RootDeviceName' => array( - 'description' => 'The root device name (e.g., /dev/sda1).', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'BlockDeviceMappings' => array( - 'description' => 'The block device mappings for the new AMI, which specify how different block devices (ex: EBS volumes and ephemeral drives) will be exposed on instances launched from the new image.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BlockDeviceMapping', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'VolumeType' => array( - 'type' => 'string', - 'enum' => array( - 'standard', - 'io1', - ), - ), - 'Iops' => array( - 'type' => 'numeric', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ReleaseAddress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The ReleaseAddress operation releases an elastic IP address associated with your account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReleaseAddress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'PublicIp' => array( - 'description' => 'The elastic IP address that you are releasing from your account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllocationId' => array( - 'description' => 'The allocation ID that AWS provided when you allocated the address for use with Amazon VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ReplaceNetworkAclAssociation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReplaceNetworkAclAssociationResult', - 'responseType' => 'model', - 'summary' => 'Changes which network ACL a subnet is associated with. By default when you create a subnet, it\'s automatically associated with the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReplaceNetworkAclAssociation', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'AssociationId' => array( - 'required' => true, - 'description' => 'The ID representing the current association between the original network ACL and the subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NetworkAclId' => array( - 'required' => true, - 'description' => 'The ID of the new ACL to associate with the subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ReplaceNetworkAclEntry' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Replaces an entry (i.e., rule) in a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReplaceNetworkAclEntry', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkAclId' => array( - 'required' => true, - 'description' => 'ID of the ACL where the entry will be replaced.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RuleNumber' => array( - 'required' => true, - 'description' => 'Rule number of the entry to replace.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Protocol' => array( - 'required' => true, - 'description' => 'IP protocol the rule applies to. Valid Values: tcp, udp, icmp or an IP protocol number.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RuleAction' => array( - 'required' => true, - 'description' => 'Whether to allow or deny traffic that matches the rule.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'allow', - 'deny', - ), - ), - 'Egress' => array( - 'required' => true, - 'description' => 'Whether this rule applies to egress traffic from the subnet (true) or ingress traffic (false).', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'CidrBlock' => array( - 'required' => true, - 'description' => 'The CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'IcmpTypeCode' => array( - 'description' => 'ICMP values.', - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'Icmp', - 'properties' => array( - 'Type' => array( - 'description' => 'For the ICMP protocol, the ICMP type. A value of -1 is a wildcard meaning all types. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - ), - 'Code' => array( - 'description' => 'For the ICMP protocol, the ICMP code. A value of -1 is a wildcard meaning all codes. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - ), - ), - ), - 'PortRange' => array( - 'description' => 'Port ranges.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'From' => array( - 'description' => 'The first port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - ), - 'To' => array( - 'description' => 'The last port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'ReplaceRoute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Replaces an existing route within a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReplaceRoute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'RouteTableId' => array( - 'required' => true, - 'description' => 'The ID of the route table where the route will be replaced.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DestinationCidrBlock' => array( - 'required' => true, - 'description' => 'The CIDR address block used for the destination match. For example: 0.0.0.0/0. The value you provide must match the CIDR of an existing route in the table.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GatewayId' => array( - 'description' => 'The ID of a VPN or Internet gateway attached to your VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceId' => array( - 'description' => 'The ID of a NAT instance in your VPC.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ReplaceRouteTableAssociation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReplaceRouteTableAssociationResult', - 'responseType' => 'model', - 'summary' => 'Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet uses the routes in the new route table it\'s associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReplaceRouteTableAssociation', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'AssociationId' => array( - 'required' => true, - 'description' => 'The ID representing the current association between the original route table and the subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RouteTableId' => array( - 'required' => true, - 'description' => 'The ID of the new route table to associate with the subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ReportInstanceStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReportInstanceStatus', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'Instances' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - 'Status' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'StartTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'ReasonCodes' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ReasonCode', - 'items' => array( - 'name' => 'ReasonCode', - 'type' => 'string', - ), - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'RequestSpotInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'RequestSpotInstancesResult', - 'responseType' => 'model', - 'summary' => 'Creates a Spot Instance request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RequestSpotInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SpotPrice' => array( - 'required' => true, - 'description' => 'Specifies the maximum hourly price for any Spot Instance launched to fulfill the request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceCount' => array( - 'description' => 'Specifies the maximum number of Spot Instances to launch.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Type' => array( - 'description' => 'Specifies the Spot Instance type.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'one-time', - 'persistent', - ), - ), - 'ValidFrom' => array( - 'description' => 'Defines the start date of the request.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'ValidUntil' => array( - 'description' => 'End date of the request.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'LaunchGroup' => array( - 'description' => 'Specifies the instance launch group. Launch groups are Spot Instances that launch and terminate together.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZoneGroup' => array( - 'description' => 'Specifies the Availability Zone group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LaunchSpecification' => array( - 'description' => 'Specifies additional launch instance information.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'ImageId' => array( - 'description' => 'The AMI ID.', - 'type' => 'string', - ), - 'KeyName' => array( - 'description' => 'The name of the key pair.', - 'type' => 'string', - ), - 'UserData' => array( - 'description' => 'Optional data, specific to a user\'s application, to provide in the launch request. All instances that collectively comprise the launch request have access to this data. User data is never returned through API responses.', - 'type' => 'string', - ), - 'InstanceType' => array( - 'description' => 'Specifies the instance type.', - 'type' => 'string', - 'enum' => array( - 't1.micro', - 'm1.small', - 'm1.medium', - 'm1.large', - 'm1.xlarge', - 'm2.xlarge', - 'm2.2xlarge', - 'm2.4xlarge', - 'm3.xlarge', - 'm3.2xlarge', - 'c1.medium', - 'c1.xlarge', - 'hi1.4xlarge', - 'hs1.8xlarge', - 'cc1.4xlarge', - 'cc2.8xlarge', - 'cg1.4xlarge', - ), - ), - 'Placement' => array( - 'description' => 'Defines a placement item.', - 'type' => 'object', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - ), - ), - ), - 'KernelId' => array( - 'description' => 'Specifies the ID of the kernel to select.', - 'type' => 'string', - ), - 'RamdiskId' => array( - 'description' => 'Specifies the ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information on whether or not you need to specify a RAM disk and search for the kernel ID.', - 'type' => 'string', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.', - 'type' => 'array', - 'sentAs' => 'BlockDeviceMapping', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'VolumeType' => array( - 'type' => 'string', - 'enum' => array( - 'standard', - 'io1', - ), - ), - 'Iops' => array( - 'type' => 'numeric', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - ), - ), - ), - ), - 'MonitoringEnabled' => array( - 'description' => 'Enables monitoring for the instance.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'SubnetId' => array( - 'description' => 'Specifies the Amazon VPC subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud.', - 'type' => 'string', - ), - 'NetworkInterfaces' => array( - 'type' => 'array', - 'sentAs' => 'NetworkInterfaceSet', - 'items' => array( - 'name' => 'NetworkInterfaceSet', - 'type' => 'object', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - ), - 'SubnetId' => array( - 'type' => 'string', - ), - 'Description' => array( - 'type' => 'string', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'PrivateIpAddressesSet', - 'items' => array( - 'name' => 'PrivateIpAddressesSet', - 'type' => 'object', - 'properties' => array( - 'PrivateIpAddress' => array( - 'required' => true, - 'type' => 'string', - ), - 'Primary' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'SecondaryPrivateIpAddressCount' => array( - 'type' => 'numeric', - ), - ), - ), - ), - 'IamInstanceProfile' => array( - 'type' => 'object', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Name' => array( - 'type' => 'string', - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'SecurityGroupIds' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroup', - 'items' => array( - 'name' => 'SecurityGroup', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ResetImageAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The ResetImageAttribute operation resets an attribute of an AMI to its default value.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetImageAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageId' => array( - 'required' => true, - 'description' => 'The ID of the AMI whose attribute is being reset.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'required' => true, - 'description' => 'The name of the attribute being reset.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ResetInstanceAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Resets an attribute of an instance to its default value.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetInstanceAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The ID of the Amazon EC2 instance whose attribute is being reset.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'required' => true, - 'description' => 'The name of the attribute being reset.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'instanceType', - 'kernel', - 'ramdisk', - 'userData', - 'disableApiTermination', - 'instanceInitiatedShutdownBehavior', - 'rootDeviceName', - 'blockDeviceMapping', - 'productCodes', - 'sourceDestCheck', - 'groupSet', - 'ebsOptimized', - ), - ), - ), - ), - 'ResetNetworkInterfaceAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetNetworkInterfaceAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceDestCheck' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ResetSnapshotAttribute' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Resets permission settings for the specified snapshot.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetSnapshotAttribute', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'SnapshotId' => array( - 'required' => true, - 'description' => 'The ID of the snapshot whose attribute is being reset.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attribute' => array( - 'required' => true, - 'description' => 'The name of the attribute being reset.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'productCodes', - 'createVolumePermission', - ), - ), - ), - ), - 'RevokeSecurityGroupEgress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This action applies only to security groups in a VPC. It doesn\'t work with EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RevokeSecurityGroupEgress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupId' => array( - 'required' => true, - 'description' => 'ID of the VPC security group to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'IpPermissions' => array( - 'description' => 'List of IP permissions to authorize on the specified security group. Specifying permissions through IP permissions is the preferred way of authorizing permissions since it offers more flexibility and control.', - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'IpPermission', - 'description' => 'An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.', - 'type' => 'object', - 'properties' => array( - 'IpProtocol' => array( - 'description' => 'The IP protocol of this permission.', - 'type' => 'string', - ), - 'FromPort' => array( - 'description' => 'Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).', - 'type' => 'numeric', - ), - 'ToPort' => array( - 'description' => 'End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).', - 'type' => 'numeric', - ), - 'UserIdGroupPairs' => array( - 'description' => 'The list of AWS user IDs and groups included in this permission.', - 'type' => 'array', - 'sentAs' => 'Groups', - 'items' => array( - 'name' => 'Groups', - 'description' => 'An AWS user ID identifiying an AWS account, and the name of a security group within that account.', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of an account.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - ), - ), - ), - 'IpRanges' => array( - 'description' => 'The list of CIDR IP ranges included in this permission.', - 'type' => 'array', - 'items' => array( - 'name' => 'IpRange', - 'description' => 'Contains a list of CIRD IP ranges.', - 'type' => 'object', - 'properties' => array( - 'CidrIp' => array( - 'description' => 'The list of CIDR IP ranges.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'RevokeSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The RevokeSecurityGroupIngress operation revokes permissions from a security group. The permissions used to revoke must be specified using the same values used to grant the permissions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RevokeSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'GroupName' => array( - 'description' => 'Name of the standard (EC2) security group to modify. The group must belong to your account. Can be used instead of GroupID for standard (EC2) security groups.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'GroupId' => array( - 'description' => 'ID of the standard (EC2) or VPC security group to modify. The group must belong to your account. Required for VPC security groups; can be used instead of GroupName for standard (EC2) security groups.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'IpPermissions' => array( - 'description' => 'List of IP permissions to revoke on the specified security group. For an IP permission to be removed, it must exactly match one of the IP permissions you specify in this list. Specifying permissions through IP permissions is the preferred way of revoking permissions since it offers more flexibility and control.', - 'type' => 'array', - 'location' => 'aws.query', - 'items' => array( - 'name' => 'IpPermission', - 'description' => 'An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.', - 'type' => 'object', - 'properties' => array( - 'IpProtocol' => array( - 'description' => 'The IP protocol of this permission.', - 'type' => 'string', - ), - 'FromPort' => array( - 'description' => 'Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).', - 'type' => 'numeric', - ), - 'ToPort' => array( - 'description' => 'End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).', - 'type' => 'numeric', - ), - 'UserIdGroupPairs' => array( - 'description' => 'The list of AWS user IDs and groups included in this permission.', - 'type' => 'array', - 'sentAs' => 'Groups', - 'items' => array( - 'name' => 'Groups', - 'description' => 'An AWS user ID identifiying an AWS account, and the name of a security group within that account.', - 'type' => 'object', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of an account.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - ), - ), - ), - ), - 'IpRanges' => array( - 'description' => 'The list of CIDR IP ranges included in this permission.', - 'type' => 'array', - 'items' => array( - 'name' => 'IpRange', - 'description' => 'Contains a list of CIRD IP ranges.', - 'type' => 'object', - 'properties' => array( - 'CidrIp' => array( - 'description' => 'The list of CIDR IP ranges.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'RunInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'reservation', - 'responseType' => 'model', - 'summary' => 'The RunInstances operation launches a specified number of instances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RunInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'ImageId' => array( - 'required' => true, - 'description' => 'Unique ID of a machine image, returned by a call to DescribeImages.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MinCount' => array( - 'required' => true, - 'description' => 'Minimum number of instances to launch. If the value is more than Amazon EC2 can launch, no instances are launched at all.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxCount' => array( - 'required' => true, - 'description' => 'Maximum number of instances to launch. If the value is more than Amazon EC2 can launch, the largest possible number above minCount will be launched instead.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'KeyName' => array( - 'description' => 'The name of the key pair.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SecurityGroups' => array( - 'description' => 'The names of the security groups into which the instances will be launched.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroup', - 'items' => array( - 'name' => 'SecurityGroup', - 'type' => 'string', - ), - ), - 'SecurityGroupIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'UserData' => array( - 'description' => 'Specifies additional information to make available to the instance(s).', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstanceType' => array( - 'description' => 'Specifies the instance type for the launched instances.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 't1.micro', - 'm1.small', - 'm1.medium', - 'm1.large', - 'm1.xlarge', - 'm2.xlarge', - 'm2.2xlarge', - 'm2.4xlarge', - 'm3.xlarge', - 'm3.2xlarge', - 'c1.medium', - 'c1.xlarge', - 'hi1.4xlarge', - 'hs1.8xlarge', - 'cc1.4xlarge', - 'cc2.8xlarge', - 'cg1.4xlarge', - ), - ), - 'Placement' => array( - 'description' => 'Specifies the placement constraints (Availability Zones) for launching the instances.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - ), - 'Tenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means all instances launched into the VPC will be launched as dedicated tenancy regardless of the tenancy assigned to the instance at launch.', - 'type' => 'string', - ), - ), - ), - 'KernelId' => array( - 'description' => 'The ID of the kernel with which to launch the instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RamdiskId' => array( - 'description' => 'The ID of the RAM disk with which to launch the instance. Some kernels require additional drivers at launch. Check the kernel requirements for information on whether you need to specify a RAM disk. To find kernel requirements, go to the Resource Center and search for the kernel ID.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BlockDeviceMapping', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'VolumeType' => array( - 'type' => 'string', - 'enum' => array( - 'standard', - 'io1', - ), - ), - 'Iops' => array( - 'type' => 'numeric', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - ), - ), - ), - ), - 'Monitoring' => array( - 'description' => 'Enables monitoring for the instance.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Enabled' => array( - 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'SubnetId' => array( - 'description' => 'Specifies the subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DisableApiTermination' => array( - 'description' => 'Specifies whether the instance can be terminated using the APIs. You must modify this attribute before you can terminate any "locked" instances from the APIs.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'InstanceInitiatedShutdownBehavior' => array( - 'description' => 'Specifies whether the instance\'s Amazon EBS volumes are stopped or terminated when the instance is shut down.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'License' => array( - 'description' => 'Specifies active licenses in use and attached to an Amazon EC2 instance.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Pool' => array( - 'description' => 'The license pool from which to take a license when starting Amazon EC2 instances in the associated RunInstances request.', - 'type' => 'string', - ), - ), - ), - 'PrivateIpAddress' => array( - 'description' => 'If you\'re using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClientToken' => array( - 'description' => 'Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, go to How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AdditionalInfo' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NetworkInterfaces' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'NetworkInterface', - 'items' => array( - 'name' => 'NetworkInterface', - 'type' => 'object', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - ), - 'SubnetId' => array( - 'type' => 'string', - ), - 'Description' => array( - 'type' => 'string', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'PrivateIpAddressesSet', - 'items' => array( - 'name' => 'PrivateIpAddressesSet', - 'type' => 'object', - 'properties' => array( - 'PrivateIpAddress' => array( - 'required' => true, - 'type' => 'string', - ), - 'Primary' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'SecondaryPrivateIpAddressCount' => array( - 'type' => 'numeric', - ), - ), - ), - ), - 'IamInstanceProfile' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - ), - 'Name' => array( - 'type' => 'string', - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'StartInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'StartInstancesResult', - 'responseType' => 'model', - 'summary' => 'Starts an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'StartInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'The list of Amazon EC2 instances to start.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - 'AdditionalInfo' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'StopInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'StopInstancesResult', - 'responseType' => 'model', - 'summary' => 'Stops an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'StopInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'The list of Amazon EC2 instances to stop.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - 'Force' => array( - 'description' => 'Forces the instance to stop. The instance will not have an opportunity to flush file system caches nor file system meta data. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'TerminateInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'TerminateInstancesResult', - 'responseType' => 'model', - 'summary' => 'The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'TerminateInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'The list of instances to terminate.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - ), - ), - 'UnassignPrivateIpAddresses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UnassignPrivateIpAddresses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PrivateIpAddresses' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PrivateIpAddress', - 'items' => array( - 'name' => 'PrivateIpAddress', - 'type' => 'string', - ), - ), - ), - ), - 'UnmonitorInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UnmonitorInstancesResult', - 'responseType' => 'model', - 'summary' => 'Disables monitoring for a running instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UnmonitorInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-01', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'The list of Amazon EC2 instances on which to disable monitoring.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceId', - 'items' => array( - 'name' => 'InstanceId', - 'type' => 'string', - ), - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'AllocateAddressResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PublicIp' => array( - 'description' => 'IP address for use with your account.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'publicIp', - ), - 'Domain' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'domain', - ), - 'AllocationId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'allocationId', - ), - ), - ), - 'AssociateAddressResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AssociationId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'associationId', - ), - ), - ), - 'AssociateRouteTableResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AssociationId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'associationId', - ), - ), - ), - 'AttachNetworkInterfaceResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'attachmentId', - ), - ), - ), - 'attachment' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'volumeId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'instanceId', - ), - 'Device' => array( - 'description' => 'How the device is exposed to the instance (e.g., /dev/sdh).', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'device', - ), - 'State' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'description' => 'Timestamp when this attachment initiated.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'description' => '` Whether this volume will be deleted or not when the associated instance is terminated.', - 'type' => 'boolean', - 'location' => 'xml', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - 'AttachVpnGatewayResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VpcAttachement' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'attachment', - 'properties' => array( - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - 'BundleInstanceResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'BundleTask' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'bundleInstanceTask', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Instance associated with this bundle task.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'BundleId' => array( - 'description' => 'Unique identifier for this task.', - 'type' => 'string', - 'sentAs' => 'bundleId', - ), - 'State' => array( - 'description' => 'The state of this task.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StartTime' => array( - 'description' => 'The time this task started.', - 'type' => 'string', - 'sentAs' => 'startTime', - ), - 'UpdateTime' => array( - 'description' => 'The time of the most recent update for the task.', - 'type' => 'string', - 'sentAs' => 'updateTime', - ), - 'Storage' => array( - 'description' => 'Amazon S3 storage locations.', - 'type' => 'object', - 'sentAs' => 'storage', - 'properties' => array( - 'S3' => array( - 'description' => 'The details of S3 storage for bundling a Windows instance.', - 'type' => 'object', - 'properties' => array( - 'Bucket' => array( - 'description' => 'The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf.', - 'type' => 'string', - 'sentAs' => 'bucket', - ), - 'Prefix' => array( - 'description' => 'The prefix to use when storing the AMI in S3.', - 'type' => 'string', - 'sentAs' => 'prefix', - ), - 'AWSAccessKeyId' => array( - 'description' => 'The Access Key ID of the owner of the Amazon S3 bucket.', - 'type' => 'string', - ), - 'UploadPolicy' => array( - 'description' => 'A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user\'s behalf.', - 'type' => 'string', - 'sentAs' => 'uploadPolicy', - ), - 'UploadPolicySignature' => array( - 'description' => 'The signature of the Base64 encoded JSON document.', - 'type' => 'string', - 'sentAs' => 'uploadPolicySignature', - ), - ), - ), - ), - ), - 'Progress' => array( - 'description' => 'The level of task completion, in percent (e.g., 20%).', - 'type' => 'string', - 'sentAs' => 'progress', - ), - 'BundleTaskError' => array( - 'description' => 'If the task fails, a description of the error.', - 'type' => 'object', - 'sentAs' => 'error', - 'properties' => array( - 'Code' => array( - 'description' => 'Error code.', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'description' => 'Error message.', - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - ), - ), - ), - ), - 'CancelBundleTaskResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'BundleTask' => array( - 'description' => 'The canceled bundle task.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'bundleInstanceTask', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Instance associated with this bundle task.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'BundleId' => array( - 'description' => 'Unique identifier for this task.', - 'type' => 'string', - 'sentAs' => 'bundleId', - ), - 'State' => array( - 'description' => 'The state of this task.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StartTime' => array( - 'description' => 'The time this task started.', - 'type' => 'string', - 'sentAs' => 'startTime', - ), - 'UpdateTime' => array( - 'description' => 'The time of the most recent update for the task.', - 'type' => 'string', - 'sentAs' => 'updateTime', - ), - 'Storage' => array( - 'description' => 'Amazon S3 storage locations.', - 'type' => 'object', - 'sentAs' => 'storage', - 'properties' => array( - 'S3' => array( - 'description' => 'The details of S3 storage for bundling a Windows instance.', - 'type' => 'object', - 'properties' => array( - 'Bucket' => array( - 'description' => 'The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf.', - 'type' => 'string', - 'sentAs' => 'bucket', - ), - 'Prefix' => array( - 'description' => 'The prefix to use when storing the AMI in S3.', - 'type' => 'string', - 'sentAs' => 'prefix', - ), - 'AWSAccessKeyId' => array( - 'description' => 'The Access Key ID of the owner of the Amazon S3 bucket.', - 'type' => 'string', - ), - 'UploadPolicy' => array( - 'description' => 'A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user\'s behalf.', - 'type' => 'string', - 'sentAs' => 'uploadPolicy', - ), - 'UploadPolicySignature' => array( - 'description' => 'The signature of the Base64 encoded JSON document.', - 'type' => 'string', - 'sentAs' => 'uploadPolicySignature', - ), - ), - ), - ), - ), - 'Progress' => array( - 'description' => 'The level of task completion, in percent (e.g., 20%).', - 'type' => 'string', - 'sentAs' => 'progress', - ), - 'BundleTaskError' => array( - 'description' => 'If the task fails, a description of the error.', - 'type' => 'object', - 'sentAs' => 'error', - 'properties' => array( - 'Code' => array( - 'description' => 'Error code.', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'description' => 'Error message.', - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - ), - ), - ), - ), - 'CancelReservedInstancesListingResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedInstancesListings' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'reservedInstancesListingsSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ReservedInstancesListingId' => array( - 'type' => 'string', - 'sentAs' => 'reservedInstancesListingId', - ), - 'ReservedInstancesId' => array( - 'type' => 'string', - 'sentAs' => 'reservedInstancesId', - ), - 'CreateDate' => array( - 'type' => 'string', - 'sentAs' => 'createDate', - ), - 'UpdateDate' => array( - 'type' => 'string', - 'sentAs' => 'updateDate', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'InstanceCounts' => array( - 'type' => 'array', - 'sentAs' => 'instanceCounts', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'InstanceCount' => array( - 'type' => 'numeric', - 'sentAs' => 'instanceCount', - ), - ), - ), - ), - 'PriceSchedules' => array( - 'type' => 'array', - 'sentAs' => 'priceSchedules', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Term' => array( - 'type' => 'numeric', - 'sentAs' => 'term', - ), - 'Price' => array( - 'type' => 'numeric', - 'sentAs' => 'price', - ), - 'CurrencyCode' => array( - 'type' => 'string', - 'sentAs' => 'currencyCode', - ), - 'Active' => array( - 'type' => 'boolean', - 'sentAs' => 'active', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'ClientToken' => array( - 'type' => 'string', - 'sentAs' => 'clientToken', - ), - ), - ), - ), - ), - ), - 'CancelSpotInstanceRequestsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CancelledSpotInstanceRequests' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'spotInstanceRequestSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'SpotInstanceRequestId' => array( - 'type' => 'string', - 'sentAs' => 'spotInstanceRequestId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - ), - 'ConfirmProductInstanceResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'OwnerId' => array( - 'description' => 'The instance owner\'s account ID. Only present if the product code is attached to the instance.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'ownerId', - ), - ), - ), - 'CopyImageResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ImageId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'imageId', - ), - ), - ), - 'CopySnapshotResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SnapshotId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'snapshotId', - ), - ), - ), - 'CreateCustomerGatewayResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CustomerGateway' => array( - 'description' => 'Information about the customer gateway.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'customerGateway', - 'properties' => array( - 'CustomerGatewayId' => array( - 'description' => 'Specifies the ID of the customer gateway.', - 'type' => 'string', - 'sentAs' => 'customerGatewayId', - ), - 'State' => array( - 'description' => 'Describes the current state of the customer gateway. Valid values are pending, available, deleting, and deleted.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Type' => array( - 'description' => 'Specifies the type of VPN connection the customer gateway supports.', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'IpAddress' => array( - 'description' => 'Contains the Internet-routable IP address of the customer gateway\'s outside interface.', - 'type' => 'string', - 'sentAs' => 'ipAddress', - ), - 'BgpAsn' => array( - 'description' => 'Specifies the customer gateway\'s Border Gateway Protocol (BGP) Autonomous System Number (ASN).', - 'type' => 'string', - 'sentAs' => 'bgpAsn', - ), - 'Tags' => array( - 'description' => 'A list of tags for the CustomerGateway.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateDhcpOptionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DhcpOptions' => array( - 'description' => 'A set of one or more DHCP options.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'dhcpOptions', - 'properties' => array( - 'DhcpOptionsId' => array( - 'description' => 'Specifies the ID of the set of DHCP options.', - 'type' => 'string', - 'sentAs' => 'dhcpOptionsId', - ), - 'DhcpConfigurations' => array( - 'description' => 'Contains information about the set of DHCP options.', - 'type' => 'array', - 'sentAs' => 'dhcpConfigurationSet', - 'items' => array( - 'name' => 'item', - 'description' => 'The DhcpConfiguration data type', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'Contains the name of a DHCP option.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Values' => array( - 'description' => 'Contains a set of values for a DHCP option.', - 'type' => 'array', - 'sentAs' => 'valueSet', - 'items' => array( - 'name' => 'item', - 'type' => 'string', - 'sentAs' => 'item', - ), - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the DhcpOptions.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateImageResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ImageId' => array( - 'description' => 'The ID of the new AMI.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'imageId', - ), - ), - ), - 'CreateInstanceExportTaskResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ExportTask' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'exportTask', - 'properties' => array( - 'ExportTaskId' => array( - 'type' => 'string', - 'sentAs' => 'exportTaskId', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'InstanceExportDetails' => array( - 'type' => 'object', - 'sentAs' => 'instanceExport', - 'properties' => array( - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'TargetEnvironment' => array( - 'type' => 'string', - 'sentAs' => 'targetEnvironment', - ), - ), - ), - 'ExportToS3Task' => array( - 'type' => 'object', - 'sentAs' => 'exportToS3', - 'properties' => array( - 'DiskImageFormat' => array( - 'type' => 'string', - 'sentAs' => 'diskImageFormat', - ), - 'ContainerFormat' => array( - 'type' => 'string', - 'sentAs' => 'containerFormat', - ), - 'S3Bucket' => array( - 'type' => 'string', - 'sentAs' => 's3Bucket', - ), - 'S3Key' => array( - 'type' => 'string', - 'sentAs' => 's3Key', - ), - ), - ), - ), - ), - ), - ), - 'CreateInternetGatewayResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InternetGateway' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'internetGateway', - 'properties' => array( - 'InternetGatewayId' => array( - 'type' => 'string', - 'sentAs' => 'internetGatewayId', - ), - 'Attachments' => array( - 'type' => 'array', - 'sentAs' => 'attachmentSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateKeyPairResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'KeyPair' => array( - 'description' => 'The newly created EC2 key pair.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'keyPair', - 'properties' => array( - 'KeyName' => array( - 'description' => 'The name of the key pair.', - 'type' => 'string', - 'sentAs' => 'keyName', - ), - 'KeyFingerprint' => array( - 'description' => 'The SHA-1 digest of the DER encoded private key.', - 'type' => 'string', - 'sentAs' => 'keyFingerprint', - ), - 'KeyMaterial' => array( - 'description' => 'The unencrypted PEM encoded RSA private key.', - 'type' => 'string', - 'sentAs' => 'keyMaterial', - ), - ), - ), - ), - ), - 'CreateNetworkAclResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NetworkAcl' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'networkAcl', - 'properties' => array( - 'NetworkAclId' => array( - 'type' => 'string', - 'sentAs' => 'networkAclId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'IsDefault' => array( - 'type' => 'boolean', - 'sentAs' => 'default', - ), - 'Entries' => array( - 'type' => 'array', - 'sentAs' => 'entrySet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'RuleNumber' => array( - 'type' => 'numeric', - 'sentAs' => 'ruleNumber', - ), - 'Protocol' => array( - 'type' => 'string', - 'sentAs' => 'protocol', - ), - 'RuleAction' => array( - 'type' => 'string', - 'sentAs' => 'ruleAction', - ), - 'Egress' => array( - 'type' => 'boolean', - 'sentAs' => 'egress', - ), - 'CidrBlock' => array( - 'type' => 'string', - 'sentAs' => 'cidrBlock', - ), - 'IcmpTypeCode' => array( - 'type' => 'object', - 'sentAs' => 'icmpTypeCode', - 'properties' => array( - 'Type' => array( - 'description' => 'For the ICMP protocol, the ICMP type. A value of -1 is a wildcard meaning all types. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'type', - ), - 'Code' => array( - 'description' => 'For the ICMP protocol, the ICMP code. A value of -1 is a wildcard meaning all codes. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - ), - ), - 'PortRange' => array( - 'type' => 'object', - 'sentAs' => 'portRange', - 'properties' => array( - 'From' => array( - 'description' => 'The first port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'from', - ), - 'To' => array( - 'description' => 'The last port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'to', - ), - ), - ), - ), - ), - ), - 'Associations' => array( - 'type' => 'array', - 'sentAs' => 'associationSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkAclAssociationId' => array( - 'type' => 'string', - 'sentAs' => 'networkAclAssociationId', - ), - 'NetworkAclId' => array( - 'type' => 'string', - 'sentAs' => 'networkAclId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateNetworkInterfaceResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NetworkInterface' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'networkInterface', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'OwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'RequesterId' => array( - 'type' => 'string', - 'sentAs' => 'requesterId', - ), - 'RequesterManaged' => array( - 'type' => 'boolean', - 'sentAs' => 'requesterManaged', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'MacAddress' => array( - 'type' => 'string', - 'sentAs' => 'macAddress', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'SourceDestCheck' => array( - 'type' => 'boolean', - 'sentAs' => 'sourceDestCheck', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Attachment' => array( - 'type' => 'object', - 'sentAs' => 'attachment', - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - 'sentAs' => 'attachmentId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'InstanceOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'instanceOwnerId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - 'AllocationId' => array( - 'type' => 'string', - 'sentAs' => 'allocationId', - ), - 'AssociationId' => array( - 'type' => 'string', - 'sentAs' => 'associationId', - ), - ), - ), - 'TagSet' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'privateIpAddressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'Primary' => array( - 'type' => 'boolean', - 'sentAs' => 'primary', - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - 'AllocationId' => array( - 'type' => 'string', - 'sentAs' => 'allocationId', - ), - 'AssociationId' => array( - 'type' => 'string', - 'sentAs' => 'associationId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateReservedInstancesListingResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedInstancesListings' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'reservedInstancesListingsSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ReservedInstancesListingId' => array( - 'type' => 'string', - 'sentAs' => 'reservedInstancesListingId', - ), - 'ReservedInstancesId' => array( - 'type' => 'string', - 'sentAs' => 'reservedInstancesId', - ), - 'CreateDate' => array( - 'type' => 'string', - 'sentAs' => 'createDate', - ), - 'UpdateDate' => array( - 'type' => 'string', - 'sentAs' => 'updateDate', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'InstanceCounts' => array( - 'type' => 'array', - 'sentAs' => 'instanceCounts', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'InstanceCount' => array( - 'type' => 'numeric', - 'sentAs' => 'instanceCount', - ), - ), - ), - ), - 'PriceSchedules' => array( - 'type' => 'array', - 'sentAs' => 'priceSchedules', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Term' => array( - 'type' => 'numeric', - 'sentAs' => 'term', - ), - 'Price' => array( - 'type' => 'numeric', - 'sentAs' => 'price', - ), - 'CurrencyCode' => array( - 'type' => 'string', - 'sentAs' => 'currencyCode', - ), - 'Active' => array( - 'type' => 'boolean', - 'sentAs' => 'active', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'ClientToken' => array( - 'type' => 'string', - 'sentAs' => 'clientToken', - ), - ), - ), - ), - ), - ), - 'CreateRouteTableResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RouteTable' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'routeTable', - 'properties' => array( - 'RouteTableId' => array( - 'type' => 'string', - 'sentAs' => 'routeTableId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'Routes' => array( - 'type' => 'array', - 'sentAs' => 'routeSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DestinationCidrBlock' => array( - 'type' => 'string', - 'sentAs' => 'destinationCidrBlock', - ), - 'GatewayId' => array( - 'type' => 'string', - 'sentAs' => 'gatewayId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'InstanceOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'instanceOwnerId', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - 'Associations' => array( - 'type' => 'array', - 'sentAs' => 'associationSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'RouteTableAssociationId' => array( - 'type' => 'string', - 'sentAs' => 'routeTableAssociationId', - ), - 'RouteTableId' => array( - 'type' => 'string', - 'sentAs' => 'routeTableId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'Main' => array( - 'type' => 'boolean', - 'sentAs' => 'main', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'PropagatingVgws' => array( - 'type' => 'array', - 'sentAs' => 'propagatingVgwSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GatewayId' => array( - 'type' => 'string', - 'sentAs' => 'gatewayId', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateSecurityGroupResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GroupId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'groupId', - ), - ), - ), - 'snapshot' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The unique ID of this snapshot.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'snapshotId', - ), - 'VolumeId' => array( - 'description' => 'The ID of the volume from which this snapshot was created.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'volumeId', - ), - 'State' => array( - 'description' => 'Snapshot state (e.g., pending, completed, or error).', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'status', - ), - 'StartTime' => array( - 'description' => 'Time stamp when the snapshot was initiated.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'startTime', - ), - 'Progress' => array( - 'description' => 'The progress of the snapshot, in percentage.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'progress', - ), - 'OwnerId' => array( - 'description' => 'AWS Access Key ID of the user who owns the snapshot.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'ownerId', - ), - 'Description' => array( - 'description' => 'Description of the snapshot.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'description', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - 'location' => 'xml', - 'sentAs' => 'volumeSize', - ), - 'OwnerAlias' => array( - 'description' => 'The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS account ID that owns the AMI.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'ownerAlias', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Snapshot.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - 'CreateSpotDatafeedSubscriptionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SpotDatafeedSubscription' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'spotDatafeedSubscription', - 'properties' => array( - 'OwnerId' => array( - 'description' => 'Specifies the AWS account ID of the account.', - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'Bucket' => array( - 'description' => 'Specifies the Amazon S3 bucket where the Spot Instance data feed is located.', - 'type' => 'string', - 'sentAs' => 'bucket', - ), - 'Prefix' => array( - 'description' => 'Contains the prefix that is prepended to data feed files.', - 'type' => 'string', - 'sentAs' => 'prefix', - ), - 'State' => array( - 'description' => 'Specifies the state of the Spot Instance request.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Fault' => array( - 'description' => 'Specifies a fault code for the Spot Instance request, if present.', - 'type' => 'object', - 'sentAs' => 'fault', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - ), - ), - ), - ), - 'CreateSubnetResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Subnet' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'subnet', - 'properties' => array( - 'SubnetId' => array( - 'description' => 'Specifies the ID of the subnet.', - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'State' => array( - 'description' => 'Describes the current state of the subnet. The state of the subnet may be either pending or available.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'VpcId' => array( - 'description' => 'Contains the ID of the VPC the subnet is in.', - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'CidrBlock' => array( - 'description' => 'Specifies the CIDR block assigned to the subnet.', - 'type' => 'string', - 'sentAs' => 'cidrBlock', - ), - 'AvailableIpAddressCount' => array( - 'description' => 'Specifies the number of unused IP addresses in the subnet.', - 'type' => 'numeric', - 'sentAs' => 'availableIpAddressCount', - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the Availability Zone the subnet is in.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'DefaultForAz' => array( - 'type' => 'boolean', - 'sentAs' => 'defaultForAz', - ), - 'MapPublicIpOnLaunch' => array( - 'type' => 'boolean', - 'sentAs' => 'mapPublicIpOnLaunch', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Subnet.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'volume' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The unique ID of this volume.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'volumeId', - ), - 'Size' => array( - 'description' => 'The size of this volume, in gigabytes.', - 'type' => 'numeric', - 'location' => 'xml', - 'sentAs' => 'size', - ), - 'SnapshotId' => array( - 'description' => 'Optional snapshot from which this volume was created.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'snapshotId', - ), - 'AvailabilityZone' => array( - 'description' => 'Availability zone in which this volume was created.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'availabilityZone', - ), - 'State' => array( - 'description' => 'State of this volume (e.g., creating, available).', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'status', - ), - 'CreateTime' => array( - 'description' => 'Timestamp when volume creation was initiated.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'createTime', - ), - 'Attachments' => array( - 'description' => 'Information on what this volume is attached to.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'attachmentSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Specifies the details of a how an EC2 EBS volume is attached to an instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VolumeId' => array( - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Device' => array( - 'description' => 'How the device is exposed to the instance (e.g., /dev/sdh).', - 'type' => 'string', - 'sentAs' => 'device', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'description' => 'Timestamp when this attachment initiated.', - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'description' => '` Whether this volume will be deleted or not when the associated instance is terminated.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the Volume.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'VolumeType' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'volumeType', - ), - 'Iops' => array( - 'type' => 'numeric', - 'location' => 'xml', - 'sentAs' => 'iops', - ), - ), - ), - 'CreateVpcResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Vpc' => array( - 'description' => 'Information about the VPC.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'vpc', - 'properties' => array( - 'VpcId' => array( - 'description' => 'Specifies the ID of the VPC.', - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'description' => 'Describes the current state of the VPC. The state of the subnet may be either pending or available.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'CidrBlock' => array( - 'description' => 'Specifies the CIDR block the VPC covers.', - 'type' => 'string', - 'sentAs' => 'cidrBlock', - ), - 'DhcpOptionsId' => array( - 'description' => 'Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of default if the default options are associated with the VPC.', - 'type' => 'string', - 'sentAs' => 'dhcpOptionsId', - ), - 'Tags' => array( - 'description' => 'A list of tags for the VPC.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'InstanceTenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC.', - 'type' => 'string', - 'sentAs' => 'instanceTenancy', - ), - 'IsDefault' => array( - 'type' => 'boolean', - 'sentAs' => 'isDefault', - ), - ), - ), - ), - ), - 'CreateVpnConnectionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VpnConnection' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'vpnConnection', - 'properties' => array( - 'VpnConnectionId' => array( - 'description' => 'Specifies the ID of the VPN gateway at the VPC end of the VPN connection.', - 'type' => 'string', - 'sentAs' => 'vpnConnectionId', - ), - 'State' => array( - 'description' => 'Describes the current state of the VPN connection. Valid values are pending, available, deleting, and deleted.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'CustomerGatewayConfiguration' => array( - 'description' => 'Contains configuration information in the native XML format for the VPN connection\'s customer gateway.', - 'type' => 'string', - 'sentAs' => 'customerGatewayConfiguration', - ), - 'Type' => array( - 'description' => 'Specifies the type of VPN connection.', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'CustomerGatewayId' => array( - 'description' => 'Specifies ID of the customer gateway at the end of the VPN connection.', - 'type' => 'string', - 'sentAs' => 'customerGatewayId', - ), - 'VpnGatewayId' => array( - 'description' => 'Specfies the ID of the VPN gateway at the VPC end of the VPN connection.', - 'type' => 'string', - 'sentAs' => 'vpnGatewayId', - ), - 'Tags' => array( - 'description' => 'A list of tags for the VpnConnection.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'VgwTelemetry' => array( - 'type' => 'array', - 'sentAs' => 'vgwTelemetry', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'OutsideIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'outsideIpAddress', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'LastStatusChange' => array( - 'type' => 'string', - 'sentAs' => 'lastStatusChange', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'AcceptedRouteCount' => array( - 'type' => 'numeric', - 'sentAs' => 'acceptedRouteCount', - ), - ), - ), - ), - 'Options' => array( - 'type' => 'object', - 'sentAs' => 'options', - 'properties' => array( - 'StaticRoutesOnly' => array( - 'type' => 'boolean', - 'sentAs' => 'staticRoutesOnly', - ), - ), - ), - 'Routes' => array( - 'type' => 'array', - 'sentAs' => 'routes', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DestinationCidrBlock' => array( - 'type' => 'string', - 'sentAs' => 'destinationCidrBlock', - ), - 'Source' => array( - 'type' => 'string', - 'sentAs' => 'source', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateVpnGatewayResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VpnGateway' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'vpnGateway', - 'properties' => array( - 'VpnGatewayId' => array( - 'description' => 'Specifies the ID of the VPN gateway.', - 'type' => 'string', - 'sentAs' => 'vpnGatewayId', - ), - 'State' => array( - 'description' => 'Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Type' => array( - 'description' => 'Specifies the type of VPN connection the VPN gateway supports.', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the Availability Zone where the VPN gateway was created.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'VpcAttachments' => array( - 'description' => 'Contains information about the VPCs attached to the VPN gateway.', - 'type' => 'array', - 'sentAs' => 'attachments', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the VpnGateway.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeAccountAttributesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AccountAttributes' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'accountAttributeSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'AttributeName' => array( - 'type' => 'string', - 'sentAs' => 'attributeName', - ), - 'AttributeValues' => array( - 'type' => 'array', - 'sentAs' => 'attributeValueSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'AttributeValue' => array( - 'type' => 'string', - 'sentAs' => 'attributeValue', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeAddressesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Addresses' => array( - 'description' => 'The list of Elastic IPs.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'addressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'AllocationId' => array( - 'type' => 'string', - 'sentAs' => 'allocationId', - ), - 'AssociationId' => array( - 'type' => 'string', - 'sentAs' => 'associationId', - ), - 'Domain' => array( - 'type' => 'string', - 'sentAs' => 'domain', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'NetworkInterfaceOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceOwnerId', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - ), - ), - ), - ), - ), - 'DescribeAvailabilityZonesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AvailabilityZones' => array( - 'description' => 'The list of described Amazon EC2 availability zones.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'availabilityZoneInfo', - 'items' => array( - 'name' => 'item', - 'description' => 'An EC2 availability zone, separate and fault tolerant from other availability zones.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ZoneName' => array( - 'description' => 'Name of the Availability Zone.', - 'type' => 'string', - 'sentAs' => 'zoneName', - ), - 'State' => array( - 'description' => 'State of the Availability Zone.', - 'type' => 'string', - 'sentAs' => 'zoneState', - ), - 'RegionName' => array( - 'description' => 'Name of the region in which this zone resides.', - 'type' => 'string', - 'sentAs' => 'regionName', - ), - 'Messages' => array( - 'description' => 'A list of messages about the Availability Zone.', - 'type' => 'array', - 'sentAs' => 'messageSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeBundleTasksResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'BundleTasks' => array( - 'description' => 'The list of described bundle tasks.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'bundleInstanceTasksSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a task to bundle an EC2 Windows instance into a new image.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Instance associated with this bundle task.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'BundleId' => array( - 'description' => 'Unique identifier for this task.', - 'type' => 'string', - 'sentAs' => 'bundleId', - ), - 'State' => array( - 'description' => 'The state of this task.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StartTime' => array( - 'description' => 'The time this task started.', - 'type' => 'string', - 'sentAs' => 'startTime', - ), - 'UpdateTime' => array( - 'description' => 'The time of the most recent update for the task.', - 'type' => 'string', - 'sentAs' => 'updateTime', - ), - 'Storage' => array( - 'description' => 'Amazon S3 storage locations.', - 'type' => 'object', - 'sentAs' => 'storage', - 'properties' => array( - 'S3' => array( - 'description' => 'The details of S3 storage for bundling a Windows instance.', - 'type' => 'object', - 'properties' => array( - 'Bucket' => array( - 'description' => 'The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf.', - 'type' => 'string', - 'sentAs' => 'bucket', - ), - 'Prefix' => array( - 'description' => 'The prefix to use when storing the AMI in S3.', - 'type' => 'string', - 'sentAs' => 'prefix', - ), - 'AWSAccessKeyId' => array( - 'description' => 'The Access Key ID of the owner of the Amazon S3 bucket.', - 'type' => 'string', - ), - 'UploadPolicy' => array( - 'description' => 'A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user\'s behalf.', - 'type' => 'string', - 'sentAs' => 'uploadPolicy', - ), - 'UploadPolicySignature' => array( - 'description' => 'The signature of the Base64 encoded JSON document.', - 'type' => 'string', - 'sentAs' => 'uploadPolicySignature', - ), - ), - ), - ), - ), - 'Progress' => array( - 'description' => 'The level of task completion, in percent (e.g., 20%).', - 'type' => 'string', - 'sentAs' => 'progress', - ), - 'BundleTaskError' => array( - 'description' => 'If the task fails, a description of the error.', - 'type' => 'object', - 'sentAs' => 'error', - 'properties' => array( - 'Code' => array( - 'description' => 'Error code.', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'description' => 'Error message.', - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeConversionTasksResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ConversionTasks' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'conversionTasks', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ConversionTaskId' => array( - 'type' => 'string', - 'sentAs' => 'conversionTaskId', - ), - 'ExpirationTime' => array( - 'type' => 'string', - 'sentAs' => 'expirationTime', - ), - 'ImportInstance' => array( - 'type' => 'object', - 'sentAs' => 'importInstance', - 'properties' => array( - 'Volumes' => array( - 'type' => 'array', - 'sentAs' => 'volumes', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'BytesConverted' => array( - 'type' => 'numeric', - 'sentAs' => 'bytesConverted', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Image' => array( - 'type' => 'object', - 'sentAs' => 'image', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'sentAs' => 'format', - ), - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'ImportManifestUrl' => array( - 'type' => 'string', - 'sentAs' => 'importManifestUrl', - ), - 'Checksum' => array( - 'type' => 'string', - 'sentAs' => 'checksum', - ), - ), - ), - 'Volume' => array( - 'type' => 'object', - 'sentAs' => 'volume', - 'properties' => array( - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - ), - ), - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Platform' => array( - 'type' => 'string', - 'sentAs' => 'platform', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - ), - ), - 'ImportVolume' => array( - 'type' => 'object', - 'sentAs' => 'importVolume', - 'properties' => array( - 'BytesConverted' => array( - 'type' => 'numeric', - 'sentAs' => 'bytesConverted', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'Image' => array( - 'type' => 'object', - 'sentAs' => 'image', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'sentAs' => 'format', - ), - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'ImportManifestUrl' => array( - 'type' => 'string', - 'sentAs' => 'importManifestUrl', - ), - 'Checksum' => array( - 'type' => 'string', - 'sentAs' => 'checksum', - ), - ), - ), - 'Volume' => array( - 'type' => 'object', - 'sentAs' => 'volume', - 'properties' => array( - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - ), - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeCustomerGatewaysResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CustomerGateways' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'customerGatewaySet', - 'items' => array( - 'name' => 'item', - 'description' => 'The CustomerGateway data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'CustomerGatewayId' => array( - 'description' => 'Specifies the ID of the customer gateway.', - 'type' => 'string', - 'sentAs' => 'customerGatewayId', - ), - 'State' => array( - 'description' => 'Describes the current state of the customer gateway. Valid values are pending, available, deleting, and deleted.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Type' => array( - 'description' => 'Specifies the type of VPN connection the customer gateway supports.', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'IpAddress' => array( - 'description' => 'Contains the Internet-routable IP address of the customer gateway\'s outside interface.', - 'type' => 'string', - 'sentAs' => 'ipAddress', - ), - 'BgpAsn' => array( - 'description' => 'Specifies the customer gateway\'s Border Gateway Protocol (BGP) Autonomous System Number (ASN).', - 'type' => 'string', - 'sentAs' => 'bgpAsn', - ), - 'Tags' => array( - 'description' => 'A list of tags for the CustomerGateway.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeDhcpOptionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DhcpOptions' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'dhcpOptionsSet', - 'items' => array( - 'name' => 'item', - 'description' => 'The DhcpOptions data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DhcpOptionsId' => array( - 'description' => 'Specifies the ID of the set of DHCP options.', - 'type' => 'string', - 'sentAs' => 'dhcpOptionsId', - ), - 'DhcpConfigurations' => array( - 'description' => 'Contains information about the set of DHCP options.', - 'type' => 'array', - 'sentAs' => 'dhcpConfigurationSet', - 'items' => array( - 'name' => 'item', - 'description' => 'The DhcpConfiguration data type', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'Contains the name of a DHCP option.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Values' => array( - 'description' => 'Contains a set of values for a DHCP option.', - 'type' => 'array', - 'sentAs' => 'valueSet', - 'items' => array( - 'name' => 'item', - 'type' => 'string', - 'sentAs' => 'item', - ), - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the DhcpOptions.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeExportTasksResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ExportTasks' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'exportTaskSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ExportTaskId' => array( - 'type' => 'string', - 'sentAs' => 'exportTaskId', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'InstanceExportDetails' => array( - 'type' => 'object', - 'sentAs' => 'instanceExport', - 'properties' => array( - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'TargetEnvironment' => array( - 'type' => 'string', - 'sentAs' => 'targetEnvironment', - ), - ), - ), - 'ExportToS3Task' => array( - 'type' => 'object', - 'sentAs' => 'exportToS3', - 'properties' => array( - 'DiskImageFormat' => array( - 'type' => 'string', - 'sentAs' => 'diskImageFormat', - ), - 'ContainerFormat' => array( - 'type' => 'string', - 'sentAs' => 'containerFormat', - ), - 'S3Bucket' => array( - 'type' => 'string', - 'sentAs' => 's3Bucket', - ), - 'S3Key' => array( - 'type' => 'string', - 'sentAs' => 's3Key', - ), - ), - ), - ), - ), - ), - ), - ), - 'imageAttribute' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ImageId' => array( - 'description' => 'The ID of the associated AMI.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'imageId', - ), - 'LaunchPermissions' => array( - 'description' => 'Launch permissions for the associated AMI.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'launchPermission', - 'items' => array( - 'name' => 'item', - 'description' => 'Describes a permission to launch an Amazon Machine Image (AMI).', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of the user involved in this launch permission.', - 'type' => 'string', - 'sentAs' => 'userId', - ), - 'Group' => array( - 'description' => 'The AWS group of the user involved in this launch permission.', - 'type' => 'string', - 'sentAs' => 'group', - ), - ), - ), - ), - 'ProductCodes' => array( - 'description' => 'Product codes for the associated AMI.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - 'KernelId' => array( - 'description' => 'Kernel ID of the associated AMI.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'kernel', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'RamdiskId' => array( - 'description' => 'Ramdisk ID of the associated AMI.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'ramdisk', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'Description' => array( - 'description' => 'User-created description of the associated AMI.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'description', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'BlockDeviceMappings' => array( - 'description' => 'Block device mappings for the associated AMI.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - 'sentAs' => 'virtualName', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - 'sentAs' => 'snapshotId', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - 'sentAs' => 'volumeSize', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - 'VolumeType' => array( - 'type' => 'string', - 'sentAs' => 'volumeType', - ), - 'Iops' => array( - 'type' => 'numeric', - 'sentAs' => 'iops', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - 'sentAs' => 'noDevice', - ), - ), - ), - ), - ), - ), - 'DescribeImagesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Images' => array( - 'description' => 'The list of the described AMIs.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'imagesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents an Amazon Machine Image (AMI) that can be run on an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ImageId' => array( - 'description' => 'The unique ID of the AMI.', - 'type' => 'string', - 'sentAs' => 'imageId', - ), - 'ImageLocation' => array( - 'description' => 'The location of the AMI.', - 'type' => 'string', - 'sentAs' => 'imageLocation', - ), - 'State' => array( - 'description' => 'Current state of the AMI. If the operation returns available, the image is successfully registered and available for launching. If the operation returns deregistered, the image is deregistered and no longer available for launching.', - 'type' => 'string', - 'sentAs' => 'imageState', - ), - 'OwnerId' => array( - 'description' => 'AWS Access Key ID of the image owner.', - 'type' => 'string', - 'sentAs' => 'imageOwnerId', - ), - 'Public' => array( - 'description' => 'True if this image has public launch permissions. False if it only has implicit and explicit launch permissions.', - 'type' => 'boolean', - 'sentAs' => 'isPublic', - ), - 'ProductCodes' => array( - 'description' => 'Product codes of the AMI.', - 'type' => 'array', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - 'Architecture' => array( - 'description' => 'The architecture of the image.', - 'type' => 'string', - 'sentAs' => 'architecture', - ), - 'ImageType' => array( - 'description' => 'The type of image (machine, kernel, or ramdisk).', - 'type' => 'string', - 'sentAs' => 'imageType', - ), - 'KernelId' => array( - 'description' => 'The kernel associated with the image, if any. Only applicable for machine images.', - 'type' => 'string', - 'sentAs' => 'kernelId', - ), - 'RamdiskId' => array( - 'description' => 'The RAM disk associated with the image, if any. Only applicable for machine images.', - 'type' => 'string', - 'sentAs' => 'ramdiskId', - ), - 'Platform' => array( - 'description' => 'The operating platform of the AMI.', - 'type' => 'string', - 'sentAs' => 'platform', - ), - 'StateReason' => array( - 'description' => 'The reason for the state change.', - 'type' => 'object', - 'sentAs' => 'stateReason', - 'properties' => array( - 'Code' => array( - 'description' => 'Reason code for the state change.', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'description' => 'Descriptive message for the state change.', - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'ImageOwnerAlias' => array( - 'description' => 'The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS account ID that owns the AMI.', - 'type' => 'string', - 'sentAs' => 'imageOwnerAlias', - ), - 'Name' => array( - 'description' => 'The name of the AMI that was provided during image creation.', - 'type' => 'string', - 'sentAs' => 'name', - ), - 'Description' => array( - 'description' => 'The description of the AMI that was provided during image creation.', - 'type' => 'string', - 'sentAs' => 'description', - ), - 'RootDeviceType' => array( - 'description' => 'The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.', - 'type' => 'string', - 'sentAs' => 'rootDeviceType', - ), - 'RootDeviceName' => array( - 'description' => 'The root device name (e.g., /dev/sda1).', - 'type' => 'string', - 'sentAs' => 'rootDeviceName', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Specifies how block devices are exposed to the instance.', - 'type' => 'array', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - 'sentAs' => 'virtualName', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - 'sentAs' => 'snapshotId', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - 'sentAs' => 'volumeSize', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - 'VolumeType' => array( - 'type' => 'string', - 'sentAs' => 'volumeType', - ), - 'Iops' => array( - 'type' => 'numeric', - 'sentAs' => 'iops', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - 'sentAs' => 'noDevice', - ), - ), - ), - ), - 'VirtualizationType' => array( - 'type' => 'string', - 'sentAs' => 'virtualizationType', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Image.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'Hypervisor' => array( - 'type' => 'string', - 'sentAs' => 'hypervisor', - ), - ), - ), - ), - ), - ), - 'InstanceAttribute' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the associated instance.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'instanceId', - ), - 'InstanceType' => array( - 'description' => 'The instance type (e.g., m1.small, c1.medium, m2.2xlarge, and so on).', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'instanceType', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'KernelId' => array( - 'description' => 'The kernel ID of the associated instance.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'kernel', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'RamdiskId' => array( - 'description' => 'The ramdisk ID of the associated instance.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'ramdisk', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'UserData' => array( - 'description' => 'MIME, Base64-encoded user data.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'userData', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'DisableApiTermination' => array( - 'description' => 'Whether this instance can be terminated. You must modify this attribute before you can terminate any "locked" instances.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'disableApiTermination', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'sentAs' => 'value', - ), - ), - ), - 'InstanceInitiatedShutdownBehavior' => array( - 'description' => 'Whether this instance\'s Amazon EBS volumes are deleted when the instance is shut down.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'instanceInitiatedShutdownBehavior', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'RootDeviceName' => array( - 'description' => 'The root device name (e.g., /dev/sda1).', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'rootDeviceName', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'BlockDeviceMappings' => array( - 'description' => 'How block devices are exposed to this instance. Each mapping is made up of a virtualName and a deviceName.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'Describes how block devices are mapped on an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DeviceName' => array( - 'description' => 'The device name (e.g., /dev/sdh) at which the block device is exposed on the instance.', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'The optional EBS device mapped to the specified device name.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The ID of the EBS volume.', - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'Status' => array( - 'description' => 'The status of the EBS volume.', - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'description' => 'The time at which the EBS volume was attached to the associated instance.', - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - ), - ), - ), - 'ProductCodes' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'ebsOptimized', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - 'DescribeInstanceStatusResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceStatuses' => array( - 'description' => 'Collection of instance statuses describing the state of the requested instances.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instanceStatusSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents the status of an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the Amazon EC2 instance.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'AvailabilityZone' => array( - 'description' => 'The Amazon EC2 instance\'s availability zone.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Events' => array( - 'description' => 'Events that affect the status of the associated Amazon EC2 instance.', - 'type' => 'array', - 'sentAs' => 'eventsSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents an event that affects the status of an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Code' => array( - 'description' => 'The associated code of the event. Valid values: instance-reboot, system-reboot, instance-retirement', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Description' => array( - 'description' => 'A description of the event.', - 'type' => 'string', - 'sentAs' => 'description', - ), - 'NotBefore' => array( - 'description' => 'The earliest scheduled start time for the event.', - 'type' => 'string', - 'sentAs' => 'notBefore', - ), - 'NotAfter' => array( - 'description' => 'The latest scheduled end time for the event.', - 'type' => 'string', - 'sentAs' => 'notAfter', - ), - ), - ), - ), - 'InstanceState' => array( - 'type' => 'object', - 'sentAs' => 'instanceState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'SystemStatus' => array( - 'type' => 'object', - 'sentAs' => 'systemStatus', - 'properties' => array( - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'Details' => array( - 'type' => 'array', - 'sentAs' => 'details', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'ImpairedSince' => array( - 'type' => 'string', - 'sentAs' => 'impairedSince', - ), - ), - ), - ), - ), - ), - 'InstanceStatus' => array( - 'type' => 'object', - 'sentAs' => 'instanceStatus', - 'properties' => array( - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'Details' => array( - 'type' => 'array', - 'sentAs' => 'details', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'ImpairedSince' => array( - 'type' => 'string', - 'sentAs' => 'impairedSince', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'A string specifying the next paginated set of results to return.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'nextToken', - ), - ), - ), - 'DescribeInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Reservations' => array( - 'description' => 'The list of reservations containing the describes instances.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'reservationSet', - 'items' => array( - 'name' => 'item', - 'description' => 'An Amazon EC2 reservation of requested EC2 instances.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ReservationId' => array( - 'description' => 'The unique ID of this reservation.', - 'type' => 'string', - 'sentAs' => 'reservationId', - ), - 'OwnerId' => array( - 'description' => 'The AWS Access Key ID of the user who owns the reservation.', - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'RequesterId' => array( - 'description' => 'The unique ID of the user who requested the instances in this reservation.', - 'type' => 'string', - 'sentAs' => 'requesterId', - ), - 'Groups' => array( - 'description' => 'The list of security groups requested for the instances in this reservation.', - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Instances' => array( - 'description' => 'The list of Amazon EC2 instances included in this reservation.', - 'type' => 'array', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Unique ID of the instance launched.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'ImageId' => array( - 'description' => 'Image ID of the AMI used to launch the instance.', - 'type' => 'string', - 'sentAs' => 'imageId', - ), - 'State' => array( - 'description' => 'The current state of the instance.', - 'type' => 'object', - 'sentAs' => 'instanceState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'PrivateDnsName' => array( - 'description' => 'The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.', - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'PublicDnsName' => array( - 'description' => 'The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.', - 'type' => 'string', - 'sentAs' => 'dnsName', - ), - 'StateTransitionReason' => array( - 'description' => 'Reason for the most recent state transition. This might be an empty string.', - 'type' => 'string', - 'sentAs' => 'reason', - ), - 'KeyName' => array( - 'description' => 'If this instance was launched with an associated key pair, this displays the key pair name.', - 'type' => 'string', - 'sentAs' => 'keyName', - ), - 'AmiLaunchIndex' => array( - 'description' => 'The AMI launch index, which can be used to find this instance within the launch group.', - 'type' => 'numeric', - 'sentAs' => 'amiLaunchIndex', - ), - 'ProductCodes' => array( - 'description' => 'Product codes attached to this instance.', - 'type' => 'array', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - 'InstanceType' => array( - 'description' => 'The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.', - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'LaunchTime' => array( - 'description' => 'The time this instance launched.', - 'type' => 'string', - 'sentAs' => 'launchTime', - ), - 'Placement' => array( - 'description' => 'The location where this instance launched.', - 'type' => 'object', - 'sentAs' => 'placement', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'Tenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means all instances launched into the VPC will be launched as dedicated tenancy regardless of the tenancy assigned to the instance at launch.', - 'type' => 'string', - 'sentAs' => 'tenancy', - ), - ), - ), - 'KernelId' => array( - 'description' => 'Kernel associated with this instance.', - 'type' => 'string', - 'sentAs' => 'kernelId', - ), - 'RamdiskId' => array( - 'description' => 'RAM disk associated with this instance.', - 'type' => 'string', - 'sentAs' => 'ramdiskId', - ), - 'Platform' => array( - 'description' => 'Platform of the instance (e.g., Windows).', - 'type' => 'string', - 'sentAs' => 'platform', - ), - 'Monitoring' => array( - 'description' => 'Monitoring status for this instance.', - 'type' => 'object', - 'sentAs' => 'monitoring', - 'properties' => array( - 'State' => array( - 'description' => 'The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled).', - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - 'SubnetId' => array( - 'description' => 'Specifies the Amazon VPC subnet ID in which the instance is running.', - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'VpcId' => array( - 'description' => 'Specifies the Amazon VPC in which the instance is running.', - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'PrivateIpAddress' => array( - 'description' => 'Specifies the private IP address that is assigned to the instance (Amazon VPC).', - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PublicIpAddress' => array( - 'description' => 'Specifies the IP address of the instance.', - 'type' => 'string', - 'sentAs' => 'ipAddress', - ), - 'StateReason' => array( - 'description' => 'The reason for the state change.', - 'type' => 'object', - 'sentAs' => 'stateReason', - 'properties' => array( - 'Code' => array( - 'description' => 'Reason code for the state change.', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'description' => 'Descriptive message for the state change.', - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'Architecture' => array( - 'description' => 'The architecture of this instance.', - 'type' => 'string', - 'sentAs' => 'architecture', - ), - 'RootDeviceType' => array( - 'description' => 'The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.', - 'type' => 'string', - 'sentAs' => 'rootDeviceType', - ), - 'RootDeviceName' => array( - 'description' => 'The root device name (e.g., /dev/sda1).', - 'type' => 'string', - 'sentAs' => 'rootDeviceName', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Block device mapping set.', - 'type' => 'array', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'Describes how block devices are mapped on an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DeviceName' => array( - 'description' => 'The device name (e.g., /dev/sdh) at which the block device is exposed on the instance.', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'The optional EBS device mapped to the specified device name.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The ID of the EBS volume.', - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'Status' => array( - 'description' => 'The status of the EBS volume.', - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'description' => 'The time at which the EBS volume was attached to the associated instance.', - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - ), - ), - ), - 'VirtualizationType' => array( - 'type' => 'string', - 'sentAs' => 'virtualizationType', - ), - 'InstanceLifecycle' => array( - 'type' => 'string', - 'sentAs' => 'instanceLifecycle', - ), - 'SpotInstanceRequestId' => array( - 'type' => 'string', - 'sentAs' => 'spotInstanceRequestId', - ), - 'License' => array( - 'type' => 'object', - 'sentAs' => 'license', - 'properties' => array( - 'Pool' => array( - 'description' => 'The license pool from which this license was used (ex: \'windows\').', - 'type' => 'string', - 'sentAs' => 'pool', - ), - ), - ), - 'ClientToken' => array( - 'type' => 'string', - 'sentAs' => 'clientToken', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Instance.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'SourceDestCheck' => array( - 'type' => 'boolean', - 'sentAs' => 'sourceDestCheck', - ), - 'Hypervisor' => array( - 'type' => 'string', - 'sentAs' => 'hypervisor', - ), - 'NetworkInterfaces' => array( - 'type' => 'array', - 'sentAs' => 'networkInterfaceSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'OwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'SourceDestCheck' => array( - 'type' => 'boolean', - 'sentAs' => 'sourceDestCheck', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Attachment' => array( - 'type' => 'object', - 'sentAs' => 'attachment', - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - 'sentAs' => 'attachmentId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'PublicDnsName' => array( - 'type' => 'string', - 'sentAs' => 'publicDnsName', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - ), - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'privateIpAddressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'Primary' => array( - 'type' => 'boolean', - 'sentAs' => 'primary', - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'PublicDnsName' => array( - 'type' => 'string', - 'sentAs' => 'publicDnsName', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'IamInstanceProfile' => array( - 'type' => 'object', - 'sentAs' => 'iamInstanceProfile', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - 'sentAs' => 'arn', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'sentAs' => 'ebsOptimized', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeInternetGatewaysResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InternetGateways' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'internetGatewaySet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InternetGatewayId' => array( - 'type' => 'string', - 'sentAs' => 'internetGatewayId', - ), - 'Attachments' => array( - 'type' => 'array', - 'sentAs' => 'attachmentSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeKeyPairsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'KeyPairs' => array( - 'description' => 'The list of described key pairs.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'keySet', - 'items' => array( - 'name' => 'item', - 'description' => 'Describes an Amazon EC2 key pair. This is a summary of the key pair data, and will not contain the actual private key material.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'KeyName' => array( - 'description' => 'The name of the key pair.', - 'type' => 'string', - 'sentAs' => 'keyName', - ), - 'KeyFingerprint' => array( - 'description' => 'The SHA-1 digest of the DER encoded private key.', - 'type' => 'string', - 'sentAs' => 'keyFingerprint', - ), - ), - ), - ), - ), - ), - 'DescribeLicensesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Licenses' => array( - 'description' => 'Specifies active licenses in use and attached to an Amazon EC2 instance.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'licenseSet', - 'items' => array( - 'name' => 'item', - 'description' => 'A software license that can be associated with an Amazon EC2 instance when launched (ex. a Microsoft Windows license).', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'LicenseId' => array( - 'description' => 'The unique ID identifying the license.', - 'type' => 'string', - 'sentAs' => 'licenseId', - ), - 'Type' => array( - 'description' => 'The license type (ex. "Microsoft/Windows/Standard").', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'Pool' => array( - 'description' => 'The name of the pool in which the license is kept.', - 'type' => 'string', - 'sentAs' => 'pool', - ), - 'Capacities' => array( - 'description' => 'The capacities available for this license, indicating how many licenses are in use, how many are available, how many Amazon EC2 instances can be supported, etc.', - 'type' => 'array', - 'sentAs' => 'capacitySet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents the capacity that a license is able to support.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Capacity' => array( - 'description' => 'The number of licenses available.', - 'type' => 'numeric', - 'sentAs' => 'capacity', - ), - 'InstanceCapacity' => array( - 'description' => 'The number of Amazon EC2 instances that can be supported with the license\'s capacity.', - 'type' => 'numeric', - 'sentAs' => 'instanceCapacity', - ), - 'State' => array( - 'description' => 'The state of this license capacity, indicating whether the license is actively being used or not.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'EarliestAllowedDeactivationTime' => array( - 'description' => 'The earliest allowed time at which a license can be deactivated. Some licenses have time restrictions on when they can be activated and reactivated.', - 'type' => 'string', - 'sentAs' => 'earliestAllowedDeactivationTime', - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the License.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeNetworkAclsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NetworkAcls' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'networkAclSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkAclId' => array( - 'type' => 'string', - 'sentAs' => 'networkAclId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'IsDefault' => array( - 'type' => 'boolean', - 'sentAs' => 'default', - ), - 'Entries' => array( - 'type' => 'array', - 'sentAs' => 'entrySet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'RuleNumber' => array( - 'type' => 'numeric', - 'sentAs' => 'ruleNumber', - ), - 'Protocol' => array( - 'type' => 'string', - 'sentAs' => 'protocol', - ), - 'RuleAction' => array( - 'type' => 'string', - 'sentAs' => 'ruleAction', - ), - 'Egress' => array( - 'type' => 'boolean', - 'sentAs' => 'egress', - ), - 'CidrBlock' => array( - 'type' => 'string', - 'sentAs' => 'cidrBlock', - ), - 'IcmpTypeCode' => array( - 'type' => 'object', - 'sentAs' => 'icmpTypeCode', - 'properties' => array( - 'Type' => array( - 'description' => 'For the ICMP protocol, the ICMP type. A value of -1 is a wildcard meaning all types. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'type', - ), - 'Code' => array( - 'description' => 'For the ICMP protocol, the ICMP code. A value of -1 is a wildcard meaning all codes. Required if specifying icmp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - ), - ), - 'PortRange' => array( - 'type' => 'object', - 'sentAs' => 'portRange', - 'properties' => array( - 'From' => array( - 'description' => 'The first port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'from', - ), - 'To' => array( - 'description' => 'The last port in the range. Required if specifying tcp or udp for the protocol.', - 'type' => 'numeric', - 'sentAs' => 'to', - ), - ), - ), - ), - ), - ), - 'Associations' => array( - 'type' => 'array', - 'sentAs' => 'associationSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkAclAssociationId' => array( - 'type' => 'string', - 'sentAs' => 'networkAclAssociationId', - ), - 'NetworkAclId' => array( - 'type' => 'string', - 'sentAs' => 'networkAclId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeNetworkInterfaceAttributeResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'networkInterfaceId', - ), - 'Description' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'description', - 'properties' => array( - 'Value' => array( - 'description' => 'String value', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - 'SourceDestCheck' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'sourceDestCheck', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'sentAs' => 'value', - ), - ), - ), - 'Groups' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Attachment' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'attachment', - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - 'sentAs' => 'attachmentId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'InstanceOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'instanceOwnerId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - ), - ), - 'DescribeNetworkInterfacesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NetworkInterfaces' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'networkInterfaceSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'OwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'RequesterId' => array( - 'type' => 'string', - 'sentAs' => 'requesterId', - ), - 'RequesterManaged' => array( - 'type' => 'boolean', - 'sentAs' => 'requesterManaged', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'MacAddress' => array( - 'type' => 'string', - 'sentAs' => 'macAddress', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'SourceDestCheck' => array( - 'type' => 'boolean', - 'sentAs' => 'sourceDestCheck', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Attachment' => array( - 'type' => 'object', - 'sentAs' => 'attachment', - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - 'sentAs' => 'attachmentId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'InstanceOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'instanceOwnerId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - 'AllocationId' => array( - 'type' => 'string', - 'sentAs' => 'allocationId', - ), - 'AssociationId' => array( - 'type' => 'string', - 'sentAs' => 'associationId', - ), - ), - ), - 'TagSet' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'privateIpAddressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'Primary' => array( - 'type' => 'boolean', - 'sentAs' => 'primary', - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - 'AllocationId' => array( - 'type' => 'string', - 'sentAs' => 'allocationId', - ), - 'AssociationId' => array( - 'type' => 'string', - 'sentAs' => 'associationId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribePlacementGroupsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PlacementGroups' => array( - 'description' => 'Contains information about the specified PlacementGroups.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'placementGroupSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a placement group into which multiple Amazon EC2 instances can be launched. A placement group ensures that Amazon EC2 instances are physically located close enough to support HPC features, such as higher IO network connections between instances in the group.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'description' => 'The name of this PlacementGroup.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'Strategy' => array( - 'description' => 'The strategy to use when allocating Amazon EC2 instances for the PlacementGroup.', - 'type' => 'string', - 'sentAs' => 'strategy', - ), - 'State' => array( - 'description' => 'The state of this PlacementGroup.', - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - ), - 'DescribeRegionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Regions' => array( - 'description' => 'The list of described Amazon EC2 regions.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'regionInfo', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents an Amazon EC2 region. EC2 regions are completely isolated from each other.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'RegionName' => array( - 'description' => 'Name of the region.', - 'type' => 'string', - 'sentAs' => 'regionName', - ), - 'Endpoint' => array( - 'description' => 'Region service endpoint.', - 'type' => 'string', - 'sentAs' => 'regionEndpoint', - ), - ), - ), - ), - ), - ), - 'DescribeReservedInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedInstances' => array( - 'description' => 'The list of described Reserved Instances.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'reservedInstancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'A group of Amazon EC2 Reserved Instances purchased by this account.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ReservedInstancesId' => array( - 'description' => 'The unique ID of the Reserved Instances purchase.', - 'type' => 'string', - 'sentAs' => 'reservedInstancesId', - ), - 'InstanceType' => array( - 'description' => 'The instance type on which the Reserved Instances can be used.', - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which the Reserved Instances can be used.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Start' => array( - 'description' => 'The date and time the Reserved Instances started.', - 'type' => 'string', - 'sentAs' => 'start', - ), - 'Duration' => array( - 'description' => 'The duration of the Reserved Instances, in seconds.', - 'type' => 'numeric', - 'sentAs' => 'duration', - ), - 'UsagePrice' => array( - 'description' => 'The usage price of the Reserved Instances, per hour.', - 'type' => 'numeric', - 'sentAs' => 'usagePrice', - ), - 'FixedPrice' => array( - 'description' => 'The purchase price of the Reserved Instances.', - 'type' => 'numeric', - 'sentAs' => 'fixedPrice', - ), - 'InstanceCount' => array( - 'description' => 'The number of Reserved Instances purchased.', - 'type' => 'numeric', - 'sentAs' => 'instanceCount', - ), - 'ProductDescription' => array( - 'description' => 'The Reserved Instances product description (ex: Windows or Unix/Linux).', - 'type' => 'string', - 'sentAs' => 'productDescription', - ), - 'State' => array( - 'description' => 'The state of the Reserved Instances purchase.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Tags' => array( - 'description' => 'A list of tags for the ReservedInstances.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'InstanceTenancy' => array( - 'description' => 'The tenancy of the reserved instance (ex: default or dedicated).', - 'type' => 'string', - 'sentAs' => 'instanceTenancy', - ), - 'CurrencyCode' => array( - 'description' => 'The currency of the reserved instance. Specified using ISO 4217 standard (e.g., USD, JPY).', - 'type' => 'string', - 'sentAs' => 'currencyCode', - ), - 'OfferingType' => array( - 'description' => 'The Reserved Instance offering type.', - 'type' => 'string', - 'sentAs' => 'offeringType', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring charge tag assigned to the resource.', - 'type' => 'array', - 'sentAs' => 'recurringCharges', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a usage charge for Amazon EC2 resources that repeats on a schedule.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Frequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - 'sentAs' => 'frequency', - ), - 'Amount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - 'sentAs' => 'amount', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeReservedInstancesListingsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedInstancesListings' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'reservedInstancesListingsSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ReservedInstancesListingId' => array( - 'type' => 'string', - 'sentAs' => 'reservedInstancesListingId', - ), - 'ReservedInstancesId' => array( - 'type' => 'string', - 'sentAs' => 'reservedInstancesId', - ), - 'CreateDate' => array( - 'type' => 'string', - 'sentAs' => 'createDate', - ), - 'UpdateDate' => array( - 'type' => 'string', - 'sentAs' => 'updateDate', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'InstanceCounts' => array( - 'type' => 'array', - 'sentAs' => 'instanceCounts', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'InstanceCount' => array( - 'type' => 'numeric', - 'sentAs' => 'instanceCount', - ), - ), - ), - ), - 'PriceSchedules' => array( - 'type' => 'array', - 'sentAs' => 'priceSchedules', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Term' => array( - 'type' => 'numeric', - 'sentAs' => 'term', - ), - 'Price' => array( - 'type' => 'numeric', - 'sentAs' => 'price', - ), - 'CurrencyCode' => array( - 'type' => 'string', - 'sentAs' => 'currencyCode', - ), - 'Active' => array( - 'type' => 'boolean', - 'sentAs' => 'active', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'ClientToken' => array( - 'type' => 'string', - 'sentAs' => 'clientToken', - ), - ), - ), - ), - ), - ), - 'DescribeReservedInstancesOfferingsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedInstancesOfferings' => array( - 'description' => 'The list of described Reserved Instance offerings.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'reservedInstancesOfferingsSet', - 'items' => array( - 'name' => 'item', - 'description' => 'An active offer for Amazon EC2 Reserved Instances.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ReservedInstancesOfferingId' => array( - 'description' => 'The unique ID of this Reserved Instances offering.', - 'type' => 'string', - 'sentAs' => 'reservedInstancesOfferingId', - ), - 'InstanceType' => array( - 'description' => 'The instance type on which the Reserved Instances can be used.', - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which the Reserved Instances can be used.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Duration' => array( - 'description' => 'The duration of the Reserved Instance, in seconds.', - 'type' => 'numeric', - 'sentAs' => 'duration', - ), - 'UsagePrice' => array( - 'description' => 'The usage price of the Reserved Instance, per hour.', - 'type' => 'numeric', - 'sentAs' => 'usagePrice', - ), - 'FixedPrice' => array( - 'description' => 'The purchase price of the Reserved Instance.', - 'type' => 'numeric', - 'sentAs' => 'fixedPrice', - ), - 'ProductDescription' => array( - 'description' => 'The Reserved Instances description (ex: Windows or Unix/Linux).', - 'type' => 'string', - 'sentAs' => 'productDescription', - ), - 'InstanceTenancy' => array( - 'description' => 'The tenancy of the reserved instance (ex: default or dedicated).', - 'type' => 'string', - 'sentAs' => 'instanceTenancy', - ), - 'CurrencyCode' => array( - 'description' => 'The currency of the reserved instance. Specified using ISO 4217 standard (e.g., USD, JPY).', - 'type' => 'string', - 'sentAs' => 'currencyCode', - ), - 'OfferingType' => array( - 'description' => 'The Reserved Instance offering type.', - 'type' => 'string', - 'sentAs' => 'offeringType', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring charge tag assigned to the resource.', - 'type' => 'array', - 'sentAs' => 'recurringCharges', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a usage charge for Amazon EC2 resources that repeats on a schedule.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Frequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - 'sentAs' => 'frequency', - ), - 'Amount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - 'sentAs' => 'amount', - ), - ), - ), - ), - 'Marketplace' => array( - 'type' => 'boolean', - 'sentAs' => 'marketplace', - ), - 'PricingDetails' => array( - 'type' => 'array', - 'sentAs' => 'pricingDetailsSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Price' => array( - 'type' => 'numeric', - 'sentAs' => 'price', - ), - 'Count' => array( - 'type' => 'numeric', - 'sentAs' => 'count', - ), - ), - ), - ), - ), - ), - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'nextToken', - ), - ), - ), - 'DescribeRouteTablesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RouteTables' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'routeTableSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'RouteTableId' => array( - 'type' => 'string', - 'sentAs' => 'routeTableId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'Routes' => array( - 'type' => 'array', - 'sentAs' => 'routeSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DestinationCidrBlock' => array( - 'type' => 'string', - 'sentAs' => 'destinationCidrBlock', - ), - 'GatewayId' => array( - 'type' => 'string', - 'sentAs' => 'gatewayId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'InstanceOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'instanceOwnerId', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - 'Associations' => array( - 'type' => 'array', - 'sentAs' => 'associationSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'RouteTableAssociationId' => array( - 'type' => 'string', - 'sentAs' => 'routeTableAssociationId', - ), - 'RouteTableId' => array( - 'type' => 'string', - 'sentAs' => 'routeTableId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'Main' => array( - 'type' => 'boolean', - 'sentAs' => 'main', - ), - ), - ), - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'PropagatingVgws' => array( - 'type' => 'array', - 'sentAs' => 'propagatingVgwSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GatewayId' => array( - 'type' => 'string', - 'sentAs' => 'gatewayId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeSecurityGroupsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SecurityGroups' => array( - 'description' => 'The list of described Amazon EC2 security groups.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'securityGroupInfo', - 'items' => array( - 'name' => 'item', - 'description' => 'An Amazon EC2 security group, describing how EC2 instances in this group can receive network traffic.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'OwnerId' => array( - 'description' => 'The AWS Access Key ID of the owner of the security group.', - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'GroupName' => array( - 'description' => 'The name of this security group.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - 'Description' => array( - 'description' => 'The description of this security group.', - 'type' => 'string', - 'sentAs' => 'groupDescription', - ), - 'IpPermissions' => array( - 'description' => 'The permissions enabled for this security group.', - 'type' => 'array', - 'sentAs' => 'ipPermissions', - 'items' => array( - 'name' => 'item', - 'description' => 'An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'IpProtocol' => array( - 'description' => 'The IP protocol of this permission.', - 'type' => 'string', - 'sentAs' => 'ipProtocol', - ), - 'FromPort' => array( - 'description' => 'Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).', - 'type' => 'numeric', - 'sentAs' => 'fromPort', - ), - 'ToPort' => array( - 'description' => 'End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).', - 'type' => 'numeric', - 'sentAs' => 'toPort', - ), - 'UserIdGroupPairs' => array( - 'description' => 'The list of AWS user IDs and groups included in this permission.', - 'type' => 'array', - 'sentAs' => 'groups', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS user ID identifiying an AWS account, and the name of a security group within that account.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of an account.', - 'type' => 'string', - 'sentAs' => 'userId', - ), - 'GroupName' => array( - 'description' => 'Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'description' => 'ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'IpRanges' => array( - 'description' => 'The list of CIDR IP ranges included in this permission.', - 'type' => 'array', - 'sentAs' => 'ipRanges', - 'items' => array( - 'name' => 'item', - 'description' => 'Contains a list of CIRD IP ranges.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'CidrIp' => array( - 'description' => 'The list of CIDR IP ranges.', - 'type' => 'string', - 'sentAs' => 'cidrIp', - ), - ), - ), - ), - ), - ), - ), - 'IpPermissionsEgress' => array( - 'type' => 'array', - 'sentAs' => 'ipPermissionsEgress', - 'items' => array( - 'name' => 'item', - 'description' => 'An IP permission describing allowed incoming IP traffic to an Amazon EC2 security group.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'IpProtocol' => array( - 'description' => 'The IP protocol of this permission.', - 'type' => 'string', - 'sentAs' => 'ipProtocol', - ), - 'FromPort' => array( - 'description' => 'Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).', - 'type' => 'numeric', - 'sentAs' => 'fromPort', - ), - 'ToPort' => array( - 'description' => 'End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).', - 'type' => 'numeric', - 'sentAs' => 'toPort', - ), - 'UserIdGroupPairs' => array( - 'description' => 'The list of AWS user IDs and groups included in this permission.', - 'type' => 'array', - 'sentAs' => 'groups', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS user ID identifiying an AWS account, and the name of a security group within that account.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'UserId' => array( - 'description' => 'The AWS user ID of an account.', - 'type' => 'string', - 'sentAs' => 'userId', - ), - 'GroupName' => array( - 'description' => 'Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'description' => 'ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.', - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'IpRanges' => array( - 'description' => 'The list of CIDR IP ranges included in this permission.', - 'type' => 'array', - 'sentAs' => 'ipRanges', - 'items' => array( - 'name' => 'item', - 'description' => 'Contains a list of CIRD IP ranges.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'CidrIp' => array( - 'description' => 'The list of CIDR IP ranges.', - 'type' => 'string', - 'sentAs' => 'cidrIp', - ), - ), - ), - ), - ), - ), - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeSnapshotAttributeResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot whose attribute is being described.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'snapshotId', - ), - 'CreateVolumePermissions' => array( - 'description' => 'The list of permissions describing who can create a volume from the associated EBS snapshot.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'createVolumePermission', - 'items' => array( - 'name' => 'item', - 'description' => 'Describes a permission allowing either a user or group to create a new EBS volume from a snapshot.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'UserId' => array( - 'description' => 'The user ID of the user that can create volumes from the snapshot.', - 'type' => 'string', - 'sentAs' => 'userId', - ), - 'Group' => array( - 'description' => 'The group that is allowed to create volumes from the snapshot (currently supports "all").', - 'type' => 'string', - 'sentAs' => 'group', - ), - ), - ), - ), - 'ProductCodes' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - ), - ), - 'DescribeSnapshotsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Snapshots' => array( - 'description' => 'The list of described EBS snapshots.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'snapshotSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a snapshot of an Amazon EC2 EBS volume.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The unique ID of this snapshot.', - 'type' => 'string', - 'sentAs' => 'snapshotId', - ), - 'VolumeId' => array( - 'description' => 'The ID of the volume from which this snapshot was created.', - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'State' => array( - 'description' => 'Snapshot state (e.g., pending, completed, or error).', - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StartTime' => array( - 'description' => 'Time stamp when the snapshot was initiated.', - 'type' => 'string', - 'sentAs' => 'startTime', - ), - 'Progress' => array( - 'description' => 'The progress of the snapshot, in percentage.', - 'type' => 'string', - 'sentAs' => 'progress', - ), - 'OwnerId' => array( - 'description' => 'AWS Access Key ID of the user who owns the snapshot.', - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'Description' => array( - 'description' => 'Description of the snapshot.', - 'type' => 'string', - 'sentAs' => 'description', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - 'sentAs' => 'volumeSize', - ), - 'OwnerAlias' => array( - 'description' => 'The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS account ID that owns the AMI.', - 'type' => 'string', - 'sentAs' => 'ownerAlias', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Snapshot.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeSpotDatafeedSubscriptionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SpotDatafeedSubscription' => array( - 'description' => 'The Spot Instance datafeed subscription.', - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'spotDatafeedSubscription', - 'properties' => array( - 'OwnerId' => array( - 'description' => 'Specifies the AWS account ID of the account.', - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'Bucket' => array( - 'description' => 'Specifies the Amazon S3 bucket where the Spot Instance data feed is located.', - 'type' => 'string', - 'sentAs' => 'bucket', - ), - 'Prefix' => array( - 'description' => 'Contains the prefix that is prepended to data feed files.', - 'type' => 'string', - 'sentAs' => 'prefix', - ), - 'State' => array( - 'description' => 'Specifies the state of the Spot Instance request.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Fault' => array( - 'description' => 'Specifies a fault code for the Spot Instance request, if present.', - 'type' => 'object', - 'sentAs' => 'fault', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - ), - ), - ), - ), - 'DescribeSpotInstanceRequestsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SpotInstanceRequests' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'spotInstanceRequestSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'SpotInstanceRequestId' => array( - 'type' => 'string', - 'sentAs' => 'spotInstanceRequestId', - ), - 'SpotPrice' => array( - 'type' => 'string', - 'sentAs' => 'spotPrice', - ), - 'Type' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Fault' => array( - 'type' => 'object', - 'sentAs' => 'fault', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'sentAs' => 'status', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'UpdateTime' => array( - 'type' => 'string', - 'sentAs' => 'updateTime', - ), - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'ValidFrom' => array( - 'type' => 'string', - 'sentAs' => 'validFrom', - ), - 'ValidUntil' => array( - 'type' => 'string', - 'sentAs' => 'validUntil', - ), - 'LaunchGroup' => array( - 'type' => 'string', - 'sentAs' => 'launchGroup', - ), - 'AvailabilityZoneGroup' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZoneGroup', - ), - 'LaunchSpecification' => array( - 'type' => 'object', - 'sentAs' => 'launchSpecification', - 'properties' => array( - 'ImageId' => array( - 'description' => 'The AMI ID.', - 'type' => 'string', - 'sentAs' => 'imageId', - ), - 'KeyName' => array( - 'description' => 'The name of the key pair.', - 'type' => 'string', - 'sentAs' => 'keyName', - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'UserData' => array( - 'description' => 'Optional data, specific to a user\'s application, to provide in the launch request. All instances that collectively comprise the launch request have access to this data. User data is never returned through API responses.', - 'type' => 'string', - 'sentAs' => 'userData', - ), - 'AddressingType' => array( - 'description' => 'Deprecated.', - 'type' => 'string', - 'sentAs' => 'addressingType', - ), - 'InstanceType' => array( - 'description' => 'Specifies the instance type.', - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'Placement' => array( - 'description' => 'Defines a placement item.', - 'type' => 'object', - 'sentAs' => 'placement', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - ), - ), - 'KernelId' => array( - 'description' => 'Specifies the ID of the kernel to select.', - 'type' => 'string', - 'sentAs' => 'kernelId', - ), - 'RamdiskId' => array( - 'description' => 'Specifies the ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information on whether or not you need to specify a RAM disk and search for the kernel ID.', - 'type' => 'string', - 'sentAs' => 'ramdiskId', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.', - 'type' => 'array', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - 'sentAs' => 'virtualName', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - 'sentAs' => 'snapshotId', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - 'sentAs' => 'volumeSize', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - 'VolumeType' => array( - 'type' => 'string', - 'sentAs' => 'volumeType', - ), - 'Iops' => array( - 'type' => 'numeric', - 'sentAs' => 'iops', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - 'sentAs' => 'noDevice', - ), - ), - ), - ), - 'MonitoringEnabled' => array( - 'description' => 'Enables monitoring for the instance.', - 'type' => 'boolean', - 'sentAs' => 'monitoringEnabled', - ), - 'SubnetId' => array( - 'description' => 'Specifies the Amazon VPC subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud.', - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'NetworkInterfaces' => array( - 'type' => 'array', - 'sentAs' => 'networkInterfaceSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - 'sentAs' => 'SecurityGroupId', - ), - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'privateIpAddressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'Primary' => array( - 'type' => 'boolean', - 'sentAs' => 'primary', - ), - ), - ), - ), - 'SecondaryPrivateIpAddressCount' => array( - 'type' => 'numeric', - 'sentAs' => 'secondaryPrivateIpAddressCount', - ), - ), - ), - ), - 'IamInstanceProfile' => array( - 'type' => 'object', - 'sentAs' => 'iamInstanceProfile', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - 'sentAs' => 'arn', - ), - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'sentAs' => 'ebsOptimized', - ), - ), - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'CreateTime' => array( - 'type' => 'string', - 'sentAs' => 'createTime', - ), - 'ProductDescription' => array( - 'type' => 'string', - 'sentAs' => 'productDescription', - ), - 'Tags' => array( - 'description' => 'A list of tags for this spot instance request.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'LaunchedAvailabilityZone' => array( - 'description' => 'The Availability Zone in which the bid is launched.', - 'type' => 'string', - 'sentAs' => 'launchedAvailabilityZone', - ), - ), - ), - ), - ), - ), - 'DescribeSpotPriceHistoryResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SpotPriceHistory' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'spotPriceHistorySet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceType' => array( - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'ProductDescription' => array( - 'type' => 'string', - 'sentAs' => 'productDescription', - ), - 'SpotPrice' => array( - 'type' => 'string', - 'sentAs' => 'spotPrice', - ), - 'Timestamp' => array( - 'type' => 'string', - 'sentAs' => 'timestamp', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'The string marking the next set of results returned. Displays empty if there are no more results to be returned.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'nextToken', - ), - ), - ), - 'DescribeSubnetsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Subnets' => array( - 'description' => 'Contains a set of one or more Subnet instances.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'subnetSet', - 'items' => array( - 'name' => 'item', - 'description' => 'The Subnet data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'SubnetId' => array( - 'description' => 'Specifies the ID of the subnet.', - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'State' => array( - 'description' => 'Describes the current state of the subnet. The state of the subnet may be either pending or available.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'VpcId' => array( - 'description' => 'Contains the ID of the VPC the subnet is in.', - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'CidrBlock' => array( - 'description' => 'Specifies the CIDR block assigned to the subnet.', - 'type' => 'string', - 'sentAs' => 'cidrBlock', - ), - 'AvailableIpAddressCount' => array( - 'description' => 'Specifies the number of unused IP addresses in the subnet.', - 'type' => 'numeric', - 'sentAs' => 'availableIpAddressCount', - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the Availability Zone the subnet is in.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'DefaultForAz' => array( - 'type' => 'boolean', - 'sentAs' => 'defaultForAz', - ), - 'MapPublicIpOnLaunch' => array( - 'type' => 'boolean', - 'sentAs' => 'mapPublicIpOnLaunch', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Subnet.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeTagsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Tags' => array( - 'description' => 'A list of the tags for the specified resources.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Provides information about an Amazon EC2 resource Tag.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ResourceId' => array( - 'description' => 'The resource ID for the tag.', - 'type' => 'string', - 'sentAs' => 'resourceId', - ), - 'ResourceType' => array( - 'description' => 'The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).', - 'type' => 'string', - 'sentAs' => 'resourceType', - ), - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - 'DescribeVolumeAttributeResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'volumeId', - ), - 'AutoEnableIO' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'autoEnableIO', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'sentAs' => 'value', - ), - ), - ), - 'ProductCodes' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - ), - ), - 'DescribeVolumeStatusResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeStatuses' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'volumeStatusSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VolumeId' => array( - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'VolumeStatus' => array( - 'type' => 'object', - 'sentAs' => 'volumeStatus', - 'properties' => array( - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'Details' => array( - 'type' => 'array', - 'sentAs' => 'details', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - ), - ), - ), - ), - ), - 'Events' => array( - 'type' => 'array', - 'sentAs' => 'eventsSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'EventType' => array( - 'type' => 'string', - 'sentAs' => 'eventType', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'NotBefore' => array( - 'type' => 'string', - 'sentAs' => 'notBefore', - ), - 'NotAfter' => array( - 'type' => 'string', - 'sentAs' => 'notAfter', - ), - 'EventId' => array( - 'type' => 'string', - 'sentAs' => 'eventId', - ), - ), - ), - ), - 'Actions' => array( - 'type' => 'array', - 'sentAs' => 'actionsSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'EventType' => array( - 'type' => 'string', - 'sentAs' => 'eventType', - ), - 'EventId' => array( - 'type' => 'string', - 'sentAs' => 'eventId', - ), - ), - ), - ), - ), - ), - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'nextToken', - ), - ), - ), - 'DescribeVolumesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Volumes' => array( - 'description' => 'The list of described EBS volumes.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'volumeSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents an Amazon Elastic Block Storage (EBS) volume.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The unique ID of this volume.', - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'Size' => array( - 'description' => 'The size of this volume, in gigabytes.', - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'SnapshotId' => array( - 'description' => 'Optional snapshot from which this volume was created.', - 'type' => 'string', - 'sentAs' => 'snapshotId', - ), - 'AvailabilityZone' => array( - 'description' => 'Availability zone in which this volume was created.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'State' => array( - 'description' => 'State of this volume (e.g., creating, available).', - 'type' => 'string', - 'sentAs' => 'status', - ), - 'CreateTime' => array( - 'description' => 'Timestamp when volume creation was initiated.', - 'type' => 'string', - 'sentAs' => 'createTime', - ), - 'Attachments' => array( - 'description' => 'Information on what this volume is attached to.', - 'type' => 'array', - 'sentAs' => 'attachmentSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Specifies the details of a how an EC2 EBS volume is attached to an instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VolumeId' => array( - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Device' => array( - 'description' => 'How the device is exposed to the instance (e.g., /dev/sdh).', - 'type' => 'string', - 'sentAs' => 'device', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'description' => 'Timestamp when this attachment initiated.', - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'description' => '` Whether this volume will be deleted or not when the associated instance is terminated.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the Volume.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'VolumeType' => array( - 'type' => 'string', - 'sentAs' => 'volumeType', - ), - 'Iops' => array( - 'type' => 'numeric', - 'sentAs' => 'iops', - ), - ), - ), - ), - ), - ), - 'DescribeVpcAttributeResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VpcId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'vpcId', - ), - 'EnableDnsSupport' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'enableDnsSupport', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'sentAs' => 'value', - ), - ), - ), - 'EnableDnsHostnames' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'enableDnsHostnames', - 'properties' => array( - 'Value' => array( - 'description' => 'Boolean value', - 'type' => 'boolean', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - 'DescribeVpcsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Vpcs' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'vpcSet', - 'items' => array( - 'name' => 'item', - 'description' => 'The Vpc data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpcId' => array( - 'description' => 'Specifies the ID of the VPC.', - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'description' => 'Describes the current state of the VPC. The state of the subnet may be either pending or available.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'CidrBlock' => array( - 'description' => 'Specifies the CIDR block the VPC covers.', - 'type' => 'string', - 'sentAs' => 'cidrBlock', - ), - 'DhcpOptionsId' => array( - 'description' => 'Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of default if the default options are associated with the VPC.', - 'type' => 'string', - 'sentAs' => 'dhcpOptionsId', - ), - 'Tags' => array( - 'description' => 'A list of tags for the VPC.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'InstanceTenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC.', - 'type' => 'string', - 'sentAs' => 'instanceTenancy', - ), - 'IsDefault' => array( - 'type' => 'boolean', - 'sentAs' => 'isDefault', - ), - ), - ), - ), - ), - ), - 'DescribeVpnConnectionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VpnConnections' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'vpnConnectionSet', - 'items' => array( - 'name' => 'item', - 'description' => 'The VpnConnection data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpnConnectionId' => array( - 'description' => 'Specifies the ID of the VPN gateway at the VPC end of the VPN connection.', - 'type' => 'string', - 'sentAs' => 'vpnConnectionId', - ), - 'State' => array( - 'description' => 'Describes the current state of the VPN connection. Valid values are pending, available, deleting, and deleted.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'CustomerGatewayConfiguration' => array( - 'description' => 'Contains configuration information in the native XML format for the VPN connection\'s customer gateway.', - 'type' => 'string', - 'sentAs' => 'customerGatewayConfiguration', - ), - 'Type' => array( - 'description' => 'Specifies the type of VPN connection.', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'CustomerGatewayId' => array( - 'description' => 'Specifies ID of the customer gateway at the end of the VPN connection.', - 'type' => 'string', - 'sentAs' => 'customerGatewayId', - ), - 'VpnGatewayId' => array( - 'description' => 'Specfies the ID of the VPN gateway at the VPC end of the VPN connection.', - 'type' => 'string', - 'sentAs' => 'vpnGatewayId', - ), - 'Tags' => array( - 'description' => 'A list of tags for the VpnConnection.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'VgwTelemetry' => array( - 'type' => 'array', - 'sentAs' => 'vgwTelemetry', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'OutsideIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'outsideIpAddress', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'LastStatusChange' => array( - 'type' => 'string', - 'sentAs' => 'lastStatusChange', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'AcceptedRouteCount' => array( - 'type' => 'numeric', - 'sentAs' => 'acceptedRouteCount', - ), - ), - ), - ), - 'Options' => array( - 'type' => 'object', - 'sentAs' => 'options', - 'properties' => array( - 'StaticRoutesOnly' => array( - 'type' => 'boolean', - 'sentAs' => 'staticRoutesOnly', - ), - ), - ), - 'Routes' => array( - 'type' => 'array', - 'sentAs' => 'routes', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DestinationCidrBlock' => array( - 'type' => 'string', - 'sentAs' => 'destinationCidrBlock', - ), - 'Source' => array( - 'type' => 'string', - 'sentAs' => 'source', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeVpnGatewaysResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VpnGateways' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'vpnGatewaySet', - 'items' => array( - 'name' => 'item', - 'description' => 'The VpnGateway data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpnGatewayId' => array( - 'description' => 'Specifies the ID of the VPN gateway.', - 'type' => 'string', - 'sentAs' => 'vpnGatewayId', - ), - 'State' => array( - 'description' => 'Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.', - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Type' => array( - 'description' => 'Specifies the type of VPN connection the VPN gateway supports.', - 'type' => 'string', - 'sentAs' => 'type', - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the Availability Zone where the VPN gateway was created.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'VpcAttachments' => array( - 'description' => 'Contains information about the VPCs attached to the VPN gateway.', - 'type' => 'array', - 'sentAs' => 'attachments', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - 'Tags' => array( - 'description' => 'A list of tags for the VpnGateway.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'GetConsoleOutputResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the instance whose console output was requested.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'instanceId', - ), - 'Timestamp' => array( - 'description' => 'The time the output was last updated.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'timestamp', - ), - 'Output' => array( - 'description' => 'The console output, Base64 encoded.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'output', - ), - ), - ), - 'GetPasswordDataResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the instance whose Windows administrator password was requested.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'instanceId', - ), - 'Timestamp' => array( - 'description' => 'The time the data was last updated.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'timestamp', - ), - 'PasswordData' => array( - 'description' => 'The Windows administrator password of the specified instance.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'passwordData', - ), - ), - ), - 'ImportInstanceResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ConversionTask' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'conversionTask', - 'properties' => array( - 'ConversionTaskId' => array( - 'type' => 'string', - 'sentAs' => 'conversionTaskId', - ), - 'ExpirationTime' => array( - 'type' => 'string', - 'sentAs' => 'expirationTime', - ), - 'ImportInstance' => array( - 'type' => 'object', - 'sentAs' => 'importInstance', - 'properties' => array( - 'Volumes' => array( - 'type' => 'array', - 'sentAs' => 'volumes', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'BytesConverted' => array( - 'type' => 'numeric', - 'sentAs' => 'bytesConverted', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Image' => array( - 'type' => 'object', - 'sentAs' => 'image', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'sentAs' => 'format', - ), - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'ImportManifestUrl' => array( - 'type' => 'string', - 'sentAs' => 'importManifestUrl', - ), - 'Checksum' => array( - 'type' => 'string', - 'sentAs' => 'checksum', - ), - ), - ), - 'Volume' => array( - 'type' => 'object', - 'sentAs' => 'volume', - 'properties' => array( - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - ), - ), - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Platform' => array( - 'type' => 'string', - 'sentAs' => 'platform', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - ), - ), - 'ImportVolume' => array( - 'type' => 'object', - 'sentAs' => 'importVolume', - 'properties' => array( - 'BytesConverted' => array( - 'type' => 'numeric', - 'sentAs' => 'bytesConverted', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'Image' => array( - 'type' => 'object', - 'sentAs' => 'image', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'sentAs' => 'format', - ), - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'ImportManifestUrl' => array( - 'type' => 'string', - 'sentAs' => 'importManifestUrl', - ), - 'Checksum' => array( - 'type' => 'string', - 'sentAs' => 'checksum', - ), - ), - ), - 'Volume' => array( - 'type' => 'object', - 'sentAs' => 'volume', - 'properties' => array( - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - ), - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'ImportKeyPairResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'KeyName' => array( - 'description' => 'The specified unique key pair name.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'keyName', - ), - 'KeyFingerprint' => array( - 'description' => 'The MD5 public key fingerprint as specified in section 4 of RFC4716 .', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'keyFingerprint', - ), - ), - ), - 'ImportVolumeResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ConversionTask' => array( - 'type' => 'object', - 'location' => 'xml', - 'sentAs' => 'conversionTask', - 'properties' => array( - 'ConversionTaskId' => array( - 'type' => 'string', - 'sentAs' => 'conversionTaskId', - ), - 'ExpirationTime' => array( - 'type' => 'string', - 'sentAs' => 'expirationTime', - ), - 'ImportInstance' => array( - 'type' => 'object', - 'sentAs' => 'importInstance', - 'properties' => array( - 'Volumes' => array( - 'type' => 'array', - 'sentAs' => 'volumes', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'BytesConverted' => array( - 'type' => 'numeric', - 'sentAs' => 'bytesConverted', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Image' => array( - 'type' => 'object', - 'sentAs' => 'image', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'sentAs' => 'format', - ), - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'ImportManifestUrl' => array( - 'type' => 'string', - 'sentAs' => 'importManifestUrl', - ), - 'Checksum' => array( - 'type' => 'string', - 'sentAs' => 'checksum', - ), - ), - ), - 'Volume' => array( - 'type' => 'object', - 'sentAs' => 'volume', - 'properties' => array( - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - ), - ), - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Platform' => array( - 'type' => 'string', - 'sentAs' => 'platform', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - ), - ), - 'ImportVolume' => array( - 'type' => 'object', - 'sentAs' => 'importVolume', - 'properties' => array( - 'BytesConverted' => array( - 'type' => 'numeric', - 'sentAs' => 'bytesConverted', - ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'Image' => array( - 'type' => 'object', - 'sentAs' => 'image', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'sentAs' => 'format', - ), - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'ImportManifestUrl' => array( - 'type' => 'string', - 'sentAs' => 'importManifestUrl', - ), - 'Checksum' => array( - 'type' => 'string', - 'sentAs' => 'checksum', - ), - ), - ), - 'Volume' => array( - 'type' => 'object', - 'sentAs' => 'volume', - 'properties' => array( - 'Size' => array( - 'type' => 'numeric', - 'sentAs' => 'size', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - ), - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'StatusMessage' => array( - 'type' => 'string', - 'sentAs' => 'statusMessage', - ), - 'Tags' => array( - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - ), - ), - ), - ), - 'MonitorInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceMonitorings' => array( - 'description' => 'A list of updated monitoring information for the instances specified in the request.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents the monitoring state of an EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Instance ID.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Monitoring' => array( - 'description' => 'Monitoring state for the associated instance.', - 'type' => 'object', - 'sentAs' => 'monitoring', - 'properties' => array( - 'State' => array( - 'description' => 'The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled).', - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - ), - ), - ), - 'PurchaseReservedInstancesOfferingResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedInstancesId' => array( - 'description' => 'The unique ID of the Reserved Instances purchased for your account.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'reservedInstancesId', - ), - ), - ), - 'RegisterImageResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ImageId' => array( - 'description' => 'The ID of the new Amazon Machine Image (AMI).', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'imageId', - ), - ), - ), - 'ReplaceNetworkAclAssociationResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NewAssociationId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'newAssociationId', - ), - ), - ), - 'ReplaceRouteTableAssociationResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NewAssociationId' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'newAssociationId', - ), - ), - ), - 'RequestSpotInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SpotInstanceRequests' => array( - 'description' => 'Contains a list of Spot Instance requests.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'spotInstanceRequestSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'SpotInstanceRequestId' => array( - 'type' => 'string', - 'sentAs' => 'spotInstanceRequestId', - ), - 'SpotPrice' => array( - 'type' => 'string', - 'sentAs' => 'spotPrice', - ), - 'Type' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - 'State' => array( - 'type' => 'string', - 'sentAs' => 'state', - ), - 'Fault' => array( - 'type' => 'object', - 'sentAs' => 'fault', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'Status' => array( - 'type' => 'object', - 'sentAs' => 'status', - 'properties' => array( - 'Code' => array( - 'type' => 'string', - 'sentAs' => 'code', - ), - 'UpdateTime' => array( - 'type' => 'string', - 'sentAs' => 'updateTime', - ), - 'Message' => array( - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'ValidFrom' => array( - 'type' => 'string', - 'sentAs' => 'validFrom', - ), - 'ValidUntil' => array( - 'type' => 'string', - 'sentAs' => 'validUntil', - ), - 'LaunchGroup' => array( - 'type' => 'string', - 'sentAs' => 'launchGroup', - ), - 'AvailabilityZoneGroup' => array( - 'type' => 'string', - 'sentAs' => 'availabilityZoneGroup', - ), - 'LaunchSpecification' => array( - 'type' => 'object', - 'sentAs' => 'launchSpecification', - 'properties' => array( - 'ImageId' => array( - 'description' => 'The AMI ID.', - 'type' => 'string', - 'sentAs' => 'imageId', - ), - 'KeyName' => array( - 'description' => 'The name of the key pair.', - 'type' => 'string', - 'sentAs' => 'keyName', - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'UserData' => array( - 'description' => 'Optional data, specific to a user\'s application, to provide in the launch request. All instances that collectively comprise the launch request have access to this data. User data is never returned through API responses.', - 'type' => 'string', - 'sentAs' => 'userData', - ), - 'AddressingType' => array( - 'description' => 'Deprecated.', - 'type' => 'string', - 'sentAs' => 'addressingType', - ), - 'InstanceType' => array( - 'description' => 'Specifies the instance type.', - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'Placement' => array( - 'description' => 'Defines a placement item.', - 'type' => 'object', - 'sentAs' => 'placement', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - ), - ), - 'KernelId' => array( - 'description' => 'Specifies the ID of the kernel to select.', - 'type' => 'string', - 'sentAs' => 'kernelId', - ), - 'RamdiskId' => array( - 'description' => 'Specifies the ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information on whether or not you need to specify a RAM disk and search for the kernel ID.', - 'type' => 'string', - 'sentAs' => 'ramdiskId', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.', - 'type' => 'array', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'The BlockDeviceMappingItemType data type.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'VirtualName' => array( - 'description' => 'Specifies the virtual device name.', - 'type' => 'string', - 'sentAs' => 'virtualName', - ), - 'DeviceName' => array( - 'description' => 'Specifies the device name (e.g., /dev/sdh).', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The ID of the snapshot from which the volume will be created.', - 'type' => 'string', - 'sentAs' => 'snapshotId', - ), - 'VolumeSize' => array( - 'description' => 'The size of the volume, in gigabytes.', - 'type' => 'numeric', - 'sentAs' => 'volumeSize', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - 'VolumeType' => array( - 'type' => 'string', - 'sentAs' => 'volumeType', - ), - 'Iops' => array( - 'type' => 'numeric', - 'sentAs' => 'iops', - ), - ), - ), - 'NoDevice' => array( - 'description' => 'Specifies the device name to suppress during instance launch.', - 'type' => 'string', - 'sentAs' => 'noDevice', - ), - ), - ), - ), - 'MonitoringEnabled' => array( - 'description' => 'Enables monitoring for the instance.', - 'type' => 'boolean', - 'sentAs' => 'monitoringEnabled', - ), - 'SubnetId' => array( - 'description' => 'Specifies the Amazon VPC subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud.', - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'NetworkInterfaces' => array( - 'type' => 'array', - 'sentAs' => 'networkInterfaceSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'SecurityGroupId', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - 'sentAs' => 'SecurityGroupId', - ), - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'privateIpAddressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'Primary' => array( - 'type' => 'boolean', - 'sentAs' => 'primary', - ), - ), - ), - ), - 'SecondaryPrivateIpAddressCount' => array( - 'type' => 'numeric', - 'sentAs' => 'secondaryPrivateIpAddressCount', - ), - ), - ), - ), - 'IamInstanceProfile' => array( - 'type' => 'object', - 'sentAs' => 'iamInstanceProfile', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - 'sentAs' => 'arn', - ), - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'sentAs' => 'ebsOptimized', - ), - ), - ), - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'CreateTime' => array( - 'type' => 'string', - 'sentAs' => 'createTime', - ), - 'ProductDescription' => array( - 'type' => 'string', - 'sentAs' => 'productDescription', - ), - 'Tags' => array( - 'description' => 'A list of tags for this spot instance request.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'LaunchedAvailabilityZone' => array( - 'description' => 'The Availability Zone in which the bid is launched.', - 'type' => 'string', - 'sentAs' => 'launchedAvailabilityZone', - ), - ), - ), - ), - ), - ), - 'reservation' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservationId' => array( - 'description' => 'The unique ID of this reservation.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'reservationId', - ), - 'OwnerId' => array( - 'description' => 'The AWS Access Key ID of the user who owns the reservation.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'ownerId', - ), - 'RequesterId' => array( - 'description' => 'The unique ID of the user who requested the instances in this reservation.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'requesterId', - ), - 'Groups' => array( - 'description' => 'The list of security groups requested for the instances in this reservation.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Instances' => array( - 'description' => 'The list of Amazon EC2 instances included in this reservation.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Unique ID of the instance launched.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'ImageId' => array( - 'description' => 'Image ID of the AMI used to launch the instance.', - 'type' => 'string', - 'sentAs' => 'imageId', - ), - 'State' => array( - 'description' => 'The current state of the instance.', - 'type' => 'object', - 'sentAs' => 'instanceState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'PrivateDnsName' => array( - 'description' => 'The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state.', - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'PublicDnsName' => array( - 'description' => 'The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state.', - 'type' => 'string', - 'sentAs' => 'dnsName', - ), - 'StateTransitionReason' => array( - 'description' => 'Reason for the most recent state transition. This might be an empty string.', - 'type' => 'string', - 'sentAs' => 'reason', - ), - 'KeyName' => array( - 'description' => 'If this instance was launched with an associated key pair, this displays the key pair name.', - 'type' => 'string', - 'sentAs' => 'keyName', - ), - 'AmiLaunchIndex' => array( - 'description' => 'The AMI launch index, which can be used to find this instance within the launch group.', - 'type' => 'numeric', - 'sentAs' => 'amiLaunchIndex', - ), - 'ProductCodes' => array( - 'description' => 'Product codes attached to this instance.', - 'type' => 'array', - 'sentAs' => 'productCodes', - 'items' => array( - 'name' => 'item', - 'description' => 'An AWS DevPay product code.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'ProductCodeId' => array( - 'description' => 'The unique ID of an AWS DevPay product code.', - 'type' => 'string', - 'sentAs' => 'productCode', - ), - 'ProductCodeType' => array( - 'type' => 'string', - 'sentAs' => 'type', - ), - ), - ), - ), - 'InstanceType' => array( - 'description' => 'The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.', - 'type' => 'string', - 'sentAs' => 'instanceType', - ), - 'LaunchTime' => array( - 'description' => 'The time this instance launched.', - 'type' => 'string', - 'sentAs' => 'launchTime', - ), - 'Placement' => array( - 'description' => 'The location where this instance launched.', - 'type' => 'object', - 'sentAs' => 'placement', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The availability zone in which an Amazon EC2 instance runs.', - 'type' => 'string', - 'sentAs' => 'availabilityZone', - ), - 'GroupName' => array( - 'description' => 'The name of the PlacementGroup in which an Amazon EC2 instance runs. Placement groups are primarily used for launching High Performance Computing instances in the same group to ensure fast connection speeds.', - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'Tenancy' => array( - 'description' => 'The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means all instances launched into the VPC will be launched as dedicated tenancy regardless of the tenancy assigned to the instance at launch.', - 'type' => 'string', - 'sentAs' => 'tenancy', - ), - ), - ), - 'KernelId' => array( - 'description' => 'Kernel associated with this instance.', - 'type' => 'string', - 'sentAs' => 'kernelId', - ), - 'RamdiskId' => array( - 'description' => 'RAM disk associated with this instance.', - 'type' => 'string', - 'sentAs' => 'ramdiskId', - ), - 'Platform' => array( - 'description' => 'Platform of the instance (e.g., Windows).', - 'type' => 'string', - 'sentAs' => 'platform', - ), - 'Monitoring' => array( - 'description' => 'Monitoring status for this instance.', - 'type' => 'object', - 'sentAs' => 'monitoring', - 'properties' => array( - 'State' => array( - 'description' => 'The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled).', - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - 'SubnetId' => array( - 'description' => 'Specifies the Amazon VPC subnet ID in which the instance is running.', - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'VpcId' => array( - 'description' => 'Specifies the Amazon VPC in which the instance is running.', - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'PrivateIpAddress' => array( - 'description' => 'Specifies the private IP address that is assigned to the instance (Amazon VPC).', - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PublicIpAddress' => array( - 'description' => 'Specifies the IP address of the instance.', - 'type' => 'string', - 'sentAs' => 'ipAddress', - ), - 'StateReason' => array( - 'description' => 'The reason for the state change.', - 'type' => 'object', - 'sentAs' => 'stateReason', - 'properties' => array( - 'Code' => array( - 'description' => 'Reason code for the state change.', - 'type' => 'string', - 'sentAs' => 'code', - ), - 'Message' => array( - 'description' => 'Descriptive message for the state change.', - 'type' => 'string', - 'sentAs' => 'message', - ), - ), - ), - 'Architecture' => array( - 'description' => 'The architecture of this instance.', - 'type' => 'string', - 'sentAs' => 'architecture', - ), - 'RootDeviceType' => array( - 'description' => 'The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.', - 'type' => 'string', - 'sentAs' => 'rootDeviceType', - ), - 'RootDeviceName' => array( - 'description' => 'The root device name (e.g., /dev/sda1).', - 'type' => 'string', - 'sentAs' => 'rootDeviceName', - ), - 'BlockDeviceMappings' => array( - 'description' => 'Block device mapping set.', - 'type' => 'array', - 'sentAs' => 'blockDeviceMapping', - 'items' => array( - 'name' => 'item', - 'description' => 'Describes how block devices are mapped on an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'DeviceName' => array( - 'description' => 'The device name (e.g., /dev/sdh) at which the block device is exposed on the instance.', - 'type' => 'string', - 'sentAs' => 'deviceName', - ), - 'Ebs' => array( - 'description' => 'The optional EBS device mapped to the specified device name.', - 'type' => 'object', - 'sentAs' => 'ebs', - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The ID of the EBS volume.', - 'type' => 'string', - 'sentAs' => 'volumeId', - ), - 'Status' => array( - 'description' => 'The status of the EBS volume.', - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'description' => 'The time at which the EBS volume was attached to the associated instance.', - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'description' => 'Specifies whether the Amazon EBS volume is deleted on instance termination.', - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - ), - ), - ), - 'VirtualizationType' => array( - 'type' => 'string', - 'sentAs' => 'virtualizationType', - ), - 'InstanceLifecycle' => array( - 'type' => 'string', - 'sentAs' => 'instanceLifecycle', - ), - 'SpotInstanceRequestId' => array( - 'type' => 'string', - 'sentAs' => 'spotInstanceRequestId', - ), - 'License' => array( - 'type' => 'object', - 'sentAs' => 'license', - 'properties' => array( - 'Pool' => array( - 'description' => 'The license pool from which this license was used (ex: \'windows\').', - 'type' => 'string', - 'sentAs' => 'pool', - ), - ), - ), - 'ClientToken' => array( - 'type' => 'string', - 'sentAs' => 'clientToken', - ), - 'Tags' => array( - 'description' => 'A list of tags for the Instance.', - 'type' => 'array', - 'sentAs' => 'tagSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'Key' => array( - 'description' => 'The tag\'s key.', - 'type' => 'string', - 'sentAs' => 'key', - ), - 'Value' => array( - 'description' => 'The tag\'s value.', - 'type' => 'string', - 'sentAs' => 'value', - ), - ), - ), - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'SourceDestCheck' => array( - 'type' => 'boolean', - 'sentAs' => 'sourceDestCheck', - ), - 'Hypervisor' => array( - 'type' => 'string', - 'sentAs' => 'hypervisor', - ), - 'NetworkInterfaces' => array( - 'type' => 'array', - 'sentAs' => 'networkInterfaceSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'NetworkInterfaceId' => array( - 'type' => 'string', - 'sentAs' => 'networkInterfaceId', - ), - 'SubnetId' => array( - 'type' => 'string', - 'sentAs' => 'subnetId', - ), - 'VpcId' => array( - 'type' => 'string', - 'sentAs' => 'vpcId', - ), - 'Description' => array( - 'type' => 'string', - 'sentAs' => 'description', - ), - 'OwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ownerId', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'SourceDestCheck' => array( - 'type' => 'boolean', - 'sentAs' => 'sourceDestCheck', - ), - 'Groups' => array( - 'type' => 'array', - 'sentAs' => 'groupSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'GroupName' => array( - 'type' => 'string', - 'sentAs' => 'groupName', - ), - 'GroupId' => array( - 'type' => 'string', - 'sentAs' => 'groupId', - ), - ), - ), - ), - 'Attachment' => array( - 'type' => 'object', - 'sentAs' => 'attachment', - 'properties' => array( - 'AttachmentId' => array( - 'type' => 'string', - 'sentAs' => 'attachmentId', - ), - 'DeviceIndex' => array( - 'type' => 'numeric', - 'sentAs' => 'deviceIndex', - ), - 'Status' => array( - 'type' => 'string', - 'sentAs' => 'status', - ), - 'AttachTime' => array( - 'type' => 'string', - 'sentAs' => 'attachTime', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'sentAs' => 'deleteOnTermination', - ), - ), - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'PublicDnsName' => array( - 'type' => 'string', - 'sentAs' => 'publicDnsName', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - ), - ), - 'PrivateIpAddresses' => array( - 'type' => 'array', - 'sentAs' => 'privateIpAddressesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'PrivateIpAddress' => array( - 'type' => 'string', - 'sentAs' => 'privateIpAddress', - ), - 'PrivateDnsName' => array( - 'type' => 'string', - 'sentAs' => 'privateDnsName', - ), - 'Primary' => array( - 'type' => 'boolean', - 'sentAs' => 'primary', - ), - 'Association' => array( - 'type' => 'object', - 'sentAs' => 'association', - 'properties' => array( - 'PublicIp' => array( - 'type' => 'string', - 'sentAs' => 'publicIp', - ), - 'PublicDnsName' => array( - 'type' => 'string', - 'sentAs' => 'publicDnsName', - ), - 'IpOwnerId' => array( - 'type' => 'string', - 'sentAs' => 'ipOwnerId', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'IamInstanceProfile' => array( - 'type' => 'object', - 'sentAs' => 'iamInstanceProfile', - 'properties' => array( - 'Arn' => array( - 'type' => 'string', - 'sentAs' => 'arn', - ), - 'Id' => array( - 'type' => 'string', - 'sentAs' => 'id', - ), - ), - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'sentAs' => 'ebsOptimized', - ), - ), - ), - ), - ), - ), - 'StartInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StartingInstances' => array( - 'description' => 'The list of the starting instances and details on how their state has changed.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a state change for a specific EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the instance whose state changed.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'CurrentState' => array( - 'description' => 'The current state of the specified instance.', - 'type' => 'object', - 'sentAs' => 'currentState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'PreviousState' => array( - 'description' => 'The previous state of the specified instance.', - 'type' => 'object', - 'sentAs' => 'previousState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - ), - ), - ), - ), - ), - 'StopInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StoppingInstances' => array( - 'description' => 'The list of the stopping instances and details on how their state has changed.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a state change for a specific EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the instance whose state changed.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'CurrentState' => array( - 'description' => 'The current state of the specified instance.', - 'type' => 'object', - 'sentAs' => 'currentState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'PreviousState' => array( - 'description' => 'The previous state of the specified instance.', - 'type' => 'object', - 'sentAs' => 'previousState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - ), - ), - ), - ), - ), - 'TerminateInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TerminatingInstances' => array( - 'description' => 'The list of the terminating instances and details on how their state has changed.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents a state change for a specific EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The ID of the instance whose state changed.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'CurrentState' => array( - 'description' => 'The current state of the specified instance.', - 'type' => 'object', - 'sentAs' => 'currentState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'PreviousState' => array( - 'description' => 'The previous state of the specified instance.', - 'type' => 'object', - 'sentAs' => 'previousState', - 'properties' => array( - 'Code' => array( - 'description' => 'A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.', - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'description' => 'The current state of the instance.', - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - ), - ), - ), - ), - ), - 'UnmonitorInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceMonitorings' => array( - 'description' => 'A list of updated monitoring information for the instances specified in the request.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'description' => 'Represents the monitoring state of an EC2 instance.', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Instance ID.', - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'Monitoring' => array( - 'description' => 'Monitoring state for the associated instance.', - 'type' => 'object', - 'sentAs' => 'monitoring', - 'properties' => array( - 'State' => array( - 'description' => 'The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled).', - 'type' => 'string', - 'sentAs' => 'state', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeAccountAttributes' => array( - 'result_key' => 'AccountAttributes', - ), - 'DescribeAddresses' => array( - 'result_key' => 'Addresses', - ), - 'DescribeAvailabilityZones' => array( - 'result_key' => 'AvailabilityZones', - ), - 'DescribeBundleTasks' => array( - 'result_key' => 'BundleTasks', - ), - 'DescribeConversionTasks' => array( - 'result_key' => 'ConversionTasks', - ), - 'DescribeCustomerGateways' => array( - 'result_key' => 'CustomerGateways', - ), - 'DescribeDhcpOptions' => array( - 'result_key' => 'DhcpOptions', - ), - 'DescribeExportTasks' => array( - 'result_key' => 'ExportTasks', - ), - 'DescribeImages' => array( - 'result_key' => 'Images', - ), - 'DescribeInstanceStatus' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxResults', - 'result_key' => 'InstanceStatuses', - ), - 'DescribeInstances' => array( - 'result_key' => 'Reservations', - ), - 'DescribeInternetGateways' => array( - 'result_key' => 'InternetGateways', - ), - 'DescribeKeyPairs' => array( - 'result_key' => 'KeyPairs', - ), - 'DescribeLicenses' => array( - 'result_key' => 'Licenses', - ), - 'DescribeNetworkAcls' => array( - 'result_key' => 'NetworkAcls', - ), - 'DescribeNetworkInterfaces' => array( - 'result_key' => 'NetworkInterfaces', - ), - 'DescribePlacementGroups' => array( - 'result_key' => 'PlacementGroups', - ), - 'DescribeRegions' => array( - 'result_key' => 'Regions', - ), - 'DescribeReservedInstances' => array( - 'result_key' => 'ReservedInstances', - ), - 'DescribeReservedInstancesListings' => array( - 'result_key' => 'ReservedInstancesListings', - ), - 'DescribeReservedInstancesOfferings' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxResults', - 'result_key' => 'ReservedInstancesOfferings', - ), - 'DescribeRouteTables' => array( - 'result_key' => 'RouteTables', - ), - 'DescribeSecurityGroups' => array( - 'result_key' => 'SecurityGroups', - ), - 'DescribeSnapshots' => array( - 'result_key' => 'Snapshots', - ), - 'DescribeSpotInstanceRequests' => array( - 'result_key' => 'SpotInstanceRequests', - ), - 'DescribeSpotPriceHistory' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxResults', - 'result_key' => 'SpotPriceHistory', - ), - 'DescribeSubnets' => array( - 'result_key' => 'Subnets', - ), - 'DescribeTags' => array( - 'result_key' => 'Tags', - ), - 'DescribeVolumeStatus' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxResults', - 'result_key' => 'VolumeStatuses', - ), - 'DescribeVolumes' => array( - 'result_key' => 'Volumes', - ), - 'DescribeVpcs' => array( - 'result_key' => 'Vpcs', - ), - 'DescribeVpnConnections' => array( - 'result_key' => 'VpnConnections', - ), - 'DescribeVpnGateways' => array( - 'result_key' => 'VpnGateways', - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'interval' => 15, - 'max_attempts' => 40, - 'acceptor.type' => 'output', - ), - '__InstanceState' => array( - 'operation' => 'DescribeInstances', - 'acceptor.path' => 'Reservations/*/Instances/*/State/Name', - ), - 'InstanceRunning' => array( - 'extends' => '__InstanceState', - 'success.value' => 'running', - 'failure.value' => array( - 'shutting-down', - 'terminated', - 'stopping', - ), - ), - 'InstanceStopped' => array( - 'extends' => '__InstanceState', - 'success.value' => 'stopped', - 'failure.value' => array( - 'pending', - 'terminated', - ), - ), - 'InstanceTerminated' => array( - 'extends' => '__InstanceState', - 'success.value' => 'terminated', - 'failure.value' => array( - 'pending', - 'stopping', - ), - ), - '__ExportTaskState' => array( - 'operation' => 'DescribeExportTasks', - 'acceptor.path' => 'ExportTasks/*/State', - ), - 'ExportTaskCompleted' => array( - 'extends' => '__ExportTaskState', - 'success.value' => 'completed', - ), - 'ExportTaskCancelled' => array( - 'extends' => '__ExportTaskState', - 'success.value' => 'cancelled', - ), - 'SnapshotCompleted' => array( - 'operation' => 'DescribeSnapshots', - 'success.path' => 'Snapshots/*/State', - 'success.value' => 'completed', - ), - 'SubnetAvailable' => array( - 'operation' => 'DescribeSubnets', - 'success.path' => 'Subnets/*/State', - 'success.value' => 'available', - ), - '__VolumeStatus' => array( - 'operation' => 'DescribeVolumes', - 'acceptor.key' => 'VolumeStatuses/*/VolumeStatus/Status', - ), - 'VolumeAvailable' => array( - 'extends' => '__VolumeStatus', - 'success.value' => 'available', - 'failure.value' => array( - 'deleted', - ), - ), - 'VolumeInUse' => array( - 'extends' => '__VolumeStatus', - 'success.value' => 'in-use', - 'failure.value' => array( - 'deleted', - ), - ), - 'VolumeDeleted' => array( - 'extends' => '__VolumeStatus', - 'success.value' => 'deleted', - ), - 'VpcAvailable' => array( - 'operation' => 'DescribeVpcs', - 'success.path' => 'Vpcs/*/State', - 'success.value' => 'available', - ), - '__VpnConnectionState' => array( - 'operation' => 'DescribeVpnConnections', - 'acceptor.path' => 'VpnConnections/*/State', - ), - 'VpnConnectionAvailable' => array( - 'extends' => '__VpnConnectionState', - 'success.value' => 'available', - 'failure.value' => array( - 'deleting', - 'deleted', - ), - ), - 'VpnConnectionDeleted' => array( - 'extends' => '__VpnConnectionState', - 'success.value' => 'deleted', - 'failure.value' => array( - 'pending', - ), - ), - 'BundleTaskComplete' => array( - 'operation' => 'DescribeBundleTasks', - 'acceptor.path' => 'BundleTasks/*/State', - 'success.value' => 'complete', - 'failure.value' => array( - 'failed', - ), - ), - '__ConversionTaskState' => array( - 'operation' => 'DescribeConversionTasks', - 'acceptor.path' => 'ConversionTasks/*/State', - ), - 'ConversionTaskCompleted' => array( - 'extends' => '__ConversionTaskState', - 'success.value' => 'completed', - 'failure.value' => array( - 'cancelled', - 'cancelling', - ), - ), - 'ConversionTaskCancelled' => array( - 'extends' => '__ConversionTaskState', - 'success.value' => 'cancelled', - ), - '__CustomerGatewayState' => array( - 'operation' => 'DescribeCustomerGateways', - 'acceptor.path' => 'CustomerGateways/*/State', - ), - 'CustomerGatewayAvailable' => array( - 'extends' => '__CustomerGatewayState', - 'success.value' => 'available', - 'failure.value' => array( - 'deleted', - 'deleting', - ), - ), - 'ConversionTaskDeleted' => array( - 'extends' => '__CustomerGatewayState', - 'success.value' => 'deleted', - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/ElastiCacheClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/ElastiCacheClient.php deleted file mode 100644 index 0fb5516..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/ElastiCacheClient.php +++ /dev/null @@ -1,107 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/elasticache-2012-11-15.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/Enum/SourceType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/Enum/SourceType.php deleted file mode 100644 index f5c841b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/Enum/SourceType.php +++ /dev/null @@ -1,30 +0,0 @@ - '2012-11-15', - 'endpointPrefix' => 'elasticache', - 'serviceFullName' => 'Amazon ElastiCache', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'ElastiCache', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticache.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AuthorizeCacheSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AuthorizeCacheSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Security Group to authorize.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupName' => array( - 'required' => true, - 'description' => 'Name of the EC2 Security Group to include in the authorization.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupOwnerId' => array( - 'required' => true, - 'description' => 'AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSecurityGroupNotFoundException', - ), - array( - 'class' => 'InvalidCacheSecurityGroupStateException', - ), - array( - 'class' => 'AuthorizationAlreadyExistsException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'CreateCacheCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new Cache Cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateCacheCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheClusterId' => array( - 'required' => true, - 'description' => 'The Cache Cluster identifier. This parameter is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NumCacheNodes' => array( - 'required' => true, - 'description' => 'The number of Cache Nodes the Cache Cluster should have.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'CacheNodeType' => array( - 'required' => true, - 'description' => 'The compute and memory capacity of nodes in a Cache Cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Engine' => array( - 'required' => true, - 'description' => 'The name of the cache engine to be used for this Cache Cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The version of the cache engine to be used for this cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheParameterGroupName' => array( - 'description' => 'The name of the cache parameter group to associate with this Cache cluster. If this argument is omitted, the default CacheParameterGroup for the specified engine will be used.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheSubnetGroupName' => array( - 'description' => 'The name of the Cache Subnet Group to be used for the Cache Cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheSecurityGroupNames' => array( - 'description' => 'A list of Cache Security Group Names to associate with this Cache Cluster.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'CacheSecurityGroupNames.member', - 'items' => array( - 'name' => 'CacheSecurityGroupName', - 'type' => 'string', - ), - ), - 'SecurityGroupIds' => array( - 'description' => 'Specifies the VPC Security Groups associated with the Cache Cluster.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroupIds.member', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'PreferredAvailabilityZone' => array( - 'description' => 'The EC2 Availability Zone that the Cache Cluster will be created in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number on which each of the Cache Nodes will accept connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'NotificationTopicArn' => array( - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications will be sent.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheClusterAlreadyExistsException', - ), - array( - 'class' => 'InsufficientCacheClusterCapacityException', - ), - array( - 'class' => 'CacheSecurityGroupNotFoundException', - ), - array( - 'class' => 'CacheSubnetGroupNotFoundException', - ), - array( - 'class' => 'ClusterQuotaForCustomerExceededException', - ), - array( - 'class' => 'NodeQuotaForClusterExceededException', - ), - array( - 'class' => 'NodeQuotaForCustomerExceededException', - ), - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'CreateCacheParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheParameterGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new Cache Parameter Group. Cache Parameter groups control the parameters for a Cache Cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateCacheParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheParameterGroupFamily' => array( - 'required' => true, - 'description' => 'The name of the Cache Parameter Group Family the Cache Parameter Group can be used with.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'The description for the Cache Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheParameterGroupQuotaExceededException', - ), - array( - 'class' => 'CacheParameterGroupAlreadyExistsException', - ), - array( - 'class' => 'InvalidCacheParameterGroupStateException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'CreateCacheSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateCacheSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name for the Cache Security Group. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'The description for the Cache Security Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSecurityGroupAlreadyExistsException', - ), - array( - 'class' => 'CacheSecurityGroupQuotaExceededException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'CreateCacheSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSubnetGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new Cache Subnet Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateCacheSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name for the Cache Subnet Group. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheSubnetGroupDescription' => array( - 'required' => true, - 'description' => 'The description for the Cache Subnet Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SubnetIds' => array( - 'required' => true, - 'description' => 'The EC2 Subnet IDs for the Cache Subnet Group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetIds.member', - 'items' => array( - 'name' => 'SubnetIdentifier', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSubnetGroupAlreadyExistsException', - ), - array( - 'class' => 'CacheSubnetGroupQuotaExceededException', - ), - array( - 'class' => 'CacheSubnetQuotaExceededException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'DeleteCacheCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Deletes a previously provisioned Cache Cluster. A successful response from the web service indicates the request was received correctly. This action cannot be canceled or reverted. DeleteCacheCluster deletes all associated Cache Nodes, node endpoints and the Cache Cluster itself.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteCacheCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheClusterId' => array( - 'required' => true, - 'description' => 'The Cache Cluster identifier for the Cache Cluster to be deleted. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheClusterNotFoundException', - ), - array( - 'class' => 'InvalidCacheClusterStateException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DeleteCacheParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified CacheParameterGroup. The CacheParameterGroup cannot be deleted if it is associated with any cache clusters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteCacheParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Parameter Group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidCacheParameterGroupStateException', - ), - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DeleteCacheSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a Cache Security Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteCacheSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Security Group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidCacheSecurityGroupStateException', - ), - array( - 'class' => 'CacheSecurityGroupNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DeleteCacheSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a Cache Subnet Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteCacheSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Subnet Group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSubnetGroupInUseException', - ), - array( - 'class' => 'CacheSubnetGroupNotFoundException', - ), - ), - ), - 'DescribeCacheClusters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheClusterMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCacheClusters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheClusterId' => array( - 'description' => 'The user-supplied cluster identifier. If this parameter is specified, only information about that specific Cache Cluster is returned. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ShowCacheNodeInfo' => array( - 'description' => 'An optional flag that can be included in the DescribeCacheCluster request to retrieve Cache Nodes information.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheClusterNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeCacheEngineVersions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheEngineVersionMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of the available cache engines and their versions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCacheEngineVersions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'Engine' => array( - 'description' => 'The cache engine to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The cache engine version to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheParameterGroupFamily' => array( - 'description' => 'The name of a specific Cache Parameter Group family to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DefaultOnly' => array( - 'description' => 'Indicates that only the default version of the specified engine or engine and major version combination is returned.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeCacheParameterGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheParameterGroupsMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of CacheParameterGroup descriptions. If a CacheParameterGroupName is specified, the list will contain only the descriptions of the specified CacheParameterGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCacheParameterGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupName' => array( - 'description' => 'The name of a specific cache parameter group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeCacheParameters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheParameterGroupDetails', - 'responseType' => 'model', - 'summary' => 'Returns the detailed parameter list for a particular CacheParameterGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCacheParameters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of a specific cache parameter group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Source' => array( - 'description' => 'The parameter types to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeCacheSecurityGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSecurityGroupMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCacheSecurityGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSecurityGroupName' => array( - 'description' => 'The name of the Cache Security Group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSecurityGroupNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeCacheSubnetGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSubnetGroupMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of CacheSubnetGroup descriptions. If a CacheSubnetGroupName is specified, the list will contain only the description of the specified Cache Subnet Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeCacheSubnetGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSubnetGroupName' => array( - 'description' => 'The name of the Cache Subnet Group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSubnetGroupNotFoundException', - ), - ), - ), - 'DescribeEngineDefaultParameters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EngineDefaultsWrapper', - 'responseType' => 'model', - 'summary' => 'Returns the default engine and system parameter information for the specified cache engine.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEngineDefaultParameters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupFamily' => array( - 'required' => true, - 'description' => 'The name of the Cache Parameter Group Family.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeEvents' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventsMessage', - 'responseType' => 'model', - 'summary' => 'Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days. Events specific to a particular Cache Cluster, Cache Security Group, or Cache Parameter Group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEvents', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'SourceIdentifier' => array( - 'description' => 'The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceType' => array( - 'description' => 'The event source to retrieve events for. If no value is specified, all events are returned.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'cache-cluster', - 'cache-parameter-group', - 'cache-security-group', - 'cache-subnet-group', - ), - ), - 'StartTime' => array( - 'description' => 'The beginning of the time interval to retrieve events for, specified in ISO 8601 format.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'The end of the time interval for which to retrieve events, specified in ISO 8601 format.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'The number of minutes to retrieve events for.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeReservedCacheNodes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedCacheNodeMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedCacheNodes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'ReservedCacheNodeId' => array( - 'description' => 'The reserved Cache Node identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedCacheNodesOfferingId' => array( - 'description' => 'The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheNodeType' => array( - 'description' => 'The Cache Node type filter value. Specify this parameter to show only those reservations matching the specified Cache Nodes type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ProductDescription' => array( - 'description' => 'The product description filter value. Specify this parameter to show only those reservations matching the specified product description.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OfferingType' => array( - 'description' => 'The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedCacheNodeNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'DescribeReservedCacheNodesOfferings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedCacheNodesOfferingMessage', - 'responseType' => 'model', - 'summary' => 'Lists available reserved Cache Node offerings.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedCacheNodesOfferings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'ReservedCacheNodesOfferingId' => array( - 'description' => 'The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheNodeType' => array( - 'description' => 'The Cache Node type filter value. Specify this parameter to show only the available offerings matching the specified Cache Node type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ProductDescription' => array( - 'description' => 'Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OfferingType' => array( - 'description' => 'The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedCacheNodesOfferingNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'ModifyCacheCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies the Cache Cluster settings. You can change one or more Cache Cluster configuration parameters by specifying the parameters and the new values in the request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyCacheCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheClusterId' => array( - 'required' => true, - 'description' => 'The Cache Cluster identifier. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NumCacheNodes' => array( - 'description' => 'The number of Cache Nodes the Cache Cluster should have. If NumCacheNodes is greater than the existing number of Cache Nodes, Cache Nodes will be added. If NumCacheNodes is less than the existing number of Cache Nodes, Cache Nodes will be removed. When removing Cache Nodes, the Ids of the specific Cache Nodes to be removed must be supplied using the CacheNodeIdsToRemove parameter.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'CacheNodeIdsToRemove' => array( - 'description' => 'The list of Cache Node IDs to be removed. This parameter is only valid when NumCacheNodes is less than the existing number of Cache Nodes. The number of Cache Node Ids supplied in this parameter must match the difference between the existing number of Cache Nodes in the cluster and the new NumCacheNodes requested.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'CacheNodeIdsToRemove.member', - 'items' => array( - 'name' => 'CacheNodeId', - 'type' => 'string', - ), - ), - 'CacheSecurityGroupNames' => array( - 'description' => 'A list of Cache Security Group Names to authorize on this Cache Cluster. This change is asynchronously applied as soon as possible.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'CacheSecurityGroupNames.member', - 'items' => array( - 'name' => 'CacheSecurityGroupName', - 'type' => 'string', - ), - ), - 'SecurityGroupIds' => array( - 'description' => 'Specifies the VPC Security Groups associated with the Cache Cluster.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroupIds.member', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. This change is made immediately. If moving this window to the current time, there must be at least 120 minutes between the current time and end of the window to ensure pending changes are applied.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NotificationTopicArn' => array( - 'description' => 'The Amazon Resource Name (ARN) of the SNS topic to which notifications will be sent.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheParameterGroupName' => array( - 'description' => 'The name of the Cache Parameter Group to apply to this Cache Cluster. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NotificationTopicStatus' => array( - 'description' => 'The status of the Amazon SNS notification topic. The value can be active or inactive. Notifications are sent only if the status is active.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ApplyImmediately' => array( - 'description' => 'Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the Cache Cluster.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The version of the cache engine to upgrade this cluster to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor engine upgrades will be applied automatically to the Cache Cluster during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidCacheClusterStateException', - ), - array( - 'class' => 'InvalidCacheSecurityGroupStateException', - ), - array( - 'class' => 'CacheClusterNotFoundException', - ), - array( - 'class' => 'NodeQuotaForClusterExceededException', - ), - array( - 'class' => 'NodeQuotaForCustomerExceededException', - ), - array( - 'class' => 'CacheSecurityGroupNotFoundException', - ), - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'ModifyCacheParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheParameterGroupNameMessage', - 'responseType' => 'model', - 'summary' => 'Modifies the parameters of a CacheParameterGroup. To modify more than one parameter, submit a list of ParameterName and ParameterValue parameters. A maximum of 20 parameters can be modified in a single request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyCacheParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the cache parameter group to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ParameterNameValues' => array( - 'required' => true, - 'description' => 'An array of parameter names and values for the parameter update. At least one parameter name and value must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ParameterNameValues.member', - 'items' => array( - 'name' => 'ParameterNameValue', - 'description' => 'A name and value pair used to update the value of a Parameter.', - 'type' => 'object', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidCacheParameterGroupStateException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'ModifyCacheSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSubnetGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies an existing Cache Subnet Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyCacheSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name for the Cache Subnet Group. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheSubnetGroupDescription' => array( - 'description' => 'The description for the Cache Subnet Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SubnetIds' => array( - 'description' => 'The EC2 Subnet IDs for the Cache Subnet Group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetIds.member', - 'items' => array( - 'name' => 'SubnetIdentifier', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSubnetGroupNotFoundException', - ), - array( - 'class' => 'CacheSubnetQuotaExceededException', - ), - array( - 'class' => 'SubnetInUseException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'PurchaseReservedCacheNodesOffering' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedCacheNodeWrapper', - 'responseType' => 'model', - 'summary' => 'Purchases a reserved Cache Node offering.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PurchaseReservedCacheNodesOffering', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'ReservedCacheNodesOfferingId' => array( - 'required' => true, - 'description' => 'The ID of the Reserved Cache Node offering to purchase.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedCacheNodeId' => array( - 'description' => 'Customer-specified identifier to track this reservation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheNodeCount' => array( - 'description' => 'The number of instances to reserve.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedCacheNodesOfferingNotFoundException', - ), - array( - 'class' => 'ReservedCacheNodeAlreadyExistsException', - ), - array( - 'class' => 'ReservedCacheNodeQuotaExceededException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'RebootCacheCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster. This API results in the application of modified CacheParameterGroup parameters to the cache cluster. This action is taken as soon as possible, and results in a momentary outage to the cache cluster during which the cache cluster status is set to rebooting. During that momentary outage, the contents of the cache (for each cache cluster node being rebooted) are lost. A CacheCluster event is created when the reboot is completed.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RebootCacheCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheClusterId' => array( - 'required' => true, - 'description' => 'The Cache Cluster identifier. This parameter is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CacheNodeIdsToReboot' => array( - 'required' => true, - 'description' => 'A list of Cache Cluster Node Ids to reboot. To reboot an entire cache cluster, specify all cache cluster node Ids.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'CacheNodeIdsToReboot.member', - 'items' => array( - 'name' => 'CacheNodeId', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidCacheClusterStateException', - ), - array( - 'class' => 'CacheClusterNotFoundException', - ), - ), - ), - 'ResetCacheParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheParameterGroupNameMessage', - 'responseType' => 'model', - 'summary' => 'Modifies the parameters of a CacheParameterGroup to the engine or system default value. To reset specific parameters submit a list of the parameter names. To reset the entire CacheParameterGroup, specify the CacheParameterGroup name and ResetAllParameters parameters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetCacheParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ResetAllParameters' => array( - 'description' => 'Specifies whether (true) or not (false) to reset all parameters in the Cache Parameter Group to default values.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'ParameterNameValues' => array( - 'required' => true, - 'description' => 'An array of parameter names which should be reset. If not resetting the entire CacheParameterGroup, at least one parameter name must be supplied.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ParameterNameValues.member', - 'items' => array( - 'name' => 'ParameterNameValue', - 'description' => 'A name and value pair used to update the value of a Parameter.', - 'type' => 'object', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidCacheParameterGroupStateException', - ), - array( - 'class' => 'CacheParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - 'RevokeCacheSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CacheSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RevokeCacheSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-15', - ), - 'CacheSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the Cache Security Group to revoke ingress from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the EC2 Security Group to revoke access from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupOwnerId' => array( - 'required' => true, - 'description' => 'The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'CacheSecurityGroupNotFoundException', - ), - array( - 'class' => 'AuthorizationNotFoundException', - ), - array( - 'class' => 'InvalidCacheSecurityGroupStateException', - ), - array( - 'class' => 'InvalidParameterValueException', - ), - array( - 'class' => 'InvalidParameterCombinationException', - ), - ), - ), - ), - 'models' => array( - 'CacheSecurityGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CacheSecurityGroup' => array( - 'description' => 'Defines a set of EC2 Security groups that are allowed to access a Cache Cluster.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'OwnerId' => array( - 'description' => 'Provides the AWS ID of the owner of a specific Cache Security Group.', - 'type' => 'string', - ), - 'CacheSecurityGroupName' => array( - 'description' => 'Specifies the name of the Cache Security Group.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides the description of the Cache Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroups' => array( - 'description' => 'Contains a list of EC2SecurityGroup elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'description' => 'Specifies the current state of this Cache Node.', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'description' => 'Provides the status of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'Specifies the name of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'CacheClusterWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CacheCluster' => array( - 'description' => 'Contains information about a Cache Cluster.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'CacheClusterId' => array( - 'description' => 'Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.', - 'type' => 'string', - ), - 'ConfigurationEndpoint' => array( - 'description' => 'Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'Specifies the DNS address of the Cache Node.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the cache engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'ClientDownloadLandingPage' => array( - 'description' => 'Provides the landing page to download the latest ElastiCache client library.', - 'type' => 'string', - ), - 'CacheNodeType' => array( - 'description' => 'Specifies the name of the compute and memory capacity node type for the Cache Cluster.', - 'type' => 'string', - ), - 'Engine' => array( - 'description' => 'Provides the name of the cache engine to be used for this Cache Cluster.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'Provides the cache engine version of the cache engine to be used for this Cache Cluster.', - 'type' => 'string', - ), - 'CacheClusterStatus' => array( - 'description' => 'Specifies the current state of this Cache Cluster.', - 'type' => 'string', - ), - 'NumCacheNodes' => array( - 'description' => 'Specifies the number of Cache Nodes the Cache Cluster contains.', - 'type' => 'numeric', - ), - 'PreferredAvailabilityZone' => array( - 'description' => 'Specifies the name of the Availability Zone the Cache Cluster is located in.', - 'type' => 'string', - ), - 'CacheClusterCreateTime' => array( - 'description' => 'Provides the date and time the Cache Cluster was created.', - 'type' => 'string', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'Specifies the weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - ), - 'PendingModifiedValues' => array( - 'description' => 'Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.', - 'type' => 'object', - 'properties' => array( - 'NumCacheNodes' => array( - 'description' => 'Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.', - 'type' => 'numeric', - ), - 'CacheNodeIdsToRemove' => array( - 'description' => 'Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeId', - 'type' => 'string', - 'sentAs' => 'CacheNodeId', - ), - ), - 'EngineVersion' => array( - 'description' => 'Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.', - 'type' => 'string', - ), - ), - ), - 'NotificationConfiguration' => array( - 'description' => 'Specifies the notification details the Cache Cluster contains.', - 'type' => 'object', - 'properties' => array( - 'TopicArn' => array( - 'description' => 'Specifies the topic Amazon Resource Name (ARN), identifying this resource.', - 'type' => 'string', - ), - 'TopicStatus' => array( - 'description' => 'Specifies the current state of this topic.', - 'type' => 'string', - ), - ), - ), - 'CacheSecurityGroups' => array( - 'description' => 'Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheSecurityGroup', - 'description' => 'Links a CacheCluster to one or more CacheSecurityGroups.', - 'type' => 'object', - 'sentAs' => 'CacheSecurityGroup', - 'properties' => array( - 'CacheSecurityGroupName' => array( - 'description' => 'The name of the Cache Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.', - 'type' => 'string', - ), - ), - ), - ), - 'CacheParameterGroup' => array( - 'description' => 'Provides the status of the Cache Parameter Group assigned to the Cache Cluster.', - 'type' => 'object', - 'properties' => array( - 'CacheParameterGroupName' => array( - 'description' => 'The name of the Cache Parameter Group.', - 'type' => 'string', - ), - 'ParameterApplyStatus' => array( - 'description' => 'The status of parameter updates.', - 'type' => 'string', - ), - 'CacheNodeIdsToReboot' => array( - 'description' => 'A list of the Cache Node Ids which need to be rebooted for parameter changes to be applied.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeId', - 'type' => 'string', - 'sentAs' => 'CacheNodeId', - ), - ), - ), - ), - 'CacheSubnetGroupName' => array( - 'description' => 'Specifies the name of the Cache Subnet Group associated with the Cache Cluster.', - 'type' => 'string', - ), - 'CacheNodes' => array( - 'description' => 'Specifies the list of Cache Nodes the Cache Cluster contains.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNode', - 'description' => 'A Cache Cluster is made up of one or more Cache Nodes. Each Cache Node is an separate endpoint servicing the memcached protocol.', - 'type' => 'object', - 'sentAs' => 'CacheNode', - 'properties' => array( - 'CacheNodeId' => array( - 'description' => 'Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).', - 'type' => 'string', - ), - 'CacheNodeStatus' => array( - 'description' => 'Specifies the current state of this Cache Node.', - 'type' => 'string', - ), - 'CacheNodeCreateTime' => array( - 'description' => 'Provides the date and time the Cache Node was created.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'Specifies the endpoint details for a Cache Node.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'Specifies the DNS address of the Cache Node.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the cache engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'ParameterGroupStatus' => array( - 'description' => 'Specifies the status of the parameter group applied to this Cache Node.', - 'type' => 'string', - ), - ), - ), - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version patches are applied automatically.', - 'type' => 'boolean', - ), - 'SecurityGroups' => array( - 'description' => 'Specifies the VPC Security Groups associated with the Cache Cluster.', - 'type' => 'array', - 'items' => array( - 'name' => 'SecurityGroupMembership', - 'description' => 'Represents one or more Cache Security Groups to which a Cache Cluster belongs.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SecurityGroupId' => array( - 'description' => 'The identifier of the Cache Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the Cache Security Group membership. The status changes whenever a Cache Security Group is modified, or when the Cache Security Groups assigned to a Cache Cluster are modified.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'CacheParameterGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CacheParameterGroup' => array( - 'description' => 'Contains a set of parameters and their values which can be applied to a Cache Cluster.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'CacheParameterGroupName' => array( - 'description' => 'Provides the name of the Cache Parameter Group.', - 'type' => 'string', - ), - 'CacheParameterGroupFamily' => array( - 'description' => 'Provides the name of the Cache Parameter Group Family that this Cache Parameter Group is compatible with.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides the customer-specified description for this Cache Parameter Group.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'CacheSubnetGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CacheSubnetGroup' => array( - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'CacheSubnetGroupName' => array( - 'description' => 'Specifies the name of the Cache Subnet Group.', - 'type' => 'string', - ), - 'CacheSubnetGroupDescription' => array( - 'description' => 'Provides the description of the Cache Subnet Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VPC ID of the Cache Subnet Group.', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'Contains a list of subnets for this group.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'Network Subnet associated with a Cache Cluster', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'Specifies the unique identifier for the Subnet', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'description' => 'Specifies the Availability Zone associated with the Subnet', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the Availability Zone', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'CacheClusterMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker obtained from a previous operation response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CacheClusters' => array( - 'description' => 'A list of CacheClusters.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CacheCluster', - 'description' => 'Contains information about a Cache Cluster.', - 'type' => 'object', - 'sentAs' => 'CacheCluster', - 'properties' => array( - 'CacheClusterId' => array( - 'description' => 'Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.', - 'type' => 'string', - ), - 'ConfigurationEndpoint' => array( - 'description' => 'Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'Specifies the DNS address of the Cache Node.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the cache engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'ClientDownloadLandingPage' => array( - 'description' => 'Provides the landing page to download the latest ElastiCache client library.', - 'type' => 'string', - ), - 'CacheNodeType' => array( - 'description' => 'Specifies the name of the compute and memory capacity node type for the Cache Cluster.', - 'type' => 'string', - ), - 'Engine' => array( - 'description' => 'Provides the name of the cache engine to be used for this Cache Cluster.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'Provides the cache engine version of the cache engine to be used for this Cache Cluster.', - 'type' => 'string', - ), - 'CacheClusterStatus' => array( - 'description' => 'Specifies the current state of this Cache Cluster.', - 'type' => 'string', - ), - 'NumCacheNodes' => array( - 'description' => 'Specifies the number of Cache Nodes the Cache Cluster contains.', - 'type' => 'numeric', - ), - 'PreferredAvailabilityZone' => array( - 'description' => 'Specifies the name of the Availability Zone the Cache Cluster is located in.', - 'type' => 'string', - ), - 'CacheClusterCreateTime' => array( - 'description' => 'Provides the date and time the Cache Cluster was created.', - 'type' => 'string', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'Specifies the weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - ), - 'PendingModifiedValues' => array( - 'description' => 'Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.', - 'type' => 'object', - 'properties' => array( - 'NumCacheNodes' => array( - 'description' => 'Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.', - 'type' => 'numeric', - ), - 'CacheNodeIdsToRemove' => array( - 'description' => 'Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeId', - 'type' => 'string', - 'sentAs' => 'CacheNodeId', - ), - ), - 'EngineVersion' => array( - 'description' => 'Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.', - 'type' => 'string', - ), - ), - ), - 'NotificationConfiguration' => array( - 'description' => 'Specifies the notification details the Cache Cluster contains.', - 'type' => 'object', - 'properties' => array( - 'TopicArn' => array( - 'description' => 'Specifies the topic Amazon Resource Name (ARN), identifying this resource.', - 'type' => 'string', - ), - 'TopicStatus' => array( - 'description' => 'Specifies the current state of this topic.', - 'type' => 'string', - ), - ), - ), - 'CacheSecurityGroups' => array( - 'description' => 'Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheSecurityGroup', - 'description' => 'Links a CacheCluster to one or more CacheSecurityGroups.', - 'type' => 'object', - 'sentAs' => 'CacheSecurityGroup', - 'properties' => array( - 'CacheSecurityGroupName' => array( - 'description' => 'The name of the Cache Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.', - 'type' => 'string', - ), - ), - ), - ), - 'CacheParameterGroup' => array( - 'description' => 'Provides the status of the Cache Parameter Group assigned to the Cache Cluster.', - 'type' => 'object', - 'properties' => array( - 'CacheParameterGroupName' => array( - 'description' => 'The name of the Cache Parameter Group.', - 'type' => 'string', - ), - 'ParameterApplyStatus' => array( - 'description' => 'The status of parameter updates.', - 'type' => 'string', - ), - 'CacheNodeIdsToReboot' => array( - 'description' => 'A list of the Cache Node Ids which need to be rebooted for parameter changes to be applied.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeId', - 'type' => 'string', - 'sentAs' => 'CacheNodeId', - ), - ), - ), - ), - 'CacheSubnetGroupName' => array( - 'description' => 'Specifies the name of the Cache Subnet Group associated with the Cache Cluster.', - 'type' => 'string', - ), - 'CacheNodes' => array( - 'description' => 'Specifies the list of Cache Nodes the Cache Cluster contains.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNode', - 'description' => 'A Cache Cluster is made up of one or more Cache Nodes. Each Cache Node is an separate endpoint servicing the memcached protocol.', - 'type' => 'object', - 'sentAs' => 'CacheNode', - 'properties' => array( - 'CacheNodeId' => array( - 'description' => 'Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).', - 'type' => 'string', - ), - 'CacheNodeStatus' => array( - 'description' => 'Specifies the current state of this Cache Node.', - 'type' => 'string', - ), - 'CacheNodeCreateTime' => array( - 'description' => 'Provides the date and time the Cache Node was created.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'Specifies the endpoint details for a Cache Node.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'Specifies the DNS address of the Cache Node.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the cache engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'ParameterGroupStatus' => array( - 'description' => 'Specifies the status of the parameter group applied to this Cache Node.', - 'type' => 'string', - ), - ), - ), - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version patches are applied automatically.', - 'type' => 'boolean', - ), - 'SecurityGroups' => array( - 'description' => 'Specifies the VPC Security Groups associated with the Cache Cluster.', - 'type' => 'array', - 'items' => array( - 'name' => 'SecurityGroupMembership', - 'description' => 'Represents one or more Cache Security Groups to which a Cache Cluster belongs.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SecurityGroupId' => array( - 'description' => 'The identifier of the Cache Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the Cache Security Group membership. The status changes whenever a Cache Security Group is modified, or when the Cache Security Groups assigned to a Cache Cluster are modified.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CacheEngineVersionMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The identifier returned to allow retrieval of paginated results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CacheEngineVersions' => array( - 'description' => 'A list of CacheEngineVersion elements.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CacheEngineVersion', - 'description' => 'This data type is used as a response element in the action DescribeCacheEngineVersions.', - 'type' => 'object', - 'sentAs' => 'CacheEngineVersion', - 'properties' => array( - 'Engine' => array( - 'description' => 'The name of the cache engine.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'The version number of the cache engine.', - 'type' => 'string', - ), - 'CacheParameterGroupFamily' => array( - 'description' => 'The name of the CacheParameterGroupFamily for the cache engine.', - 'type' => 'string', - ), - 'CacheEngineDescription' => array( - 'description' => 'The description of the cache engine.', - 'type' => 'string', - ), - 'CacheEngineVersionDescription' => array( - 'description' => 'The description of the cache engine version.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'CacheParameterGroupsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker obtained from a previous operation response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CacheParameterGroups' => array( - 'description' => 'A list of CacheParameterGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CacheParameterGroup', - 'description' => 'Contains a set of parameters and their values which can be applied to a Cache Cluster.', - 'type' => 'object', - 'sentAs' => 'CacheParameterGroup', - 'properties' => array( - 'CacheParameterGroupName' => array( - 'description' => 'Provides the name of the Cache Parameter Group.', - 'type' => 'string', - ), - 'CacheParameterGroupFamily' => array( - 'description' => 'Provides the name of the Cache Parameter Group Family that this Cache Parameter Group is compatible with.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides the customer-specified description for this Cache Parameter Group.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'CacheParameterGroupDetails' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker obtained from a previous operation response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Parameters' => array( - 'description' => 'A list of Parameter instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'A setting controlling some apsect of the service\'s behavior.', - 'type' => 'object', - 'sentAs' => 'Parameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - ), - ), - ), - 'CacheNodeTypeSpecificParameters' => array( - 'description' => 'A list of CacheNodeTypeSpecificParameter instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CacheNodeTypeSpecificParameter', - 'description' => 'A parameter that has a different value for each Cache Node Type it is applied to.', - 'type' => 'object', - 'sentAs' => 'CacheNodeTypeSpecificParameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - 'CacheNodeTypeSpecificValues' => array( - 'description' => 'A list of Cache Node types and their corresponding values for this parameter.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeTypeSpecificValue', - 'description' => 'A value that applies only to a certain Cache Node Type.', - 'type' => 'object', - 'sentAs' => 'CacheNodeTypeSpecificValue', - 'properties' => array( - 'CacheNodeType' => array( - 'description' => 'Specifies the Cache Node type for which this value applies.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'Specifies the value for the Cache Node type.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CacheSecurityGroupMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker obtained from a previous operation response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CacheSecurityGroups' => array( - 'description' => 'A list of CacheSecurityGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CacheSecurityGroup', - 'description' => 'Defines a set of EC2 Security groups that are allowed to access a Cache Cluster.', - 'type' => 'object', - 'sentAs' => 'CacheSecurityGroup', - 'properties' => array( - 'OwnerId' => array( - 'description' => 'Provides the AWS ID of the owner of a specific Cache Security Group.', - 'type' => 'string', - ), - 'CacheSecurityGroupName' => array( - 'description' => 'Specifies the name of the Cache Security Group.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides the description of the Cache Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroups' => array( - 'description' => 'Contains a list of EC2SecurityGroup elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'description' => 'Specifies the current state of this Cache Node.', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'description' => 'Provides the status of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'Specifies the name of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CacheSubnetGroupMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker obtained from a previous operation response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CacheSubnetGroups' => array( - 'description' => 'One or more Cache Subnet Groups.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'CacheSubnetGroup', - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'sentAs' => 'CacheSubnetGroup', - 'properties' => array( - 'CacheSubnetGroupName' => array( - 'description' => 'Specifies the name of the Cache Subnet Group.', - 'type' => 'string', - ), - 'CacheSubnetGroupDescription' => array( - 'description' => 'Provides the description of the Cache Subnet Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VPC ID of the Cache Subnet Group.', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'Contains a list of subnets for this group.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'Network Subnet associated with a Cache Cluster', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'Specifies the unique identifier for the Subnet', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'description' => 'Specifies the Availability Zone associated with the Subnet', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the name of the Availability Zone', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'EngineDefaultsWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EngineDefaults' => array( - 'description' => 'The default Parameters and CacheNodeTypeSpecificParameters for a CacheParameterGroupFamily.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'CacheParameterGroupFamily' => array( - 'description' => 'Specifies the name of the Cache Parameter Group Family which the engine default parameters apply to.', - 'type' => 'string', - ), - 'Marker' => array( - 'description' => 'Provides an identifier to allow retrieval of paginated results.', - 'type' => 'string', - ), - 'Parameters' => array( - 'description' => 'Contains a list of engine default parameters.', - 'type' => 'array', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'A setting controlling some apsect of the service\'s behavior.', - 'type' => 'object', - 'sentAs' => 'Parameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - ), - ), - ), - 'CacheNodeTypeSpecificParameters' => array( - 'description' => 'A list of CacheNodeTypeSpecificParameter instances.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeTypeSpecificParameter', - 'description' => 'A parameter that has a different value for each Cache Node Type it is applied to.', - 'type' => 'object', - 'sentAs' => 'CacheNodeTypeSpecificParameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - 'CacheNodeTypeSpecificValues' => array( - 'description' => 'A list of Cache Node types and their corresponding values for this parameter.', - 'type' => 'array', - 'items' => array( - 'name' => 'CacheNodeTypeSpecificValue', - 'description' => 'A value that applies only to a certain Cache Node Type.', - 'type' => 'object', - 'sentAs' => 'CacheNodeTypeSpecificValue', - 'properties' => array( - 'CacheNodeType' => array( - 'description' => 'Specifies the Cache Node type for which this value applies.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'Specifies the value for the Cache Node type.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'EventsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker obtained from a previous operation response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Events' => array( - 'description' => 'A list of Event instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Event', - 'description' => 'An event represents something interesting that has happened in the system.', - 'type' => 'object', - 'sentAs' => 'Event', - 'properties' => array( - 'SourceIdentifier' => array( - 'description' => 'Provides the identifier for the source of the event.', - 'type' => 'string', - ), - 'SourceType' => array( - 'description' => 'Specifies the source type for this event.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'Provides the text of this event.', - 'type' => 'string', - ), - 'Date' => array( - 'description' => 'Specifies the date and time of the event.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ReservedCacheNodeMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The marker provided for paginated results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ReservedCacheNodes' => array( - 'description' => 'A list of of reserved Cache Nodes.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ReservedCacheNode', - 'description' => 'This data type is used as a response element in the DescribeReservedCacheNodes and PurchaseReservedCacheNodesOffering actions.', - 'type' => 'object', - 'sentAs' => 'ReservedCacheNode', - 'properties' => array( - 'ReservedCacheNodeId' => array( - 'description' => 'The unique identifier for the reservation.', - 'type' => 'string', - ), - 'ReservedCacheNodesOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'CacheNodeType' => array( - 'description' => 'The cache node type for the reserved Cache Node.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time the reservation started.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the reservation in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed price charged for this reserved Cache Node.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly price charged for this reserved Cache Node.', - 'type' => 'numeric', - ), - 'CacheNodeCount' => array( - 'description' => 'The number of reserved Cache Nodes.', - 'type' => 'numeric', - ), - 'ProductDescription' => array( - 'description' => 'The description of the reserved Cache Node.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The offering type of this reserved Cache Node.', - 'type' => 'string', - ), - 'State' => array( - 'description' => 'The state of the reserved Cache Node.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring price charged to run this reserved Cache Node.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'This data type is used as a response element in the DescribeReservedCacheNodes and DescribeReservedCacheNodesOfferings actions.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'ReservedCacheNodesOfferingMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker provided for paginated results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ReservedCacheNodesOfferings' => array( - 'description' => 'A list of reserved Cache Node offerings.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ReservedCacheNodesOffering', - 'description' => 'This data type is used as a response element in the DescribeReservedCacheNodesOfferings action.', - 'type' => 'object', - 'sentAs' => 'ReservedCacheNodesOffering', - 'properties' => array( - 'ReservedCacheNodesOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'CacheNodeType' => array( - 'description' => 'The Cache Node type for the reserved Cache Node.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the offering in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed price charged for this offering.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly price charged for this offering.', - 'type' => 'numeric', - ), - 'ProductDescription' => array( - 'description' => 'The cache engine used by the offering.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The offering type.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring price charged to run this reserved Cache Node.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'This data type is used as a response element in the DescribeReservedCacheNodes and DescribeReservedCacheNodesOfferings actions.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CacheParameterGroupNameMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CacheParameterGroupName' => array( - 'description' => 'The name of the Cache Parameter Group.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ReservedCacheNodeWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedCacheNode' => array( - 'description' => 'This data type is used as a response element in the DescribeReservedCacheNodes and PurchaseReservedCacheNodesOffering actions.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ReservedCacheNodeId' => array( - 'description' => 'The unique identifier for the reservation.', - 'type' => 'string', - ), - 'ReservedCacheNodesOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'CacheNodeType' => array( - 'description' => 'The cache node type for the reserved Cache Node.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time the reservation started.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the reservation in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed price charged for this reserved Cache Node.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly price charged for this reserved Cache Node.', - 'type' => 'numeric', - ), - 'CacheNodeCount' => array( - 'description' => 'The number of reserved Cache Nodes.', - 'type' => 'numeric', - ), - 'ProductDescription' => array( - 'description' => 'The description of the reserved Cache Node.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The offering type of this reserved Cache Node.', - 'type' => 'string', - ), - 'State' => array( - 'description' => 'The state of the reserved Cache Node.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring price charged to run this reserved Cache Node.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'This data type is used as a response element in the DescribeReservedCacheNodes and DescribeReservedCacheNodesOfferings actions.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeCacheClusters' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'CacheClusters', - ), - 'DescribeCacheEngineVersions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'CacheEngineVersions', - ), - 'DescribeCacheParameterGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'CacheParameterGroups', - ), - 'DescribeCacheParameters' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Parameters', - ), - 'DescribeCacheSecurityGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'CacheSecurityGroups', - ), - 'DescribeCacheSubnetGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'CacheSubnetGroups', - ), - 'DescribeEngineDefaultParameters' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Parameters', - ), - 'DescribeEvents' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Events', - ), - 'DescribeReservedCacheNodes' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ReservedCacheNodes', - ), - 'DescribeReservedCacheNodesOfferings' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ReservedCacheNodesOfferings', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/ElasticBeanstalkClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/ElasticBeanstalkClient.php deleted file mode 100644 index 9dfcee1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/ElasticBeanstalkClient.php +++ /dev/null @@ -1,114 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array(Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/elasticbeanstalk-2010-12-01.php')) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/Enum/ConfigurationDeploymentStatus.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/Enum/ConfigurationDeploymentStatus.php deleted file mode 100644 index 5d67ed1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/Enum/ConfigurationDeploymentStatus.php +++ /dev/null @@ -1,29 +0,0 @@ - '2010-12-01', - 'endpointPrefix' => 'elasticbeanstalk', - 'serviceFullName' => 'AWS Elastic Beanstalk', - 'serviceAbbreviation' => 'Elastic Beanstalk', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'ElasticBeanstalk', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elasticbeanstalk.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CheckDNSAvailability' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CheckDNSAvailabilityResultMessage', - 'responseType' => 'model', - 'summary' => 'Checks if the specified CNAME is available.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CheckDNSAvailability', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'CNAMEPrefix' => array( - 'required' => true, - 'description' => 'The prefix used when this CNAME is reserved.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 63, - ), - ), - ), - 'CreateApplication' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplicationDescriptionMessage', - 'responseType' => 'model', - 'summary' => 'Creates an application that has one configuration template named default and no application versions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateApplication', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'Description' => array( - 'description' => 'Describes the application.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The caller has exceeded the limit on the number of applications associated with their account.', - 'class' => 'TooManyApplicationsException', - ), - ), - ), - 'CreateApplicationVersion' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplicationVersionDescriptionMessage', - 'responseType' => 'model', - 'summary' => 'Creates an application version for the specified application.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateApplicationVersion', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabel' => array( - 'required' => true, - 'description' => 'A label identifying this version.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'Description' => array( - 'description' => 'Describes this version.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - 'SourceBundle' => array( - 'description' => 'The Amazon S3 bucket and key that identify the location of the source bundle for this version.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'S3Bucket' => array( - 'description' => 'The Amazon S3 bucket where the data is located.', - 'type' => 'string', - 'maxLength' => 255, - ), - 'S3Key' => array( - 'description' => 'The Amazon S3 key where the data is located.', - 'type' => 'string', - 'maxLength' => 1024, - ), - ), - ), - 'AutoCreateApplication' => array( - 'description' => 'Determines how the system behaves if the specified application for this version does not already exist:', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The caller has exceeded the limit on the number of applications associated with their account.', - 'class' => 'TooManyApplicationsException', - ), - array( - 'reason' => 'The caller has exceeded the limit on the number of application versions associated with their account.', - 'class' => 'TooManyApplicationVersionsException', - ), - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - array( - 'reason' => 'The specified S3 bucket does not belong to the S3 region in which the service is running.', - 'class' => 'S3LocationNotInServiceRegionException', - ), - ), - ), - 'CreateConfigurationTemplate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfigurationSettingsDescription', - 'responseType' => 'model', - 'summary' => 'Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateConfigurationTemplate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application to associate with this configuration template. If no application is found with this name, returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'required' => true, - 'description' => 'The name of the configuration template.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'SolutionStackName' => array( - 'description' => 'The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 100, - ), - 'SourceConfiguration' => array( - 'description' => 'If specified, uses the configuration values from the specified configuration template to create a new configuration.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'ApplicationName' => array( - 'description' => 'The name of the application associated with the configuration.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 100, - ), - ), - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment used with this configuration template.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'description' => 'Describes this configuration.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - 'OptionSettings' => array( - 'description' => 'If specified, sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionSettings.member', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - array( - 'reason' => 'The caller has exceeded the limit on the number of configuration templates associated with their account.', - 'class' => 'TooManyConfigurationTemplatesException', - ), - ), - ), - 'CreateEnvironment' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EnvironmentDescription', - 'responseType' => 'model', - 'summary' => 'Launches an environment for the specified application using the specified configuration.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateEnvironment', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application that contains the version to be deployed.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabel' => array( - 'description' => 'The name of the application version to deploy.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentName' => array( - 'required' => true, - 'description' => 'A unique name for the deployment environment. Used in the application URL.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template to use in deployment. If no configuration template is found with this name, returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'SolutionStackName' => array( - 'description' => 'This is an alternative to specifying a configuration name. If specified, sets the configuration values to the default values associated with the specified solution stack.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 100, - ), - 'CNAMEPrefix' => array( - 'description' => 'If specified, the environment attempts to use this value as the prefix for the CNAME. If not specified, the environment uses the environment name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 63, - ), - 'Description' => array( - 'description' => 'Describes this environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - 'OptionSettings' => array( - 'description' => 'If specified, sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionSettings.member', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - 'OptionsToRemove' => array( - 'description' => 'A list of custom user-defined configuration options to remove from the configuration set for this new environment.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionsToRemove.member', - 'items' => array( - 'name' => 'OptionSpecification', - 'description' => 'A specification identifying an individual configuration option.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The caller has exceeded the limit of allowed environments associated with the account.', - 'class' => 'TooManyEnvironmentsException', - ), - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'CreateStorageLocation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateStorageLocationResultMessage', - 'responseType' => 'model', - 'summary' => 'Creates the Amazon S3 storage location for the account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateStorageLocation', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The web service attempted to create a bucket in an Amazon S3 account that already has 100 buckets.', - 'class' => 'TooManyBucketsException', - ), - array( - 'reason' => 'The caller does not have a subscription to Amazon S3.', - 'class' => 'S3SubscriptionRequiredException', - ), - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'DeleteApplication' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteApplication', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TerminateEnvByForce' => array( - 'description' => 'When set to true, running environments will be terminated before deleting the application.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because another operation is already in progress affecting an an element in this activity.', - 'class' => 'OperationInProgressException', - ), - ), - ), - 'DeleteApplicationVersion' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified version from the specified application.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteApplicationVersion', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application to delete releases from.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabel' => array( - 'required' => true, - 'description' => 'The label of the version to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'DeleteSourceBundle' => array( - 'description' => 'Indicates whether to delete the associated source bundle from Amazon S3:', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to delete the Amazon S3 source bundle associated with the application version, although the application version deleted successfully.', - 'class' => 'SourceBundleDeletionException', - ), - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - array( - 'reason' => 'Unable to perform the specified operation because another operation is already in progress affecting an an element in this activity.', - 'class' => 'OperationInProgressException', - ), - array( - 'reason' => 'The specified S3 bucket does not belong to the S3 region in which the service is running.', - 'class' => 'S3LocationNotInServiceRegionException', - ), - ), - ), - 'DeleteConfigurationTemplate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified configuration template.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteConfigurationTemplate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application to delete the configuration template from.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'required' => true, - 'description' => 'The name of the configuration template to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because another operation is already in progress affecting an an element in this activity.', - 'class' => 'OperationInProgressException', - ), - ), - ), - 'DeleteEnvironmentConfiguration' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the draft configuration associated with the running environment.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteEnvironmentConfiguration', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application the environment is associated with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentName' => array( - 'required' => true, - 'description' => 'The name of the environment to delete the draft configuration from.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - ), - 'DescribeApplicationVersions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplicationVersionDescriptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns descriptions for existing application versions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeApplicationVersions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'description' => 'If specified, restricts the returned descriptions to only include ones that are associated with the specified application.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabels' => array( - 'description' => 'If specified, restricts the returned descriptions to only include ones that have the specified version labels.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VersionLabels.member', - 'items' => array( - 'name' => 'VersionLabel', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 100, - ), - ), - ), - ), - 'DescribeApplications' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplicationDescriptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns the descriptions of existing applications.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeApplications', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationNames' => array( - 'description' => 'If specified, restricts the returned descriptions to only include those with the specified names.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ApplicationNames.member', - 'items' => array( - 'name' => 'ApplicationName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 100, - ), - ), - ), - ), - 'DescribeConfigurationOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfigurationOptionsDescription', - 'responseType' => 'model', - 'summary' => 'Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeConfigurationOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'description' => 'The name of the application associated with the configuration template or environment. Only needed if you want to describe the configuration options associated with either the configuration template or environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template whose configuration options you want to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment whose configuration options you want to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'SolutionStackName' => array( - 'description' => 'The name of the solution stack whose configuration options you want to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 100, - ), - 'Options' => array( - 'description' => 'If specified, restricts the descriptions to only the specified options.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Options.member', - 'items' => array( - 'name' => 'OptionSpecification', - 'description' => 'A specification identifying an individual configuration option.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeConfigurationSettings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfigurationSettingsDescriptions', - 'responseType' => 'model', - 'summary' => 'Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeConfigurationSettings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The application for the environment or configuration template.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to describe.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - ), - 'DescribeEnvironmentResources' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EnvironmentResourceDescriptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns AWS resources for this environment.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEnvironmentResources', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment to retrieve AWS resource usage data.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to retrieve AWS resource usage data.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'DescribeEnvironments' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EnvironmentDescriptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns descriptions for existing environments.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEnvironments', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'description' => 'If specified, restricts the returned descriptions to include only those that are associated with this application.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabel' => array( - 'description' => 'If specified, restricts the returned descriptions to include only those that are associated with this application version.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentIds' => array( - 'description' => 'If specified, restricts the returned descriptions to include only those that have the specified IDs.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'EnvironmentIds.member', - 'items' => array( - 'name' => 'EnvironmentId', - 'type' => 'string', - ), - ), - 'EnvironmentNames' => array( - 'description' => 'If specified, restricts the returned descriptions to include only those that have the specified names.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'EnvironmentNames.member', - 'items' => array( - 'name' => 'EnvironmentName', - 'type' => 'string', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - 'IncludeDeleted' => array( - 'description' => 'Indicates whether to include deleted environments:', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'IncludedDeletedBackTo' => array( - 'description' => 'If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeEvents' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventDescriptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns list of event descriptions matching criteria up to the last 6 weeks.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEvents', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'description' => 'If specified, restricts the returned descriptions to include only those associated with this application.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabel' => array( - 'description' => 'If specified, restricts the returned descriptions to those associated with this application version.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'description' => 'If specified, restricts the returned descriptions to those that are associated with this environment configuration.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentId' => array( - 'description' => 'If specified, restricts the returned descriptions to those associated with this environment.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'If specified, restricts the returned descriptions to those associated with this environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'RequestId' => array( - 'description' => 'If specified, restricts the described events to include only those associated with this request ID.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Severity' => array( - 'description' => 'If specified, limits the events returned from this call to include only those with the specified severity or higher.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'TRACE', - 'DEBUG', - 'INFO', - 'WARN', - 'ERROR', - 'FATAL', - ), - ), - 'StartTime' => array( - 'description' => 'If specified, restricts the returned descriptions to those that occur on or after this time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'If specified, restricts the returned descriptions to those that occur up to, but not including, the EndTime.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'Specifies the maximum number of events that can be returned, beginning with the most recent event.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - 'NextToken' => array( - 'description' => 'Pagination token. If specified, the events return the next batch of results.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ListAvailableSolutionStacks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListAvailableSolutionStacksResultMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of the available solution stack names.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListAvailableSolutionStacks', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - ), - ), - 'RebuildEnvironment' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RebuildEnvironment', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment to rebuild.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to rebuild.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'RequestEnvironmentInfo' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Initiates a request to compile the specified type of information of the deployed environment.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RequestEnvironmentInfo', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment of the requested data.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment of the requested data.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'InfoType' => array( - 'required' => true, - 'description' => 'The type of information to request.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'tail', - ), - ), - ), - ), - 'RestartAppServer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Causes the environment to restart the application container server running on each Amazon EC2 instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RestartAppServer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment to restart the server for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to restart the server for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - ), - 'RetrieveEnvironmentInfo' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'RetrieveEnvironmentInfoResultMessage', - 'responseType' => 'model', - 'summary' => 'Retrieves the compiled information from a RequestEnvironmentInfo request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RetrieveEnvironmentInfo', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the data\'s environment.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the data\'s environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'InfoType' => array( - 'required' => true, - 'description' => 'The type of information to retrieve.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'tail', - ), - ), - ), - ), - 'SwapEnvironmentCNAMEs' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Swaps the CNAMEs of two environments.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SwapEnvironmentCNAMEs', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'SourceEnvironmentId' => array( - 'description' => 'The ID of the source environment.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceEnvironmentName' => array( - 'description' => 'The name of the source environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'DestinationEnvironmentId' => array( - 'description' => 'The ID of the destination environment.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DestinationEnvironmentName' => array( - 'description' => 'The name of the destination environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - ), - ), - 'TerminateEnvironment' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EnvironmentDescription', - 'responseType' => 'model', - 'summary' => 'Terminates the specified environment.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'TerminateEnvironment', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment to terminate.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to terminate.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'TerminateResources' => array( - 'description' => 'Indicates whether the associated AWS resources should shut down when the environment is terminated:', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'UpdateApplication' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplicationDescriptionMessage', - 'responseType' => 'model', - 'summary' => 'Updates the specified application to have the specified properties.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateApplication', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'Description' => array( - 'description' => 'A new description for the application.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - ), - ), - 'UpdateApplicationVersion' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplicationVersionDescriptionMessage', - 'responseType' => 'model', - 'summary' => 'Updates the specified application version to have the specified properties.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateApplicationVersion', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application associated with this version.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'VersionLabel' => array( - 'required' => true, - 'description' => 'The name of the version to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'Description' => array( - 'description' => 'A new description for this release.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - ), - ), - 'UpdateConfigurationTemplate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfigurationSettingsDescription', - 'responseType' => 'model', - 'summary' => 'Updates the specified configuration template to have the specified properties or configuration option values.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateConfigurationTemplate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application associated with the configuration template to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'required' => true, - 'description' => 'The name of the configuration template to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'Description' => array( - 'description' => 'A new description for the configuration.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - 'OptionSettings' => array( - 'description' => 'A list of configuration option settings to update with the new specified option value.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionSettings.member', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - 'OptionsToRemove' => array( - 'description' => 'A list of configuration options to remove from the configuration set.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionsToRemove.member', - 'items' => array( - 'name' => 'OptionSpecification', - 'description' => 'A specification identifying an individual configuration option.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'UpdateEnvironment' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EnvironmentDescription', - 'responseType' => 'model', - 'summary' => 'Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateEnvironment', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of the environment to update.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to update. If no environment with this name exists, returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'VersionLabel' => array( - 'description' => 'If this parameter is specified, deploys the named application version to the environment. If no such application version is found, returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'description' => 'If this parameter is specified, deploys this configuration template to the environment. If no such configuration template is found, returns an InvalidParameterValue error.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'Description' => array( - 'description' => 'If this parameter is specified, updates the description of this environment.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 200, - ), - 'OptionSettings' => array( - 'description' => 'If specified, updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionSettings.member', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - 'OptionsToRemove' => array( - 'description' => 'A list of custom user-defined configuration options to remove from the configuration set for this environment.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionsToRemove.member', - 'items' => array( - 'name' => 'OptionSpecification', - 'description' => 'A specification identifying an individual configuration option.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - 'ValidateConfigurationSettings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfigurationSettingsValidationMessages', - 'responseType' => 'model', - 'summary' => 'Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ValidateConfigurationSettings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'ApplicationName' => array( - 'required' => true, - 'description' => 'The name of the application that the configuration template or environment belongs to.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template to validate the settings against.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 100, - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment to validate the settings against.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 4, - 'maxLength' => 23, - ), - 'OptionSettings' => array( - 'required' => true, - 'description' => 'A list of the options and desired values to evaluate.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionSettings.member', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services', - 'class' => 'InsufficientPrivilegesException', - ), - ), - ), - ), - 'models' => array( - 'CheckDNSAvailabilityResultMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Available' => array( - 'description' => 'Indicates if the specified CNAME is available:', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'FullyQualifiedCNAME' => array( - 'description' => 'The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ApplicationDescriptionMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Application' => array( - 'description' => 'The ApplicationDescription of the application.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ApplicationName' => array( - 'description' => 'The name of the application.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'User-defined description of the application.', - 'type' => 'string', - ), - 'DateCreated' => array( - 'description' => 'The date when the application was created.', - 'type' => 'string', - ), - 'DateUpdated' => array( - 'description' => 'The date when the application was last modified.', - 'type' => 'string', - ), - 'Versions' => array( - 'description' => 'The names of the versions for this application.', - 'type' => 'array', - 'items' => array( - 'name' => 'VersionLabel', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'ConfigurationTemplates' => array( - 'description' => 'The names of the configuration templates associated with this application.', - 'type' => 'array', - 'items' => array( - 'name' => 'ConfigurationTemplateName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - ), - 'ApplicationVersionDescriptionMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ApplicationVersion' => array( - 'description' => 'The ApplicationVersionDescription of the application version.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ApplicationName' => array( - 'description' => 'The name of the application associated with this release.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of this application version.', - 'type' => 'string', - ), - 'VersionLabel' => array( - 'description' => 'A label uniquely identifying the version for the associated application.', - 'type' => 'string', - ), - 'SourceBundle' => array( - 'description' => 'The location where the source bundle is located for this version.', - 'type' => 'object', - 'properties' => array( - 'S3Bucket' => array( - 'description' => 'The Amazon S3 bucket where the data is located.', - 'type' => 'string', - ), - 'S3Key' => array( - 'description' => 'The Amazon S3 key where the data is located.', - 'type' => 'string', - ), - ), - ), - 'DateCreated' => array( - 'description' => 'The creation date of the application version.', - 'type' => 'string', - ), - 'DateUpdated' => array( - 'description' => 'The last modified date of the application version.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ConfigurationSettingsDescription' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SolutionStackName' => array( - 'description' => 'The name of the solution stack this configuration set uses.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ApplicationName' => array( - 'description' => 'The name of the application associated with this configuration set.', - 'type' => 'string', - 'location' => 'xml', - ), - 'TemplateName' => array( - 'description' => 'If not null, the name of the configuration template for this configuration set.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Description' => array( - 'description' => 'Describes this configuration set.', - 'type' => 'string', - 'location' => 'xml', - ), - 'EnvironmentName' => array( - 'description' => 'If not null, the name of the environment for this configuration set.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DeploymentStatus' => array( - 'description' => 'If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set:', - 'type' => 'string', - 'location' => 'xml', - ), - 'DateCreated' => array( - 'description' => 'The date (in UTC time) when this configuration set was created.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DateUpdated' => array( - 'description' => 'The date (in UTC time) when this configuration set was last modified.', - 'type' => 'string', - 'location' => 'xml', - ), - 'OptionSettings' => array( - 'description' => 'A list of the configuration options and their values in this configuration set.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'EnvironmentDescription' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EnvironmentName' => array( - 'description' => 'The name of this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ApplicationName' => array( - 'description' => 'The name of the application associated with this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'VersionLabel' => array( - 'description' => 'The application version deployed in this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'SolutionStackName' => array( - 'description' => 'The name of the SolutionStack deployed with this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template used to originally launch this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Description' => array( - 'description' => 'Describes this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'EndpointURL' => array( - 'description' => 'The URL to the LoadBalancer for this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'CNAME' => array( - 'description' => 'The URL to the CNAME for this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DateCreated' => array( - 'description' => 'The creation date for this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DateUpdated' => array( - 'description' => 'The last modified date for this environment.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The current operational status of the environment:', - 'type' => 'string', - 'location' => 'xml', - ), - 'Health' => array( - 'description' => 'Describes the health status of the environment. indicates the failure levels for a running environment:', - 'type' => 'string', - 'location' => 'xml', - ), - 'Resources' => array( - 'description' => 'The description of the AWS resources used by this environment.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'LoadBalancer' => array( - 'description' => 'Describes the LoadBalancer.', - 'type' => 'object', - 'properties' => array( - 'LoadBalancerName' => array( - 'description' => 'The name of the LoadBalancer.', - 'type' => 'string', - ), - 'Domain' => array( - 'description' => 'The domain name of the LoadBalancer.', - 'type' => 'string', - ), - 'Listeners' => array( - 'description' => 'A list of Listeners used by the LoadBalancer.', - 'type' => 'array', - 'items' => array( - 'name' => 'Listener', - 'description' => 'Describes the properties of a Listener for the LoadBalancer.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Protocol' => array( - 'description' => 'The protocol that is used by the Listener.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The port that is used by the Listener.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateStorageLocationResultMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'S3Bucket' => array( - 'description' => 'The name of the Amazon S3 bucket created.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'ApplicationVersionDescriptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ApplicationVersions' => array( - 'description' => 'A list of ApplicationVersionDescription .', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ApplicationVersionDescription', - 'description' => 'Describes the properties of an application version.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ApplicationName' => array( - 'description' => 'The name of the application associated with this release.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of this application version.', - 'type' => 'string', - ), - 'VersionLabel' => array( - 'description' => 'A label uniquely identifying the version for the associated application.', - 'type' => 'string', - ), - 'SourceBundle' => array( - 'description' => 'The location where the source bundle is located for this version.', - 'type' => 'object', - 'properties' => array( - 'S3Bucket' => array( - 'description' => 'The Amazon S3 bucket where the data is located.', - 'type' => 'string', - ), - 'S3Key' => array( - 'description' => 'The Amazon S3 key where the data is located.', - 'type' => 'string', - ), - ), - ), - 'DateCreated' => array( - 'description' => 'The creation date of the application version.', - 'type' => 'string', - ), - 'DateUpdated' => array( - 'description' => 'The last modified date of the application version.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ApplicationDescriptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Applications' => array( - 'description' => 'This parameter contains a list of ApplicationDescription.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ApplicationDescription', - 'description' => 'Describes the properties of an application.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'ApplicationName' => array( - 'description' => 'The name of the application.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'User-defined description of the application.', - 'type' => 'string', - ), - 'DateCreated' => array( - 'description' => 'The date when the application was created.', - 'type' => 'string', - ), - 'DateUpdated' => array( - 'description' => 'The date when the application was last modified.', - 'type' => 'string', - ), - 'Versions' => array( - 'description' => 'The names of the versions for this application.', - 'type' => 'array', - 'items' => array( - 'name' => 'VersionLabel', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'ConfigurationTemplates' => array( - 'description' => 'The names of the configuration templates associated with this application.', - 'type' => 'array', - 'items' => array( - 'name' => 'ConfigurationTemplateName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - ), - ), - 'ConfigurationOptionsDescription' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SolutionStackName' => array( - 'description' => 'The name of the solution stack these configuration options belong to.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Options' => array( - 'description' => 'A list of ConfigurationOptionDescription.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ConfigurationOptionDescription', - 'description' => 'Describes the possible values for a configuration option.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value for this configuration option.', - 'type' => 'string', - ), - 'ChangeSeverity' => array( - 'description' => 'An indication of which action is required if the value for this configuration option changes:', - 'type' => 'string', - ), - 'UserDefined' => array( - 'description' => 'An indication of whether the user defined this configuration option:', - 'type' => 'boolean', - ), - 'ValueType' => array( - 'description' => 'An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values:', - 'type' => 'string', - ), - 'ValueOptions' => array( - 'description' => 'If specified, values for the configuration option are selected from this list.', - 'type' => 'array', - 'items' => array( - 'name' => 'ConfigurationOptionPossibleValue', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'MinValue' => array( - 'description' => 'If specified, the configuration option must be a numeric value greater than this value.', - 'type' => 'numeric', - ), - 'MaxValue' => array( - 'description' => 'If specified, the configuration option must be a numeric value less than this value.', - 'type' => 'numeric', - ), - 'MaxLength' => array( - 'description' => 'If specified, the configuration option must be a string value no longer than this value.', - 'type' => 'numeric', - ), - 'Regex' => array( - 'description' => 'If specified, the configuration option must be a string value that satisfies this regular expression.', - 'type' => 'object', - 'properties' => array( - 'Pattern' => array( - 'description' => 'The regular expression pattern that a string configuration option value with this restriction must match.', - 'type' => 'string', - ), - 'Label' => array( - 'description' => 'A unique name representing this regular expression.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'ConfigurationSettingsDescriptions' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ConfigurationSettings' => array( - 'description' => 'A list of ConfigurationSettingsDescription.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ConfigurationSettingsDescription', - 'description' => 'Describes the settings for a configuration set.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SolutionStackName' => array( - 'description' => 'The name of the solution stack this configuration set uses.', - 'type' => 'string', - ), - 'ApplicationName' => array( - 'description' => 'The name of the application associated with this configuration set.', - 'type' => 'string', - ), - 'TemplateName' => array( - 'description' => 'If not null, the name of the configuration template for this configuration set.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Describes this configuration set.', - 'type' => 'string', - ), - 'EnvironmentName' => array( - 'description' => 'If not null, the name of the environment for this configuration set.', - 'type' => 'string', - ), - 'DeploymentStatus' => array( - 'description' => 'If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set:', - 'type' => 'string', - ), - 'DateCreated' => array( - 'description' => 'The date (in UTC time) when this configuration set was created.', - 'type' => 'string', - ), - 'DateUpdated' => array( - 'description' => 'The date (in UTC time) when this configuration set was last modified.', - 'type' => 'string', - ), - 'OptionSettings' => array( - 'description' => 'A list of the configuration options and their values in this configuration set.', - 'type' => 'array', - 'items' => array( - 'name' => 'ConfigurationOptionSetting', - 'description' => 'A specification identifying an individual configuration option along with its current value.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Namespace' => array( - 'description' => 'A unique namespace identifying the option\'s associated AWS resource.', - 'type' => 'string', - ), - 'OptionName' => array( - 'description' => 'The name of the configuration option.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The current value for the configuration option.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'EnvironmentResourceDescriptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EnvironmentResources' => array( - 'description' => 'A list of EnvironmentResourceDescription.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'EnvironmentName' => array( - 'description' => 'The name of the environment.', - 'type' => 'string', - ), - 'AutoScalingGroups' => array( - 'description' => 'The AutoScalingGroups used by this environment.', - 'type' => 'array', - 'items' => array( - 'name' => 'AutoScalingGroup', - 'description' => 'Describes an Auto Scaling launch configuration.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the AutoScalingGroup .', - 'type' => 'string', - ), - ), - ), - ), - 'Instances' => array( - 'description' => 'The Amazon EC2 instances used by this environment.', - 'type' => 'array', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The description of an Amazon EC2 instance.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the Amazon EC2 instance.', - 'type' => 'string', - ), - ), - ), - ), - 'LaunchConfigurations' => array( - 'description' => 'The Auto Scaling launch configurations in use by this environment.', - 'type' => 'array', - 'items' => array( - 'name' => 'LaunchConfiguration', - 'description' => 'Describes an Auto Scaling launch configuration.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the launch configuration.', - 'type' => 'string', - ), - ), - ), - ), - 'LoadBalancers' => array( - 'description' => 'The LoadBalancers in use by this environment.', - 'type' => 'array', - 'items' => array( - 'name' => 'LoadBalancer', - 'description' => 'Describes a LoadBalancer.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the LoadBalancer.', - 'type' => 'string', - ), - ), - ), - ), - 'Triggers' => array( - 'description' => 'The AutoScaling triggers in use by this environment.', - 'type' => 'array', - 'items' => array( - 'name' => 'Trigger', - 'description' => 'Describes a trigger.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the trigger.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'EnvironmentDescriptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Environments' => array( - 'description' => 'Returns an EnvironmentDescription list.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'EnvironmentDescription', - 'description' => 'Describes the properties of an environment.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'EnvironmentName' => array( - 'description' => 'The name of this environment.', - 'type' => 'string', - ), - 'EnvironmentId' => array( - 'description' => 'The ID of this environment.', - 'type' => 'string', - ), - 'ApplicationName' => array( - 'description' => 'The name of the application associated with this environment.', - 'type' => 'string', - ), - 'VersionLabel' => array( - 'description' => 'The application version deployed in this environment.', - 'type' => 'string', - ), - 'SolutionStackName' => array( - 'description' => 'The name of the SolutionStack deployed with this environment.', - 'type' => 'string', - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration template used to originally launch this environment.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Describes this environment.', - 'type' => 'string', - ), - 'EndpointURL' => array( - 'description' => 'The URL to the LoadBalancer for this environment.', - 'type' => 'string', - ), - 'CNAME' => array( - 'description' => 'The URL to the CNAME for this environment.', - 'type' => 'string', - ), - 'DateCreated' => array( - 'description' => 'The creation date for this environment.', - 'type' => 'string', - ), - 'DateUpdated' => array( - 'description' => 'The last modified date for this environment.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current operational status of the environment:', - 'type' => 'string', - ), - 'Health' => array( - 'description' => 'Describes the health status of the environment. indicates the failure levels for a running environment:', - 'type' => 'string', - ), - 'Resources' => array( - 'description' => 'The description of the AWS resources used by this environment.', - 'type' => 'object', - 'properties' => array( - 'LoadBalancer' => array( - 'description' => 'Describes the LoadBalancer.', - 'type' => 'object', - 'properties' => array( - 'LoadBalancerName' => array( - 'description' => 'The name of the LoadBalancer.', - 'type' => 'string', - ), - 'Domain' => array( - 'description' => 'The domain name of the LoadBalancer.', - 'type' => 'string', - ), - 'Listeners' => array( - 'description' => 'A list of Listeners used by the LoadBalancer.', - 'type' => 'array', - 'items' => array( - 'name' => 'Listener', - 'description' => 'Describes the properties of a Listener for the LoadBalancer.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Protocol' => array( - 'description' => 'The protocol that is used by the Listener.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The port that is used by the Listener.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'EventDescriptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Events' => array( - 'description' => 'A list of EventDescription.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'EventDescription', - 'description' => 'Describes an event.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'EventDate' => array( - 'description' => 'The date when the event occurred.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'The event message.', - 'type' => 'string', - ), - 'ApplicationName' => array( - 'description' => 'The application associated with the event.', - 'type' => 'string', - ), - 'VersionLabel' => array( - 'description' => 'The release label for the application version associated with this event.', - 'type' => 'string', - ), - 'TemplateName' => array( - 'description' => 'The name of the configuration associated with this event.', - 'type' => 'string', - ), - 'EnvironmentName' => array( - 'description' => 'The name of the environment associated with this event.', - 'type' => 'string', - ), - 'RequestId' => array( - 'description' => 'The web service request ID for the activity of this event.', - 'type' => 'string', - ), - 'Severity' => array( - 'description' => 'The severity level of this event.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListAvailableSolutionStacksResultMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SolutionStacks' => array( - 'description' => 'A list of available solution stacks.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SolutionStackName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'SolutionStackDetails' => array( - 'description' => 'A list of available solution stacks and their SolutionStackDescription.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SolutionStackDescription', - 'description' => 'Describes the solution stack.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SolutionStackName' => array( - 'description' => 'The name of the solution stack.', - 'type' => 'string', - ), - 'PermittedFileTypes' => array( - 'description' => 'The permitted file types allowed for a solution stack.', - 'type' => 'array', - 'items' => array( - 'name' => 'FileTypeExtension', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - ), - ), - 'RetrieveEnvironmentInfoResultMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EnvironmentInfo' => array( - 'description' => 'The EnvironmentInfoDescription of the environment.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'EnvironmentInfoDescription', - 'description' => 'The information retrieved from the Amazon EC2 instances.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InfoType' => array( - 'description' => 'The type of information retrieved.', - 'type' => 'string', - ), - 'Ec2InstanceId' => array( - 'description' => 'The Amazon EC2 Instance ID for this information.', - 'type' => 'string', - ), - 'SampleTimestamp' => array( - 'description' => 'The time stamp when this information was retrieved.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'The retrieved information.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ConfigurationSettingsValidationMessages' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Messages' => array( - 'description' => 'A list of ValidationMessage.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ValidationMessage', - 'description' => 'An error or warning for a desired configuration option value.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Message' => array( - 'description' => 'A message describing the error or warning.', - 'type' => 'string', - ), - 'Severity' => array( - 'description' => 'An indication of the severity of this message:', - 'type' => 'string', - ), - 'Namespace' => array( - 'type' => 'string', - ), - 'OptionName' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeApplicationVersions' => array( - 'result_key' => 'ApplicationVersions', - ), - 'DescribeApplications' => array( - 'result_key' => 'Applications', - ), - 'DescribeConfigurationOptions' => array( - 'result_key' => 'Options', - ), - 'DescribeEnvironments' => array( - 'result_key' => 'Environments', - ), - 'DescribeEvents' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Events', - ), - 'ListAvailableSolutionStacks' => array( - 'result_key' => 'SolutionStacks', - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'interval' => 20, - 'max_attempts' => 40, - 'acceptor.type' => 'output', - ), - '__EnvironmentState' => array( - 'operation' => 'DescribeEnvironments', - 'acceptor.path' => 'Environments/*/Status', - ), - 'EnvironmentReady' => array( - 'extends' => '__EnvironmentState', - 'success.value' => 'Ready', - 'failure.value' => array( - 'Terminated', - 'Terminating', - ), - ), - 'EnvironmentTerminated' => array( - 'extends' => '__EnvironmentState', - 'success.value' => 'Terminated', - 'failure.value' => array( - 'Launching', - 'Updating', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/ElasticLoadBalancingClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/ElasticLoadBalancingClient.php deleted file mode 100644 index e4ef562..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/ElasticLoadBalancingClient.php +++ /dev/null @@ -1,102 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array(Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/elasticloadbalancing-2012-06-01.php')) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/Exception/AccessPointNotFoundException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/Exception/AccessPointNotFoundException.php deleted file mode 100644 index c3ca812..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/Exception/AccessPointNotFoundException.php +++ /dev/null @@ -1,22 +0,0 @@ - '2012-06-01', - 'endpointPrefix' => 'elasticloadbalancing', - 'serviceFullName' => 'Elastic Load Balancing', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'ElasticLoadBalancing', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticloadbalancing.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'ApplySecurityGroupsToLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ApplySecurityGroupsToLoadBalancerOutput', - 'responseType' => 'model', - 'summary' => 'Associates one or more security groups with your LoadBalancer in VPC. The provided security group IDs will override any currently applied security groups.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ApplySecurityGroupsToLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SecurityGroups' => array( - 'required' => true, - 'description' => 'A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroups.member', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - array( - 'reason' => 'One or more specified security groups do not exist.', - 'class' => 'InvalidSecurityGroupException', - ), - ), - ), - 'AttachLoadBalancerToSubnets' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AttachLoadBalancerToSubnetsOutput', - 'responseType' => 'model', - 'summary' => 'Adds one or more subnets to the set of configured subnets in the VPC for the LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachLoadBalancerToSubnets', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Subnets' => array( - 'required' => true, - 'description' => 'A list of subnet IDs to add for the LoadBalancer.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Subnets.member', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - array( - 'reason' => 'One or more subnets were not found.', - 'class' => 'SubnetNotFoundException', - ), - array( - 'reason' => 'The VPC has no Internet gateway.', - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'ConfigureHealthCheck' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfigureHealthCheckOutput', - 'responseType' => 'model', - 'summary' => 'Enables the client to define an application healthcheck for the instances.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ConfigureHealthCheck', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'HealthCheck' => array( - 'required' => true, - 'description' => 'A structure containing the configuration information for the new healthcheck.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Target' => array( - 'required' => true, - 'description' => 'Specifies the instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.', - 'type' => 'string', - ), - 'Interval' => array( - 'required' => true, - 'description' => 'Specifies the approximate interval, in seconds, between health checks of an individual instance.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 300, - ), - 'Timeout' => array( - 'required' => true, - 'description' => 'Specifies the amount of time, in seconds, during which no response means a failed health probe.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 300, - ), - 'UnhealthyThreshold' => array( - 'required' => true, - 'description' => 'Specifies the number of consecutive health probe failures required before moving the instance to the Unhealthy state.', - 'type' => 'numeric', - 'minimum' => 2, - 'maximum' => 10, - ), - 'HealthyThreshold' => array( - 'required' => true, - 'description' => 'Specifies the number of consecutive health probe successes required before moving the instance to the Healthy state.', - 'type' => 'numeric', - 'minimum' => 2, - 'maximum' => 10, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - ), - ), - 'CreateAppCookieStickinessPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateAppCookieStickinessPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The name of the policy being created. The name must be unique within the set of policies for this LoadBalancer.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CookieName' => array( - 'required' => true, - 'description' => 'Name of the application cookie used for stickiness.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Policy with the same name exists for this LoadBalancer. Please choose another name.', - 'class' => 'DuplicatePolicyNameException', - ), - array( - 'reason' => 'Quota for number of policies for this LoadBalancer has already been reached.', - 'class' => 'TooManyPoliciesException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'CreateLBCookieStickinessPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateLBCookieStickinessPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The name of the policy being created. The name must be unique within the set of policies for this LoadBalancer.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CookieExpirationPeriod' => array( - 'description' => 'The time period in seconds after which the cookie should be considered stale. Not specifying this parameter indicates that the sticky session will last for the duration of the browser session.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Policy with the same name exists for this LoadBalancer. Please choose another name.', - 'class' => 'DuplicatePolicyNameException', - ), - array( - 'reason' => 'Quota for number of policies for this LoadBalancer has already been reached.', - 'class' => 'TooManyPoliciesException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'CreateLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateAccessPointOutput', - 'responseType' => 'model', - 'summary' => 'Creates a new LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Listeners' => array( - 'required' => true, - 'description' => 'A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Listeners.member', - 'items' => array( - 'name' => 'Listener', - 'description' => 'The Listener data type.', - 'type' => 'object', - 'properties' => array( - 'Protocol' => array( - 'required' => true, - 'description' => 'Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'string', - ), - 'LoadBalancerPort' => array( - 'required' => true, - 'description' => 'Specifies the external LoadBalancer port number. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'numeric', - ), - 'InstanceProtocol' => array( - 'description' => 'Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'string', - ), - 'InstancePort' => array( - 'required' => true, - 'description' => 'Specifies the TCP port on which the instance server is listening. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 65535, - ), - 'SSLCertificateId' => array( - 'description' => 'The ARN string of the server certificate. To get the ARN of the server certificate, call the AWS Identity and Access Management UploadServerCertificate API.', - 'type' => 'string', - ), - ), - ), - ), - 'AvailabilityZones' => array( - 'description' => 'A list of Availability Zones.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AvailabilityZones.member', - 'items' => array( - 'name' => 'AvailabilityZone', - 'type' => 'string', - ), - ), - 'Subnets' => array( - 'description' => 'A list of subnet IDs in your VPC to attach to your LoadBalancer.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Subnets.member', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - ), - ), - 'SecurityGroups' => array( - 'description' => 'The security groups assigned to your LoadBalancer within your VPC.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SecurityGroups.member', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - ), - ), - 'Scheme' => array( - 'description' => 'The type of a LoadBalancer. This option is only available for LoadBalancers attached to a Amazon VPC. By default, Elastic Load Balancer creates an internet-facing load balancer with publicly resolvable DNS name that resolves to public IP addresses. Specify the value internal for this option to create an internal load balancer with a DNS name that resolves to private IP addresses.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'LoadBalancer name already exists for this account. Please choose another name.', - 'class' => 'DuplicateAccessPointNameException', - ), - array( - 'reason' => 'The quota for the number of LoadBalancers has already been reached.', - 'class' => 'TooManyAccessPointsException', - ), - array( - 'reason' => 'The specified SSL ID does not refer to a valid SSL certificate in the AWS Identity and Access Management Service.', - 'class' => 'CertificateNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - array( - 'reason' => 'One or more subnets were not found.', - 'class' => 'SubnetNotFoundException', - ), - array( - 'reason' => 'The VPC has no Internet gateway.', - 'class' => 'InvalidSubnetException', - ), - array( - 'reason' => 'One or more specified security groups do not exist.', - 'class' => 'InvalidSecurityGroupException', - ), - array( - 'reason' => 'Invalid value for scheme. Scheme can only be specified for load balancers in VPC.', - 'class' => 'InvalidSchemeException', - ), - ), - ), - 'CreateLoadBalancerListeners' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates one or more listeners on a LoadBalancer for the specified port. If a listener with the given port does not already exist, it will be created; otherwise, the properties of the new listener must match the properties of the existing listener.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateLoadBalancerListeners', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name of the new LoadBalancer. The name must be unique within your AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Listeners' => array( - 'required' => true, - 'description' => 'A list of LoadBalancerPort, InstancePort, Protocol, and SSLCertificateId items.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Listeners.member', - 'items' => array( - 'name' => 'Listener', - 'description' => 'The Listener data type.', - 'type' => 'object', - 'properties' => array( - 'Protocol' => array( - 'required' => true, - 'description' => 'Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'string', - ), - 'LoadBalancerPort' => array( - 'required' => true, - 'description' => 'Specifies the external LoadBalancer port number. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'numeric', - ), - 'InstanceProtocol' => array( - 'description' => 'Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'string', - ), - 'InstancePort' => array( - 'required' => true, - 'description' => 'Specifies the TCP port on which the instance server is listening. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 65535, - ), - 'SSLCertificateId' => array( - 'description' => 'The ARN string of the server certificate. To get the ARN of the server certificate, call the AWS Identity and Access Management UploadServerCertificate API.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'A Listener already exists for the given LoadBalancerName and LoadBalancerPort, but with a different InstancePort, Protocol, or SSLCertificateId.', - 'class' => 'DuplicateListenerException', - ), - array( - 'reason' => 'The specified SSL ID does not refer to a valid SSL certificate in the AWS Identity and Access Management Service.', - 'class' => 'CertificateNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'CreateLoadBalancerPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Creates a new policy that contains the necessary attributes depending on the policy type. Policies are settings that are saved for your Elastic LoadBalancer and that can be applied to the front-end listener, or the back-end application server, depending on your policy type.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateLoadBalancerPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyTypeName' => array( - 'required' => true, - 'description' => 'The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyAttributes' => array( - 'description' => 'A list of attributes associated with the policy being created.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PolicyAttributes.member', - 'items' => array( - 'name' => 'PolicyAttribute', - 'description' => 'The PolicyAttribute data type. This data type contains a key/value pair that defines properties of a specific policy.', - 'type' => 'object', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The name of the attribute associated with the policy.', - 'type' => 'string', - ), - 'AttributeValue' => array( - 'description' => 'The value of the attribute associated with the policy.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'One or more of the specified policy types do not exist.', - 'class' => 'PolicyTypeNotFoundException', - ), - array( - 'reason' => 'Policy with the same name exists for this LoadBalancer. Please choose another name.', - 'class' => 'DuplicatePolicyNameException', - ), - array( - 'reason' => 'Quota for number of policies for this LoadBalancer has already been reached.', - 'class' => 'TooManyPoliciesException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'DeleteLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteLoadBalancerListeners' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes listeners from the LoadBalancer for the specified port.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteLoadBalancerListeners', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The mnemonic name associated with the LoadBalancer.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LoadBalancerPorts' => array( - 'required' => true, - 'description' => 'The client port number(s) of the LoadBalancerListener(s) to be removed.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LoadBalancerPorts.member', - 'items' => array( - 'name' => 'AccessPointPort', - 'type' => 'numeric', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - ), - ), - 'DeleteLoadBalancerPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a policy from the LoadBalancer. The specified policy must not be enabled for any listeners.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteLoadBalancerPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'The mnemonic name for the policy being deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'DeregisterInstancesFromLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DeregisterEndPointsOutput', - 'responseType' => 'model', - 'summary' => 'Deregisters instances from the LoadBalancer. Once the instance is deregistered, it will stop receiving traffic from the LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeregisterInstancesFromLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Instances' => array( - 'required' => true, - 'description' => 'A list of EC2 instance IDs consisting of all instances to be deregistered.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Instances.member', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'The specified EndPoint is not valid.', - 'class' => 'InvalidEndPointException', - ), - ), - ), - 'DescribeInstanceHealth' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeEndPointStateOutput', - 'responseType' => 'model', - 'summary' => 'Returns the current state of the instances of the specified LoadBalancer. If no instances are specified, the state of all the instances for the LoadBalancer is returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeInstanceHealth', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Instances' => array( - 'description' => 'A list of instance IDs whose states are being queried.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Instances.member', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'The specified EndPoint is not valid.', - 'class' => 'InvalidEndPointException', - ), - ), - ), - 'DescribeLoadBalancerPolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeLoadBalancerPoliciesOutput', - 'responseType' => 'model', - 'summary' => 'Returns detailed descriptions of the policies. If you specify a LoadBalancer name, the operation returns either the descriptions of the specified policies, or descriptions of all the policies created for the LoadBalancer. If you don\'t specify a LoadBalancer name, the operation returns descriptions of the specified sample policies, or descriptions of all the sample policies. The names of the sample policies have the ELBSample- prefix.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeLoadBalancerPolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'description' => 'The mnemonic name associated with the LoadBalancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PolicyNames' => array( - 'description' => 'The names of LoadBalancer policies you\'ve created or Elastic Load Balancing sample policy names.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PolicyNames.member', - 'items' => array( - 'name' => 'PolicyName', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'One or more specified policies were not found.', - 'class' => 'PolicyNotFoundException', - ), - ), - ), - 'DescribeLoadBalancerPolicyTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeLoadBalancerPolicyTypesOutput', - 'responseType' => 'model', - 'summary' => 'Returns meta-information on the specified LoadBalancer policies defined by the Elastic Load Balancing service. The policy types that are returned from this action can be used in a CreateLoadBalancerPolicy action to instantiate specific policy configurations that will be applied to an Elastic LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeLoadBalancerPolicyTypes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'PolicyTypeNames' => array( - 'description' => 'Specifies the name of the policy types. If no names are specified, returns the description of all the policy types defined by Elastic Load Balancing service.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PolicyTypeNames.member', - 'items' => array( - 'name' => 'PolicyTypeName', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more of the specified policy types do not exist.', - 'class' => 'PolicyTypeNotFoundException', - ), - ), - ), - 'DescribeLoadBalancers' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAccessPointsOutput', - 'responseType' => 'model', - 'summary' => 'Returns detailed configuration information for the specified LoadBalancers. If no LoadBalancers are specified, the operation returns configuration information for all LoadBalancers created by the caller.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeLoadBalancers', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerNames' => array( - 'description' => 'A list of names associated with the LoadBalancers at creation time.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LoadBalancerNames.member', - 'items' => array( - 'name' => 'AccessPointName', - 'type' => 'string', - ), - ), - 'Marker' => array( - 'description' => 'An optional parameter reserved for future use.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - ), - ), - 'DetachLoadBalancerFromSubnets' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DetachLoadBalancerFromSubnetsOutput', - 'responseType' => 'model', - 'summary' => 'Removes subnets from the set of configured subnets in the VPC for the LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DetachLoadBalancerFromSubnets', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Subnets' => array( - 'required' => true, - 'description' => 'A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Subnets.member', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'DisableAvailabilityZonesForLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'RemoveAvailabilityZonesOutput', - 'responseType' => 'model', - 'summary' => 'Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DisableAvailabilityZonesForLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZones' => array( - 'required' => true, - 'description' => 'A list of Availability Zones to be removed from the LoadBalancer.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AvailabilityZones.member', - 'items' => array( - 'name' => 'AvailabilityZone', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'EnableAvailabilityZonesForLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AddAvailabilityZonesOutput', - 'responseType' => 'model', - 'summary' => 'Adds one or more EC2 Availability Zones to the LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EnableAvailabilityZonesForLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZones' => array( - 'required' => true, - 'description' => 'A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AvailabilityZones.member', - 'items' => array( - 'name' => 'AvailabilityZone', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - ), - ), - 'RegisterInstancesWithLoadBalancer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'RegisterEndPointsOutput', - 'responseType' => 'model', - 'summary' => 'Adds new instances to the LoadBalancer.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RegisterInstancesWithLoadBalancer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Instances' => array( - 'required' => true, - 'description' => 'A list of instance IDs that should be registered with the LoadBalancer.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Instances.member', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'The specified EndPoint is not valid.', - 'class' => 'InvalidEndPointException', - ), - ), - ), - 'SetLoadBalancerListenerSSLCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Sets the certificate that terminates the specified listener\'s SSL connections. The specified certificate replaces any prior certificate that was used on the same LoadBalancer and port.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetLoadBalancerListenerSSLCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name of the the LoadBalancer.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LoadBalancerPort' => array( - 'required' => true, - 'description' => 'The port that uses the specified SSL certificate.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'SSLCertificateId' => array( - 'required' => true, - 'description' => 'The ID of the SSL certificate chain to use. For more information on SSL certificates, see Managing Server Certificates in the AWS Identity and Access Management documentation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified SSL ID does not refer to a valid SSL certificate in the AWS Identity and Access Management Service.', - 'class' => 'CertificateNotFoundException', - ), - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'LoadBalancer does not have a listener configured at the given port.', - 'class' => 'ListenerNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'SetLoadBalancerPoliciesForBackendServer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Replaces the current set of policies associated with a port on which the back-end server is listening with a new set of policies. After the policies have been created using CreateLoadBalancerPolicy, they can be applied here as a list. At this time, only the back-end server authentication policy type can be applied to the back-end ports; this policy type is composed of multiple public key policies.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetLoadBalancerPoliciesForBackendServer', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'InstancePort' => array( - 'required' => true, - 'description' => 'The port number associated with the back-end server.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PolicyNames' => array( - 'required' => true, - 'description' => 'List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PolicyNames.member', - 'items' => array( - 'name' => 'PolicyName', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'One or more specified policies were not found.', - 'class' => 'PolicyNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - 'SetLoadBalancerPoliciesOfListener' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Associates, updates, or disables a policy with a listener on the LoadBalancer. You can associate multiple policies with a listener.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetLoadBalancerPoliciesOfListener', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-06-01', - ), - 'LoadBalancerName' => array( - 'required' => true, - 'description' => 'The name associated with the LoadBalancer. The name must be unique within the client AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LoadBalancerPort' => array( - 'required' => true, - 'description' => 'The external port of the LoadBalancer with which this policy applies to.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PolicyNames' => array( - 'required' => true, - 'description' => 'List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'PolicyNames.member', - 'items' => array( - 'name' => 'PolicyName', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified LoadBalancer could not be found.', - 'class' => 'AccessPointNotFoundException', - ), - array( - 'reason' => 'One or more specified policies were not found.', - 'class' => 'PolicyNotFoundException', - ), - array( - 'reason' => 'LoadBalancer does not have a listener configured at the given port.', - 'class' => 'ListenerNotFoundException', - ), - array( - 'reason' => 'Requested configuration change is invalid.', - 'class' => 'InvalidConfigurationRequestException', - ), - ), - ), - ), - 'models' => array( - 'ApplySecurityGroupsToLoadBalancerOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SecurityGroups' => array( - 'description' => 'A list of security group IDs associated with your LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'AttachLoadBalancerToSubnetsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Subnets' => array( - 'description' => 'A list of subnet IDs added for the LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'ConfigureHealthCheckOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HealthCheck' => array( - 'description' => 'The updated healthcheck for the instances.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Target' => array( - 'description' => 'Specifies the instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.', - 'type' => 'string', - ), - 'Interval' => array( - 'description' => 'Specifies the approximate interval, in seconds, between health checks of an individual instance.', - 'type' => 'numeric', - ), - 'Timeout' => array( - 'description' => 'Specifies the amount of time, in seconds, during which no response means a failed health probe.', - 'type' => 'numeric', - ), - 'UnhealthyThreshold' => array( - 'description' => 'Specifies the number of consecutive health probe failures required before moving the instance to the Unhealthy state.', - 'type' => 'numeric', - ), - 'HealthyThreshold' => array( - 'description' => 'Specifies the number of consecutive health probe successes required before moving the instance to the Healthy state.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'CreateAccessPointOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DNSName' => array( - 'description' => 'The DNS name for the LoadBalancer.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DeregisterEndPointsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Instances' => array( - 'description' => 'An updated list of remaining instances registered with the LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeEndPointStateOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceStates' => array( - 'description' => 'A list containing health information for the specified instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'InstanceState', - 'description' => 'The InstanceState data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - 'State' => array( - 'description' => 'Specifies the current status of the instance.', - 'type' => 'string', - ), - 'ReasonCode' => array( - 'description' => 'Provides information about the cause of OutOfService instances. Specifically, it indicates whether the cause is Elastic Load Balancing or the instance behind the LoadBalancer.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the instance.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeLoadBalancerPoliciesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyDescriptions' => array( - 'description' => 'A list of policy description structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'PolicyDescription', - 'description' => 'The PolicyDescription data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'PolicyName' => array( - 'description' => 'The name mof the policy associated with the LoadBalancer.', - 'type' => 'string', - ), - 'PolicyTypeName' => array( - 'description' => 'The name of the policy type associated with the LoadBalancer.', - 'type' => 'string', - ), - 'PolicyAttributeDescriptions' => array( - 'description' => 'A list of policy attribute description structures.', - 'type' => 'array', - 'items' => array( - 'name' => 'PolicyAttributeDescription', - 'description' => 'The PolicyAttributeDescription data type. This data type is used to describe the attributes and values associated with a policy.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The name of the attribute associated with the policy.', - 'type' => 'string', - ), - 'AttributeValue' => array( - 'description' => 'The value of the attribute associated with the policy.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeLoadBalancerPolicyTypesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyTypeDescriptions' => array( - 'description' => 'List of policy type description structures of the specified policy type. If no policy type names are specified, returns the description of all the policy types defined by Elastic Load Balancing service.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'PolicyTypeDescription', - 'description' => 'The PolicyTypeDescription data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'PolicyTypeName' => array( - 'description' => 'The name of the policy type.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A human-readable description of the policy type.', - 'type' => 'string', - ), - 'PolicyAttributeTypeDescriptions' => array( - 'description' => 'The description of the policy attributes associated with the LoadBalancer policies defined by the Elastic Load Balancing service.', - 'type' => 'array', - 'items' => array( - 'name' => 'PolicyAttributeTypeDescription', - 'description' => 'The PolicyAttributeTypeDescription data type. This data type is used to describe values that are acceptable for the policy attribute.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AttributeName' => array( - 'description' => 'The name of the attribute associated with the policy type.', - 'type' => 'string', - ), - 'AttributeType' => array( - 'description' => 'The type of attribute. For example, Boolean, Integer, etc.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A human-readable description of the attribute.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'The default value of the attribute, if applicable.', - 'type' => 'string', - ), - 'Cardinality' => array( - 'description' => 'The cardinality of the attribute. Valid Values: ONE(1) : Single value required ZERO_OR_ONE(0..1) : Up to one value can be supplied ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed ONE_OR_MORE(1..*0) : Required. Multiple values are allowed', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeAccessPointsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoadBalancerDescriptions' => array( - 'description' => 'A list of LoadBalancer description structures.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'LoadBalancerDescription', - 'description' => 'Contains the result of a successful invocation of DescribeLoadBalancers.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'LoadBalancerName' => array( - 'description' => 'Specifies the name associated with the LoadBalancer.', - 'type' => 'string', - ), - 'DNSName' => array( - 'description' => 'Specifies the external DNS name associated with the LoadBalancer.', - 'type' => 'string', - ), - 'CanonicalHostedZoneName' => array( - 'description' => 'Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.', - 'type' => 'string', - ), - 'CanonicalHostedZoneNameID' => array( - 'description' => 'Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.', - 'type' => 'string', - ), - 'ListenerDescriptions' => array( - 'description' => 'LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.', - 'type' => 'array', - 'items' => array( - 'name' => 'ListenerDescription', - 'description' => 'The ListenerDescription data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Listener' => array( - 'type' => 'object', - 'properties' => array( - 'Protocol' => array( - 'description' => 'Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'string', - ), - 'LoadBalancerPort' => array( - 'description' => 'Specifies the external LoadBalancer port number. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'numeric', - ), - 'InstanceProtocol' => array( - 'description' => 'Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'string', - ), - 'InstancePort' => array( - 'description' => 'Specifies the TCP port on which the instance server is listening. This property cannot be modified for the life of the LoadBalancer.', - 'type' => 'numeric', - ), - 'SSLCertificateId' => array( - 'description' => 'The ARN string of the server certificate. To get the ARN of the server certificate, call the AWS Identity and Access Management UploadServerCertificate API.', - 'type' => 'string', - ), - ), - ), - 'PolicyNames' => array( - 'description' => 'A list of policies enabled for this listener. An empty list indicates that no policies are enabled.', - 'type' => 'array', - 'items' => array( - 'name' => 'PolicyName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - 'Policies' => array( - 'description' => 'Provides a list of policies defined for the LoadBalancer.', - 'type' => 'object', - 'properties' => array( - 'AppCookieStickinessPolicies' => array( - 'description' => 'A list of the AppCookieStickinessPolicy objects created with CreateAppCookieStickinessPolicy.', - 'type' => 'array', - 'items' => array( - 'name' => 'AppCookieStickinessPolicy', - 'description' => 'The AppCookieStickinessPolicy data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'PolicyName' => array( - 'description' => 'The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.', - 'type' => 'string', - ), - 'CookieName' => array( - 'description' => 'The name of the application cookie used for stickiness.', - 'type' => 'string', - ), - ), - ), - ), - 'LBCookieStickinessPolicies' => array( - 'description' => 'A list of LBCookieStickinessPolicy objects created with CreateAppCookieStickinessPolicy.', - 'type' => 'array', - 'items' => array( - 'name' => 'LBCookieStickinessPolicy', - 'description' => 'The LBCookieStickinessPolicy data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'PolicyName' => array( - 'description' => 'The name for the policy being created. The name must be unique within the set of policies for this LoadBalancer.', - 'type' => 'string', - ), - 'CookieExpirationPeriod' => array( - 'description' => 'The time period in seconds after which the cookie should be considered stale. Not specifying this parameter indicates that the stickiness session will last for the duration of the browser session.', - 'type' => 'numeric', - ), - ), - ), - ), - 'OtherPolicies' => array( - 'description' => 'A list of policy names other than the stickiness policies.', - 'type' => 'array', - 'items' => array( - 'name' => 'PolicyName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'BackendServerDescriptions' => array( - 'description' => 'Contains a list of back-end server descriptions.', - 'type' => 'array', - 'items' => array( - 'name' => 'BackendServerDescription', - 'description' => 'This data type is used as a response element in the DescribeLoadBalancers action to describe the configuration of the back-end server.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstancePort' => array( - 'description' => 'Provides the port on which the back-end server is listening.', - 'type' => 'numeric', - ), - 'PolicyNames' => array( - 'description' => 'Provides a list of policy names enabled for the back-end server.', - 'type' => 'array', - 'items' => array( - 'name' => 'PolicyName', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - 'AvailabilityZones' => array( - 'description' => 'Specifies a list of Availability Zones.', - 'type' => 'array', - 'items' => array( - 'name' => 'AvailabilityZone', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'Subnets' => array( - 'description' => 'Provides a list of VPC subnet IDs for the LoadBalancer.', - 'type' => 'array', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'VPCId' => array( - 'description' => 'Provides the ID of the VPC attached to the LoadBalancer.', - 'type' => 'string', - ), - 'Instances' => array( - 'description' => 'Provides a list of EC2 instance IDs for the LoadBalancer.', - 'type' => 'array', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - ), - ), - ), - 'HealthCheck' => array( - 'description' => 'Specifies information regarding the various health probes conducted on the LoadBalancer.', - 'type' => 'object', - 'properties' => array( - 'Target' => array( - 'description' => 'Specifies the instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.', - 'type' => 'string', - ), - 'Interval' => array( - 'description' => 'Specifies the approximate interval, in seconds, between health checks of an individual instance.', - 'type' => 'numeric', - ), - 'Timeout' => array( - 'description' => 'Specifies the amount of time, in seconds, during which no response means a failed health probe.', - 'type' => 'numeric', - ), - 'UnhealthyThreshold' => array( - 'description' => 'Specifies the number of consecutive health probe failures required before moving the instance to the Unhealthy state.', - 'type' => 'numeric', - ), - 'HealthyThreshold' => array( - 'description' => 'Specifies the number of consecutive health probe successes required before moving the instance to the Healthy state.', - 'type' => 'numeric', - ), - ), - ), - 'SourceSecurityGroup' => array( - 'description' => 'The security group that you can use as part of your inbound rules for your LoadBalancer\'s back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.', - 'type' => 'object', - 'properties' => array( - 'OwnerAlias' => array( - 'description' => 'Owner of the source security group. Use this value for the --source-group-user parameter of the ec2-authorize command in the Amazon EC2 command line tool.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'Name of the source security group. Use this value for the --source-group parameter of the ec2-authorize command in the Amazon EC2 command line tool.', - 'type' => 'string', - ), - ), - ), - 'SecurityGroups' => array( - 'description' => 'The security groups the LoadBalancer is a member of (VPC only).', - 'type' => 'array', - 'items' => array( - 'name' => 'SecurityGroupId', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'CreatedTime' => array( - 'description' => 'Provides the date and time the LoadBalancer was created.', - 'type' => 'string', - ), - 'Scheme' => array( - 'description' => 'Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.', - 'type' => 'string', - ), - ), - ), - ), - 'NextMarker' => array( - 'description' => 'An optional parameter reserved for future use.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DetachLoadBalancerFromSubnetsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Subnets' => array( - 'description' => 'A list of subnet IDs removed from the configured set of subnets for the LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SubnetId', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'RemoveAvailabilityZonesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AvailabilityZones' => array( - 'description' => 'A list of updated Availability Zones for the LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AvailabilityZone', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'AddAvailabilityZonesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AvailabilityZones' => array( - 'description' => 'An updated list of Availability Zones for the LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AvailabilityZone', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'RegisterEndPointsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Instances' => array( - 'description' => 'An updated list of instances for the LoadBalancer.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Instance', - 'description' => 'The Instance data type.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'Provides an EC2 instance ID.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeInstanceHealth' => array( - 'result_key' => 'InstanceStates', - ), - 'DescribeLoadBalancerPolicies' => array( - 'result_key' => 'PolicyDescriptions', - ), - 'DescribeLoadBalancerPolicyTypes' => array( - 'result_key' => 'PolicyTypeDescriptions', - ), - 'DescribeLoadBalancers' => array( - 'token_param' => 'Marker', - 'token_key' => 'NextMarker', - 'result_key' => 'LoadBalancerDescriptions', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/ElasticTranscoderClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/ElasticTranscoderClient.php deleted file mode 100644 index b66231b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/ElasticTranscoderClient.php +++ /dev/null @@ -1,98 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/elastictranscoder-2012-09-25.php' - )) - ->setExceptionParser(new JsonRestExceptionParser()) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/Exception/AccessDeniedException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/Exception/AccessDeniedException.php deleted file mode 100644 index bdba28f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/Exception/AccessDeniedException.php +++ /dev/null @@ -1,22 +0,0 @@ - '2012-09-25', - 'endpointPrefix' => 'elastictranscoder', - 'serviceFullName' => 'Amazon Elastic Transcoder', - 'serviceType' => 'rest-json', - 'signatureVersion' => 'v4', - 'namespace' => 'ElasticTranscoder', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'elastictranscoder.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CancelJob' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-09-25/jobs/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'To delete a job, send a DELETE request to the /2012-09-25/jobs/[jobId] resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the job that you want to delete.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'CreateJob' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-09-25/jobs', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateJobResponse', - 'responseType' => 'model', - 'summary' => 'To create a job, send a POST request to the /2012-09-25/jobs resource.', - 'parameters' => array( - 'PipelineId' => array( - 'required' => true, - 'description' => 'The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.', - 'type' => 'string', - 'location' => 'json', - ), - 'Input' => array( - 'required' => true, - 'description' => 'A section of the request body that provides information about the file that is being transcoded.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Key' => array( - 'description' => 'The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'FrameRate' => array( - 'description' => 'The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The resolution, in pixels, of the input file. If you want Elastic Transcoder to automatically detect the resolution of the input file, specify auto. If you want to specify the resolution for the input file, enter values in the format width in pixels by height in pixels.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:', - 'type' => 'string', - ), - 'Interlaced' => array( - 'description' => 'Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:', - 'type' => 'string', - ), - ), - ), - 'Output' => array( - 'required' => true, - 'description' => 'A section of the request body that provides information about the transcoded (target) file.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Key' => array( - 'description' => 'The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'ThumbnailPattern' => array( - 'description' => 'Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.', - 'type' => 'string', - ), - 'Rotate' => array( - 'description' => 'The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:', - 'type' => 'string', - ), - 'PresetId' => array( - 'description' => 'The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.', - 'type' => 'string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'CreatePipeline' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-09-25/pipelines', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreatePipelineResponse', - 'responseType' => 'model', - 'summary' => 'To create a pipeline, send a POST request to the 2012-09-25/pipelines resource.', - 'parameters' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 40, - ), - 'InputBucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket in which you saved the media files that you want to transcode.', - 'type' => 'string', - 'location' => 'json', - ), - 'OutputBucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.', - 'type' => 'string', - 'location' => 'json', - ), - 'Role' => array( - 'required' => true, - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.', - 'type' => 'string', - 'location' => 'json', - ), - 'Notifications' => array( - 'required' => true, - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'CreatePreset' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-09-25/presets', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreatePresetResponse', - 'responseType' => 'model', - 'summary' => 'To create a preset, send a POST request to the /2012-09-25/presets resource.', - 'parameters' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 40, - ), - 'Description' => array( - 'description' => 'A description of the preset.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 255, - ), - 'Container' => array( - 'required' => true, - 'description' => 'The container type for the output file. This value must be mp4.', - 'type' => 'string', - 'location' => 'json', - ), - 'Video' => array( - 'required' => true, - 'description' => 'A section of the request body that specifies the video parameters.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Codec' => array( - 'description' => 'The video codec for the output file. This value must be H.264.', - 'type' => 'string', - ), - 'CodecOptions' => array( - 'description' => 'Profile', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'KeyframesMaxDist' => array( - 'description' => 'The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.', - 'type' => 'string', - ), - 'FixedGOP' => array( - 'description' => 'Whether to use a fixed value for FixedGOP. Valid values are true and false:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. We recommend that you specify a value less than or equal to the maximum H.264-compliant value listed in the following list for your level and profile:', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frames per second for the video stream in the output file. Valid values include:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of the video in the output file, in pixels. Valid values are auto and width x height:', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The display aspect ratio of the video in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Audio' => array( - 'required' => true, - 'description' => 'A section of the request body that specifies the audio parameters', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Codec' => array( - 'description' => 'The audio codec for the output file. This value must be AAC.', - 'type' => 'string', - ), - 'SampleRate' => array( - 'description' => 'The sample rate of the audio stream in the output file, in Hertz. Valid values include:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.', - 'type' => 'string', - ), - 'Channels' => array( - 'description' => 'The number of audio channels in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Thumbnails' => array( - 'required' => true, - 'description' => 'A section of the request body that specifies the thumbnail parameters, if any.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Format' => array( - 'description' => 'The format of thumbnails, if any. Valid values are jpg and png.', - 'type' => 'string', - ), - 'Interval' => array( - 'description' => 'The number of seconds between thumbnails. Specify an integer value.', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of thumbnails. Valid values include:', - 'type' => 'string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'DeletePipeline' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-09-25/pipelines/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'To delete a pipeline, send a DELETE request to the /2012-09-25/pipelines/[pipelineId] resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline that you want to delete.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'DeletePreset' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-09-25/presets/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'To delete a preset, send a DELETE request to the /2012-09-25/presets/[presetId] resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the preset for which you want to get detailed information.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'ListJobsByPipeline' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/jobsByPipeline/{PipelineId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListJobsByPipelineResponse', - 'responseType' => 'model', - 'summary' => 'To get a list of the jobs currently in a pipeline, send a GET request to the /2012-09-25/jobsByPipeline/[pipelineId] resource.', - 'parameters' => array( - 'PipelineId' => array( - 'required' => true, - 'description' => 'The ID of the pipeline for which you want to get job information.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Ascending' => array( - 'description' => 'To list jobs in chronological order by the date and time that they were submitted, enter true. To list jobs in reverse chronological order, enter false.', - 'type' => 'string', - 'location' => 'query', - ), - 'PageToken' => array( - 'description' => 'When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.', - 'type' => 'string', - 'location' => 'query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'ListJobsByStatus' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/jobsByStatus/{Status}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListJobsByStatusResponse', - 'responseType' => 'model', - 'summary' => 'To get a list of the jobs that have a specified status, send a GET request to the /2012-09-25/jobsByStatus/[status] resource.', - 'parameters' => array( - 'Status' => array( - 'required' => true, - 'description' => 'To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: Submitted, Progressing, Completed, Canceled, or Error.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Ascending' => array( - 'description' => 'To list jobs in chronological order by the date and time that they were submitted, enter true. To list jobs in reverse chronological order, enter false.', - 'type' => 'string', - 'location' => 'query', - ), - 'PageToken' => array( - 'description' => 'When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.', - 'type' => 'string', - 'location' => 'query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'ListPipelines' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/pipelines', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListPipelinesResponse', - 'responseType' => 'model', - 'summary' => 'To get a list of the pipelines associated with the current AWS account, send a GET request to the /2012-09-25/pipelines resource.', - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - 'parameters' => array( - ), - ), - 'ListPresets' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/presets', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListPresetsResponse', - 'responseType' => 'model', - 'summary' => 'To get a list of all presets associated with the current AWS account, send a GET request to the /2012-09-25/presets resource.', - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - 'parameters' => array( - ), - ), - 'ReadJob' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/jobs/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ReadJobResponse', - 'responseType' => 'model', - 'summary' => 'To get detailed information about a job, send a GET request to the /2012-09-25/jobs/[jobId] resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the job for which you want to get detailed information.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'ReadPipeline' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/pipelines/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ReadPipelineResponse', - 'responseType' => 'model', - 'summary' => 'To get detailed information about a pipeline, send a GET request to the /2012-09-25/pipelines/[pipelineId] resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline to read.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'ReadPreset' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-09-25/presets/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ReadPresetResponse', - 'responseType' => 'model', - 'summary' => 'To get detailed information about a preset, send a GET request to the /2012-09-25/presets/[presetId] resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the preset for which you want to get detailed information.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'TestRole' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-09-25/roleTests', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'TestRoleResponse', - 'responseType' => 'model', - 'summary' => 'To test the IAM role that\'s used by Elastic Transcoder to create the pipeline, send a POST request to the /2012-09-25/roleTests resource.', - 'parameters' => array( - 'Role' => array( - 'required' => true, - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.', - 'type' => 'string', - 'location' => 'json', - ), - 'InputBucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.', - 'type' => 'string', - 'location' => 'json', - ), - 'OutputBucket' => array( - 'required' => true, - 'description' => 'The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.', - 'type' => 'string', - 'location' => 'json', - ), - 'Topics' => array( - 'required' => true, - 'description' => 'The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'SnsTopic', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'UpdatePipelineNotifications' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-09-25/pipelines/{Id}/notifications', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'UpdatePipelineNotificationsResponse', - 'responseType' => 'model', - 'summary' => 'To update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline, send a POST request to the /2012-09-25/pipelines/[pipelineId]/notifications resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline for which you want to change notification settings.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Notifications' => array( - 'required' => true, - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - 'UpdatePipelineStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-09-25/pipelines/{Id}/status', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'UpdatePipelineStatusResponse', - 'responseType' => 'model', - 'summary' => 'To pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline. Send a POST request to the /2012-09-25/pipelines/[pipelineId]/status resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The identifier of the pipeline to update.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Status' => array( - 'required' => true, - 'description' => 'The new status of the pipeline:', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameter values were not provided in the request.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.', - 'class' => 'ResourceInUseException', - ), - array( - 'reason' => 'General authentication failure. The request was not signed correctly.', - 'class' => 'AccessDeniedException', - ), - array( - 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.', - 'class' => 'InternalServiceException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'CreateJobResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Job' => array( - 'description' => 'A section of the response body that provides information about the job that is created.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.', - 'type' => 'string', - ), - 'PipelineId' => array( - 'description' => 'The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.', - 'type' => 'string', - ), - 'Input' => array( - 'description' => 'A section of the request or response body that provides information about the file that is being transcoded.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The resolution, in pixels, of the input file. If you want Elastic Transcoder to automatically detect the resolution of the input file, specify auto. If you want to specify the resolution for the input file, enter values in the format width in pixels by height in pixels.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:', - 'type' => 'string', - ), - 'Interlaced' => array( - 'description' => 'Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:', - 'type' => 'string', - ), - ), - ), - 'Output' => array( - 'description' => 'A section of the request or response body that provides information about the transcoded (target) file.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.', - 'type' => 'string', - ), - 'ThumbnailPattern' => array( - 'description' => 'Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.', - 'type' => 'string', - ), - 'Rotate' => array( - 'description' => 'The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:', - 'type' => 'string', - ), - 'PresetId' => array( - 'description' => 'The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'Status of the job. The value of Status is one of the following: Submitted, Progressing, Completed, Canceled, or Error.', - 'type' => 'string', - ), - 'StatusDetail' => array( - 'description' => 'Information that further explains Status.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'CreatePipelineResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Pipeline' => array( - 'description' => 'A section of the response body that provides information about the pipeline that is created.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current status of the pipeline:', - 'type' => 'string', - ), - 'InputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you saved the media files that you want to transcode.', - 'type' => 'string', - ), - 'OutputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.', - 'type' => 'string', - ), - 'Role' => array( - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.', - 'type' => 'string', - ), - 'Notifications' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'CreatePresetResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Preset' => array( - 'description' => 'A section of the response body that provides information about the preset that is created.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'Identifier for the new preset. You use this value to get settings for the preset or to delete it.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the preset.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the preset.', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the output file. This value must be mp4.', - 'type' => 'string', - ), - 'Audio' => array( - 'description' => 'A section of the response body that provides information about the audio preset values.', - 'type' => 'object', - 'properties' => array( - 'Codec' => array( - 'description' => 'The audio codec for the output file. This value must be AAC.', - 'type' => 'string', - ), - 'SampleRate' => array( - 'description' => 'The sample rate of the audio stream in the output file, in Hertz. Valid values include:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.', - 'type' => 'string', - ), - 'Channels' => array( - 'description' => 'The number of audio channels in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Video' => array( - 'description' => 'A section of the response body that provides information about the video preset values.', - 'type' => 'object', - 'properties' => array( - 'Codec' => array( - 'description' => 'The video codec for the output file. This value must be H.264.', - 'type' => 'string', - ), - 'CodecOptions' => array( - 'description' => 'Profile', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'KeyframesMaxDist' => array( - 'description' => 'The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.', - 'type' => 'string', - ), - 'FixedGOP' => array( - 'description' => 'Whether to use a fixed value for FixedGOP. Valid values are true and false:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. We recommend that you specify a value less than or equal to the maximum H.264-compliant value listed in the following list for your level and profile:', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frames per second for the video stream in the output file. Valid values include:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of the video in the output file, in pixels. Valid values are auto and width x height:', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The display aspect ratio of the video in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Thumbnails' => array( - 'description' => 'A section of the response body that provides information about the thumbnail preset values, if any.', - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'description' => 'The format of thumbnails, if any. Valid values are jpg and png.', - 'type' => 'string', - ), - 'Interval' => array( - 'description' => 'The number of seconds between thumbnails. Specify an integer value.', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of thumbnails. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Type' => array( - 'description' => 'Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).', - 'type' => 'string', - ), - ), - ), - 'Warning' => array( - 'description' => 'If the preset settings don\'t comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don\'t meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListJobsByPipelineResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Jobs' => array( - 'description' => 'An array of Job objects that are in the specified pipeline.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Job', - 'description' => 'A section of the response body that provides information about the job that is created.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.', - 'type' => 'string', - ), - 'PipelineId' => array( - 'description' => 'The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.', - 'type' => 'string', - ), - 'Input' => array( - 'description' => 'A section of the request or response body that provides information about the file that is being transcoded.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The resolution, in pixels, of the input file. If you want Elastic Transcoder to automatically detect the resolution of the input file, specify auto. If you want to specify the resolution for the input file, enter values in the format width in pixels by height in pixels.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:', - 'type' => 'string', - ), - 'Interlaced' => array( - 'description' => 'Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:', - 'type' => 'string', - ), - ), - ), - 'Output' => array( - 'description' => 'A section of the request or response body that provides information about the transcoded (target) file.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.', - 'type' => 'string', - ), - 'ThumbnailPattern' => array( - 'description' => 'Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.', - 'type' => 'string', - ), - 'Rotate' => array( - 'description' => 'The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:', - 'type' => 'string', - ), - 'PresetId' => array( - 'description' => 'The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'Status of the job. The value of Status is one of the following: Submitted, Progressing, Completed, Canceled, or Error.', - 'type' => 'string', - ), - 'StatusDetail' => array( - 'description' => 'Information that further explains Status.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'NextPageToken' => array( - 'description' => 'A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you\'ve reached the last page of results, the value of NextPageToken is null.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListJobsByStatusResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Jobs' => array( - 'description' => 'An array of Job objects that have the specified status.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Job', - 'description' => 'A section of the response body that provides information about the job that is created.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.', - 'type' => 'string', - ), - 'PipelineId' => array( - 'description' => 'The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.', - 'type' => 'string', - ), - 'Input' => array( - 'description' => 'A section of the request or response body that provides information about the file that is being transcoded.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The resolution, in pixels, of the input file. If you want Elastic Transcoder to automatically detect the resolution of the input file, specify auto. If you want to specify the resolution for the input file, enter values in the format width in pixels by height in pixels.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:', - 'type' => 'string', - ), - 'Interlaced' => array( - 'description' => 'Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:', - 'type' => 'string', - ), - ), - ), - 'Output' => array( - 'description' => 'A section of the request or response body that provides information about the transcoded (target) file.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.', - 'type' => 'string', - ), - 'ThumbnailPattern' => array( - 'description' => 'Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.', - 'type' => 'string', - ), - 'Rotate' => array( - 'description' => 'The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:', - 'type' => 'string', - ), - 'PresetId' => array( - 'description' => 'The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'Status of the job. The value of Status is one of the following: Submitted, Progressing, Completed, Canceled, or Error.', - 'type' => 'string', - ), - 'StatusDetail' => array( - 'description' => 'Information that further explains Status.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'NextPageToken' => array( - 'description' => 'A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you\'ve reached the last page of results, the value of NextPageToken is null.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListPipelinesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Pipelines' => array( - 'description' => 'An array of Pipeline objects.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Pipeline', - 'description' => 'The pipeline (queue) that is used to manage jobs.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current status of the pipeline:', - 'type' => 'string', - ), - 'InputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you saved the media files that you want to transcode.', - 'type' => 'string', - ), - 'OutputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.', - 'type' => 'string', - ), - 'Role' => array( - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.', - 'type' => 'string', - ), - 'Notifications' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'ListPresetsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Presets' => array( - 'description' => 'An array of Preset objects.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Preset', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'description' => 'Identifier for the new preset. You use this value to get settings for the preset or to delete it.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the preset.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the preset.', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the output file. This value must be mp4.', - 'type' => 'string', - ), - 'Audio' => array( - 'description' => 'A section of the response body that provides information about the audio preset values.', - 'type' => 'object', - 'properties' => array( - 'Codec' => array( - 'description' => 'The audio codec for the output file. This value must be AAC.', - 'type' => 'string', - ), - 'SampleRate' => array( - 'description' => 'The sample rate of the audio stream in the output file, in Hertz. Valid values include:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.', - 'type' => 'string', - ), - 'Channels' => array( - 'description' => 'The number of audio channels in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Video' => array( - 'description' => 'A section of the response body that provides information about the video preset values.', - 'type' => 'object', - 'properties' => array( - 'Codec' => array( - 'description' => 'The video codec for the output file. This value must be H.264.', - 'type' => 'string', - ), - 'CodecOptions' => array( - 'description' => 'Profile', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'KeyframesMaxDist' => array( - 'description' => 'The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.', - 'type' => 'string', - ), - 'FixedGOP' => array( - 'description' => 'Whether to use a fixed value for FixedGOP. Valid values are true and false:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. We recommend that you specify a value less than or equal to the maximum H.264-compliant value listed in the following list for your level and profile:', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frames per second for the video stream in the output file. Valid values include:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of the video in the output file, in pixels. Valid values are auto and width x height:', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The display aspect ratio of the video in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Thumbnails' => array( - 'description' => 'A section of the response body that provides information about the thumbnail preset values, if any.', - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'description' => 'The format of thumbnails, if any. Valid values are jpg and png.', - 'type' => 'string', - ), - 'Interval' => array( - 'description' => 'The number of seconds between thumbnails. Specify an integer value.', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of thumbnails. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Type' => array( - 'description' => 'Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ReadJobResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Job' => array( - 'description' => 'A section of the response body that provides information about the job.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.', - 'type' => 'string', - ), - 'PipelineId' => array( - 'description' => 'The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.', - 'type' => 'string', - ), - 'Input' => array( - 'description' => 'A section of the request or response body that provides information about the file that is being transcoded.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The resolution, in pixels, of the input file. If you want Elastic Transcoder to automatically detect the resolution of the input file, specify auto. If you want to specify the resolution for the input file, enter values in the format width in pixels by height in pixels.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:', - 'type' => 'string', - ), - 'Interlaced' => array( - 'description' => 'Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:', - 'type' => 'string', - ), - ), - ), - 'Output' => array( - 'description' => 'A section of the request or response body that provides information about the transcoded (target) file.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.', - 'type' => 'string', - ), - 'ThumbnailPattern' => array( - 'description' => 'Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.', - 'type' => 'string', - ), - 'Rotate' => array( - 'description' => 'The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:', - 'type' => 'string', - ), - 'PresetId' => array( - 'description' => 'The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'Status of the job. The value of Status is one of the following: Submitted, Progressing, Completed, Canceled, or Error.', - 'type' => 'string', - ), - 'StatusDetail' => array( - 'description' => 'Information that further explains Status.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'ReadPipelineResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Pipeline' => array( - 'description' => 'A section of the response body that provides information about the pipeline.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current status of the pipeline:', - 'type' => 'string', - ), - 'InputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you saved the media files that you want to transcode.', - 'type' => 'string', - ), - 'OutputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.', - 'type' => 'string', - ), - 'Role' => array( - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.', - 'type' => 'string', - ), - 'Notifications' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'ReadPresetResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Preset' => array( - 'description' => 'A section of the response body that provides information about the preset.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'Identifier for the new preset. You use this value to get settings for the preset or to delete it.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the preset.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the preset.', - 'type' => 'string', - ), - 'Container' => array( - 'description' => 'The container type for the output file. This value must be mp4.', - 'type' => 'string', - ), - 'Audio' => array( - 'description' => 'A section of the response body that provides information about the audio preset values.', - 'type' => 'object', - 'properties' => array( - 'Codec' => array( - 'description' => 'The audio codec for the output file. This value must be AAC.', - 'type' => 'string', - ), - 'SampleRate' => array( - 'description' => 'The sample rate of the audio stream in the output file, in Hertz. Valid values include:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.', - 'type' => 'string', - ), - 'Channels' => array( - 'description' => 'The number of audio channels in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Video' => array( - 'description' => 'A section of the response body that provides information about the video preset values.', - 'type' => 'object', - 'properties' => array( - 'Codec' => array( - 'description' => 'The video codec for the output file. This value must be H.264.', - 'type' => 'string', - ), - 'CodecOptions' => array( - 'description' => 'Profile', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'KeyframesMaxDist' => array( - 'description' => 'The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.', - 'type' => 'string', - ), - 'FixedGOP' => array( - 'description' => 'Whether to use a fixed value for FixedGOP. Valid values are true and false:', - 'type' => 'string', - ), - 'BitRate' => array( - 'description' => 'The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. We recommend that you specify a value less than or equal to the maximum H.264-compliant value listed in the following list for your level and profile:', - 'type' => 'string', - ), - 'FrameRate' => array( - 'description' => 'The frames per second for the video stream in the output file. Valid values include:', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of the video in the output file, in pixels. Valid values are auto and width x height:', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The display aspect ratio of the video in the output file. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Thumbnails' => array( - 'description' => 'A section of the response body that provides information about the thumbnail preset values, if any.', - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'description' => 'The format of thumbnails, if any. Valid values are jpg and png.', - 'type' => 'string', - ), - 'Interval' => array( - 'description' => 'The number of seconds between thumbnails. Specify an integer value.', - 'type' => 'string', - ), - 'Resolution' => array( - 'description' => 'The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.', - 'type' => 'string', - ), - 'AspectRatio' => array( - 'description' => 'The aspect ratio of thumbnails. Valid values include:', - 'type' => 'string', - ), - ), - ), - 'Type' => array( - 'description' => 'Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).', - 'type' => 'string', - ), - ), - ), - ), - ), - 'TestRoleResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Success' => array( - 'description' => 'If the operation is successful, this value is true; otherwise, the value is false.', - 'type' => 'string', - 'location' => 'json', - ), - 'Messages' => array( - 'description' => 'If the Success element contains false, this value is an array of one or more error messages that were generated during the test process.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ExceptionMessage', - 'type' => 'string', - ), - ), - ), - ), - 'UpdatePipelineNotificationsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Pipeline' => array( - 'description' => 'A section of the response body that provides information about the pipeline.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current status of the pipeline:', - 'type' => 'string', - ), - 'InputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you saved the media files that you want to transcode.', - 'type' => 'string', - ), - 'OutputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.', - 'type' => 'string', - ), - 'Role' => array( - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.', - 'type' => 'string', - ), - 'Notifications' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'UpdatePipelineStatusResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Pipeline' => array( - 'description' => 'A section of the response body that provides information about the pipeline.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Id' => array( - 'description' => 'The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current status of the pipeline:', - 'type' => 'string', - ), - 'InputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you saved the media files that you want to transcode.', - 'type' => 'string', - ), - 'OutputBucket' => array( - 'description' => 'The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.', - 'type' => 'string', - ), - 'Role' => array( - 'description' => 'The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.', - 'type' => 'string', - ), - 'Notifications' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.', - 'type' => 'object', - 'properties' => array( - 'Progressing' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.', - 'type' => 'string', - ), - 'Warning' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.', - 'type' => 'string', - ), - 'Error' => array( - 'description' => 'The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'ListJobsByPipeline' => array( - 'token_param' => 'PageToken', - 'token_key' => 'NextPageToken', - 'result_key' => 'Jobs', - ), - 'ListJobsByStatus' => array( - 'token_param' => 'PageToken', - 'token_key' => 'NextPageToken', - 'result_key' => 'Jobs', - ), - 'ListPipelines' => array( - 'result_key' => 'Pipelines', - ), - 'ListPresets' => array( - 'result_key' => 'Presets', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Emr/EmrClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Emr/EmrClient.php deleted file mode 100644 index 09bff03..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Emr/EmrClient.php +++ /dev/null @@ -1,89 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/emr-2009-03-31.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Emr/Enum/ActionOnFailure.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Emr/Enum/ActionOnFailure.php deleted file mode 100644 index b8a8e0a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Emr/Enum/ActionOnFailure.php +++ /dev/null @@ -1,29 +0,0 @@ - '2009-03-31', - 'endpointPrefix' => 'elasticmapreduce', - 'serviceFullName' => 'Amazon Elastic MapReduce', - 'serviceAbbreviation' => 'Amazon EMR', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'Emr', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'elasticmapreduce.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AddInstanceGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AddInstanceGroupsOutput', - 'responseType' => 'model', - 'summary' => 'AddInstanceGroups adds an instance group to a running cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddInstanceGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'InstanceGroups' => array( - 'required' => true, - 'description' => 'Instance Groups to add.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceGroups.member', - 'items' => array( - 'name' => 'InstanceGroupConfig', - 'description' => 'Configuration defining a new instance group.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Friendly name given to the instance group.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'Market' => array( - 'description' => 'Market type of the Amazon EC2 instances used to create a cluster node.', - 'type' => 'string', - 'enum' => array( - 'ON_DEMAND', - 'SPOT', - ), - ), - 'InstanceRole' => array( - 'required' => true, - 'description' => 'The role of the instance group in the cluster.', - 'type' => 'string', - 'enum' => array( - 'MASTER', - 'CORE', - 'TASK', - ), - ), - 'BidPrice' => array( - 'description' => 'Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'InstanceType' => array( - 'required' => true, - 'description' => 'The Amazon EC2 instance type for all instances in the instance group.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'InstanceCount' => array( - 'required' => true, - 'description' => 'Target number of instances for the instance group.', - 'type' => 'numeric', - ), - ), - ), - ), - 'JobFlowId' => array( - 'required' => true, - 'description' => 'Job flow in which to add the instance groups.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 256, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'AddJobFlowSteps' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed in each job flow.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddJobFlowSteps', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'JobFlowId' => array( - 'required' => true, - 'description' => 'A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 256, - ), - 'Steps' => array( - 'required' => true, - 'description' => 'A list of StepConfig to be executed by the job flow.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Steps.member', - 'items' => array( - 'name' => 'StepConfig', - 'description' => 'Specification of a job flow step.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the job flow step.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'ActionOnFailure' => array( - 'description' => 'Specifies the action to take if the job flow step fails.', - 'type' => 'string', - 'enum' => array( - 'TERMINATE_JOB_FLOW', - 'CANCEL_AND_WAIT', - 'CONTINUE', - ), - ), - 'HadoopJarStep' => array( - 'required' => true, - 'description' => 'Specifies the JAR file used for the job flow step.', - 'type' => 'object', - 'properties' => array( - 'Properties' => array( - 'description' => 'A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.', - 'type' => 'array', - 'sentAs' => 'Properties.member', - 'items' => array( - 'name' => 'KeyValue', - 'description' => 'A key value pair.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The unique identifier of a key value pair.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'Value' => array( - 'description' => 'The value part of the identified key.', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - ), - 'Jar' => array( - 'required' => true, - 'description' => 'A path to a JAR file run during the step.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'MainClass' => array( - 'description' => 'The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'Args' => array( - 'description' => 'A list of command line arguments passed to the JAR file\'s main function when executed.', - 'type' => 'array', - 'sentAs' => 'Args.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeJobFlows' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeJobFlowsOutput', - 'responseType' => 'model', - 'summary' => 'DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeJobFlows', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'CreatedAfter' => array( - 'description' => 'Return only job flows created after this date and time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'CreatedBefore' => array( - 'description' => 'Return only job flows created before this date and time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'JobFlowIds' => array( - 'description' => 'Return only job flows whose job flow ID is contained in this list.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'JobFlowIds.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - 'JobFlowStates' => array( - 'description' => 'Return only job flows whose state is contained in this list.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'JobFlowStates.member', - 'items' => array( - 'name' => 'JobFlowExecutionState', - 'description' => 'The type of instance.', - 'type' => 'string', - 'enum' => array( - 'COMPLETED', - 'FAILED', - 'TERMINATED', - 'RUNNING', - 'SHUTTING_DOWN', - 'STARTING', - 'WAITING', - 'BOOTSTRAPPING', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ModifyInstanceGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyInstanceGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'InstanceGroups' => array( - 'description' => 'Instance groups to change.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceGroups.member', - 'items' => array( - 'name' => 'InstanceGroupModifyConfig', - 'description' => 'Modify an instance group size.', - 'type' => 'object', - 'properties' => array( - 'InstanceGroupId' => array( - 'required' => true, - 'description' => 'Unique ID of the instance group to expand or shrink.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'InstanceCount' => array( - 'required' => true, - 'description' => 'Target size for the instance group.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'RunJobFlow' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'RunJobFlowOutput', - 'responseType' => 'model', - 'summary' => 'RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. Once the job flow completes, the cluster is stopped and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the job flow will transition to the WAITING state rather than shutting down once the steps have completed.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RunJobFlow', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The name of the job flow.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 256, - ), - 'LogUri' => array( - 'description' => 'Specifies the location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 10280, - ), - 'AdditionalInfo' => array( - 'description' => 'A JSON string for selecting additional features.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 10280, - ), - 'AmiVersion' => array( - 'description' => 'The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid:', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 256, - ), - 'Instances' => array( - 'required' => true, - 'description' => 'A specification of the number and type of Amazon EC2 instances on which to run the job flow.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'MasterInstanceType' => array( - 'description' => 'The EC2 instance type of the master node.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'SlaveInstanceType' => array( - 'description' => 'The EC2 instance type of the slave nodes.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'InstanceCount' => array( - 'description' => 'The number of Amazon EC2 instances used to execute the job flow.', - 'type' => 'numeric', - ), - 'InstanceGroups' => array( - 'description' => 'Configuration for the job flow\'s instance groups.', - 'type' => 'array', - 'sentAs' => 'InstanceGroups.member', - 'items' => array( - 'name' => 'InstanceGroupConfig', - 'description' => 'Configuration defining a new instance group.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Friendly name given to the instance group.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'Market' => array( - 'description' => 'Market type of the Amazon EC2 instances used to create a cluster node.', - 'type' => 'string', - 'enum' => array( - 'ON_DEMAND', - 'SPOT', - ), - ), - 'InstanceRole' => array( - 'required' => true, - 'description' => 'The role of the instance group in the cluster.', - 'type' => 'string', - 'enum' => array( - 'MASTER', - 'CORE', - 'TASK', - ), - ), - 'BidPrice' => array( - 'description' => 'Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'InstanceType' => array( - 'required' => true, - 'description' => 'The Amazon EC2 instance type for all instances in the instance group.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'InstanceCount' => array( - 'required' => true, - 'description' => 'Target number of instances for the instance group.', - 'type' => 'numeric', - ), - ), - ), - ), - 'Ec2KeyName' => array( - 'description' => 'Specifies the name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called "hadoop."', - 'type' => 'string', - 'maxLength' => 256, - ), - 'Placement' => array( - 'description' => 'Specifies the Availability Zone the job flow will run in.', - 'type' => 'object', - 'properties' => array( - 'AvailabilityZone' => array( - 'required' => true, - 'description' => 'The Amazon EC2 Availability Zone for the job flow.', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - 'KeepJobFlowAliveWhenNoSteps' => array( - 'description' => 'Specifies whether the job flow should terminate after completing all steps.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'TerminationProtected' => array( - 'description' => 'Specifies whether to lock the job flow to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job flow error.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'HadoopVersion' => array( - 'description' => 'Specifies the Hadoop version for the job flow. Valid inputs are "0.18", "0.20", or "0.20.205". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'Ec2SubnetId' => array( - 'description' => 'To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC.', - 'type' => 'string', - 'maxLength' => 256, - ), - ), - ), - 'Steps' => array( - 'description' => 'A list of steps to be executed by the job flow.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Steps.member', - 'items' => array( - 'name' => 'StepConfig', - 'description' => 'Specification of a job flow step.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the job flow step.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'ActionOnFailure' => array( - 'description' => 'Specifies the action to take if the job flow step fails.', - 'type' => 'string', - 'enum' => array( - 'TERMINATE_JOB_FLOW', - 'CANCEL_AND_WAIT', - 'CONTINUE', - ), - ), - 'HadoopJarStep' => array( - 'required' => true, - 'description' => 'Specifies the JAR file used for the job flow step.', - 'type' => 'object', - 'properties' => array( - 'Properties' => array( - 'description' => 'A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.', - 'type' => 'array', - 'sentAs' => 'Properties.member', - 'items' => array( - 'name' => 'KeyValue', - 'description' => 'A key value pair.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'The unique identifier of a key value pair.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'Value' => array( - 'description' => 'The value part of the identified key.', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - ), - 'Jar' => array( - 'required' => true, - 'description' => 'A path to a JAR file run during the step.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'MainClass' => array( - 'description' => 'The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'Args' => array( - 'description' => 'A list of command line arguments passed to the JAR file\'s main function when executed.', - 'type' => 'array', - 'sentAs' => 'Args.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - ), - ), - ), - ), - 'BootstrapActions' => array( - 'description' => 'A list of bootstrap actions that will be run before Hadoop is started on the cluster nodes.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BootstrapActions.member', - 'items' => array( - 'name' => 'BootstrapActionConfig', - 'description' => 'Configuration of a bootstrap action.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the bootstrap action.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'ScriptBootstrapAction' => array( - 'required' => true, - 'description' => 'The script run by the bootstrap action.', - 'type' => 'object', - 'properties' => array( - 'Path' => array( - 'required' => true, - 'description' => 'Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.', - 'type' => 'string', - 'maxLength' => 10280, - ), - 'Args' => array( - 'description' => 'A list of command line arguments to pass to the bootstrap action script.', - 'type' => 'array', - 'sentAs' => 'Args.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - ), - ), - ), - ), - 'SupportedProducts' => array( - 'description' => 'A list of strings that indicates third-party software to use with the job flow. For more information, go to Use Third Party Applications with Amazon EMR. Currently supported values are:', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SupportedProducts.member', - 'items' => array( - 'name' => 'XmlStringMaxLen256', - 'type' => 'string', - 'maxLength' => 256, - ), - ), - 'VisibleToAllUsers' => array( - 'description' => 'Whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to true, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the job flow. If it is set to false, only the IAM user that created the job flow can view and manage it.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'JobFlowRole' => array( - 'description' => 'An IAM role for the job flow. The EC2 instances of the job flow assume this role. The default role is EMRJobflowDefault. In order to use the default role, you must have already created it using the CLI.', - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 10280, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'SetTerminationProtection' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'SetTerminationProtection locks a job flow so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetTerminationProtection', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'JobFlowIds' => array( - 'required' => true, - 'description' => 'A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'JobFlowIds.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - 'TerminationProtected' => array( - 'required' => true, - 'description' => 'A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'SetVisibleToAllUsers' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specifed job flows. This action works on running job flows. You can also set the visibility of a job flow when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetVisibleToAllUsers', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'JobFlowIds' => array( - 'required' => true, - 'description' => 'Identifiers of the job flows to receive the new visibility setting.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'JobFlowIds.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - 'VisibleToAllUsers' => array( - 'required' => true, - 'description' => 'Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'TerminateJobFlows' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'TerminateJobFlows', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-03-31', - ), - 'JobFlowIds' => array( - 'required' => true, - 'description' => 'A list of job flows to be shutdown.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'JobFlowIds.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'maxLength' => 10280, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.', - 'class' => 'InternalServerErrorException', - ), - ), - ), - ), - 'models' => array( - 'AddInstanceGroupsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobFlowId' => array( - 'description' => 'The job flow ID in which the instance groups are added.', - 'type' => 'string', - 'location' => 'xml', - ), - 'InstanceGroupIds' => array( - 'description' => 'Instance group IDs of the newly created instance groups.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'XmlStringMaxLen256', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DescribeJobFlowsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobFlows' => array( - 'description' => 'A list of job flows matching the parameters supplied.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'JobFlowDetail', - 'description' => 'A description of a job flow.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'JobFlowId' => array( - 'description' => 'The job flow identifier.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the job flow.', - 'type' => 'string', - ), - 'LogUri' => array( - 'description' => 'The location in Amazon S3 where log files for the job are stored.', - 'type' => 'string', - ), - 'AmiVersion' => array( - 'description' => 'The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon ElasticMapReduce, go to AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer\'s Guide.', - 'type' => 'string', - ), - 'ExecutionStatusDetail' => array( - 'description' => 'Describes the execution status of the job flow.', - 'type' => 'object', - 'properties' => array( - 'State' => array( - 'description' => 'The state of the job flow.', - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'description' => 'The creation date and time of the job flow.', - 'type' => 'string', - ), - 'StartDateTime' => array( - 'description' => 'The start date and time of the job flow.', - 'type' => 'string', - ), - 'ReadyDateTime' => array( - 'description' => 'The date and time when the job flow was ready to start running bootstrap actions.', - 'type' => 'string', - ), - 'EndDateTime' => array( - 'description' => 'The completion date and time of the job flow.', - 'type' => 'string', - ), - 'LastStateChangeReason' => array( - 'description' => 'Description of the job flow last changed state.', - 'type' => 'string', - ), - ), - ), - 'Instances' => array( - 'description' => 'Describes the Amazon EC2 instances of the job flow.', - 'type' => 'object', - 'properties' => array( - 'MasterInstanceType' => array( - 'description' => 'The Amazon EC2 master node instance type.', - 'type' => 'string', - ), - 'MasterPublicDnsName' => array( - 'description' => 'The DNS name of the master node.', - 'type' => 'string', - ), - 'MasterInstanceId' => array( - 'description' => 'The Amazon EC2 instance identifier of the master node.', - 'type' => 'string', - ), - 'SlaveInstanceType' => array( - 'description' => 'The Amazon EC2 slave node instance type.', - 'type' => 'string', - ), - 'InstanceCount' => array( - 'description' => 'The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.', - 'type' => 'numeric', - ), - 'InstanceGroups' => array( - 'description' => 'Details about the job flow\'s instance groups.', - 'type' => 'array', - 'items' => array( - 'name' => 'InstanceGroupDetail', - 'description' => 'Detailed information about an instance group.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'InstanceGroupId' => array( - 'description' => 'Unique identifier for the instance group.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'Friendly name for the instance group.', - 'type' => 'string', - ), - 'Market' => array( - 'description' => 'Market type of the Amazon EC2 instances used to create a cluster node.', - 'type' => 'string', - ), - 'InstanceRole' => array( - 'description' => 'Instance group role in the cluster', - 'type' => 'string', - ), - 'BidPrice' => array( - 'description' => 'Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.', - 'type' => 'string', - ), - 'InstanceType' => array( - 'description' => 'Amazon EC2 Instance type.', - 'type' => 'string', - ), - 'InstanceRequestCount' => array( - 'description' => 'Target number of instances to run in the instance group.', - 'type' => 'numeric', - ), - 'InstanceRunningCount' => array( - 'description' => 'Actual count of running instances.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.', - 'type' => 'string', - ), - 'LastStateChangeReason' => array( - 'description' => 'Details regarding the state of the instance group.', - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'description' => 'The date/time the instance group was created.', - 'type' => 'string', - ), - 'StartDateTime' => array( - 'description' => 'The date/time the instance group was started.', - 'type' => 'string', - ), - 'ReadyDateTime' => array( - 'description' => 'The date/time the instance group was available to the cluster.', - 'type' => 'string', - ), - 'EndDateTime' => array( - 'description' => 'The date/time the instance group was terminated.', - 'type' => 'string', - ), - ), - ), - ), - 'NormalizedInstanceHours' => array( - 'description' => 'An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented once for every hour an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.', - 'type' => 'numeric', - ), - 'Ec2KeyName' => array( - 'description' => 'The name of an Amazon EC2 key pair that can be used to ssh to the master node of job flow.', - 'type' => 'string', - ), - 'Ec2SubnetId' => array( - 'description' => 'For job flows launched within Amazon Virtual Private Cloud, this value specifies the identifier of the subnet where the job flow was launched.', - 'type' => 'string', - ), - 'Placement' => array( - 'description' => 'Specifies the Amazon EC2 Availability Zone for the job flow.', - 'type' => 'object', - 'properties' => array( - 'AvailabilityZone' => array( - 'description' => 'The Amazon EC2 Availability Zone for the job flow.', - 'type' => 'string', - ), - ), - ), - 'KeepJobFlowAliveWhenNoSteps' => array( - 'description' => 'Specifies whether or not the job flow should terminate after completing all steps.', - 'type' => 'boolean', - ), - 'TerminationProtected' => array( - 'description' => 'Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job flow error.', - 'type' => 'boolean', - ), - 'HadoopVersion' => array( - 'description' => 'Specifies the Hadoop version for the job flow.', - 'type' => 'string', - ), - ), - ), - 'Steps' => array( - 'description' => 'A list of steps run by the job flow.', - 'type' => 'array', - 'items' => array( - 'name' => 'StepDetail', - 'description' => 'Combines the execution state and configuration of a step.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'StepConfig' => array( - 'description' => 'The step configuration.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the job flow step.', - 'type' => 'string', - ), - 'ActionOnFailure' => array( - 'description' => 'Specifies the action to take if the job flow step fails.', - 'type' => 'string', - ), - 'HadoopJarStep' => array( - 'description' => 'Specifies the JAR file used for the job flow step.', - 'type' => 'object', - 'properties' => array( - 'Properties' => array( - 'description' => 'A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.', - 'type' => 'array', - 'items' => array( - 'name' => 'KeyValue', - 'description' => 'A key value pair.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Key' => array( - 'description' => 'The unique identifier of a key value pair.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value part of the identified key.', - 'type' => 'string', - ), - ), - ), - ), - 'Jar' => array( - 'description' => 'A path to a JAR file run during the step.', - 'type' => 'string', - ), - 'MainClass' => array( - 'description' => 'The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.', - 'type' => 'string', - ), - 'Args' => array( - 'description' => 'A list of command line arguments passed to the JAR file\'s main function when executed.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - ), - 'ExecutionStatusDetail' => array( - 'description' => 'The description of the step status.', - 'type' => 'object', - 'properties' => array( - 'State' => array( - 'description' => 'The state of the job flow step.', - 'type' => 'string', - ), - 'CreationDateTime' => array( - 'description' => 'The creation date and time of the step.', - 'type' => 'string', - ), - 'StartDateTime' => array( - 'description' => 'The start date and time of the step.', - 'type' => 'string', - ), - 'EndDateTime' => array( - 'description' => 'The completion date and time of the step.', - 'type' => 'string', - ), - 'LastStateChangeReason' => array( - 'description' => 'A description of the step\'s current state.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'BootstrapActions' => array( - 'description' => 'A list of the bootstrap actions run by the job flow.', - 'type' => 'array', - 'items' => array( - 'name' => 'BootstrapActionDetail', - 'description' => 'Reports the configuration of a bootstrap action in a job flow.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'BootstrapActionConfig' => array( - 'description' => 'A description of the bootstrap action.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the bootstrap action.', - 'type' => 'string', - ), - 'ScriptBootstrapAction' => array( - 'description' => 'The script run by the bootstrap action.', - 'type' => 'object', - 'properties' => array( - 'Path' => array( - 'description' => 'Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.', - 'type' => 'string', - ), - 'Args' => array( - 'description' => 'A list of command line arguments to pass to the bootstrap action script.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'SupportedProducts' => array( - 'description' => 'A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.', - 'type' => 'array', - 'items' => array( - 'name' => 'XmlStringMaxLen256', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'VisibleToAllUsers' => array( - 'description' => 'Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to true, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the job flow. If it is set to false, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.', - 'type' => 'boolean', - ), - 'JobFlowRole' => array( - 'description' => 'The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RunJobFlowOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobFlowId' => array( - 'description' => 'An unique identifier for the job flow.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeJobFlows' => array( - 'result_key' => 'JobFlows', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Enum/Action.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Enum/Action.php deleted file mode 100644 index 00ec7a8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Enum/Action.php +++ /dev/null @@ -1,29 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/glacier-2012-06-01.php', - // Set default value for "accountId" for all requests - 'command.params' => array( - 'accountId' => '-', - Options::MODEL_PROCESSING => true - ) - )) - ->setExceptionParser(new JsonRestExceptionParser()) - ->setIteratorsConfig(array( - 'limit_param' => 'limit', - 'token_param' => 'marker', - 'token_key' => 'Marker', - 'operations' => array( - 'ListJobs' => array( - 'result_key' => 'JobList' - ), - 'ListMultipartUploads' => array( - 'result_key' => 'UploadsList' - ), - 'ListParts' => array( - 'result_key' => 'Parts' - ), - 'ListVaults' => array( - 'result_key' => 'VaultList' - ) - ) - )) - ->build(); - - // Add the Glacier version header required for all operations - $client->getDefaultHeaders()->set('x-amz-glacier-version', $client->getDescription()->getApiVersion()); - - // Allow for specifying bodies with file paths and file handles - $uploadOperations = array('UploadArchive', 'UploadMultipartPart'); - $client->addSubscriber(new UploadBodyListener($uploadOperations, 'body', 'sourceFile')); - - // Listen for upload operations and make sure the required hash headers are added - $client->addSubscriber(new GlacierUploadListener()); - - return $client; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/GlacierUploadListener.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/GlacierUploadListener.php deleted file mode 100644 index 2e95cdd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/GlacierUploadListener.php +++ /dev/null @@ -1,63 +0,0 @@ - array('onCommandBeforeSend'), - ); - } - - /** - * Retrieve bodies passed in as UploadPartContext objects and set the real hash, length, etc. values on the command - * - * @param Event $event Event emitted - */ - public function onCommandBeforeSend(Event $event) - { - /** @var $command AbstractCommand */ - $command = $event['command']; - $contentHash = $command->get('ContentSHA256'); - if ($contentHash === true) { - /** @var $request EntityEnclosingRequest */ - $request = $command->getRequest(); - $upload = UploadPartGenerator::createSingleUploadPart($request->getBody()); - $request->addHeader('x-amz-content-sha256', $upload->getContentHash()); - if (!$command->get('checksum')) { - $request->addHeader('x-amz-sha256-tree-hash', $upload->getChecksum()); - } - } elseif (is_string($contentHash)) { - $request = $command->getRequest(); - $request->addHeader('x-amz-content-sha256', $contentHash); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/AbstractTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/AbstractTransfer.php deleted file mode 100644 index d7b1a74..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/AbstractTransfer.php +++ /dev/null @@ -1,105 +0,0 @@ -state->getPartGenerator()->getPartSize(); - } - - /** - * {@inheritdoc} - */ - protected function complete() - { - $partGenerator = $this->state->getPartGenerator(); - - $params = array_replace($this->state->getUploadId()->toParams(), array( - 'archiveSize' => $partGenerator->getArchiveSize(), - 'checksum' => $partGenerator->getRootChecksum(), - Ua::OPTION => Ua::MULTIPART_UPLOAD - )); - $command = $this->client->getCommand('CompleteMultipartUpload', $params); - - return $command->getResult(); - } - - /** - * {@inheritdoc} - */ - protected function getAbortCommand() - { - $params = $this->state->getUploadId()->toParams(); - $params[Ua::OPTION] = Ua::MULTIPART_UPLOAD; - - /** @var $command OperationCommand */ - $command = $this->client->getCommand('AbortMultipartUpload', $params); - - return $command; - } - - /** - * Creates an UploadMultipartPart command from an UploadPart object - * - * @param UploadPart $part UploadPart for which to create a command - * @param bool $useSourceCopy Whether or not to use the original source or a copy of it - * - * @return OperationCommand - */ - protected function getCommandForPart(UploadPart $part, $useSourceCopy = false) - { - // Setup the command with identifying parameters (accountId, vaultName, and uploadId) - /** @var $command OperationCommand */ - $command = $this->client->getCommand('UploadMultipartPart', $this->state->getUploadId()->toParams()); - $command->set(Ua::OPTION, Ua::MULTIPART_UPLOAD); - - // Get the correct source - $source = $this->source; - if ($useSourceCopy) { - $sourceUri = $this->source->getUri(); - $source = new EntityBody(fopen($sourceUri, 'r')); - } - - // Add the range, checksum, and the body limited by the range - $command->set('range', $part->getFormattedRange()); - $command->set('checksum', $part->getChecksum()); - $command->set('ContentSHA256', $part->getContentHash()); - $command->set('body', new ReadLimitEntityBody($source, $part->getSize(), $part->getOffset())); - - return $command; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/ParallelTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/ParallelTransfer.php deleted file mode 100644 index 8f6c0e0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/ParallelTransfer.php +++ /dev/null @@ -1,75 +0,0 @@ -source->isLocal() || $this->source->getWrapper() != 'plainfile') { - throw new RuntimeException('The source data must be a local file stream when uploading in parallel.'); - } - - if (empty($this->options['concurrency'])) { - throw new RuntimeException('The `concurrency` option must be specified when instantiating.'); - } - } - - /** - * {@inheritdoc} - */ - protected function transfer() - { - /** @var $parts UploadPartGenerator */ - $parts = $this->state->getPartGenerator(); - $chunkSize = min($this->options['concurrency'], count($parts)); - $partSets = new ChunkedIterator($parts, $chunkSize); - - foreach ($partSets as $partSet) { - /** @var $part UploadPart */ - $commands = array(); - foreach ($partSet as $index => $part) { - $command = $this->getCommandForPart($part, (bool) $index)->set('part', $part); - $this->dispatch(self::BEFORE_PART_UPLOAD, $this->getEventData($command)); - $commands[] = $command; - } - - // Allow listeners to stop the transfer if needed - if ($this->stopped) { - break; - } - - // Execute each command, iterate over the results, and add to the transfer state - /** @var $command \Guzzle\Service\Command\OperationCommand */ - foreach ($this->client->execute($commands) as $command) { - $this->state->addPart($command->get('part')); - $this->dispatch(self::AFTER_PART_UPLOAD, $this->getEventData($command)); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/SerialTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/SerialTransfer.php deleted file mode 100644 index f23dfb1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/SerialTransfer.php +++ /dev/null @@ -1,52 +0,0 @@ -state->getPartGenerator(); - - /** @var $part UploadPart */ - foreach ($partGenerator as $part) { - $command = $this->getCommandForPart($part); - - // Notify observers that the part is about to be uploaded - $eventData = $this->getEventData($command); - $this->dispatch(self::BEFORE_PART_UPLOAD, $eventData); - - // Allow listeners to stop the transfer if needed - if ($this->stopped) { - break; - } - - $command->execute(); - $this->state->addPart($part); - - // Notify observers that the part was uploaded - $this->dispatch(self::AFTER_PART_UPLOAD, $eventData); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/TransferState.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/TransferState.php deleted file mode 100644 index a4abeb2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/TransferState.php +++ /dev/null @@ -1,79 +0,0 @@ -getIterator('ListParts', $uploadId->toParams()); - - foreach ($listParts as $part) { - list($firstByte, $lastByte) = explode('-', $part['RangeInBytes']); - $partSize = (float) $listParts->getLastResult()->get('PartSizeInBytes'); - $partData = array( - 'partNumber' => $firstByte / $partSize + 1, - 'checksum' => $part['SHA256TreeHash'], - 'contentHash' => self::ALREADY_UPLOADED, - 'size' => $lastByte - $firstByte + 1, - 'offset' => $firstByte - ); - $transferState->addPart(UploadPart::fromArray($partData)); - } - - return $transferState; - } - - /** - * @param UploadPartGenerator $partGenerator Glacier upload helper object - * - * @return self - */ - public function setPartGenerator(UploadPartGenerator $partGenerator) - { - $this->partGenerator = $partGenerator; - - return $this; - } - - /** - * @return UploadPartGenerator Glacier upload helper object - */ - public function getPartGenerator() - { - return $this->partGenerator; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadBuilder.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadBuilder.php deleted file mode 100644 index df07baa..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadBuilder.php +++ /dev/null @@ -1,218 +0,0 @@ -accountId = $accountId; - - return $this; - } - - /** - * Set the vault name to upload the part to - * - * @param string $vaultName Name of the vault - * - * @return self - */ - public function setVaultName($vaultName) - { - $this->vaultName = $vaultName; - - return $this; - } - - /** - * Set the upload part size - * - * @param int $partSize Upload part size - * - * @return self - */ - public function setPartSize($partSize) - { - $this->partSize = (int) $partSize; - - return $this; - } - - /** - * Set the archive description - * - * @param string $archiveDescription Archive description - * - * @return self - */ - public function setArchiveDescription($archiveDescription) - { - $this->archiveDescription = $archiveDescription; - - return $this; - } - - /** - * Set the concurrency level to use when uploading parts. This affects how many parts are uploaded in parallel. You - * must use a local file as your data source when using a concurrency greater than 1 - * - * @param int $concurrency Concurrency level - * - * @return self - */ - public function setConcurrency($concurrency) - { - $this->concurrency = $concurrency; - - return $this; - } - - /** - * Sets the Glacier upload helper object that pre-calculates hashes and sizes for all upload parts - * - * @param UploadPartGenerator $partGenerator Glacier upload helper object - * - * @return self - */ - public function setPartGenerator(UploadPartGenerator $partGenerator) - { - $this->partGenerator = $partGenerator; - - return $this; - } - - /** - * {@inheritdoc} - * @throws InvalidArgumentException when attempting to resume a transfer using a non-seekable stream - * @throws InvalidArgumentException when missing required properties (bucket, key, client, source) - */ - public function build() - { - // If a Glacier upload helper object was set, use the source and part size from it - if ($this->partGenerator) { - $this->partSize = $this->partGenerator->getPartSize(); - } - - if (!($this->state instanceof State) && !$this->vaultName || !$this->client || !$this->source) { - throw new InvalidArgumentException('You must specify a vault name, client, and source.'); - } - - if (!$this->source->isSeekable()) { - throw new InvalidArgumentException('You cannot upload from a non-seekable source.'); - } - - // If no state was set, then create one by initiating or loading a multipart upload - if (is_string($this->state)) { - if (!$this->partGenerator) { - throw new InvalidArgumentException('You must provide an UploadPartGenerator when resuming an upload.'); - } - /** @var $state \Aws\Glacier\Model\MultipartUpload\TransferState */ - $this->state = TransferState::fromUploadId($this->client, UploadId::fromParams(array( - 'accountId' => $this->accountId, - 'vaultName' => $this->vaultName, - 'uploadId' => $this->state - ))); - $this->state->setPartGenerator($this->partGenerator); - } elseif (!$this->state) { - $this->state = $this->initiateMultipartUpload(); - } - - $options = array( - 'concurrency' => $this->concurrency - ); - - return $this->concurrency > 1 - ? new ParallelTransfer($this->client, $this->state, $this->source, $options) - : new SerialTransfer($this->client, $this->state, $this->source, $options); - } - - /** - * {@inheritdoc} - */ - protected function initiateMultipartUpload() - { - $params = array( - 'accountId' => $this->accountId, - 'vaultName' => $this->vaultName - ); - - $partGenerator = $this->partGenerator ?: UploadPartGenerator::factory($this->source, $this->partSize); - - $command = $this->client->getCommand('InitiateMultipartUpload', array_replace($params, array( - 'command.headers' => $this->headers, - 'partSize' => $partGenerator->getPartSize(), - 'archiveDescription' => $this->archiveDescription, - Ua::OPTION => Ua::MULTIPART_UPLOAD - ))); - $params['uploadId'] = $command->getResult()->get('uploadId'); - - // Create a new state based on the initiated upload - $state = new TransferState(UploadId::fromParams($params)); - $state->setPartGenerator($partGenerator); - - return $state; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadId.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadId.php deleted file mode 100644 index 2b5a150..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadId.php +++ /dev/null @@ -1,35 +0,0 @@ - '-', - 'uploadId' => false, - 'vaultName' => false - ); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPart.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPart.php deleted file mode 100644 index ef79aac..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPart.php +++ /dev/null @@ -1,110 +0,0 @@ - 'partNumber', - 'checksum' => 'checksum', - 'contentHash' => 'contentHash', - 'size' => 'size', - 'offset' => 'offset' - ); - - /** - * @var string The sha256 tree hash of the upload body - */ - protected $checksum; - - /** - * @var string The sha256 linear hash of the upload body - */ - protected $contentHash; - - /** - * @var int The size (or content-length) in bytes of the upload body - */ - protected $size; - - /** - * @var int The starting offset byte of the upload body - */ - protected $offset; - - /** - * @return string - */ - public function getChecksum() - { - return $this->checksum; - } - - /** - * @return string - */ - public function getContentHash() - { - return $this->contentHash; - } - - /** - * @return int - */ - public function getSize() - { - return $this->size; - } - - /** - * @return int - */ - public function getOffset() - { - return $this->offset; - } - - /** - * Returns the byte range of the part as an array - * - * @return array - */ - public function getRange() - { - return array($this->offset, $this->offset + $this->size - 1); - } - - /** - * Returns the byte range ot the part formatted for the Content-Range header - * - * @return string - */ - public function getFormattedRange() - { - list($firstByte, $lastByte) = $this->getRange(); - - return "bytes {$firstByte}-{$lastByte}/*"; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPartContext.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPartContext.php deleted file mode 100644 index 0706609..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPartContext.php +++ /dev/null @@ -1,138 +0,0 @@ -maxSize = $maxSize; - $this->offset = $offset; - $this->size = 0; - - $this->treeHash = new TreeHash(); - $this->chunkHash = new ChunkHash(); - } - - /** - * Adds data to the context. This adds data to both the tree and chunk hashes and increases the size - * - * @param string $data Data to add to the context - * - * @return self - * @throws LogicException when the context is already finalized - */ - public function addData($data) - { - $size = strlen($data); - - if ($this->size + $size > $this->maxSize) { - throw new LogicException('You cannot add data that will exceed the maximum size of this upload.'); - } - - try { - $this->treeHash->addData($data); - $this->chunkHash->addData($data); - $this->size += $size; - } catch (LogicException $e) { - throw new LogicException('You cannot add data to a finalized UploadPartContext.', 0, $e); - } - - return $this; - } - - /** - * Finalizes the context by calculating the final hashes and generates an upload part object - * - * @return UploadPart - */ - public function generatePart() - { - if (!$this->uploadPart) { - $this->uploadPart = UploadPart::fromArray(array( - 'partNumber' => (int) ($this->offset / $this->maxSize + 1), - 'checksum' => $this->treeHash->getHash(), - 'contentHash' => $this->chunkHash->getHash(), - 'size' => $this->size, - 'offset' => $this->offset - )); - } - - return $this->uploadPart; - } - - /** - * Checks if the size of the context is the same as the maximum size - * - * @return bool - */ - public function isFull() - { - return $this->size === $this->maxSize; - } - - /** - * Checks if the size of the context is 0 - * - * @return bool - */ - public function isEmpty() - { - return $this->size === 0; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPartGenerator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPartGenerator.php deleted file mode 100644 index 9f3bfc0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Model/MultipartUpload/UploadPartGenerator.php +++ /dev/null @@ -1,273 +0,0 @@ - 1) { - // @codeCoverageIgnoreStart - throw new RuntimeException('You cannot create a single upload that is larger than 4 GB.'); - // @codeCoverageIgnoreEnd - } - - return $generator->getUploadPart(1); - } - - /** - * @param EntityBodyInterface $body The upload body - * @param int $partSize The size of parts to split the upload into. Default is the 4GB max - * - * @throws InvalidArgumentException when the part size is invalid (i.e. not a power of 2 of 1MB) - * @throws InvalidArgumentException when the body is not seekable (must be able to rewind after calculating hashes) - */ - public function __construct(EntityBodyInterface $body, $partSize) - { - $this->partSize = $partSize; - - // Make sure the part size is valid - $validPartSizes = array_map(function ($value) {return pow(2, $value) * Size::MB;}, range(0, 12)); - if (!in_array($this->partSize, $validPartSizes)) { - throw new InvalidArgumentException('The part size must be a megabyte multiplied by a power of 2 and no ' - . 'greater than 4 gigabytes.'); - } - - // Validate body - if (!$body->isSeekable()) { - throw new InvalidArgumentException('The upload body must be seekable.'); - } - - $this->generateUploadParts($body); - } - - /** - * Returns a single upload part from the calculated uploads by part number. By default it returns the first, which - * is useful behavior if there is only one upload. - * - * @param int $partNumber The numerical index of the upload - * - * @return UploadPart - * @throws OutOfBoundsException if the index of the upload doesn't exist - */ - public function getUploadPart($partNumber) - { - $partNumber = (int) $partNumber; - - // Get the upload at the index if it exists - if (isset($this->uploadParts[$partNumber - 1])) { - return $this->uploadParts[$partNumber - 1]; - } else { - throw new OutOfBoundsException("An upload part with part number {$partNumber} at index did not exist."); - } - } - /** - * @return array - */ - public function getAllParts() - { - return $this->uploadParts; - } - - /** - * @return array - */ - public function getArchiveSize() - { - return $this->archiveSize; - } - - /** - * @return string - */ - public function getRootChecksum() - { - if (!$this->rootChecksum) { - $this->rootChecksum = TreeHash::fromChecksums(array_map(function (UploadPart $part) { - return $part->getChecksum(); - }, $this->uploadParts))->getHash(); - } - - return $this->rootChecksum; - } - - /** - * @return string - */ - public function getPartSize() - { - return $this->partSize; - } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return serialize(array( - 'uploadParts' => $this->uploadParts, - 'archiveSize' => $this->archiveSize, - 'partSize' => $this->partSize - )); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - // Unserialize data - $data = unserialize($serialized); - - // Set properties - foreach (array('uploadParts', 'archiveSize', 'partSize') as $property) { - if (isset($data[$property])) { - $this->{$property} = $data[$property]; - } else { - throw new RuntimeException(sprintf('Cannot unserialize the %s class. The %s property is missing.', - __CLASS__, $property - )); - } - } - } - - /** - * {@inheritdoc} - */ - public function getIterator() - { - return new \ArrayIterator($this->uploadParts); - } - - /** - * {@inheritdoc} - */ - public function count() - { - return count($this->uploadParts); - } - - /** - * Performs the work of reading the body stream, creating tree hashes, and creating UploadPartContext objects - * - * @param EntityBodyInterface $body The body to create parts from - */ - protected function generateUploadParts(EntityBodyInterface $body) - { - // Rewind the body stream - $body->seek(0); - - // Initialize variables for tracking data for upload - $uploadContext = new UploadPartContext($this->partSize, $body->ftell()); - - // Read the data from the streamed body in 1MB chunks - while ($data = $body->read(min($this->partSize, Size::MB))) { - // Add data to the hashes and size calculations - $uploadContext->addData($data); - - // If the upload part is complete, generate an upload object and reset the currently tracked upload data - if ($uploadContext->isFull()) { - $this->updateTotals($uploadContext->generatePart()); - $uploadContext = new UploadPartContext($this->partSize, $body->ftell()); - } - } - - // Handle any leftover data - if (!$uploadContext->isEmpty()) { - $this->updateTotals($uploadContext->generatePart()); - } - - // Rewind the body stream - $body->seek(0); - } - - /** - * Updated the upload helper running totals and tree hash with the data from a complete upload part - * - * @param UploadPart $part The newly completed upload part - * - * @throws OverflowException if the maximum number of allowed upload parts is exceeded - */ - protected function updateTotals(UploadPart $part) - { - // Throw an exception if there are more parts than total allowed - if ($part->getPartNumber() > self::MAX_NUM_PARTS) { - // @codeCoverageIgnoreStart - throw new OverflowException('An archive must be uploaded in ' . self::MAX_NUM_PARTS . ' parts or less.'); - // @codeCoverageIgnoreEnd - } - - $this->uploadParts[] = $part; - $this->archiveSize += $part->getSize(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Resources/glacier-2012-06-01.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Resources/glacier-2012-06-01.php deleted file mode 100644 index a33898b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Glacier/Resources/glacier-2012-06-01.php +++ /dev/null @@ -1,1563 +0,0 @@ - '2012-06-01', - 'endpointPrefix' => 'glacier', - 'serviceFullName' => 'Amazon Glacier', - 'serviceType' => 'rest-json', - 'signatureVersion' => 'v4', - 'namespace' => 'Glacier', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'glacier.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'glacier.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'glacier.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'glacier.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'glacier.ap-northeast-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AbortMultipartUpload' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This operation aborts a multipart upload identified by the upload ID.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'uploadId' => array( - 'required' => true, - 'description' => 'The upload ID of the multipart upload to delete.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'CompleteMultipartUpload' => array( - 'httpMethod' => 'POST', - 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ArchiveCreationOutput', - 'responseType' => 'model', - 'summary' => 'You call this operation to inform Amazon Glacier that all the archive parts have been uploaded and that Amazon Glacier can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Amazon Glacier returns the URI path of the newly created archive resource. Using the URI path, you can then access the archive. After you upload an archive, you should save the archive ID returned to retrieve the archive at a later point. You can also get the vault inventory to obtain a list of archive IDs in a vault. For more information, see InitiateJob.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'uploadId' => array( - 'required' => true, - 'description' => 'The upload ID of the multipart upload.', - 'type' => 'string', - 'location' => 'uri', - ), - 'archiveSize' => array( - 'description' => 'The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-archive-size', - ), - 'checksum' => array( - 'description' => 'The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon Glacier, Amazon Glacier returns an error and the request fails.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-sha256-tree-hash', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'CreateVault' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{accountId}/vaults/{vaultName}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateVaultOutput', - 'responseType' => 'model', - 'summary' => 'This operation creates a new vault with the specified name. The name of the vault must be unique within a region for an AWS account. You can create up to 1,000 vaults per account. If you need to create more vaults, contact Amazon Glacier.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - array( - 'reason' => 'Returned if the request results in a vault or account limit being exceeded.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'DeleteArchive' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{accountId}/vaults/{vaultName}/archives/{archiveId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This operation deletes an archive from a vault. Subsequent requests to initiate a retrieval of this archive will fail. Archive retrievals that are in progress for this archive ID may or may not succeed according to the following scenarios:', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'archiveId' => array( - 'required' => true, - 'description' => 'The ID of the archive to delete.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'DeleteVault' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{accountId}/vaults/{vaultName}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This operation deletes a vault. Amazon Glacier will delete a vault only if there are no archives in the vault as of the last inventory and there have been no writes to the vault since the last inventory. If either of these conditions is not satisfied, the vault deletion fails (that is, the vault is not removed) and Amazon Glacier returns an error. You can use DescribeVault to return the number of archives in a vault, and you can use Initiate a Job (POST jobs) to initiate a new inventory retrieval for a vault. The inventory contains the archive IDs you use to delete archives using Delete Archive (DELETE archive).', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'DeleteVaultNotifications' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{accountId}/vaults/{vaultName}/notification-configuration', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This operation deletes the notification configuration set for a vault. The operation is eventually consistent;that is, it might take some time for Amazon Glacier to completely disable the notifications and you might still receive some notifications for a short time after you send the delete request.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'DescribeJob' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}/jobs/{jobId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GlacierJobDescription', - 'responseType' => 'model', - 'summary' => 'This operation returns information about a job you previously initiated, including the job initiation date, the user who initiated the job, the job status code/message and the Amazon SNS topic to notify after Amazon Glacier completes the job. For more information about initiating a job, see InitiateJob.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'jobId' => array( - 'required' => true, - 'description' => 'The ID of the job to describe.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'DescribeVault' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'DescribeVaultOutput', - 'responseType' => 'model', - 'summary' => 'This operation returns information about a vault, including the vault\'s Amazon Resource Name (ARN), the date the vault was created, the number of archives it contains, and the total size of all the archives in the vault. The number of archives and their total size are as of the last inventory generation. This means that if you add or remove an archive from a vault, and then immediately use Describe Vault, the change in contents will not be immediately reflected. If you want to retrieve the latest inventory of the vault, use InitiateJob. Amazon Glacier generates vault inventories approximately daily. For more information, see Downloading a Vault Inventory in Amazon Glacier.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'GetJobOutput' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}/jobs/{jobId}/output', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetJobOutputOutput', - 'responseType' => 'model', - 'summary' => 'This operation downloads the output of the job you initiated using InitiateJob. Depending on the job type you specified when you initiated the job, the output will be either the content of an archive or a vault inventory.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'jobId' => array( - 'required' => true, - 'description' => 'The job ID whose data is downloaded.', - 'type' => 'string', - 'location' => 'uri', - ), - 'range' => array( - 'description' => 'The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, specify "Range: bytes=0-1048575". By default, this operation downloads the entire output.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Range', - ), - 'saveAs' => array( - 'description' => 'Specify where the contents of the operation should be downloaded. Can be the path to a file, a resource returned by fopen, or a Guzzle\\Http\\EntityBodyInterface object.', - 'location' => 'response_body', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'GetVaultNotifications' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}/notification-configuration', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetVaultNotificationsOutput', - 'responseType' => 'model', - 'summary' => 'This operation retrieves the notification-configuration subresource of the specified vault.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'InitiateJob' => array( - 'httpMethod' => 'POST', - 'uri' => '/{accountId}/vaults/{vaultName}/jobs', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'InitiateJobOutput', - 'responseType' => 'model', - 'summary' => 'This operation initiates a job of the specified type. In this release, you can initiate a job to retrieve either an archive or a vault inventory (a list of archives in a vault).', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Format' => array( - 'description' => 'When initiating a job to retrieve a vault inventory, you can optionally add this parameter to your request to specify the output format. If you are initiating an inventory job and do not specify a Format field, JSON is the default format. Valid Values are "CSV" and "JSON".', - 'type' => 'string', - 'location' => 'json', - ), - 'Type' => array( - 'description' => 'The job type. You can initiate a job to retrieve an archive or get an inventory of a vault. Valid Values are "archive-retrieval" and "inventory-retrieval".', - 'type' => 'string', - 'location' => 'json', - ), - 'ArchiveId' => array( - 'description' => 'The ID of the archive that you want to retrieve. This field is required only if Type is set to archive-retrieval. An error occurs if you specify this request parameter for an inventory retrieval job request.', - 'type' => 'string', - 'location' => 'json', - ), - 'Description' => array( - 'description' => 'The optional description for the job. The description must be less than or equal to 1,024 bytes. The allowable characters are 7-bit ASCII without control codes—specifically, ASCII values 32—126 decimal or 0x20—0x7E hexadecimal.', - 'type' => 'string', - 'location' => 'json', - ), - 'SNSTopic' => array( - 'description' => 'The Amazon SNS topic ARN to which Amazon Glacier sends a notification when the job is completed and the output is ready for you to download. The specified topic publishes the notification to its subscribers. The SNS topic must exist.', - 'type' => 'string', - 'location' => 'json', - ), - 'RetrievalByteRange' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'InitiateMultipartUpload' => array( - 'httpMethod' => 'POST', - 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'InitiateMultipartUploadOutput', - 'responseType' => 'model', - 'summary' => 'This operation initiates a multipart upload. Amazon Glacier creates a multipart upload resource and returns its ID in the response. The multipart upload ID is used in subsequent requests to upload parts of an archive (see UploadMultipartPart).', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'archiveDescription' => array( - 'description' => 'The archive description that you are uploading in parts.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-archive-description', - ), - 'partSize' => array( - 'description' => 'The size of each part except the last, in bytes. The last part can be smaller than this part size.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-part-size', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'ListJobs' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}/jobs', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListJobsOutput', - 'responseType' => 'model', - 'summary' => 'This operation lists jobs for a vault, including jobs that are in-progress and jobs that have recently finished.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'limit' => array( - 'description' => 'Specifies that the response be limited to the specified number of items or fewer. If not specified, the List Jobs operation returns up to 1,000 jobs.', - 'type' => 'string', - 'location' => 'query', - ), - 'marker' => array( - 'description' => 'An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You need only include the marker if you are continuing the pagination of results started in a previous List Jobs request.', - 'type' => 'string', - 'location' => 'query', - ), - 'statuscode' => array( - 'description' => 'Specifies the type of job status to return. You can specify the following values: "InProgress", "Succeeded", or "Failed".', - 'type' => 'string', - 'location' => 'query', - ), - 'completed' => array( - 'description' => 'Specifies the state of the jobs to return. You can specify true or false.', - 'type' => 'string', - 'location' => 'query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'ListMultipartUploads' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListMultipartUploadsOutput', - 'responseType' => 'model', - 'summary' => 'This operation lists in-progress multipart uploads for the specified vault. An in-progress multipart upload is a multipart upload that has been initiated by an InitiateMultipartUpload request, but has not yet been completed or aborted. The list returned in the List Multipart Upload response has no guaranteed order.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'limit' => array( - 'description' => 'Specifies the maximum number of uploads returned in the response body. If this value is not specified, the List Uploads operation returns up to 1,000 uploads.', - 'type' => 'string', - 'location' => 'query', - ), - 'marker' => array( - 'description' => 'An opaque string used for pagination. This value specifies the upload at which the listing of uploads should begin. Get the marker value from a previous List Uploads response. You need only include the marker if you are continuing the pagination of results started in a previous List Uploads request.', - 'type' => 'string', - 'location' => 'query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'ListParts' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListPartsOutput', - 'responseType' => 'model', - 'summary' => 'This operation lists the parts of an archive that have been uploaded in a specific multipart upload. You can make this request at any time during an in-progress multipart upload before you complete the upload (see CompleteMultipartUpload. List Parts returns an error for completed uploads. The list returned in the List Parts response is sorted by part range.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'uploadId' => array( - 'required' => true, - 'description' => 'The upload ID of the multipart upload.', - 'type' => 'string', - 'location' => 'uri', - ), - 'marker' => array( - 'description' => 'An opaque string used for pagination. This value specifies the part at which the listing of parts should begin. Get the marker value from the response of a previous List Parts response. You need only include the marker if you are continuing the pagination of results started in a previous List Parts request.', - 'type' => 'string', - 'location' => 'query', - ), - 'limit' => array( - 'description' => 'Specifies the maximum number of parts returned in the response body. If this value is not specified, the List Parts operation returns up to 1,000 uploads.', - 'type' => 'string', - 'location' => 'query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'ListVaults' => array( - 'httpMethod' => 'GET', - 'uri' => '/{accountId}/vaults', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListVaultsOutput', - 'responseType' => 'model', - 'summary' => 'This operation lists all vaults owned by the calling user\'s account. The list returned in the response is ASCII-sorted by vault name.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'marker' => array( - 'description' => 'A string used for pagination. The marker specifies the vault ARN after which the listing of vaults should begin.', - 'type' => 'string', - 'location' => 'query', - ), - 'limit' => array( - 'description' => 'The maximum number of items returned in the response. If you don\'t specify a value, the List Vaults operation returns up to 1,000 items.', - 'type' => 'string', - 'location' => 'query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'SetVaultNotifications' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{accountId}/vaults/{vaultName}/notification-configuration', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This operation configures notifications that will be sent when specific events happen to a vault. By default, you don\'t get any notifications.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'SNSTopic' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).', - 'type' => 'string', - 'location' => 'json', - ), - 'Events' => array( - 'description' => 'A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'string', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'UploadArchive' => array( - 'httpMethod' => 'POST', - 'uri' => '/{accountId}/vaults/{vaultName}/archives', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ArchiveCreationOutput', - 'responseType' => 'model', - 'summary' => 'This operation adds an archive to a vault. This is a synchronous operation, and for a successful upload, your data is durably persisted. Amazon Glacier returns the archive ID in the x-amz-archive-id header of the response.', - 'parameters' => array( - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'archiveDescription' => array( - 'description' => 'The optional description of the archive you are uploading.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-archive-description', - ), - 'checksum' => array( - 'description' => 'The SHA256 checksum (a linear hash) of the payload.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-sha256-tree-hash', - ), - 'body' => array( - 'description' => 'The data to upload.', - 'type' => array( - 'string', - 'object', - ), - 'location' => 'body', - ), - 'ContentSHA256' => array( - 'description' => 'SHA256 checksum of the body.', - 'default' => true, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.', - 'class' => 'RequestTimeoutException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - 'UploadMultipartPart' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'UploadMultipartPartOutput', - 'responseType' => 'model', - 'summary' => 'This operation uploads a part of an archive. You can upload archive parts in any order. You can also upload them in parallel. You can upload up to 10,000 parts for a multipart upload.', - 'parameters' => array( - 'accountId' => array( - 'required' => true, - 'description' => 'The AccountId is the AWS Account ID. You can specify either the AWS Account ID or optionally a \'-\', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.', - 'type' => 'string', - 'location' => 'uri', - ), - 'vaultName' => array( - 'required' => true, - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'uri', - ), - 'uploadId' => array( - 'required' => true, - 'description' => 'The upload ID of the multipart upload.', - 'type' => 'string', - 'location' => 'uri', - ), - 'checksum' => array( - 'description' => 'The SHA256 tree hash of the data being uploaded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-sha256-tree-hash', - ), - 'range' => array( - 'description' => 'Identifies the range of bytes in the assembled archive that will be uploaded in this part. Amazon Glacier uses this information to assemble the archive in the proper sequence. The format of this header follows RFC 2616. An example header is Content-Range:bytes 0-4194303/*.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Range', - ), - 'body' => array( - 'description' => 'The data to upload.', - 'type' => array( - 'string', - 'object', - ), - 'location' => 'body', - ), - 'ContentSHA256' => array( - 'description' => 'SHA256 checksum of the body.', - 'default' => true, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.', - 'class' => 'ResourceNotFoundException', - ), - array( - 'reason' => 'Returned if a parameter of the request is incorrectly specified.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'Returned if a required header or parameter is missing from the request.', - 'class' => 'MissingParameterValueException', - ), - array( - 'reason' => 'Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.', - 'class' => 'RequestTimeoutException', - ), - array( - 'reason' => 'Returned if the service cannot complete the request.', - 'class' => 'ServiceUnavailableException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'ArchiveCreationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'location' => array( - 'description' => 'The relative URI path of the newly added archive resource.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Location', - ), - 'checksum' => array( - 'description' => 'The checksum of the archive computed by Amazon Glacier.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-sha256-tree-hash', - ), - 'archiveId' => array( - 'description' => 'The ID of the archive. This value is also included as part of the location.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-archive-id', - ), - ), - ), - 'CreateVaultOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'location' => array( - 'description' => 'The URI of the vault that was created.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Location', - ), - ), - ), - 'GlacierJobDescription' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobId' => array( - 'description' => 'An opaque string that identifies an Amazon Glacier job.', - 'type' => 'string', - 'location' => 'json', - ), - 'JobDescription' => array( - 'description' => 'The job description you provided when you initiated the job.', - 'type' => 'string', - 'location' => 'json', - ), - 'Action' => array( - 'description' => 'The job type. It is either ArchiveRetrieval or InventoryRetrieval.', - 'type' => 'string', - 'location' => 'json', - ), - 'ArchiveId' => array( - 'description' => 'For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.', - 'type' => 'string', - 'location' => 'json', - ), - 'VaultARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.', - 'type' => 'string', - 'location' => 'json', - ), - 'CreationDate' => array( - 'description' => 'The UTC date when the job was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".', - 'type' => 'string', - 'location' => 'json', - ), - 'Completed' => array( - 'description' => 'The job status. When a job is completed, you get the job\'s output.', - 'type' => 'boolean', - 'location' => 'json', - ), - 'StatusCode' => array( - 'description' => 'The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.', - 'type' => 'string', - 'location' => 'json', - ), - 'StatusMessage' => array( - 'description' => 'A friendly message that describes the job status.', - 'type' => 'string', - 'location' => 'json', - ), - 'ArchiveSizeInBytes' => array( - 'description' => 'For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'InventorySizeInBytes' => array( - 'description' => 'For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'SNSTopic' => array( - 'description' => 'An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.', - 'type' => 'string', - 'location' => 'json', - ), - 'CompletionDate' => array( - 'description' => 'The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.', - 'type' => 'string', - 'location' => 'json', - ), - 'SHA256TreeHash' => array( - 'description' => 'For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.', - 'type' => 'string', - 'location' => 'json', - ), - 'ArchiveSHA256TreeHash' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'RetrievalByteRange' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DescribeVaultOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VaultARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the vault.', - 'type' => 'string', - 'location' => 'json', - ), - 'VaultName' => array( - 'description' => 'The name of the vault.', - 'type' => 'string', - 'location' => 'json', - ), - 'CreationDate' => array( - 'description' => 'The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".', - 'type' => 'string', - 'location' => 'json', - ), - 'LastInventoryDate' => array( - 'description' => 'The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".', - 'type' => 'string', - 'location' => 'json', - ), - 'NumberOfArchives' => array( - 'description' => 'The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'SizeInBytes' => array( - 'description' => 'Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.', - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'GetJobOutputOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'body' => array( - 'description' => 'The job data, either archive data or inventory data.', - 'type' => 'string', - 'instanceOf' => 'Guzzle\\Http\\EntityBody', - 'location' => 'body', - ), - 'checksum' => array( - 'description' => 'The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions: You get the entire range of the archive. You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header. You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-sha256-tree-hash', - ), - 'status' => array( - 'description' => 'The HTTP response code for a job output request. The value depends on whether a range was specified in the request.', - 'type' => 'numeric', - 'location' => 'statusCode', - ), - 'contentRange' => array( - 'description' => 'The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Range', - ), - 'acceptRanges' => array( - 'description' => 'Indicates the range units accepted. For more information, go to RFC2616.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Accept-Ranges', - ), - 'contentType' => array( - 'description' => 'The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'archiveDescription' => array( - 'description' => 'The description of an archive.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-archive-description', - ), - ), - ), - 'GetVaultNotificationsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SNSTopic' => array( - 'description' => 'The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).', - 'type' => 'string', - 'location' => 'json', - ), - 'Events' => array( - 'description' => 'A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'string', - 'type' => 'string', - ), - ), - ), - ), - 'InitiateJobOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'location' => array( - 'description' => 'The relative URI path of the job.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Location', - ), - 'jobId' => array( - 'description' => 'The ID of the job.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-job-id', - ), - ), - ), - 'InitiateMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'location' => array( - 'description' => 'The relative URI path of the multipart upload ID Amazon Glacier created.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Location', - ), - 'uploadId' => array( - 'description' => 'The ID of the multipart upload. This value is also included as part of the location.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-multipart-upload-id', - ), - ), - ), - 'ListJobsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobList' => array( - 'description' => 'A list of job objects. Each job object contains metadata describing the job.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'GlacierJobDescription', - 'description' => 'Describes an Amazon Glacier job.', - 'type' => 'object', - 'properties' => array( - 'JobId' => array( - 'description' => 'An opaque string that identifies an Amazon Glacier job.', - 'type' => 'string', - ), - 'JobDescription' => array( - 'description' => 'The job description you provided when you initiated the job.', - 'type' => 'string', - ), - 'Action' => array( - 'description' => 'The job type. It is either ArchiveRetrieval or InventoryRetrieval.', - 'type' => 'string', - ), - 'ArchiveId' => array( - 'description' => 'For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.', - 'type' => 'string', - ), - 'VaultARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.', - 'type' => 'string', - ), - 'CreationDate' => array( - 'description' => 'The UTC date when the job was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".', - 'type' => 'string', - ), - 'Completed' => array( - 'description' => 'The job status. When a job is completed, you get the job\'s output.', - 'type' => 'boolean', - ), - 'StatusCode' => array( - 'description' => 'The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.', - 'type' => 'string', - ), - 'StatusMessage' => array( - 'description' => 'A friendly message that describes the job status.', - 'type' => 'string', - ), - 'ArchiveSizeInBytes' => array( - 'description' => 'For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null.', - 'type' => 'numeric', - ), - 'InventorySizeInBytes' => array( - 'description' => 'For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.', - 'type' => 'numeric', - ), - 'SNSTopic' => array( - 'description' => 'An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.', - 'type' => 'string', - ), - 'CompletionDate' => array( - 'description' => 'The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.', - 'type' => 'string', - ), - 'SHA256TreeHash' => array( - 'description' => 'For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.', - 'type' => 'string', - ), - 'ArchiveSHA256TreeHash' => array( - 'type' => 'string', - ), - 'RetrievalByteRange' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'An opaque string that represents where to continue pagination of the results. You use this value in a new List Jobs request to obtain more jobs in the list. If there are no more jobs, this value is null.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListMultipartUploadsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'UploadsList' => array( - 'description' => 'A list of in-progress multipart uploads.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'UploadListElement', - 'description' => 'A list of in-progress multipart uploads for a vault.', - 'type' => 'object', - 'properties' => array( - 'MultipartUploadId' => array( - 'description' => 'The ID of a multipart upload.', - 'type' => 'string', - ), - 'VaultARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the vault that contains the archive.', - 'type' => 'string', - ), - 'ArchiveDescription' => array( - 'description' => 'The description of the archive that was specified in the Initiate Multipart Upload request.', - 'type' => 'string', - ), - 'PartSizeInBytes' => array( - 'description' => 'The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.', - 'type' => 'numeric', - ), - 'CreationDate' => array( - 'description' => 'The UTC time at which the multipart upload was initiated.', - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'An opaque string that represents where to continue pagination of the results. You use the marker in a new List Multipart Uploads request to obtain more uploads in the list. If there are no more uploads, this value is null.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListPartsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MultipartUploadId' => array( - 'description' => 'The ID of the upload to which the parts are associated.', - 'type' => 'string', - 'location' => 'json', - ), - 'VaultARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'json', - ), - 'ArchiveDescription' => array( - 'description' => 'The description of the archive that was specified in the Initiate Multipart Upload request.', - 'type' => 'string', - 'location' => 'json', - ), - 'PartSizeInBytes' => array( - 'description' => 'The part size in bytes.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'CreationDate' => array( - 'description' => 'The UTC time at which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'json', - ), - 'Parts' => array( - 'description' => 'A list of the part sizes of the multipart upload.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'PartListElement', - 'description' => 'A list of the part sizes of the multipart upload.', - 'type' => 'object', - 'properties' => array( - 'RangeInBytes' => array( - 'description' => 'The byte range of a part, inclusive of the upper value of the range.', - 'type' => 'string', - ), - 'SHA256TreeHash' => array( - 'description' => 'The SHA256 tree hash value that Amazon Glacier calculated for the part. This field is never null.', - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListVaultsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VaultList' => array( - 'description' => 'List of vaults.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DescribeVaultOutput', - 'description' => 'Contains the Amazon Glacier response to your request.', - 'type' => 'object', - 'properties' => array( - 'VaultARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the vault.', - 'type' => 'string', - ), - 'VaultName' => array( - 'description' => 'The name of the vault.', - 'type' => 'string', - ), - 'CreationDate' => array( - 'description' => 'The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".', - 'type' => 'string', - ), - 'LastInventoryDate' => array( - 'description' => 'The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".', - 'type' => 'string', - ), - 'NumberOfArchives' => array( - 'description' => 'The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.', - 'type' => 'numeric', - ), - 'SizeInBytes' => array( - 'description' => 'Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.', - 'type' => 'numeric', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UploadMultipartPartOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'checksum' => array( - 'description' => 'The SHA256 tree hash that Amazon Glacier computed for the uploaded part.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-sha256-tree-hash', - ), - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'interval' => 3, - 'max_attempts' => 15, - ), - '__VaultState' => array( - 'operation' => 'DescribeVault', - ), - 'VaultExists' => array( - 'extends' => '__VaultState', - 'success.type' => 'output', - 'description' => 'Wait until a vault can be accessed.', - 'ignore_errors' => array( - 'ResourceNotFoundException', - ), - ), - 'VaultNotExists' => array( - 'extends' => '__VaultState', - 'description' => 'Wait until a vault is deleted.', - 'success.type' => 'error', - 'success.value' => 'ResourceNotFoundException', - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Iam/Enum/AssignmentStatusType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Iam/Enum/AssignmentStatusType.php deleted file mode 100644 index c9d1c6a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Iam/Enum/AssignmentStatusType.php +++ /dev/null @@ -1,29 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/iam-2010-05-08.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Iam/Resources/iam-2010-05-08.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Iam/Resources/iam-2010-05-08.php deleted file mode 100644 index 1811665..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Iam/Resources/iam-2010-05-08.php +++ /dev/null @@ -1,4793 +0,0 @@ - '2010-05-08', - 'endpointPrefix' => 'iam', - 'serviceFullName' => 'AWS Identity and Access Management', - 'serviceAbbreviation' => 'IAM', - 'serviceType' => 'query', - 'globalEndpoint' => 'iam.amazonaws.com', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'Iam', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'iam.us-gov.amazonaws.com', - ), - ), - 'operations' => array( - 'AddRoleToInstanceProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds the specified role to the specified instance profile. For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddRoleToInstanceProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'InstanceProfileName' => array( - 'required' => true, - 'description' => 'Name of the instance profile to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to add.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'AddUserToGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds the specified user to the specified group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddUserToGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to add.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'ChangePassword' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Changes the password of the IAM user calling ChangePassword. The root account password is not affected by this action. For information about modifying passwords, see Managing Passwords.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ChangePassword', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'OldPassword' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'NewPassword' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because the type of user for the transaction was incorrect.', - 'class' => 'InvalidUserTypeException', - ), - ), - ), - 'CreateAccessKey' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateAccessKeyResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new AWS Secret Access Key and corresponding AWS Access Key ID for the specified user. The default status for new keys is Active.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateAccessKey', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'The user name that the new key will belong to.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'CreateAccountAlias' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This action creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateAccountAlias', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'AccountAlias' => array( - 'required' => true, - 'description' => 'Name of the account alias to create.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 63, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - ), - ), - 'CreateGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateGroupResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'Path' => array( - 'description' => 'The path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group to create. Do not include the path in this value.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'CreateInstanceProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateInstanceProfileResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new instance profile. For information about instance profiles, go to About Instance Profiles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateInstanceProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'InstanceProfileName' => array( - 'required' => true, - 'description' => 'Name of the instance profile to create.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Path' => array( - 'description' => 'The path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - ), - ), - 'CreateLoginProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateLoginProfileResponse', - 'responseType' => 'model', - 'summary' => 'Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in Using IAM.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateLoginProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to create a password for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'Password' => array( - 'required' => true, - 'description' => 'The new password for the user name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because the provided password did not meet the requirements imposed by the account password policy.', - 'class' => 'PasswordPolicyViolationException', - ), - ), - ), - 'CreateRole' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateRoleResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new role for your AWS account. For more information about roles, go to Working with Roles. For information about limitations on role names and the number of roles you can create, go to Limitations on IAM Entities in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateRole', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'Path' => array( - 'description' => 'The path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to create.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'AssumeRolePolicyDocument' => array( - 'required' => true, - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 131072, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - ), - ), - 'CreateUser' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateUserResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new user for your AWS account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateUser', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'Path' => array( - 'description' => 'The path for the user name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to create.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'CreateVirtualMFADevice' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateVirtualMFADeviceResponse', - 'responseType' => 'model', - 'summary' => 'Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateVirtualMFADevice', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'Path' => array( - 'description' => 'The path for the virtual MFA device. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'VirtualMFADeviceName' => array( - 'required' => true, - 'description' => 'The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - ), - ), - 'DeactivateMFADevice' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeactivateMFADevice', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user whose MFA device you want to deactivate.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'SerialNumber' => array( - 'required' => true, - 'description' => 'The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 9, - 'maxLength' => 256, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.', - 'class' => 'EntityTemporarilyUnmodifiableException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteAccessKey' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the access key associated with the specified user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteAccessKey', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user whose key you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'AccessKeyId' => array( - 'required' => true, - 'description' => 'The Access Key ID for the Access Key ID and Secret Access Key you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 16, - 'maxLength' => 32, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteAccountAlias' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified AWS account alias. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteAccountAlias', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'AccountAlias' => array( - 'required' => true, - 'description' => 'Name of the account alias to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 3, - 'maxLength' => 63, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteAccountPasswordPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the password policy for the AWS account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteAccountPasswordPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified group. The group must not contain any users or have any attached policies.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.', - 'class' => 'DeleteConflictException', - ), - ), - ), - 'DeleteGroupPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified policy that is associated with the specified group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteGroupPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group the policy is associated with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteInstanceProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified instance profile. The instance profile must not have an associated role.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteInstanceProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'InstanceProfileName' => array( - 'required' => true, - 'description' => 'Name of the instance profile to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.', - 'class' => 'DeleteConflictException', - ), - ), - ), - 'DeleteLoginProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the password for the specified user, which terminates the user\'s ability to access AWS services through the AWS Management Console.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteLoginProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user whose password you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.', - 'class' => 'EntityTemporarilyUnmodifiableException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteRole' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified role. The role must not have any policies attached. For more information about roles, go to Working with Roles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteRole', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.', - 'class' => 'DeleteConflictException', - ), - ), - ), - 'DeleteRolePolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified policy associated with the specified role.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteRolePolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role the associated with the policy.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteServerCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified server certificate.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteServerCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'ServerCertificateName' => array( - 'required' => true, - 'description' => 'The name of the server certificate you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.', - 'class' => 'DeleteConflictException', - ), - ), - ), - 'DeleteSigningCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified signing certificate associated with the specified user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteSigningCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user the signing certificate belongs to.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'CertificateId' => array( - 'required' => true, - 'description' => 'ID of the signing certificate to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 24, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteUser' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified user. The user must not belong to any groups, have any keys or signing certificates, or have any attached policies.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteUser', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.', - 'class' => 'DeleteConflictException', - ), - ), - ), - 'DeleteUserPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified policy associated with the specified user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteUserPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user the policy is associated with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document to delete.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'DeleteVirtualMFADevice' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a virtual MFA device.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVirtualMFADevice', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'SerialNumber' => array( - 'required' => true, - 'description' => 'The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 9, - 'maxLength' => 256, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.', - 'class' => 'DeleteConflictException', - ), - ), - ), - 'EnableMFADevice' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Enables the specified MFA device and associates it with the specified user name. When enabled, the MFA device is required for every subsequent login by the user name associated with the device.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'EnableMFADevice', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user for whom you want to enable the MFA device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'SerialNumber' => array( - 'required' => true, - 'description' => 'The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 9, - 'maxLength' => 256, - ), - 'AuthenticationCode1' => array( - 'required' => true, - 'description' => 'An authentication code emitted by the device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 6, - 'maxLength' => 6, - ), - 'AuthenticationCode2' => array( - 'required' => true, - 'description' => 'A subsequent authentication code emitted by the device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 6, - 'maxLength' => 6, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.', - 'class' => 'EntityTemporarilyUnmodifiableException', - ), - array( - 'reason' => 'The request was rejected because the authentication code was not recognized. The error message describes the specific error.', - 'class' => 'InvalidAuthenticationCodeException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetAccountPasswordPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetAccountPasswordPolicyResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves the password policy for the AWS account. For more information about using a password policy, go to Managing an IAM Password Policy.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetAccountPasswordPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetAccountSummary' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetAccountSummaryResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves account level information about account entity usage and IAM quotas.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetAccountSummary', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - ), - ), - 'GetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetGroupResponse', - 'responseType' => 'model', - 'summary' => 'Returns a list of users that are in the specified group. You can paginate the results using the MaxItems and Marker parameters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetGroupPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetGroupPolicyResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves the specified policy document for the specified group. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetGroupPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group the policy is associated with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document to get.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetInstanceProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetInstanceProfileResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves information about the specified instance profile, including the instance profile\'s path, GUID, ARN, and role. For more information about instance profiles, go to About Instance Profiles. For more information about ARNs, go to ARNs.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetInstanceProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'InstanceProfileName' => array( - 'required' => true, - 'description' => 'Name of the instance profile to get information about.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetLoginProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetLoginProfileResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves the user name and password create date for the specified user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetLoginProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user whose login profile you want to retrieve.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetRole' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetRoleResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves information about the specified role, including the role\'s path, GUID, ARN, and the policy granting permission to EC2 to assume the role. For more information about ARNs, go to ARNs. For more information about roles, go to Working with Roles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetRole', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to get information about.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetRolePolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetRolePolicyResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves the specified policy document for the specified role. For more information about roles, go to Working with Roles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetRolePolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role associated with the policy.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document to get.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetServerCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetServerCertificateResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves information about the specified server certificate.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetServerCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'ServerCertificateName' => array( - 'required' => true, - 'description' => 'The name of the server certificate you want to retrieve information about.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetUser' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetUserResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves information about the specified user, including the user\'s path, GUID, and ARN.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetUser', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user to get information about.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'GetUserPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetUserPolicyResponse', - 'responseType' => 'model', - 'summary' => 'Retrieves the specified policy document for the specified user. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetUserPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user who the policy is associated with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document to get.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListAccessKeys' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListAccessKeysResponse', - 'responseType' => 'model', - 'summary' => 'Returns information about the Access Key IDs associated with the specified user. If there are none, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListAccessKeys', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of keys you want in the response. If there are additional keys beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListAccountAliases' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListAccountAliasesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the account aliases associated with the account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListAccountAliases', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of account aliases you want in the response. If there are additional account aliases beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'ListGroupPolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListGroupPoliciesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the names of the policies associated with the specified group. If there are none, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListGroupPolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'The name of the group to list policies for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of policy names you want in the response. If there are additional policy names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListGroupsResponse', - 'responseType' => 'model', - 'summary' => 'Lists the groups that have the specified path prefix.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'PathPrefix' => array( - 'description' => 'The path prefix for filtering the results. For example: /division_abc/subdivision_xyz/, which would get all groups whose path starts with /division_abc/subdivision_xyz/.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'ListGroupsForUser' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListGroupsForUserResponse', - 'responseType' => 'model', - 'summary' => 'Lists the groups the specified user belongs to.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListGroupsForUser', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'The name of the user to list groups for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListInstanceProfiles' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListInstanceProfilesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListInstanceProfiles', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'PathPrefix' => array( - 'description' => 'The path prefix for filtering the results. For example: /application_abc/component_xyz/, which would get all instance profiles whose path starts with /application_abc/component_xyz/.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'ListInstanceProfilesForRole' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListInstanceProfilesForRoleResponse', - 'responseType' => 'model', - 'summary' => 'Lists the instance profiles that have the specified associated role. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListInstanceProfilesForRole', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'The name of the role to list instance profiles for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListMFADevices' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListMFADevicesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the MFA devices. If the request includes the user name, then this action lists all the MFA devices associated with the specified user name. If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListMFADevices', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user whose MFA devices you want to list.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of MFA devices you want in the response. If there are additional MFA devices beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListRolePolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListRolePoliciesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the names of the policies associated with the specified role. If there are none, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListRolePolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'The name of the role to list policies for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListRoles' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListRolesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the roles that have the specified path prefix. If there are none, the action returns an empty list. For more information about roles, go to Working with Roles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListRoles', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'PathPrefix' => array( - 'description' => 'The path prefix for filtering the results. For example: /application_abc/component_xyz/, which would get all roles whose path starts with /application_abc/component_xyz/.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'ListServerCertificates' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListServerCertificatesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the server certificates that have the specified path prefix. If none exist, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListServerCertificates', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'PathPrefix' => array( - 'description' => 'The path prefix for filtering the results. For example: /company/servercerts would get all server certificates for which the path starts with /company/servercerts.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of server certificates you want in the response. If there are additional server certificates beyond the maximum you specify, the IsTruncated response element will be set to true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'ListSigningCertificates' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListSigningCertificatesResponse', - 'responseType' => 'model', - 'summary' => 'Returns information about the signing certificates associated with the specified user. If there are none, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListSigningCertificates', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'The name of the user.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of certificate IDs you want in the response. If there are additional certificate IDs beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListUserPolicies' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListUserPoliciesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the names of the policies associated with the specified user. If there are none, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListUserPolicies', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'The name of the user to list policies for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this only when paginating results to indicate the maximum number of policy names you want in the response. If there are additional policy names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ListUsers' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListUsersResponse', - 'responseType' => 'model', - 'summary' => 'Lists the users that have the specified path prefix. If there are none, the action returns an empty list.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListUsers', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'PathPrefix' => array( - 'description' => 'The path prefix for filtering the results. For example: /division_abc/subdivision_xyz/, which would get all user names whose path starts with /division_abc/subdivision_xyz/.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'ListVirtualMFADevices' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListVirtualMFADevicesResponse', - 'responseType' => 'model', - 'summary' => 'Lists the virtual MFA devices under the AWS account by assignment status. If you do not specify an assignment status, the action returns a list of all virtual MFA devices. Assignment status can be Assigned, Unassigned, or Any.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListVirtualMFADevices', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'AssignmentStatus' => array( - 'description' => 'The status (unassigned or assigned) of the devices to list. If you do not specify an AssignmentStatus, the action defaults to Any which lists both assigned and unassigned virtual MFA devices.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Assigned', - 'Unassigned', - 'Any', - ), - ), - 'Marker' => array( - 'description' => 'Use this parameter only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 320, - ), - 'MaxItems' => array( - 'description' => 'Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the IsTruncated response element is true.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 1, - 'maximum' => 1000, - ), - ), - ), - 'PutGroupPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds (or updates) a policy document associated with the specified group. For information about policies, refer to Overview of Policies in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutGroupPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group to associate the policy with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyDocument' => array( - 'required' => true, - 'description' => 'The policy document.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 131072, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'PutRolePolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds (or updates) a policy document associated with the specified role. For information about policies, go to Overview of Policies in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutRolePolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to associate the policy with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyDocument' => array( - 'required' => true, - 'description' => 'The policy document.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 131072, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'PutUserPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds (or updates) a policy document associated with the specified user. For information about policies, refer to Overview of Policies in Using AWS Identity and Access Management.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutUserPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to associate the policy with.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyName' => array( - 'required' => true, - 'description' => 'Name of the policy document.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'PolicyDocument' => array( - 'required' => true, - 'description' => 'The policy document.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 131072, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'RemoveRoleFromInstanceProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Removes the specified role from the specified instance profile.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RemoveRoleFromInstanceProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'InstanceProfileName' => array( - 'required' => true, - 'description' => 'Name of the instance profile to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to remove.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'RemoveUserFromGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Removes the specified user from the specified group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RemoveUserFromGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to remove.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'ResyncMFADevice' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Synchronizes the specified MFA device with AWS servers.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResyncMFADevice', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user whose MFA device you want to resynchronize.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'SerialNumber' => array( - 'required' => true, - 'description' => 'Serial number that uniquely identifies the MFA device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 9, - 'maxLength' => 256, - ), - 'AuthenticationCode1' => array( - 'required' => true, - 'description' => 'An authentication code emitted by the device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 6, - 'maxLength' => 6, - ), - 'AuthenticationCode2' => array( - 'required' => true, - 'description' => 'A subsequent authentication code emitted by the device.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 6, - 'maxLength' => 6, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because the authentication code was not recognized. The error message describes the specific error.', - 'class' => 'InvalidAuthenticationCodeException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'UpdateAccessKey' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user\'s key as part of a key rotation work flow.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateAccessKey', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user whose key you want to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'AccessKeyId' => array( - 'required' => true, - 'description' => 'The Access Key ID of the Secret Access Key you want to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 16, - 'maxLength' => 32, - ), - 'Status' => array( - 'required' => true, - 'description' => 'The status you want to assign to the Secret Access Key. Active means the key can be used for API calls to AWS, while Inactive means the key cannot be used.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Active', - 'Inactive', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'UpdateAccountPasswordPolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Updates the password policy settings for the account. For more information about using a password policy, go to Managing an IAM Password Policy.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateAccountPasswordPolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'MinimumPasswordLength' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 6, - 'maximum' => 128, - ), - 'RequireSymbols' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'RequireNumbers' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'RequireUppercaseCharacters' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'RequireLowercaseCharacters' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'AllowUsersToChangePassword' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - ), - ), - 'UpdateAssumeRolePolicy' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Updates the policy that grants an entity permission to assume a role. Currently, only an Amazon EC2 instance can assume a role. For more information about roles, go to Working with Roles.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateAssumeRolePolicy', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'RoleName' => array( - 'required' => true, - 'description' => 'Name of the role to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'PolicyDocument' => array( - 'required' => true, - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 131072, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - ), - ), - 'UpdateGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Updates the name and/or the path of the specified group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'GroupName' => array( - 'required' => true, - 'description' => 'Name of the group to update. If you\'re changing the name of the group, this is the original name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'NewPath' => array( - 'description' => 'New path for the group. Only include this if changing the group\'s path.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'NewGroupName' => array( - 'description' => 'New name for the group. Only include this if changing the group\'s name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - ), - ), - 'UpdateLoginProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Changes the password for the specified user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateLoginProfile', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user whose password you want to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'Password' => array( - 'description' => 'The new password for the user name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.', - 'class' => 'EntityTemporarilyUnmodifiableException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because the provided password did not meet the requirements imposed by the account password policy.', - 'class' => 'PasswordPolicyViolationException', - ), - ), - ), - 'UpdateServerCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Updates the name and/or the path of the specified server certificate.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateServerCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'ServerCertificateName' => array( - 'required' => true, - 'description' => 'The name of the server certificate that you want to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'NewPath' => array( - 'description' => 'The new path for the server certificate. Include this only if you are updating the server certificate\'s path.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'NewServerCertificateName' => array( - 'description' => 'The new name for the server certificate. Include this only if you are updating the server certificate\'s name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - ), - ), - 'UpdateSigningCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Changes the status of the specified signing certificate from active to disabled, or vice versa. This action can be used to disable a user\'s signing certificate as part of a certificate rotation work flow.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateSigningCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user the signing certificate belongs to.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'CertificateId' => array( - 'required' => true, - 'description' => 'The ID of the signing certificate you want to update.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 24, - 'maxLength' => 128, - ), - 'Status' => array( - 'required' => true, - 'description' => 'The status you want to assign to the certificate. Active means the certificate can be used for API calls to AWS, while Inactive means the certificate cannot be used.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Active', - 'Inactive', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - 'UpdateUser' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Updates the name and/or the path of the specified user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateUser', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'required' => true, - 'description' => 'Name of the user to update. If you\'re changing the name of the user, this is the original user name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'NewPath' => array( - 'description' => 'New path for the user. Include this parameter only if you\'re changing the user\'s path.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'NewUserName' => array( - 'description' => 'New name for the user. Include this parameter only if you\'re changing the user\'s name.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.', - 'class' => 'EntityTemporarilyUnmodifiableException', - ), - ), - ), - 'UploadServerCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UploadServerCertificateResponse', - 'responseType' => 'model', - 'summary' => 'Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UploadServerCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'Path' => array( - 'description' => 'The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 512, - ), - 'ServerCertificateName' => array( - 'required' => true, - 'description' => 'The name for the server certificate. Do not include the path in this value.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'CertificateBody' => array( - 'required' => true, - 'description' => 'The contents of the public key certificate in PEM-encoded format.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 16384, - ), - 'PrivateKey' => array( - 'required' => true, - 'description' => 'The contents of the private key in PEM-encoded format.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 16384, - ), - 'CertificateChain' => array( - 'description' => 'The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 2097152, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because the certificate was malformed or expired. The error message describes the specific error.', - 'class' => 'MalformedCertificateException', - ), - array( - 'reason' => 'The request was rejected because the public key certificate and the private key do not match.', - 'class' => 'KeyPairMismatchException', - ), - ), - ), - 'UploadSigningCertificate' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UploadSigningCertificateResponse', - 'responseType' => 'model', - 'summary' => 'Uploads an X.509 signing certificate and associates it with the specified user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UploadSigningCertificate', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-05-08', - ), - 'UserName' => array( - 'description' => 'Name of the user the signing certificate is for.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'CertificateBody' => array( - 'required' => true, - 'description' => 'The contents of the signing certificate.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 16384, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'The request was rejected because it attempted to create a resource that already exists.', - 'class' => 'EntityAlreadyExistsException', - ), - array( - 'reason' => 'The request was rejected because the certificate was malformed or expired. The error message describes the specific error.', - 'class' => 'MalformedCertificateException', - ), - array( - 'reason' => 'The request was rejected because the certificate is invalid.', - 'class' => 'InvalidCertificateException', - ), - array( - 'reason' => 'The request was rejected because the same certificate is associated to another user under the account.', - 'class' => 'DuplicateCertificateException', - ), - array( - 'reason' => 'The request was rejected because it referenced an entity that does not exist. The error message describes the entity.', - 'class' => 'NoSuchEntityException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'CreateAccessKeyResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AccessKey' => array( - 'description' => 'Information about the access key.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'UserName' => array( - 'description' => 'Name of the user the key is associated with.', - 'type' => 'string', - ), - 'AccessKeyId' => array( - 'description' => 'The ID for this access key.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the access key. Active means the key is valid for API calls, while Inactive means it is not.', - 'type' => 'string', - ), - 'SecretAccessKey' => array( - 'description' => 'The secret key used to sign requests.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the access key was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'CreateGroupResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Group' => array( - 'description' => 'Information about the group.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name that identifies the group.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'The stable and unique string identifying the group. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the group was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'CreateInstanceProfileResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceProfile' => array( - 'description' => 'Information about the instance profile.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'InstanceProfileName' => array( - 'description' => 'The name identifying the instance profile.', - 'type' => 'string', - ), - 'InstanceProfileId' => array( - 'description' => 'The stable and unique string identifying the instance profile. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the instance profile was created.', - 'type' => 'string', - ), - 'Roles' => array( - 'description' => 'The role associated with the instance profile.', - 'type' => 'array', - 'items' => array( - 'name' => 'Role', - 'description' => 'The Role data type contains information about a role.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateLoginProfileResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoginProfile' => array( - 'description' => 'The user name and password create date.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'UserName' => array( - 'description' => 'The name of the user, which can be used for signing into the AWS Management Console.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the password for the user was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'CreateRoleResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Role' => array( - 'description' => 'Information about the role.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'CreateUserResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'User' => array( - 'description' => 'Information about the user.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UserName' => array( - 'description' => 'The name identifying the user.', - 'type' => 'string', - ), - 'UserId' => array( - 'description' => 'The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the user was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'CreateVirtualMFADeviceResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VirtualMFADevice' => array( - 'description' => 'A newly created virtual MFA device.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'SerialNumber' => array( - 'description' => 'The serial number associated with VirtualMFADevice.', - 'type' => 'string', - ), - 'Base32StringSeed' => array( - 'description' => 'The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.', - 'type' => 'string', - ), - 'QRCodePNG' => array( - 'description' => 'A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.', - 'type' => 'string', - ), - 'User' => array( - 'type' => 'object', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UserName' => array( - 'description' => 'The name identifying the user.', - 'type' => 'string', - ), - 'UserId' => array( - 'description' => 'The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the user was created.', - 'type' => 'string', - ), - ), - ), - 'EnableDate' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'GetAccountPasswordPolicyResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PasswordPolicy' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'MinimumPasswordLength' => array( - 'description' => 'Minimum length to require for IAM user passwords.', - 'type' => 'numeric', - ), - 'RequireSymbols' => array( - 'description' => 'Specifies whether to require symbols for IAM user passwords.', - 'type' => 'boolean', - ), - 'RequireNumbers' => array( - 'description' => 'Specifies whether to require numbers for IAM user passwords.', - 'type' => 'boolean', - ), - 'RequireUppercaseCharacters' => array( - 'description' => 'Specifies whether to require uppercase characters for IAM user passwords.', - 'type' => 'boolean', - ), - 'RequireLowercaseCharacters' => array( - 'description' => 'Specifies whether to require lowercase characters for IAM user passwords.', - 'type' => 'boolean', - ), - 'AllowUsersToChangePassword' => array( - 'description' => 'Specifies whether to allow IAM users to change their own password.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - 'GetAccountSummaryResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SummaryMap' => array( - 'description' => 'A set of key value pairs containing account-level information.', - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlMap' => array( - 'Users', - 'UsersQuota', - 'Groups', - 'GroupsQuota', - 'ServerCertificates', - 'ServerCertificatesQuota', - 'UserPolicySizeQuota', - 'GroupPolicySizeQuota', - 'GroupsPerUserQuota', - 'SigningCertificatesPerUserQuota', - 'AccessKeysPerUserQuota', - 'MFADevices', - 'MFADevicesInUse', - 'AccountMFAEnabled', - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'GetGroupResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Group' => array( - 'description' => 'Information about the group.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name that identifies the group.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'The stable and unique string identifying the group. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the group was created.', - 'type' => 'string', - ), - ), - ), - 'Users' => array( - 'description' => 'A list of users in the group.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'User', - 'description' => 'The User data type contains information about a user.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UserName' => array( - 'description' => 'The name identifying the user.', - 'type' => 'string', - ), - 'UserId' => array( - 'description' => 'The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the user was created.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more user names to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more user names in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, then this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'GetGroupPolicyResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GroupName' => array( - 'description' => 'The group the policy is associated with.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PolicyName' => array( - 'description' => 'The name of the policy.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PolicyDocument' => array( - 'description' => 'The policy document.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'GetInstanceProfileResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceProfile' => array( - 'description' => 'Information about the instance profile.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'InstanceProfileName' => array( - 'description' => 'The name identifying the instance profile.', - 'type' => 'string', - ), - 'InstanceProfileId' => array( - 'description' => 'The stable and unique string identifying the instance profile. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the instance profile was created.', - 'type' => 'string', - ), - 'Roles' => array( - 'description' => 'The role associated with the instance profile.', - 'type' => 'array', - 'items' => array( - 'name' => 'Role', - 'description' => 'The Role data type contains information about a role.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'GetLoginProfileResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoginProfile' => array( - 'description' => 'User name and password create date for the user.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'UserName' => array( - 'description' => 'The name of the user, which can be used for signing into the AWS Management Console.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the password for the user was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'GetRoleResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Role' => array( - 'description' => 'Information about the role.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'GetRolePolicyResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RoleName' => array( - 'description' => 'The role the policy is associated with.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PolicyName' => array( - 'description' => 'The name of the policy.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PolicyDocument' => array( - 'description' => 'The policy document.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'GetServerCertificateResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ServerCertificate' => array( - 'description' => 'Information about the server certificate.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ServerCertificateMetadata' => array( - 'description' => 'The meta information of the server certificate, such as its name, path, ID, and ARN.', - 'type' => 'object', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'ServerCertificateName' => array( - 'description' => 'The name that identifies the server certificate.', - 'type' => 'string', - ), - 'ServerCertificateId' => array( - 'description' => 'The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UploadDate' => array( - 'description' => 'The date when the server certificate was uploaded.', - 'type' => 'string', - ), - ), - ), - 'CertificateBody' => array( - 'description' => 'The contents of the public key certificate.', - 'type' => 'string', - ), - 'CertificateChain' => array( - 'description' => 'The contents of the public key certificate chain.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'GetUserResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'User' => array( - 'description' => 'Information about the user.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UserName' => array( - 'description' => 'The name identifying the user.', - 'type' => 'string', - ), - 'UserId' => array( - 'description' => 'The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the user was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'GetUserPolicyResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'UserName' => array( - 'description' => 'The user the policy is associated with.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PolicyName' => array( - 'description' => 'The name of the policy.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PolicyDocument' => array( - 'description' => 'The policy document.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListAccessKeysResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AccessKeyMetadata' => array( - 'description' => 'A list of access key metadata.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'AccessKeyMetadata', - 'description' => 'The AccessKey data type contains information about an AWS access key, without its secret key.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'UserName' => array( - 'description' => 'Name of the user the key is associated with.', - 'type' => 'string', - ), - 'AccessKeyId' => array( - 'description' => 'The ID for this access key.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the access key. Active means the key is valid for API calls, while Inactive means it is not.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the access key was created.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more keys to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more keys in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListAccountAliasesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AccountAliases' => array( - 'description' => 'A list of aliases associated with the account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'accountAliasType', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more account aliases to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more account aliases in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'Use this only when paginating results, and only in a subsequent request after you\'ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListGroupPoliciesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyNames' => array( - 'description' => 'A list of policy names.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'policyNameType', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more policy names to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more policy names in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListGroupsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Groups' => array( - 'description' => 'A list of groups.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Group', - 'description' => 'The Group data type contains information about a group.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name that identifies the group.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'The stable and unique string identifying the group. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the group was created.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListGroupsForUserResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Groups' => array( - 'description' => 'A list of groups.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Group', - 'description' => 'The Group data type contains information about a group.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'GroupName' => array( - 'description' => 'The name that identifies the group.', - 'type' => 'string', - ), - 'GroupId' => array( - 'description' => 'The stable and unique string identifying the group. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the group was created.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListInstanceProfilesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceProfiles' => array( - 'description' => 'A list of instance profiles.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'InstanceProfile', - 'description' => 'The InstanceProfile data type contains information about an instance profile.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'InstanceProfileName' => array( - 'description' => 'The name identifying the instance profile.', - 'type' => 'string', - ), - 'InstanceProfileId' => array( - 'description' => 'The stable and unique string identifying the instance profile. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the instance profile was created.', - 'type' => 'string', - ), - 'Roles' => array( - 'description' => 'The role associated with the instance profile.', - 'type' => 'array', - 'items' => array( - 'name' => 'Role', - 'description' => 'The Role data type contains information about a role.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more instance profiles to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more instance profiles in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListInstanceProfilesForRoleResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceProfiles' => array( - 'description' => 'A list of instance profiles.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'InstanceProfile', - 'description' => 'The InstanceProfile data type contains information about an instance profile.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'InstanceProfileName' => array( - 'description' => 'The name identifying the instance profile.', - 'type' => 'string', - ), - 'InstanceProfileId' => array( - 'description' => 'The stable and unique string identifying the instance profile. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the instance profile was created.', - 'type' => 'string', - ), - 'Roles' => array( - 'description' => 'The role associated with the instance profile.', - 'type' => 'array', - 'items' => array( - 'name' => 'Role', - 'description' => 'The Role data type contains information about a role.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more instance profiles to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more instance profiles in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListMFADevicesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MFADevices' => array( - 'description' => 'A list of MFA devices.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'MFADevice', - 'description' => 'The MFADevice data type contains information about an MFA device.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'UserName' => array( - 'description' => 'The user with whom the MFA device is associated.', - 'type' => 'string', - ), - 'SerialNumber' => array( - 'description' => 'The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.', - 'type' => 'string', - ), - 'EnableDate' => array( - 'description' => 'The date when the MFA device was enabled for the user.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more MFA devices to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more MFA devices in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListRolePoliciesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyNames' => array( - 'description' => 'A list of policy names.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'policyNameType', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more policy names to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more policy names in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListRolesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Roles' => array( - 'description' => 'A list of roles.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Role', - 'description' => 'The Role data type contains information about a role.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the role. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'RoleName' => array( - 'description' => 'The name identifying the role.', - 'type' => 'string', - ), - 'RoleId' => array( - 'description' => 'The stable and unique string identifying the role. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the role was created.', - 'type' => 'string', - ), - 'AssumeRolePolicyDocument' => array( - 'description' => 'The policy that grants an entity permission to assume the role.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more roles to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more roles in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListServerCertificatesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ServerCertificateMetadataList' => array( - 'description' => 'A list of server certificates.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ServerCertificateMetadata', - 'description' => 'ServerCertificateMetadata contains information about a server certificate without its certificate body, certificate chain, and private key.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'ServerCertificateName' => array( - 'description' => 'The name that identifies the server certificate.', - 'type' => 'string', - ), - 'ServerCertificateId' => array( - 'description' => 'The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UploadDate' => array( - 'description' => 'The date when the server certificate was uploaded.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more server certificates to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more server certificates in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListSigningCertificatesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Certificates' => array( - 'description' => 'A list of the user\'s signing certificate information.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SigningCertificate', - 'description' => 'The SigningCertificate data type contains information about an X.509 signing certificate.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'UserName' => array( - 'description' => 'Name of the user the signing certificate is associated with.', - 'type' => 'string', - ), - 'CertificateId' => array( - 'description' => 'The ID for the signing certificate.', - 'type' => 'string', - ), - 'CertificateBody' => array( - 'description' => 'The contents of the signing certificate.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the signing certificate. Active means the key is valid for API calls, while Inactive means it is not.', - 'type' => 'string', - ), - 'UploadDate' => array( - 'description' => 'The date when the signing certificate was uploaded.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more certificate IDs to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more certificates in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListUserPoliciesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyNames' => array( - 'description' => 'A list of policy names.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'policyNameType', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more policy names to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more policy names in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListUsersResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Users' => array( - 'description' => 'A list of users.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'User', - 'description' => 'The User data type contains information about a user.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UserName' => array( - 'description' => 'The name identifying the user.', - 'type' => 'string', - ), - 'UserId' => array( - 'description' => 'The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the user was created.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more user names to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more users in the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListVirtualMFADevicesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VirtualMFADevices' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'VirtualMFADevice', - 'description' => 'The VirtualMFADevice data type contains information about a virtual MFA device.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SerialNumber' => array( - 'description' => 'The serial number associated with VirtualMFADevice.', - 'type' => 'string', - ), - 'Base32StringSeed' => array( - 'description' => 'The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.', - 'type' => 'string', - ), - 'QRCodePNG' => array( - 'description' => 'A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.', - 'type' => 'string', - ), - 'User' => array( - 'type' => 'object', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UserName' => array( - 'description' => 'The name identifying the user.', - 'type' => 'string', - ), - 'UserId' => array( - 'description' => 'The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'CreateDate' => array( - 'description' => 'The date when the user was created.', - 'type' => 'string', - ), - ), - ), - 'EnableDate' => array( - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more items to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items the list.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'UploadServerCertificateResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ServerCertificateMetadata' => array( - 'description' => 'The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Path' => array( - 'description' => 'Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'ServerCertificateName' => array( - 'description' => 'The name that identifies the server certificate.', - 'type' => 'string', - ), - 'ServerCertificateId' => array( - 'description' => 'The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.', - 'type' => 'string', - ), - 'UploadDate' => array( - 'description' => 'The date when the server certificate was uploaded.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'UploadSigningCertificateResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Certificate' => array( - 'description' => 'Information about the certificate.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'UserName' => array( - 'description' => 'Name of the user the signing certificate is associated with.', - 'type' => 'string', - ), - 'CertificateId' => array( - 'description' => 'The ID for the signing certificate.', - 'type' => 'string', - ), - 'CertificateBody' => array( - 'description' => 'The contents of the signing certificate.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the signing certificate. Active means the key is valid for API calls, while Inactive means it is not.', - 'type' => 'string', - ), - 'UploadDate' => array( - 'description' => 'The date when the signing certificate was uploaded.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'GetGroup' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'Users', - ), - 'ListAccessKeys' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'AccessKeyMetadata', - ), - 'ListAccountAliases' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'AccountAliases', - ), - 'ListGroupPolicies' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'PolicyNames', - ), - 'ListGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'Groups', - ), - 'ListGroupsForUser' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'Groups', - ), - 'ListInstanceProfiles' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'InstanceProfiles', - ), - 'ListInstanceProfilesForRole' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'InstanceProfiles', - ), - 'ListMFADevices' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'MFADevices', - ), - 'ListRolePolicies' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'PolicyNames', - ), - 'ListRoles' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'Roles', - ), - 'ListServerCertificates' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'ServerCertificateMetadataList', - ), - 'ListSigningCertificates' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'Certificates', - ), - 'ListUserPolicies' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'PolicyNames', - ), - 'ListUsers' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'Users', - ), - 'ListVirtualMFADevices' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'VirtualMFADevices', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Enum/JobType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Enum/JobType.php deleted file mode 100644 index 9ae85ae..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Enum/JobType.php +++ /dev/null @@ -1,28 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/importexport-2010-06-01.php' - )) - ->build(); - - // If the Symfony YAML component is installed, add a listener that will convert arrays to proper YAML in when - // specifying the "Manifest" parameter of the "CreateJob" operation - if (class_exists('Symfony\Component\Yaml\Yaml')) { - $client->addSubscriber(new JobManifestListener()); - } - - return $client; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Iterator/ListJobsIterator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Iterator/ListJobsIterator.php deleted file mode 100644 index 8440104..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Iterator/ListJobsIterator.php +++ /dev/null @@ -1,40 +0,0 @@ -nextToken = null; - - if ($result->get($this->get('more_key'))) { - $jobs = $result->get($this->get('result_key')) ?: array(); - $numJobs = count($jobs); - $this->nextToken = $numJobs ? $jobs[$numJobs - 1]['JobId'] : null; - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/JobManifestListener.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/JobManifestListener.php deleted file mode 100644 index d6afc41..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/JobManifestListener.php +++ /dev/null @@ -1,51 +0,0 @@ - array('onCommandBeforePrepare')); - } - - /** - * An event handler for assisting with formatting the Manifest parameter of CreateJob operation into YAML - * - * @param Event $event The event being handled - */ - public function onCommandBeforePrepare(Event $event) - { - /** @var $command \Guzzle\Service\Command\AbstractCommand */ - $command = $event['command']; - if ($command->getName() === 'CreateJob') { - $manifest = $command->get('Manifest'); - if (!is_string($manifest) && class_exists('Symfony\Component\Yaml\Yaml')) { - $command->set('Manifest', \Symfony\Component\Yaml\Yaml::dump($manifest)); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Resources/importexport-2010-06-01.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Resources/importexport-2010-06-01.php deleted file mode 100644 index 4943e5e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Resources/importexport-2010-06-01.php +++ /dev/null @@ -1,581 +0,0 @@ - '2010-06-01', - 'endpointPrefix' => 'importexport', - 'serviceFullName' => 'AWS Import/Export', - 'serviceType' => 'query', - 'globalEndpoint' => 'importexport.amazonaws.com', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'ImportExport', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'importexport.amazonaws.com', - ), - ), - 'operations' => array( - 'CancelJob' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CancelJobOutput', - 'responseType' => 'model', - 'summary' => 'This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CancelJob', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-06-01', - ), - 'JobId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.', - 'class' => 'InvalidJobIdException', - ), - array( - 'reason' => 'Indicates that the specified job has expired out of the system.', - 'class' => 'ExpiredJobIdException', - ), - array( - 'reason' => 'The specified job ID has been canceled and is no longer valid.', - 'class' => 'CanceledJobIdException', - ), - array( - 'reason' => 'AWS Import/Export cannot cancel the job', - 'class' => 'UnableToCancelJobIdException', - ), - array( - 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.', - 'class' => 'InvalidAccessKeyIdException', - ), - ), - ), - 'CreateJob' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateJobOutput', - 'responseType' => 'model', - 'summary' => 'This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateJob', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-06-01', - ), - 'JobType' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Import', - 'Export', - ), - ), - 'Manifest' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ManifestAddendum' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ValidateOnly' => array( - 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameters was missing from the request.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'One or more parameters had an invalid value.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'One or more parameters had an invalid value.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.', - 'class' => 'InvalidAccessKeyIdException', - ), - array( - 'reason' => 'The address specified in the manifest is invalid.', - 'class' => 'InvalidAddressException', - ), - array( - 'reason' => 'One or more manifest fields was invalid. Please correct and resubmit.', - 'class' => 'InvalidManifestFieldException', - ), - array( - 'reason' => 'One or more required fields were missing from the manifest file. Please correct and resubmit.', - 'class' => 'MissingManifestFieldException', - ), - array( - 'reason' => 'The specified bucket does not exist. Create the specified bucket or change the manifest\'s bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest\'s Access Key ID, has write permissions to.', - 'class' => 'NoSuchBucketException', - ), - array( - 'reason' => 'One or more required customs parameters was missing from the manifest.', - 'class' => 'MissingCustomsException', - ), - array( - 'reason' => 'One or more customs parameters was invalid. Please correct and resubmit.', - 'class' => 'InvalidCustomsException', - ), - array( - 'reason' => 'File system specified in export manifest is invalid.', - 'class' => 'InvalidFileSystemException', - ), - array( - 'reason' => 'Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.', - 'class' => 'MultipleRegionsException', - ), - array( - 'reason' => 'The account specified does not have the appropriate bucket permissions.', - 'class' => 'BucketPermissionException', - ), - array( - 'reason' => 'Your manifest is not well-formed.', - 'class' => 'MalformedManifestException', - ), - ), - ), - 'GetStatus' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetStatusOutput', - 'responseType' => 'model', - 'summary' => 'This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetStatus', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-06-01', - ), - 'JobId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.', - 'class' => 'InvalidJobIdException', - ), - array( - 'reason' => 'Indicates that the specified job has expired out of the system.', - 'class' => 'ExpiredJobIdException', - ), - array( - 'reason' => 'The specified job ID has been canceled and is no longer valid.', - 'class' => 'CanceledJobIdException', - ), - array( - 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.', - 'class' => 'InvalidAccessKeyIdException', - ), - ), - ), - 'ListJobs' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListJobsOutput', - 'responseType' => 'model', - 'summary' => 'This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListJobs', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-06-01', - ), - 'MaxJobs' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more parameters had an invalid value.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.', - 'class' => 'InvalidAccessKeyIdException', - ), - ), - ), - 'UpdateJob' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'UpdateJobOutput', - 'responseType' => 'model', - 'summary' => 'You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'UpdateJob', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-06-01', - ), - 'JobId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Manifest' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - 'JobType' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Import', - 'Export', - ), - ), - 'ValidateOnly' => array( - 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'One or more required parameters was missing from the request.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'One or more parameters had an invalid value.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.', - 'class' => 'InvalidAccessKeyIdException', - ), - array( - 'reason' => 'The address specified in the manifest is invalid.', - 'class' => 'InvalidAddressException', - ), - array( - 'reason' => 'One or more manifest fields was invalid. Please correct and resubmit.', - 'class' => 'InvalidManifestFieldException', - ), - array( - 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.', - 'class' => 'InvalidJobIdException', - ), - array( - 'reason' => 'One or more required fields were missing from the manifest file. Please correct and resubmit.', - 'class' => 'MissingManifestFieldException', - ), - array( - 'reason' => 'The specified bucket does not exist. Create the specified bucket or change the manifest\'s bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest\'s Access Key ID, has write permissions to.', - 'class' => 'NoSuchBucketException', - ), - array( - 'reason' => 'Indicates that the specified job has expired out of the system.', - 'class' => 'ExpiredJobIdException', - ), - array( - 'reason' => 'The specified job ID has been canceled and is no longer valid.', - 'class' => 'CanceledJobIdException', - ), - array( - 'reason' => 'One or more required customs parameters was missing from the manifest.', - 'class' => 'MissingCustomsException', - ), - array( - 'reason' => 'One or more customs parameters was invalid. Please correct and resubmit.', - 'class' => 'InvalidCustomsException', - ), - array( - 'reason' => 'File system specified in export manifest is invalid.', - 'class' => 'InvalidFileSystemException', - ), - array( - 'reason' => 'Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.', - 'class' => 'MultipleRegionsException', - ), - array( - 'reason' => 'The account specified does not have the appropriate bucket permissions.', - 'class' => 'BucketPermissionException', - ), - array( - 'reason' => 'Your manifest is not well-formed.', - 'class' => 'MalformedManifestException', - ), - ), - ), - ), - 'models' => array( - 'CancelJobOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Success' => array( - 'type' => 'boolean', - 'location' => 'xml', - ), - ), - ), - 'CreateJobOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobId' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'JobType' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'AwsShippingAddress' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Signature' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'SignatureFileContents' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'WarningMessage' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'GetStatusOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'JobId' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'JobType' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'AwsShippingAddress' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LocationCode' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LocationMessage' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'ProgressCode' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'ProgressMessage' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Carrier' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'TrackingNumber' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LogBucket' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LogKey' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'ErrorCount' => array( - 'type' => 'numeric', - 'location' => 'xml', - ), - 'Signature' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'SignatureFileContents' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'CurrentManifest' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'CreationDate' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListJobsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Jobs' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Job', - 'description' => 'Representation of a job returned by the ListJobs operation.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'JobId' => array( - 'type' => 'string', - ), - 'CreationDate' => array( - 'type' => 'string', - ), - 'IsCanceled' => array( - 'type' => 'boolean', - ), - 'JobType' => array( - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'type' => 'boolean', - 'location' => 'xml', - ), - ), - ), - 'UpdateJobOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Success' => array( - 'type' => 'boolean', - 'location' => 'xml', - ), - 'WarningMessage' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'ListJobs' => array( - 'token_param' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxJobs', - 'result_key' => 'Jobs', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Enum/AppType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Enum/AppType.php deleted file mode 100644 index baaea4d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Enum/AppType.php +++ /dev/null @@ -1,31 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/opsworks-2013-02-18.php' - )) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Resources/opsworks-2013-02-18.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Resources/opsworks-2013-02-18.php deleted file mode 100644 index 26a5e0d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Resources/opsworks-2013-02-18.php +++ /dev/null @@ -1,4116 +0,0 @@ - '2013-02-18', - 'endpointPrefix' => 'opsworks', - 'serviceFullName' => 'AWS OpsWorks', - 'serviceType' => 'json', - 'jsonVersion' => '1.1', - 'targetPrefix' => 'OpsWorks_20130218.', - 'signatureVersion' => 'v4', - 'namespace' => 'OpsWorks', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'opsworks.us-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'CloneStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CloneStackResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a clone of a specified stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CloneStack', - ), - 'SourceStackId' => array( - 'required' => true, - 'description' => 'The source stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The cloned stack name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Region' => array( - 'required' => true, - 'description' => 'The cloned stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints', - 'type' => 'string', - 'location' => 'json', - ), - 'Attributes' => array( - 'description' => 'A list of stack attributes and values as key/value pairs to be added to the cloned stack.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'ServiceRoleArn' => array( - 'required' => true, - 'description' => 'The stack AWS Identity and Access Management (IAM) role, which allows OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the OpsWorks console, it creates the role for you. You can obtain an existing stack\'s IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultInstanceProfileArn' => array( - 'required' => true, - 'description' => 'The ARN of an IAM profile that is the default profile for all of the stack\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultOs' => array( - 'description' => 'The cloned stack default operating system, which must be either "Amazon Linux" or "Ubuntu 12.04 LTS".', - 'type' => 'string', - 'location' => 'json', - ), - 'HostnameTheme' => array( - 'description' => 'The stack\'s host name theme, with spaces are replaced by underscores. The theme is used to generate hostnames for the stack\'s instances. By default, HostnameTheme is set to Layer_Dependent, which creates hostnames by appending integers to the layer\'s shortname. The other themes are:', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultAvailabilityZone' => array( - 'description' => 'The cloned stack\'s Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - 'location' => 'json', - ), - 'CustomJson' => array( - 'description' => 'A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as \'"\'.:', - 'type' => 'string', - 'location' => 'json', - ), - 'UseCustomCookbooks' => array( - 'description' => 'Whether to use custom cookbooks.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'CustomCookbooksSource' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - 'enum' => array( - 'git', - 'svn', - 'archive', - 's3', - ), - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'DefaultSshKeyName' => array( - 'description' => 'A default SSH key for the stack instances. You can override this value when you create or update an instance.', - 'type' => 'string', - 'location' => 'json', - ), - 'ClonePermissions' => array( - 'description' => 'Whether to clone the source stack\'s permissions.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'CloneAppIds' => array( - 'description' => 'A list of source stack app IDs to be included in the cloned stack.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'CreateApp' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateAppResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates an app for a specified stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CreateApp', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The app name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Description' => array( - 'description' => 'A description of the app.', - 'type' => 'string', - 'location' => 'json', - ), - 'Type' => array( - 'required' => true, - 'description' => 'The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. OpsWorks deploys an application to those instances that are members of the corresponding layer.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'rails', - 'php', - 'nodejs', - 'static', - 'other', - ), - ), - 'AppSource' => array( - 'description' => 'A Source object that specifies the app repository.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - 'enum' => array( - 'git', - 'svn', - 'archive', - 's3', - ), - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'Domains' => array( - 'description' => 'The app virtual host settings, with multiple domains separated by commas. For example: \'www.mysite.com, mysite.com\'', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'EnableSsl' => array( - 'description' => 'Whether to enable SSL for the app.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'SslConfiguration' => array( - 'description' => 'An SslConfiguration object with the SSL configuration.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Certificate' => array( - 'required' => true, - 'description' => 'The contents of the certificate\'s domain.crt file.', - 'type' => 'string', - ), - 'PrivateKey' => array( - 'required' => true, - 'description' => 'The private key; the contents of the certificate\'s domain.kex file.', - 'type' => 'string', - ), - 'Chain' => array( - 'description' => 'Optional. Can be used to specify an intermediate certificate authority key or client authentication.', - 'type' => 'string', - ), - ), - ), - 'Attributes' => array( - 'description' => 'One or more user-defined key/value pairs to be added to the stack attributes bag.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'CreateDeployment' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateDeploymentResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deploys a stack or app.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CreateDeployment', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'AppId' => array( - 'required' => true, - 'description' => 'The app ID, for app deployments.', - 'type' => 'string', - 'location' => 'json', - ), - 'InstanceIds' => array( - 'description' => 'The instance IDs for the deployment targets.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Command' => array( - 'required' => true, - 'description' => 'A DeploymentCommand object that describes details of the operation.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'Specifies the deployment operation. You can specify only one command.', - 'type' => 'string', - 'enum' => array( - 'install_dependencies', - 'update_dependencies', - 'update_custom_cookbooks', - 'execute_recipes', - 'deploy', - 'rollback', - 'start', - 'stop', - 'restart', - 'undeploy', - ), - ), - 'Args' => array( - 'required' => true, - 'description' => 'An array of command arguments. This parameter is currently used only to specify the list of recipes to be executed by the ExecuteRecipes command.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - ), - 'Comment' => array( - 'description' => 'A user-defined comment.', - 'type' => 'string', - 'location' => 'json', - ), - 'CustomJson' => array( - 'description' => 'A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as \'"\'.:', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'CreateInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateInstanceResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates an instance in a specified stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CreateInstance', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'LayerIds' => array( - 'required' => true, - 'description' => 'An array that contains the instance layer IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'InstanceType' => array( - 'description' => 'The instance type, which can be one of the following:', - 'type' => 'string', - 'location' => 'json', - ), - 'AutoScalingType' => array( - 'description' => 'The instance auto scaling type, which has three possible values:', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'AlwaysRunning', - 'TimeBasedAutoScaling', - 'LoadBasedAutoScaling', - ), - ), - 'Hostname' => array( - 'description' => 'The instance host name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Os' => array( - 'description' => 'The instance operating system.', - 'type' => 'string', - 'location' => 'json', - ), - 'SshKeyName' => array( - 'description' => 'The instance SSH key name.', - 'type' => 'string', - 'location' => 'json', - ), - 'AvailabilityZone' => array( - 'description' => 'The instance Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - ), - ), - 'CreateLayer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateLayerResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a layer.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CreateLayer', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The layer stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Type' => array( - 'required' => true, - 'description' => 'The layer type. A stack cannot have more than one layer of the same type.', - 'type' => 'string', - 'location' => 'json', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The layer name, which is used by the console.', - 'type' => 'string', - 'location' => 'json', - ), - 'Shortname' => array( - 'description' => 'The layer short name, which is used internally by OpsWorks and by Chef recipes. The shortname is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, \'-\', \'_\', and \'.\'.', - 'type' => 'string', - 'location' => 'json', - ), - 'Attributes' => array( - 'description' => 'One or more user-defined key/value pairs to be added to the stack attributes bag.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'CustomInstanceProfileArn' => array( - 'description' => 'The ARN of an IAM profile that to be used for the layer\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'CustomSecurityGroupIds' => array( - 'description' => 'An array containing the layer custom security group IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Packages' => array( - 'description' => 'An array of Package objects that describe the layer packages.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'VolumeConfigurations' => array( - 'description' => 'A VolumeConfigurations object that describes the layer Amazon EBS volumes.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VolumeConfiguration', - 'description' => 'Describes an Amazon EBS volume configuration.', - 'type' => 'object', - 'properties' => array( - 'MountPoint' => array( - 'required' => true, - 'description' => 'The volume mount point. For example "/dev/sdh".', - 'type' => 'string', - ), - 'RaidLevel' => array( - 'description' => 'The volume RAID level.', - 'type' => 'numeric', - ), - 'NumberOfDisks' => array( - 'required' => true, - 'description' => 'The number of disks in the volume.', - 'type' => 'numeric', - ), - 'Size' => array( - 'required' => true, - 'description' => 'The volume size.', - 'type' => 'numeric', - ), - ), - ), - ), - 'EnableAutoHealing' => array( - 'description' => 'Whether to disable auto healing for the layer.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'AutoAssignElasticIps' => array( - 'description' => 'Whether to automatically assign an Elastic IP address to the layer.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'CustomRecipes' => array( - 'description' => 'A LayerCustomRecipes object that specifies the layer custom recipes.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Setup' => array( - 'description' => 'An array of custom recipe names to be run following a setup event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Configure' => array( - 'description' => 'An array of custom recipe names to be run following a configure event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Deploy' => array( - 'description' => 'An array of custom recipe names to be run following a deploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Undeploy' => array( - 'description' => 'An array of custom recipe names to be run following a undeploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Shutdown' => array( - 'description' => 'An array of custom recipe names to be run following a shutdown event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - ), - ), - 'CreateStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateStackResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CreateStack', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The stack name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Region' => array( - 'required' => true, - 'description' => 'The stack AWS region, such as "us-east-1". For more information about Amazon regions, see Regions and Endpoints.', - 'type' => 'string', - 'location' => 'json', - ), - 'Attributes' => array( - 'description' => 'One or more user-defined key/value pairs to be added to the stack attributes bag.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'ServiceRoleArn' => array( - 'required' => true, - 'description' => 'The stack AWS Identity and Access Management (IAM) role, which allows OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultInstanceProfileArn' => array( - 'required' => true, - 'description' => 'The ARN of an IAM profile that is the default profile for all of the stack\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultOs' => array( - 'description' => 'The cloned stack default operating system, which must be either "Amazon Linux" or "Ubuntu 12.04 LTS".', - 'type' => 'string', - 'location' => 'json', - ), - 'HostnameTheme' => array( - 'description' => 'The stack\'s host name theme, with spaces are replaced by underscores. The theme is used to generate hostnames for the stack\'s instances. By default, HostnameTheme is set to Layer_Dependent, which creates hostnames by appending integers to the layer\'s shortname. The other themes are:', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultAvailabilityZone' => array( - 'description' => 'The stack default Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - 'location' => 'json', - ), - 'CustomJson' => array( - 'description' => 'A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as \'"\'.:', - 'type' => 'string', - 'location' => 'json', - ), - 'UseCustomCookbooks' => array( - 'description' => 'Whether the stack uses custom cookbooks.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'CustomCookbooksSource' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - 'enum' => array( - 'git', - 'svn', - 'archive', - 's3', - ), - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'DefaultSshKeyName' => array( - 'description' => 'A default SSH key for the stack instances. You can override this value when you create or update an instance.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - ), - ), - 'CreateUserProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateUserProfileResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Creates a new user.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.CreateUserProfile', - ), - 'IamUserArn' => array( - 'required' => true, - 'description' => 'The user\'s IAM ARN.', - 'type' => 'string', - 'location' => 'json', - ), - 'SshUsername' => array( - 'description' => 'The user\'s SSH user name.', - 'type' => 'string', - 'location' => 'json', - ), - 'SshPublicKey' => array( - 'description' => 'The user\'s public SSH key.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - ), - ), - 'DeleteApp' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a specified app.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DeleteApp', - ), - 'AppId' => array( - 'required' => true, - 'description' => 'The app ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DeleteInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a specified instance.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DeleteInstance', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'DeleteElasticIp' => array( - 'description' => 'Whether to delete the instance Elastic IP address.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'DeleteVolumes' => array( - 'description' => 'Whether to delete the instance Amazon EBS volumes.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DeleteLayer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a specified layer. You must first remove all associated instances.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DeleteLayer', - ), - 'LayerId' => array( - 'required' => true, - 'description' => 'The layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DeleteStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a specified stack. You must first delete all instances and layers.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DeleteStack', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DeleteUserProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deletes a user.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DeleteUserProfile', - ), - 'IamUserArn' => array( - 'required' => true, - 'description' => 'The user\'s IAM ARN.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeApps' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeAppsResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Requests a description of a specified set of apps.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeApps', - ), - 'StackId' => array( - 'description' => 'The app stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'AppIds' => array( - 'description' => 'An array of app IDs for the apps to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeCommands' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeCommandsResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes the results of specified commands.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeCommands', - ), - 'DeploymentId' => array( - 'description' => 'The deployment ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'CommandIds' => array( - 'description' => 'An array of IDs for the commands to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeDeployments' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeDeploymentsResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Requests a description of a specified set of deployments.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeDeployments', - ), - 'StackId' => array( - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'AppId' => array( - 'description' => 'The app ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'DeploymentIds' => array( - 'description' => 'An array of deployment IDs to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeElasticIps' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeElasticIpsResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes an instance\'s Elastic IP addresses.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeElasticIps', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Ips' => array( - 'description' => 'An array of Elastic IP addresses to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeInstancesResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Requests a description of a set of instances associated with a specified ID or IDs.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeInstances', - ), - 'StackId' => array( - 'description' => 'A stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'LayerId' => array( - 'description' => 'A layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'AppId' => array( - 'description' => 'An app ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'InstanceIds' => array( - 'description' => 'An array of instance IDs to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeLayers' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeLayersResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Requests a description of one or more layers in a specified stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeLayers', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'LayerIds' => array( - 'description' => 'An array of layer IDs that specify the layers to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeLoadBasedAutoScaling' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeLoadBasedAutoScalingResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes load-based auto scaling configurations for specified layers.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeLoadBasedAutoScaling', - ), - 'LayerIds' => array( - 'required' => true, - 'description' => 'An array of layer IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribePermissions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribePermissionsResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes the permissions for a specified stack. You must specify at least one of the two request values.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribePermissions', - ), - 'IamUserArn' => array( - 'required' => true, - 'description' => 'The user\'s IAM ARN. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeRaidArrays' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeRaidArraysResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describe an instance\'s RAID arrays.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeRaidArrays', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'RaidArrayIds' => array( - 'description' => 'An array of RAID array IDs to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeServiceErrors' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeServiceErrorsResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes OpsWorks service errors.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeServiceErrors', - ), - 'StackId' => array( - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'ServiceErrorIds' => array( - 'description' => 'An array of service error IDs to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeStacks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeStacksResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Requests a description of one or more stacks.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeStacks', - ), - 'StackIds' => array( - 'description' => 'An array of stack IDs that specify the stacks to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeTimeBasedAutoScaling' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeTimeBasedAutoScalingResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes time-based auto scaling configurations for specified instances.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeTimeBasedAutoScaling', - ), - 'InstanceIds' => array( - 'required' => true, - 'description' => 'An array of instance IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeUserProfiles' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeUserProfilesResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describe specified users.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeUserProfiles', - ), - 'IamUserArns' => array( - 'required' => true, - 'description' => 'An array of IAM user ARNs that identify the users to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'DescribeVolumes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeVolumesResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Describes an instance\'s Amazon EBS volumes.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.DescribeVolumes', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'RaidArrayId' => array( - 'description' => 'The RAID array ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'VolumeIds' => array( - 'description' => 'Am array of volume IDs to be described.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'GetHostnameSuggestion' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'GetHostnameSuggestionResult', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Gets a generated hostname for the specified layer, based on the current hostname theme.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.GetHostnameSuggestion', - ), - 'LayerId' => array( - 'required' => true, - 'description' => 'The layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - ), - ), - 'RebootInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Reboots a specified instance.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.RebootInstance', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'SetLoadBasedAutoScaling' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Specify the load-based auto scaling configuration for a specified layer.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.SetLoadBasedAutoScaling', - ), - 'LayerId' => array( - 'required' => true, - 'description' => 'The layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Enable' => array( - 'description' => 'Enables load-based auto scaling for the layer.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'UpScaling' => array( - 'description' => 'An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, OpsWorks starts a specified number of instances.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'InstanceCount' => array( - 'description' => 'The number of instances to add or remove when the load exceeds a threshold.', - 'type' => 'numeric', - ), - 'ThresholdsWaitTime' => array( - 'description' => 'The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 100, - ), - 'IgnoreMetricsTime' => array( - 'description' => 'The amount of time (in minutes) after a scaling event occurs that OpsWorks should ignore metrics and not raise any additional scaling events. For example, OpsWorks adds new instances following an upscaling event but the instances won\'t start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct OpsWorks to not raise any scaling events long enough to get the new instances online.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 100, - ), - 'CpuThreshold' => array( - 'description' => 'The CPU utilization threshold, as a percent of the available CPU.', - 'type' => 'numeric', - ), - 'MemoryThreshold' => array( - 'description' => 'The memory utilization threshold, as a percent of the available memory.', - 'type' => 'numeric', - ), - 'LoadThreshold' => array( - 'description' => 'The load threshold. For more information about how load is computed, see Load (computing).', - 'type' => 'numeric', - ), - ), - ), - 'DownScaling' => array( - 'description' => 'An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, OpsWorks stops a specified number of instances.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'InstanceCount' => array( - 'description' => 'The number of instances to add or remove when the load exceeds a threshold.', - 'type' => 'numeric', - ), - 'ThresholdsWaitTime' => array( - 'description' => 'The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 100, - ), - 'IgnoreMetricsTime' => array( - 'description' => 'The amount of time (in minutes) after a scaling event occurs that OpsWorks should ignore metrics and not raise any additional scaling events. For example, OpsWorks adds new instances following an upscaling event but the instances won\'t start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct OpsWorks to not raise any scaling events long enough to get the new instances online.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 100, - ), - 'CpuThreshold' => array( - 'description' => 'The CPU utilization threshold, as a percent of the available CPU.', - 'type' => 'numeric', - ), - 'MemoryThreshold' => array( - 'description' => 'The memory utilization threshold, as a percent of the available memory.', - 'type' => 'numeric', - ), - 'LoadThreshold' => array( - 'description' => 'The load threshold. For more information about how load is computed, see Load (computing).', - 'type' => 'numeric', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'SetPermission' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Specifies a stack\'s permissions.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.SetPermission', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'IamUserArn' => array( - 'required' => true, - 'description' => 'The user\'s IAM ARN.', - 'type' => 'string', - 'location' => 'json', - ), - 'AllowSsh' => array( - 'description' => 'The user is allowed to use SSH to communicate with the instance.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'AllowSudo' => array( - 'description' => 'The user is allowed to use sudo to elevate privileges.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - ), - ), - 'SetTimeBasedAutoScaling' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Specify the time-based auto scaling configuration for a specified instance.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.SetTimeBasedAutoScaling', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'AutoScalingSchedule' => array( - 'required' => true, - 'description' => 'An AutoScalingSchedule with the instance schedule.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Monday' => array( - 'description' => 'The schedule for Monday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Tuesday' => array( - 'description' => 'The schedule for Tuesday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Wednesday' => array( - 'description' => 'The schedule for Wednesday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Thursday' => array( - 'description' => 'The schedule for Thursday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Friday' => array( - 'description' => 'The schedule for Friday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Saturday' => array( - 'description' => 'The schedule for Saturday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Sunday' => array( - 'description' => 'The schedule for Sunday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'StartInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Starts a specified instance.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.StartInstance', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'StartStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Starts stack\'s instances.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.StartStack', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'StopInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.StopInstance', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'StopStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Stops a specified stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.StopStack', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateApp' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates a specified app.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.UpdateApp', - ), - 'AppId' => array( - 'required' => true, - 'description' => 'The app ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Name' => array( - 'description' => 'The app name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Description' => array( - 'description' => 'A description of the app.', - 'type' => 'string', - 'location' => 'json', - ), - 'Type' => array( - 'description' => 'The app type.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'rails', - 'php', - 'nodejs', - 'static', - 'other', - ), - ), - 'AppSource' => array( - 'description' => 'A Source object that specifies the app repository.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - 'enum' => array( - 'git', - 'svn', - 'archive', - 's3', - ), - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'Domains' => array( - 'description' => 'The app\'s virtual host settings, with multiple domains separated by commas. For example: \'www.mysite.com, mysite.com\'', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'EnableSsl' => array( - 'description' => 'Whether SSL is enabled for the app.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'SslConfiguration' => array( - 'description' => 'An SslConfiguration object with the SSL configuration.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Certificate' => array( - 'required' => true, - 'description' => 'The contents of the certificate\'s domain.crt file.', - 'type' => 'string', - ), - 'PrivateKey' => array( - 'required' => true, - 'description' => 'The private key; the contents of the certificate\'s domain.kex file.', - 'type' => 'string', - ), - 'Chain' => array( - 'description' => 'Optional. Can be used to specify an intermediate certificate authority key or client authentication.', - 'type' => 'string', - ), - ), - ), - 'Attributes' => array( - 'description' => 'One or more user-defined key/value pairs to be added to the stack attributes bag.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates a specified instance.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.UpdateInstance', - ), - 'InstanceId' => array( - 'required' => true, - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'LayerIds' => array( - 'required' => true, - 'description' => 'The instance\'s layer IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'InstanceType' => array( - 'description' => 'The instance type, which can be one of the following:', - 'type' => 'string', - 'location' => 'json', - ), - 'AutoScalingType' => array( - 'description' => 'The instance\'s auto scaling type, which has three possible values:', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'AlwaysRunning', - 'TimeBasedAutoScaling', - 'LoadBasedAutoScaling', - ), - ), - 'Hostname' => array( - 'description' => 'The instance host name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Os' => array( - 'description' => 'The instance operating system.', - 'type' => 'string', - 'location' => 'json', - ), - 'SshKeyName' => array( - 'description' => 'The instance SSH key name.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateLayer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates a specified layer.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.UpdateLayer', - ), - 'LayerId' => array( - 'required' => true, - 'description' => 'The layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Name' => array( - 'description' => 'The layer name, which is used by the console.', - 'type' => 'string', - 'location' => 'json', - ), - 'Shortname' => array( - 'description' => 'The layer short name, which is used internally by OpsWorks, by Chef. The shortname is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters and must be in the following format: /\\A[a-z0-9\\-\\_\\.]+\\Z/.', - 'type' => 'string', - 'location' => 'json', - ), - 'Attributes' => array( - 'description' => 'One or more user-defined key/value pairs to be added to the stack attributes bag.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'CustomInstanceProfileArn' => array( - 'description' => 'The ARN of an IAM profile to be used for all of the layer\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'CustomSecurityGroupIds' => array( - 'description' => 'An array containing the layer\'s custom security group IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Packages' => array( - 'description' => 'An array of Package objects that describe the layer\'s packages.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'VolumeConfigurations' => array( - 'description' => 'A VolumeConfigurations object that describes the layer\'s Amazon EBS volumes.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VolumeConfiguration', - 'description' => 'Describes an Amazon EBS volume configuration.', - 'type' => 'object', - 'properties' => array( - 'MountPoint' => array( - 'required' => true, - 'description' => 'The volume mount point. For example "/dev/sdh".', - 'type' => 'string', - ), - 'RaidLevel' => array( - 'description' => 'The volume RAID level.', - 'type' => 'numeric', - ), - 'NumberOfDisks' => array( - 'required' => true, - 'description' => 'The number of disks in the volume.', - 'type' => 'numeric', - ), - 'Size' => array( - 'required' => true, - 'description' => 'The volume size.', - 'type' => 'numeric', - ), - ), - ), - ), - 'EnableAutoHealing' => array( - 'description' => 'Whether to disable auto healing for the layer.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'AutoAssignElasticIps' => array( - 'description' => 'Whether to automatically assign an Elastic IP address to the layer.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'CustomRecipes' => array( - 'description' => 'A LayerCustomRecipes object that specifies the layer\'s custom recipes.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Setup' => array( - 'description' => 'An array of custom recipe names to be run following a setup event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Configure' => array( - 'description' => 'An array of custom recipe names to be run following a configure event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Deploy' => array( - 'description' => 'An array of custom recipe names to be run following a deploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Undeploy' => array( - 'description' => 'An array of custom recipe names to be run following a undeploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Shutdown' => array( - 'description' => 'An array of custom recipe names to be run following a shutdown event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateStack' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates a specified stack.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.UpdateStack', - ), - 'StackId' => array( - 'required' => true, - 'description' => 'The stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Name' => array( - 'description' => 'The stack\'s new name.', - 'type' => 'string', - 'location' => 'json', - ), - 'Attributes' => array( - 'description' => 'One or more user-defined key/value pairs to be added to the stack attributes bag.', - 'type' => 'object', - 'location' => 'json', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'ServiceRoleArn' => array( - 'description' => 'The stack AWS Identity and Access Management (IAM) role, which allows OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultInstanceProfileArn' => array( - 'description' => 'The ARN of an IAM profile that is the default profile for all of the stack\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultOs' => array( - 'description' => 'The cloned stack default operating system, which must be either "Amazon Linux" or "Ubuntu 12.04 LTS".', - 'type' => 'string', - 'location' => 'json', - ), - 'HostnameTheme' => array( - 'description' => 'The stack\'s new host name theme, with spaces are replaced by underscores. The theme is used to generate hostnames for the stack\'s instances. By default, HostnameTheme is set to Layer_Dependent, which creates hostnames by appending integers to the layer\'s shortname. The other themes are:', - 'type' => 'string', - 'location' => 'json', - ), - 'DefaultAvailabilityZone' => array( - 'description' => 'The stack new default Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - 'location' => 'json', - ), - 'CustomJson' => array( - 'description' => 'A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as \'"\'.:', - 'type' => 'string', - 'location' => 'json', - ), - 'UseCustomCookbooks' => array( - 'description' => 'Whether the stack uses custom cookbooks.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'CustomCookbooksSource' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - 'enum' => array( - 'git', - 'svn', - 'archive', - 's3', - ), - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'DefaultSshKeyName' => array( - 'description' => 'A default SSH key for the stack instances. You can override this value when you create or update an instance.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - 'UpdateUserProfile' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Updates a specified user\'s SSH name and public key.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'OpsWorks_20130218.UpdateUserProfile', - ), - 'IamUserArn' => array( - 'required' => true, - 'description' => 'The user IAM ARN.', - 'type' => 'string', - 'location' => 'json', - ), - 'SshUsername' => array( - 'description' => 'The user\'s new SSH user name.', - 'type' => 'string', - 'location' => 'json', - ), - 'SshPublicKey' => array( - 'description' => 'The user\'s new SSH public key.', - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request was invalid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'Indicates that a resource was not found.', - 'class' => 'ResourceNotFoundException', - ), - ), - ), - ), - 'models' => array( - 'CloneStackResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackId' => array( - 'description' => 'The cloned stack ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateAppResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AppId' => array( - 'description' => 'The app ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateDeploymentResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DeploymentId' => array( - 'description' => 'The deployment ID, which can be used with other requests to identify the deployment.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateInstanceResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateLayerResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LayerId' => array( - 'description' => 'The layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateStackResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StackId' => array( - 'description' => 'The stack ID, which is an opaque string that you use to identify the stack when performing actions such as DescribeStacks.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateUserProfileResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IamUserArn' => array( - 'description' => 'The user\'s IAM ARN.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DescribeAppsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Apps' => array( - 'description' => 'An array of App objects that describe the specified apps.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'App', - 'description' => 'A description of the app.', - 'type' => 'object', - 'properties' => array( - 'AppId' => array( - 'description' => 'The app ID.', - 'type' => 'string', - ), - 'StackId' => array( - 'description' => 'The app stack ID.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The app name.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the app.', - 'type' => 'string', - ), - 'Type' => array( - 'description' => 'The app type.', - 'type' => 'string', - ), - 'AppSource' => array( - 'description' => 'A Source object that describes the app repository.', - 'type' => 'object', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'Domains' => array( - 'description' => 'The app vhost settings, with multiple domains separated by commas. For example: \'www.mysite.com, mysite.com\'', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'EnableSsl' => array( - 'description' => 'Whether to enable SSL for the app.', - 'type' => 'boolean', - ), - 'SslConfiguration' => array( - 'description' => 'An SslConfiguration object with the SSL configuration.', - 'type' => 'object', - 'properties' => array( - 'Certificate' => array( - 'description' => 'The contents of the certificate\'s domain.crt file.', - 'type' => 'string', - ), - 'PrivateKey' => array( - 'description' => 'The private key; the contents of the certificate\'s domain.kex file.', - 'type' => 'string', - ), - 'Chain' => array( - 'description' => 'Optional. Can be used to specify an intermediate certificate authority key or client authentication.', - 'type' => 'string', - ), - ), - ), - 'Attributes' => array( - 'description' => 'The contents of the stack attributes bag.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'CreatedAt' => array( - 'description' => 'When the app was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeCommandsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Commands' => array( - 'description' => 'An array of InstanceCommand objects that describe each of the specified commands.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Command', - 'description' => 'Describes a command.', - 'type' => 'object', - 'properties' => array( - 'CommandId' => array( - 'description' => 'The command ID.', - 'type' => 'string', - ), - 'InstanceId' => array( - 'description' => 'The ID of the instance where the command was executed.', - 'type' => 'string', - ), - 'DeploymentId' => array( - 'description' => 'The command deployment ID.', - 'type' => 'string', - ), - 'CreatedAt' => array( - 'description' => 'Date and time when the command was run.', - 'type' => 'string', - ), - 'AcknowledgedAt' => array( - 'description' => 'Date and time when the command was acknowledged.', - 'type' => 'string', - ), - 'CompletedAt' => array( - 'description' => 'Date when the command completed.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The command status', - 'type' => 'string', - ), - 'ExitCode' => array( - 'description' => 'The command exit code.', - 'type' => 'numeric', - ), - 'LogUrl' => array( - 'description' => 'The URL of the command log.', - 'type' => 'string', - ), - 'Type' => array( - 'description' => 'The command name.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeDeploymentsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Deployments' => array( - 'description' => 'An array of Deployment objects that describe the deployments.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Deployment', - 'description' => 'Describes a deployment of a stack or app.', - 'type' => 'object', - 'properties' => array( - 'DeploymentId' => array( - 'description' => 'The deployment ID.', - 'type' => 'string', - ), - 'StackId' => array( - 'description' => 'The stack ID.', - 'type' => 'string', - ), - 'AppId' => array( - 'description' => 'The app ID.', - 'type' => 'string', - ), - 'CreatedAt' => array( - 'description' => 'Date when the deployment was created.', - 'type' => 'string', - ), - 'CompletedAt' => array( - 'description' => 'Date when the deployment completed.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The deployment duration.', - 'type' => 'numeric', - ), - 'IamUserArn' => array( - 'description' => 'The user\'s IAM ARN.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'A user-defined comment.', - 'type' => 'string', - ), - 'Command' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'Specifies the deployment operation. You can specify only one command.', - 'type' => 'string', - ), - 'Args' => array( - 'description' => 'An array of command arguments. This parameter is currently used only to specify the list of recipes to be executed by the ExecuteRecipes command.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - ), - 'Status' => array( - 'description' => 'The deployment status.', - 'type' => 'string', - ), - 'CustomJson' => array( - 'description' => 'A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as \'"\'.:', - 'type' => 'string', - ), - 'InstanceIds' => array( - 'description' => 'The IDs of the target instances.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'DescribeElasticIpsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ElasticIps' => array( - 'description' => 'An ElasticIps object that describes the specified Elastic IP addresses.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ElasticIp', - 'description' => 'Describes an Elastic IP address.', - 'type' => 'object', - 'properties' => array( - 'Ip' => array( - 'description' => 'The Elastic IP address', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The Elastic IP address name.', - 'type' => 'string', - ), - 'Region' => array( - 'description' => 'The AWS region. For more information, see Regions and Endpoints.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeInstancesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Instances' => array( - 'description' => 'An array of Instance objects that describe the instances.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Instance', - 'description' => 'Describes an instance.', - 'type' => 'object', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - ), - 'Ec2InstanceId' => array( - 'description' => 'The ID of the associated Amazon EC2 instance.', - 'type' => 'string', - ), - 'Hostname' => array( - 'description' => 'The instance host name.', - 'type' => 'string', - ), - 'StackId' => array( - 'description' => 'The stack ID.', - 'type' => 'string', - ), - 'LayerIds' => array( - 'description' => 'An array containing the instance layer IDs.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'SecurityGroupIds' => array( - 'description' => 'An array containing the instance security group IDs.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'InstanceType' => array( - 'description' => 'The instance type, which can be one of the following:', - 'type' => 'string', - ), - 'InstanceProfileArn' => array( - 'description' => 'The ARN of the instance\'s IAM profile. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The instance status.', - 'type' => 'string', - ), - 'Os' => array( - 'description' => 'The instance operating system.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'The instance Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - ), - 'PublicDns' => array( - 'description' => 'The instance public DNS name.', - 'type' => 'string', - ), - 'PrivateDns' => array( - 'description' => 'The instance private DNS name.', - 'type' => 'string', - ), - 'PublicIp' => array( - 'description' => 'The instance public IP address.', - 'type' => 'string', - ), - 'PrivateIp' => array( - 'description' => 'The instance private IP address.', - 'type' => 'string', - ), - 'ElasticIp' => array( - 'description' => 'The instance Elastic IP address.', - 'type' => 'string', - ), - 'AutoScalingType' => array( - 'description' => 'The instance\'s auto scaling type, which has three possible values:', - 'type' => 'string', - ), - 'SshKeyName' => array( - 'description' => 'The instance SSH key name.', - 'type' => 'string', - ), - 'SshHostRsaKeyFingerprint' => array( - 'description' => 'The SSH key\'s RSA fingerprint.', - 'type' => 'string', - ), - 'SshHostDsaKeyFingerprint' => array( - 'description' => 'The SSH key\'s DSA fingerprint.', - 'type' => 'string', - ), - 'CreatedAt' => array( - 'description' => 'The time that the instance was created.', - 'type' => 'string', - ), - 'LastServiceErrorId' => array( - 'description' => 'The ID of the last service error. Call DescribeServiceErrors for details.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeLayersResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Layers' => array( - 'description' => 'An array of Layer objects that describe the layers.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Layer', - 'description' => 'Describes a layer.', - 'type' => 'object', - 'properties' => array( - 'StackId' => array( - 'description' => 'The layer stack ID.', - 'type' => 'string', - ), - 'LayerId' => array( - 'description' => 'The layer ID.', - 'type' => 'string', - ), - 'Type' => array( - 'description' => 'The layer type, which must be one of the following:', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The layer name.', - 'type' => 'string', - ), - 'Shortname' => array( - 'description' => 'The layer short name.', - 'type' => 'string', - ), - 'Attributes' => array( - 'description' => 'The layer attributes.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'CustomInstanceProfileArn' => array( - 'description' => 'The ARN of the default IAM profile to be used for the layer\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - ), - 'CustomSecurityGroupIds' => array( - 'description' => 'An array containing the layer\'s custom security group IDs.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'DefaultSecurityGroupNames' => array( - 'description' => 'An array containing the layer\'s security group names.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Packages' => array( - 'description' => 'An array of Package objects that describe the layer\'s packages.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'VolumeConfigurations' => array( - 'description' => 'A VolumeConfigurations object that describes the layer\'s Amazon EBS volumes.', - 'type' => 'array', - 'items' => array( - 'name' => 'VolumeConfiguration', - 'description' => 'Describes an Amazon EBS volume configuration.', - 'type' => 'object', - 'properties' => array( - 'MountPoint' => array( - 'description' => 'The volume mount point. For example "/dev/sdh".', - 'type' => 'string', - ), - 'RaidLevel' => array( - 'description' => 'The volume RAID level.', - 'type' => 'numeric', - ), - 'NumberOfDisks' => array( - 'description' => 'The number of disks in the volume.', - 'type' => 'numeric', - ), - 'Size' => array( - 'description' => 'The volume size.', - 'type' => 'numeric', - ), - ), - ), - ), - 'EnableAutoHealing' => array( - 'description' => 'Whether auto healing is disabled for the layer.', - 'type' => 'boolean', - ), - 'AutoAssignElasticIps' => array( - 'description' => 'Whether the layer has an automatically assigned Elastic IP address.', - 'type' => 'boolean', - ), - 'DefaultRecipes' => array( - 'type' => 'object', - 'properties' => array( - 'Setup' => array( - 'description' => 'An array of custom recipe names to be run following a setup event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Configure' => array( - 'description' => 'An array of custom recipe names to be run following a configure event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Deploy' => array( - 'description' => 'An array of custom recipe names to be run following a deploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Undeploy' => array( - 'description' => 'An array of custom recipe names to be run following a undeploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Shutdown' => array( - 'description' => 'An array of custom recipe names to be run following a shutdown event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - 'CustomRecipes' => array( - 'description' => 'A LayerCustomRecipes object that specifies the layer\'s custom recipes.', - 'type' => 'object', - 'properties' => array( - 'Setup' => array( - 'description' => 'An array of custom recipe names to be run following a setup event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Configure' => array( - 'description' => 'An array of custom recipe names to be run following a configure event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Deploy' => array( - 'description' => 'An array of custom recipe names to be run following a deploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Undeploy' => array( - 'description' => 'An array of custom recipe names to be run following a undeploy event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'Shutdown' => array( - 'description' => 'An array of custom recipe names to be run following a shutdown event.', - 'type' => 'array', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - ), - 'CreatedAt' => array( - 'description' => 'Date when the layer was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeLoadBasedAutoScalingResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoadBasedAutoScalingConfigurations' => array( - 'description' => 'An array of LoadBasedAutoScalingConfiguration objects that describe each layer\'s configuration.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'LoadBasedAutoScalingConfiguration', - 'description' => 'Describes a layer\'s load-based auto scaling configuration.', - 'type' => 'object', - 'properties' => array( - 'LayerId' => array( - 'description' => 'The layer ID.', - 'type' => 'string', - ), - 'Enable' => array( - 'description' => 'Whether load-based auto scaling is enabled for the layer.', - 'type' => 'boolean', - ), - 'UpScaling' => array( - 'description' => 'A LoadBasedAutoscalingInstruction object that describes the upscaling configuration, which defines how and when OpsWorks increases the number of instances.', - 'type' => 'object', - 'properties' => array( - 'InstanceCount' => array( - 'description' => 'The number of instances to add or remove when the load exceeds a threshold.', - 'type' => 'numeric', - ), - 'ThresholdsWaitTime' => array( - 'description' => 'The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.', - 'type' => 'numeric', - ), - 'IgnoreMetricsTime' => array( - 'description' => 'The amount of time (in minutes) after a scaling event occurs that OpsWorks should ignore metrics and not raise any additional scaling events. For example, OpsWorks adds new instances following an upscaling event but the instances won\'t start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct OpsWorks to not raise any scaling events long enough to get the new instances online.', - 'type' => 'numeric', - ), - 'CpuThreshold' => array( - 'description' => 'The CPU utilization threshold, as a percent of the available CPU.', - 'type' => 'numeric', - ), - 'MemoryThreshold' => array( - 'description' => 'The memory utilization threshold, as a percent of the available memory.', - 'type' => 'numeric', - ), - 'LoadThreshold' => array( - 'description' => 'The load threshold. For more information about how load is computed, see Load (computing).', - 'type' => 'numeric', - ), - ), - ), - 'DownScaling' => array( - 'description' => 'A LoadBasedAutoscalingInstruction object that describes the downscaling configuration, which defines how and when OpsWorks reduces the number of instances.', - 'type' => 'object', - 'properties' => array( - 'InstanceCount' => array( - 'description' => 'The number of instances to add or remove when the load exceeds a threshold.', - 'type' => 'numeric', - ), - 'ThresholdsWaitTime' => array( - 'description' => 'The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.', - 'type' => 'numeric', - ), - 'IgnoreMetricsTime' => array( - 'description' => 'The amount of time (in minutes) after a scaling event occurs that OpsWorks should ignore metrics and not raise any additional scaling events. For example, OpsWorks adds new instances following an upscaling event but the instances won\'t start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct OpsWorks to not raise any scaling events long enough to get the new instances online.', - 'type' => 'numeric', - ), - 'CpuThreshold' => array( - 'description' => 'The CPU utilization threshold, as a percent of the available CPU.', - 'type' => 'numeric', - ), - 'MemoryThreshold' => array( - 'description' => 'The memory utilization threshold, as a percent of the available memory.', - 'type' => 'numeric', - ), - 'LoadThreshold' => array( - 'description' => 'The load threshold. For more information about how load is computed, see Load (computing).', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribePermissionsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Permissions' => array( - 'description' => 'An array of Permission objects that describe the stack permissions.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Permission', - 'description' => 'Describes stack or user permissions.', - 'type' => 'object', - 'properties' => array( - 'StackId' => array( - 'description' => 'A stack ID.', - 'type' => 'string', - ), - 'IamUserArn' => array( - 'description' => 'The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - ), - 'AllowSsh' => array( - 'description' => 'Whether the user can use SSH.', - 'type' => 'boolean', - ), - 'AllowSudo' => array( - 'description' => 'Whether the user can use sudo.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - 'DescribeRaidArraysResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RaidArrays' => array( - 'description' => 'A RaidArrays object that describes the specified RAID arrays.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'RaidArray', - 'description' => 'Describes an instance\'s RAID array.', - 'type' => 'object', - 'properties' => array( - 'RaidArrayId' => array( - 'description' => 'The array ID.', - 'type' => 'string', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The array name.', - 'type' => 'string', - ), - 'RaidLevel' => array( - 'description' => 'The RAID level.', - 'type' => 'numeric', - ), - 'NumberOfDisks' => array( - 'description' => 'The number of disks in the array.', - 'type' => 'numeric', - ), - 'Size' => array( - 'description' => 'The array\'s size.', - 'type' => 'numeric', - ), - 'Device' => array( - 'description' => 'The array\'s device name.', - 'type' => 'string', - ), - 'MountPoint' => array( - 'description' => 'The array\'s mount point.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'The array\'s AWS Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - ), - 'CreatedAt' => array( - 'description' => 'When the RAID array was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeServiceErrorsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ServiceErrors' => array( - 'description' => 'An array of ServiceError objects that describe the specified service errors.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ServiceError', - 'description' => 'Describes an OpsWorks service error.', - 'type' => 'object', - 'properties' => array( - 'ServiceErrorId' => array( - 'description' => 'The error ID.', - 'type' => 'string', - ), - 'StackId' => array( - 'description' => 'The stack ID.', - 'type' => 'string', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - ), - 'Type' => array( - 'description' => 'The error type.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'A message that describes the error.', - 'type' => 'string', - ), - 'CreatedAt' => array( - 'description' => 'When the error occurred.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeStacksResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Stacks' => array( - 'description' => 'An array of Stack objects that describe the stacks.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Stack', - 'description' => 'Describes a stack.', - 'type' => 'object', - 'properties' => array( - 'StackId' => array( - 'description' => 'The stack ID.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The stack name.', - 'type' => 'string', - ), - 'Region' => array( - 'description' => 'The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.', - 'type' => 'string', - ), - 'Attributes' => array( - 'description' => 'The contents of the stack\'s attributes bag.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'ServiceRoleArn' => array( - 'description' => 'The stack AWS Identity and Access Management (IAM) role.', - 'type' => 'string', - ), - 'DefaultInstanceProfileArn' => array( - 'description' => 'The ARN of an IAM profile that is the default profile for all of the stack\'s EC2 instances. For more information about IAM ARNs, see Using Identifiers.', - 'type' => 'string', - ), - 'DefaultOs' => array( - 'description' => 'The cloned stack default operating system, which must be either "Amazon Linux" or "Ubuntu 12.04 LTS".', - 'type' => 'string', - ), - 'HostnameTheme' => array( - 'description' => 'The stack host name theme, with spaces replaced by underscores.', - 'type' => 'string', - ), - 'DefaultAvailabilityZone' => array( - 'description' => 'The stack\'s default Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - ), - 'CustomJson' => array( - 'description' => 'A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as \'"\'.:', - 'type' => 'string', - ), - 'UseCustomCookbooks' => array( - 'description' => 'Whether the stack uses custom cookbooks.', - 'type' => 'boolean', - ), - 'CustomCookbooksSource' => array( - 'type' => 'object', - 'properties' => array( - 'Type' => array( - 'description' => 'The repository type.', - 'type' => 'string', - ), - 'Url' => array( - 'description' => 'The source URL.', - 'type' => 'string', - ), - 'Username' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'Password' => array( - 'description' => 'The repository\'s password.', - 'type' => 'string', - ), - 'SshKey' => array( - 'description' => 'The repository\'s SSH key.', - 'type' => 'string', - ), - 'Revision' => array( - 'description' => 'The application\'s version. OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.', - 'type' => 'string', - ), - ), - ), - 'DefaultSshKeyName' => array( - 'description' => 'A default SSH key for the stack\'s instances. You can override this value when you create or update an instance.', - 'type' => 'string', - ), - 'CreatedAt' => array( - 'description' => 'Date when the stack was created.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeTimeBasedAutoScalingResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TimeBasedAutoScalingConfigurations' => array( - 'description' => 'An array of TimeBasedAutoScalingConfiguration objects that describe the configuration for the specified instances.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'TimeBasedAutoScalingConfiguration', - 'description' => 'Describes an instance\'s time-based auto scaling configuration.', - 'type' => 'object', - 'properties' => array( - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - ), - 'AutoScalingSchedule' => array( - 'description' => 'A WeeklyAutoScalingSchedule object with the instance schedule.', - 'type' => 'object', - 'properties' => array( - 'Monday' => array( - 'description' => 'The schedule for Monday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Tuesday' => array( - 'description' => 'The schedule for Tuesday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Wednesday' => array( - 'description' => 'The schedule for Wednesday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Thursday' => array( - 'description' => 'The schedule for Thursday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Friday' => array( - 'description' => 'The schedule for Friday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Saturday' => array( - 'description' => 'The schedule for Saturday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - 'Sunday' => array( - 'description' => 'The schedule for Sunday.', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeUserProfilesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'UserProfiles' => array( - 'description' => 'A Users object that describes the specified users.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'UserProfile', - 'description' => 'Describes a user\'s SSH information.', - 'type' => 'object', - 'properties' => array( - 'IamUserArn' => array( - 'description' => 'The user IAM ARN.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The user name.', - 'type' => 'string', - ), - 'SshUsername' => array( - 'description' => 'The user\'s SSH user name.', - 'type' => 'string', - ), - 'SshPublicKey' => array( - 'description' => 'The user\'s SSH public key.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeVolumesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Volumes' => array( - 'description' => 'An array of volume IDs.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Volume', - 'description' => 'Describes an instance\'s Amazon EBS volume.', - 'type' => 'object', - 'properties' => array( - 'VolumeId' => array( - 'description' => 'The volume ID.', - 'type' => 'string', - ), - 'Ec2VolumeId' => array( - 'description' => 'The Amazon EC2 volume ID.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The volume name.', - 'type' => 'string', - ), - 'RaidArrayId' => array( - 'description' => 'The RAID array ID.', - 'type' => 'string', - ), - 'InstanceId' => array( - 'description' => 'The instance ID.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The volume status. The possible values are:', - 'type' => 'string', - ), - 'Size' => array( - 'description' => 'The volume size.', - 'type' => 'numeric', - ), - 'Device' => array( - 'description' => 'The device name.', - 'type' => 'string', - ), - 'MountPoint' => array( - 'description' => 'The volume mount point. For example "/dev/sdh".', - 'type' => 'string', - ), - 'Region' => array( - 'description' => 'The AWS region. For more information about AWS regions, see Regions and Endpoints.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'The volume Availability Zone. For more information, see Regions and Endpoints.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'GetHostnameSuggestionResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LayerId' => array( - 'description' => 'The layer ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'Hostname' => array( - 'description' => 'The generated hostname.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeApps' => array( - 'result_key' => 'Apps', - ), - 'DescribeCommands' => array( - 'result_key' => 'Commands', - ), - 'DescribeDeployments' => array( - 'result_key' => 'Deployments', - ), - 'DescribeElasticIps' => array( - 'result_key' => 'ElasticIps', - ), - 'DescribeInstances' => array( - 'result_key' => 'Instances', - ), - 'DescribeLayers' => array( - 'result_key' => 'Layers', - ), - 'DescribeLoadBasedAutoScaling' => array( - 'result_key' => 'LoadBasedAutoScalingConfigurations', - ), - 'DescribeRaidArrays' => array( - 'result_key' => 'RaidArrays', - ), - 'DescribeServiceErrors' => array( - 'result_key' => 'ServiceErrors', - ), - 'DescribeStacks' => array( - 'result_key' => 'Stacks', - ), - 'DescribeTimeBasedAutoScaling' => array( - 'result_key' => 'TimeBasedAutoScalingConfigurations', - ), - 'DescribeUserProfiles' => array( - 'result_key' => 'UserProfiles', - ), - 'DescribeVolumes' => array( - 'result_key' => 'Volumes', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Rds/Enum/ApplyMethod.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Rds/Enum/ApplyMethod.php deleted file mode 100644 index fe5fc29..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Rds/Enum/ApplyMethod.php +++ /dev/null @@ -1,28 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/rds-2013-02-12.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Rds/Resources/rds-2013-02-12.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Rds/Resources/rds-2013-02-12.php deleted file mode 100644 index eef44e5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Rds/Resources/rds-2013-02-12.php +++ /dev/null @@ -1,5812 +0,0 @@ - '2013-02-12', - 'endpointPrefix' => 'rds', - 'serviceFullName' => 'Amazon Relational Database Service', - 'serviceAbbreviation' => 'Amazon RDS', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'Rds', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'rds.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AddSourceIdentifierToSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionWrapper', - 'responseType' => 'model', - 'summary' => 'Adds a source identifier to an existing RDS event notification subscription.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddSourceIdentifierToSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SubscriptionName' => array( - 'required' => true, - 'description' => 'The name of the RDS event notification subscription you want to add a source identifier to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceIdentifier' => array( - 'required' => true, - 'description' => 'The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'SubscriptionNotFoundException', - ), - array( - 'class' => 'SourceNotFoundException', - ), - ), - ), - 'AddTagsToResource' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Adds metadata tags to a DB Instance. These tags can also be used with cost allocation reporting to track cost associated with a DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddTagsToResource', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'ResourceName' => array( - 'required' => true, - 'description' => 'The DB Instance the tags will be added to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Tags' => array( - 'required' => true, - 'description' => 'The tags to be assigned to the DB Instance.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Tags.member', - 'items' => array( - 'name' => 'Tag', - 'description' => 'Metadata assigned to a DB Instance consisting of a key-value pair.', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'description' => 'A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and cannot be prefixed with "aws:". The string may only contain only the set of Unicode letters, digits, white-space, \'_\', \'.\', \'/\', \'=\', \'+\', \'-\' (Java regex: "^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$").', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with "aws:". The string may only contain only the set of Unicode letters, digits, white-space, \'_\', \'.\', \'/\', \'=\', \'+\', \'-\' (Java regex: "^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$").', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'DBSnapshotNotFoundException', - ), - ), - ), - 'AuthorizeDBSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC Security Groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AuthorizeDBSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Security Group to add authorization to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CIDRIP' => array( - 'description' => 'The IP range to authorize.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'Name of the EC2 Security Group to authorize. For VPC DB Security Groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupId' => array( - 'description' => 'Id of the EC2 Security Group to authorize. For VPC DB Security Groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'AWS Account Number of the owner of the EC2 Security Group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB Security Groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - array( - 'class' => 'InvalidDBSecurityGroupStateException', - ), - array( - 'class' => 'AuthorizationAlreadyExistsException', - ), - array( - 'class' => 'AuthorizationQuotaExceededException', - ), - ), - ), - 'CopyDBSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSnapshotWrapper', - 'responseType' => 'model', - 'summary' => 'Copies the specified DBSnapshot. The source DBSnapshot must be in the "available" state.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CopyDBSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SourceDBSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The identifier for the source DB snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TargetDBSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The identifier for the copied snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSnapshotAlreadyExistsException', - ), - array( - 'class' => 'DBSnapshotNotFoundException', - ), - array( - 'class' => 'InvalidDBSnapshotStateException', - ), - array( - 'class' => 'SnapshotQuotaExceededException', - ), - ), - ), - 'CreateDBInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new DB instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDBInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBName' => array( - 'description' => 'The meaning of this parameter differs according to the database engine you use.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier. This parameter is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllocatedStorage' => array( - 'required' => true, - 'description' => 'The amount of storage (in gigabytes) to be initially allocated for the database instance.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'required' => true, - 'description' => 'The compute and memory capacity of the DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Engine' => array( - 'required' => true, - 'description' => 'The name of the database engine to be used for this instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MasterUsername' => array( - 'required' => true, - 'description' => 'The name of master user for the client DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MasterUserPassword' => array( - 'required' => true, - 'description' => 'The password for the master database user. Can be any printable ASCII character except "/", "\\", or "@".', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSecurityGroups' => array( - 'description' => 'A list of DB Security Groups to associate with this DB Instance.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DBSecurityGroups.member', - 'items' => array( - 'name' => 'DBSecurityGroupName', - 'type' => 'string', - ), - ), - 'VpcSecurityGroupIds' => array( - 'description' => 'A list of EC2 VPC Security Groups to associate with this DB Instance.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpcSecurityGroupIds.member', - 'items' => array( - 'name' => 'VpcSecurityGroupId', - 'type' => 'string', - ), - ), - 'AvailabilityZone' => array( - 'description' => 'The EC2 Availability Zone that the database instance will be created in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSubnetGroupName' => array( - 'description' => 'A DB Subnet Group to associate with this DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBParameterGroupName' => array( - 'description' => 'The name of the DB Parameter Group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine will be used.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PreferredBackupWindow' => array( - 'description' => 'The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number on which the database accepts connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MultiAZ' => array( - 'description' => 'Specifies if the DB Instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the MultiAZ parameter is set to true.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The version number of the database engine to use.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor engine upgrades will be applied automatically to the DB Instance during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'LicenseModel' => array( - 'description' => 'License model information for this DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Iops' => array( - 'description' => 'The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'OptionGroupName' => array( - 'description' => 'Indicates that the DB Instance should be associated with the specified option group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CharacterSetName' => array( - 'description' => 'For supported engines, indicates that the DB Instance should be associated with the specified CharacterSet.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceAlreadyExistsException', - ), - array( - 'class' => 'InsufficientDBInstanceCapacityException', - ), - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - array( - 'class' => 'InstanceQuotaExceededException', - ), - array( - 'class' => 'StorageQuotaExceededException', - ), - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - array( - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'ProvisionedIopsNotAvailableInAZException', - ), - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'CreateDBInstanceReadReplica' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a DB Instance that acts as a Read Replica of a source DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDBInstanceReadReplica', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier of the Read Replica. This is the unique key that identifies a DB Instance. This parameter is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceDBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The identifier of the DB Instance that will act as the source for the Read Replica. Each DB Instance can have up to five Read Replicas.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The compute and memory capacity of the Read Replica.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The Amazon EC2 Availability Zone that the Read Replica will be created in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number that the DB Instance uses for connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'Iops' => array( - 'description' => 'The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'OptionGroupName' => array( - 'description' => 'The option group the DB instance will be associated with. If omitted, the default Option Group for the engine specified will be used.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceAlreadyExistsException', - ), - array( - 'class' => 'InsufficientDBInstanceCapacityException', - ), - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - array( - 'class' => 'InstanceQuotaExceededException', - ), - array( - 'class' => 'StorageQuotaExceededException', - ), - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - array( - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'ProvisionedIopsNotAvailableInAZException', - ), - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'CreateDBParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBParameterGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new DB Parameter Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDBParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBParameterGroupFamily' => array( - 'required' => true, - 'description' => 'The DB Parameter Group Family name. A DB Parameter Group can be associated with one and only one DB Parameter Group Family, and can be applied only to a DB Instance running a database engine and engine version compatible with that DB Parameter Group Family.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'The description for the DB Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBParameterGroupQuotaExceededException', - ), - array( - 'class' => 'DBParameterGroupAlreadyExistsException', - ), - ), - ), - 'CreateDBSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new DB Security Group. DB Security Groups control access to a DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDBSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name for the DB Security Group. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSecurityGroupDescription' => array( - 'required' => true, - 'description' => 'The description for the DB Security Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSecurityGroupAlreadyExistsException', - ), - array( - 'class' => 'DBSecurityGroupQuotaExceededException', - ), - array( - 'class' => 'DBSecurityGroupNotSupportedException', - ), - ), - ), - 'CreateDBSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSnapshotWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a DBSnapshot. The source DBInstance must be in "available" state.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDBSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The identifier for the DB Snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier. This is the unique key that identifies a DB Instance. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSnapshotAlreadyExistsException', - ), - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'SnapshotQuotaExceededException', - ), - ), - ), - 'CreateDBSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSubnetGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDBSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name for the DB Subnet Group. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSubnetGroupDescription' => array( - 'required' => true, - 'description' => 'The description for the DB Subnet Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SubnetIds' => array( - 'required' => true, - 'description' => 'The EC2 Subnet IDs for the DB Subnet Group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetIds.member', - 'items' => array( - 'name' => 'SubnetIdentifier', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSubnetGroupAlreadyExistsException', - ), - array( - 'class' => 'DBSubnetGroupQuotaExceededException', - ), - array( - 'class' => 'DBSubnetQuotaExceededException', - ), - array( - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'CreateEventSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionWrapper', - 'responseType' => 'model', - 'summary' => 'Creates an RDS event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateEventSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SubscriptionName' => array( - 'required' => true, - 'description' => 'The name of the subscription.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SnsTopicArn' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceType' => array( - 'description' => 'The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EventCategories' => array( - 'description' => 'A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'EventCategories.member', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - ), - ), - 'SourceIds' => array( - 'description' => 'The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SourceIds.member', - 'items' => array( - 'name' => 'SourceId', - 'type' => 'string', - ), - ), - 'Enabled' => array( - 'description' => 'A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'EventSubscriptionQuotaExceededException', - ), - array( - 'class' => 'SubscriptionAlreadyExistException', - ), - array( - 'class' => 'SNSInvalidTopicException', - ), - array( - 'class' => 'SNSNoAuthorizationException', - ), - array( - 'class' => 'SNSTopicArnNotFoundException', - ), - array( - 'class' => 'SubscriptionCategoryNotFoundException', - ), - array( - 'class' => 'SourceNotFoundException', - ), - ), - ), - 'CreateOptionGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'OptionGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new Option Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateOptionGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'OptionGroupName' => array( - 'required' => true, - 'description' => 'Specifies the name of the option group to be created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EngineName' => array( - 'required' => true, - 'description' => 'Specifies the name of the engine that this option group should be associated with.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MajorEngineVersion' => array( - 'required' => true, - 'description' => 'Specifies the major version of the engine that this option group should be associated with.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OptionGroupDescription' => array( - 'required' => true, - 'description' => 'The description of the option group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'OptionGroupAlreadyExistsException', - ), - array( - 'class' => 'OptionGroupQuotaExceededException', - ), - ), - ), - 'DeleteDBInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'The DeleteDBInstance API deletes a previously provisioned RDS instance. A successful response from the web service indicates the request was received correctly. If a final DBSnapshot is requested the status of the RDS instance will be "deleting" until the DBSnapshot is created. DescribeDBInstance is used to monitor the status of this operation. This cannot be canceled or reverted once submitted.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDBInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier for the DB Instance to be deleted. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SkipFinalSnapshot' => array( - 'description' => 'Determines whether a final DB Snapshot is created before the DB Instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB Snapshot is created before the DB Instance is deleted.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'FinalDBSnapshotIdentifier' => array( - 'description' => 'The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'DBSnapshotAlreadyExistsException', - ), - array( - 'class' => 'SnapshotQuotaExceededException', - ), - ), - ), - 'DeleteDBParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a specified DBParameterGroup. The DBParameterGroup cannot be associated with any RDS instances to be deleted.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDBParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBParameterGroupStateException', - ), - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - ), - ), - 'DeleteDBSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a DB Security Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDBSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Security Group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBSecurityGroupStateException', - ), - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - ), - ), - 'DeleteDBSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSnapshotWrapper', - 'responseType' => 'model', - 'summary' => 'Deletes a DBSnapshot.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDBSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The DBSnapshot identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBSnapshotStateException', - ), - array( - 'class' => 'DBSnapshotNotFoundException', - ), - ), - ), - 'DeleteDBSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a DB subnet group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDBSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name of the database subnet group to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBSubnetGroupStateException', - ), - array( - 'class' => 'InvalidDBSubnetStateException', - ), - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - ), - ), - 'DeleteEventSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionWrapper', - 'responseType' => 'model', - 'summary' => 'Deletes an RDS event notification subscription.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteEventSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SubscriptionName' => array( - 'required' => true, - 'description' => 'The name of the RDS event notification subscription you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'SubscriptionNotFoundException', - ), - array( - 'class' => 'InvalidEventSubscriptionStateException', - ), - ), - ), - 'DeleteOptionGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes an existing Option Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteOptionGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'OptionGroupName' => array( - 'required' => true, - 'description' => 'The name of the option group to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'OptionGroupNotFoundException', - ), - array( - 'class' => 'InvalidOptionGroupStateException', - ), - ), - ), - 'DescribeDBEngineVersions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBEngineVersionMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of the available DB engines.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBEngineVersions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'Engine' => array( - 'description' => 'The database engine to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The database engine version to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBParameterGroupFamily' => array( - 'description' => 'The name of a specific DB Parameter Group family to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DefaultOnly' => array( - 'description' => 'Indicates that only the default version of the specified engine or engine and major version combination is returned.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'ListSupportedCharacterSets' => array( - 'description' => 'If this parameter is specified, and if the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeDBInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about provisioned RDS instances. This API supports pagination.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'The user-supplied instance identifier. If this parameter is specified, information from only the specific DB Instance is returned. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - ), - ), - 'DescribeDBLogFiles' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeDBLogFilesResponse', - 'responseType' => 'model', - 'summary' => 'Returns a list of DB log files for the DB instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBLogFiles', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'The customer-assigned name of the DB Instance that contains the log files you want to list.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'FilenameContains' => array( - 'description' => 'Filters the available log files for log file names that contain the specified string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'FileLastWritten' => array( - 'description' => 'Filters the available log files for files written since the specified date.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'FileSize' => array( - 'description' => 'Filters the available log files for files larger than the specified size.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - ), - ), - 'DescribeDBParameterGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBParameterGroupsMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DBParameterGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBParameterGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupName' => array( - 'description' => 'The name of a specific DB Parameter Group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeDBParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - ), - ), - 'DescribeDBParameters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBParameterGroupDetails', - 'responseType' => 'model', - 'summary' => 'Returns the detailed parameter list for a particular DBParameterGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBParameters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of a specific DB Parameter Group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Source' => array( - 'description' => 'The parameter types to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeDBParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - ), - ), - 'DescribeDBSecurityGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSecurityGroupMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DBSecurityGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBSecurityGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSecurityGroupName' => array( - 'description' => 'The name of the DB Security Group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeDBSecurityGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - ), - ), - 'DescribeDBSnapshots' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSnapshotMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about DBSnapshots. This API supports pagination.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBSnapshots', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'A DB Instance Identifier to retrieve the list of DB Snapshots for. Cannot be used in conjunction with DBSnapshotIdentifier. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSnapshotIdentifier' => array( - 'description' => 'A specific DB Snapshot Identifier to describe. Cannot be used in conjunction with DBInstanceIdentifier. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SnapshotType' => array( - 'description' => 'An optional snapshot type for which snapshots will be returned. If not specified, the returned results will include snapshots of all types.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeDBSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSnapshotNotFoundException', - ), - ), - ), - 'DescribeDBSubnetGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSubnetGroupMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDBSubnetGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSubnetGroupName' => array( - 'description' => 'The name of the DB Subnet Group to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - ), - ), - 'DescribeEngineDefaultParameters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EngineDefaultsWrapper', - 'responseType' => 'model', - 'summary' => 'Returns the default engine and system parameter information for the specified database engine.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEngineDefaultParameters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupFamily' => array( - 'required' => true, - 'description' => 'The name of the DB Parameter Group Family.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeEventCategories' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventCategoriesMessage', - 'responseType' => 'model', - 'summary' => 'Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in the Events topic in the Amazon RDS User Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEventCategories', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SourceType' => array( - 'description' => 'The type of source that will be generating the events.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeEventSubscriptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionsMessage', - 'responseType' => 'model', - 'summary' => 'Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEventSubscriptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SubscriptionName' => array( - 'description' => 'The name of the RDS event notification subscription you want to describe.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'SubscriptionNotFoundException', - ), - ), - ), - 'DescribeEvents' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventsMessage', - 'responseType' => 'model', - 'summary' => 'Returns events related to DB instances, DB security groups, DB Snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB Iinstance, DB security group, DB Snapshot, or DB parameter group can be obtained by providing the source identifier as a parameter. By default, the past hour of events are returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEvents', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SourceIdentifier' => array( - 'description' => 'The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceType' => array( - 'description' => 'The event source to retrieve events for. If no value is specified, all events are returned.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'db-instance', - 'db-parameter-group', - 'db-security-group', - 'db-snapshot', - ), - ), - 'StartTime' => array( - 'description' => 'The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'The number of minutes to retrieve events for.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'EventCategories' => array( - 'description' => 'A list of event categories that trigger notifications for a event notification subscription.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'EventCategories.member', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - ), - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeOptionGroupOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'OptionGroupOptionsMessage', - 'responseType' => 'model', - 'summary' => 'Describes all available options.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeOptionGroupOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'EngineName' => array( - 'required' => true, - 'description' => 'A required parameter. Options available for the given Engine name will be described.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MajorEngineVersion' => array( - 'description' => 'If specified, filters the results to include only options for the specified major engine version.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeOptionGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'OptionGroups', - 'responseType' => 'model', - 'summary' => 'Describes the available option groups.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeOptionGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'OptionGroupName' => array( - 'description' => 'The name of the option group to describe. Cannot be supplied together with EngineName or MajorEngineVersion.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeOptionGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'EngineName' => array( - 'description' => 'Filters the list of option groups to only include groups associated with a specific database engine.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MajorEngineVersion' => array( - 'description' => 'Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'DescribeOrderableDBInstanceOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'OrderableDBInstanceOptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of orderable DB Instance options for the specified engine.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeOrderableDBInstanceOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'Engine' => array( - 'required' => true, - 'description' => 'The name of the engine to retrieve DB Instance options for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'LicenseModel' => array( - 'description' => 'The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Vpc' => array( - 'description' => 'The VPC filter value. Specify this parameter to show only the available VPC or non-VPC offerings.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeReservedDBInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedDBInstanceMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about reserved DB Instances for this account, or about a specified reserved DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedDBInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'ReservedDBInstanceId' => array( - 'description' => 'The reserved DB Instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedDBInstancesOfferingId' => array( - 'description' => 'The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB Instance class filter value. Specify this parameter to show only those reservations matching the specified DB Instances class.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ProductDescription' => array( - 'description' => 'The product description filter value. Specify this parameter to show only those reservations matching the specified product description.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OfferingType' => array( - 'description' => 'The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MultiAZ' => array( - 'description' => 'The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedDBInstanceNotFoundException', - ), - ), - ), - 'DescribeReservedDBInstancesOfferings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedDBInstancesOfferingMessage', - 'responseType' => 'model', - 'summary' => 'Lists available reserved DB Instance offerings.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedDBInstancesOfferings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'ReservedDBInstancesOfferingId' => array( - 'description' => 'The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ProductDescription' => array( - 'description' => 'Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OfferingType' => array( - 'description' => 'The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MultiAZ' => array( - 'description' => 'The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedDBInstancesOfferingNotFoundException', - ), - ), - ), - 'DownloadDBLogFilePortion' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DownloadDBLogFilePortionDetails', - 'responseType' => 'model', - 'summary' => 'Downloads the last line of the specified log file.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DownloadDBLogFilePortion', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The customer-assigned name of the DB Instance that contains the log files you want to list.', - 'type' => 'string', - 'location' => 'uri', - ), - 'LogFileName' => array( - 'required' => true, - 'description' => 'The name of the log file to be downloaded.', - 'type' => 'string', - 'location' => 'uri', - ), - 'Marker' => array( - 'description' => 'The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NumberOfLines' => array( - 'description' => 'The number of lines remaining to be downloaded.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - ), - ), - 'ListTagsForResource' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'TagListMessage', - 'responseType' => 'model', - 'summary' => 'Lists all tags on a DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListTagsForResource', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'ResourceName' => array( - 'required' => true, - 'description' => 'The DB Instance with tags to be listed.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'DBSnapshotNotFoundException', - ), - ), - ), - 'ModifyDBInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Modify settings for a DB Instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyDBInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllocatedStorage' => array( - 'description' => 'The new storage capacity of the RDS instance. Changing this parameter does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The new compute and memory capacity of the DB Instance. To determine the instance classes that are available for a particular DB engine, use the DescribeOrderableDBInstanceOptions action.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSecurityGroups' => array( - 'description' => 'A list of DB Security Groups to authorize on this DB Instance. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DBSecurityGroups.member', - 'items' => array( - 'name' => 'DBSecurityGroupName', - 'type' => 'string', - ), - ), - 'VpcSecurityGroupIds' => array( - 'description' => 'A list of EC2 VPC Security Groups to authorize on this DB Instance. This change is asynchronously applied as soon as possible.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpcSecurityGroupIds.member', - 'items' => array( - 'name' => 'VpcSecurityGroupId', - 'type' => 'string', - ), - ), - 'ApplyImmediately' => array( - 'description' => 'Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB Instance.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'MasterUserPassword' => array( - 'description' => 'The new password for the DB Instance master user. Can be any printable ASCII character except "/", "\\", or "@".', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBParameterGroupName' => array( - 'description' => 'The name of the DB Parameter Group to apply to this DB Instance. Changing this parameter does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PreferredBackupWindow' => array( - 'description' => 'The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, then changing this parameter will cause a reboot of the DB Instance. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MultiAZ' => array( - 'description' => 'Specifies if the DB Instance is a Multi-AZ deployment. Changing this parameter does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( - 'description' => 'The version number of the database engine to upgrade to. Changing this parameter results in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllowMajorVersionUpgrade' => array( - 'description' => 'Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and RDS has enabled auto patching for that engine version.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'Iops' => array( - 'description' => 'The new Provisioned IOPS (I/O operations per second) value for the RDS instance. Changing this parameter does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'OptionGroupName' => array( - 'description' => 'Indicates that the DB Instance should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NewDBInstanceIdentifier' => array( - 'description' => 'The new DB Instance identifier for the DB Instance when renaming a DB Instance. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'InvalidDBSecurityGroupStateException', - ), - array( - 'class' => 'DBInstanceAlreadyExistsException', - ), - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - array( - 'class' => 'InsufficientDBInstanceCapacityException', - ), - array( - 'class' => 'StorageQuotaExceededException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'ProvisionedIopsNotAvailableInAZException', - ), - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'ModifyDBParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBParameterGroupNameMessage', - 'responseType' => 'model', - 'summary' => 'Modifies the parameters of a DBParameterGroup. To modify more than one parameter submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyDBParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Parameters' => array( - 'required' => true, - 'description' => 'An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'This data type is used as a request parameter in the ModifyDBParameterGroup and ResetDBParameterGroup actions.', - 'type' => 'object', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the engine specific parameters type.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - 'ApplyMethod' => array( - 'description' => 'Indicates when to apply parameter updates.', - 'type' => 'string', - 'enum' => array( - 'immediate', - 'pending-reboot', - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidDBParameterGroupStateException', - ), - ), - ), - 'ModifyDBSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSubnetGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyDBSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name for the DB Subnet Group. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSubnetGroupDescription' => array( - 'description' => 'The description for the DB Subnet Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SubnetIds' => array( - 'required' => true, - 'description' => 'The EC2 Subnet IDs for the DB Subnet Group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetIds.member', - 'items' => array( - 'name' => 'SubnetIdentifier', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - array( - 'class' => 'DBSubnetQuotaExceededException', - ), - array( - 'class' => 'SubnetAlreadyInUseException', - ), - array( - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'ModifyEventSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyEventSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SubscriptionName' => array( - 'required' => true, - 'description' => 'The name of the RDS event notification subscription.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SnsTopicArn' => array( - 'description' => 'The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceType' => array( - 'description' => 'The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EventCategories' => array( - 'description' => 'A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'EventCategories.member', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - ), - ), - 'Enabled' => array( - 'description' => 'A Boolean value; set to true to activate the subscription.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'EventSubscriptionQuotaExceededException', - ), - array( - 'class' => 'SubscriptionNotFoundException', - ), - array( - 'class' => 'SNSInvalidTopicException', - ), - array( - 'class' => 'SNSNoAuthorizationException', - ), - array( - 'class' => 'SNSTopicArnNotFoundException', - ), - array( - 'class' => 'SubscriptionCategoryNotFoundException', - ), - ), - ), - 'ModifyOptionGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'OptionGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies an existing Option Group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyOptionGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'OptionGroupName' => array( - 'required' => true, - 'description' => 'The name of the option group to be modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'OptionsToInclude' => array( - 'description' => 'Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionsToInclude.member', - 'items' => array( - 'name' => 'OptionConfiguration', - 'description' => 'A list of all available options', - 'type' => 'object', - 'properties' => array( - 'OptionName' => array( - 'required' => true, - 'description' => 'The configuration of options to include in a group.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The optional port for the option.', - 'type' => 'numeric', - ), - 'DBSecurityGroupMemberships' => array( - 'description' => 'A list of DBSecurityGroupMemebrship name strings used for this option.', - 'type' => 'array', - 'sentAs' => 'DBSecurityGroupMemberships.member', - 'items' => array( - 'name' => 'DBSecurityGroupName', - 'type' => 'string', - ), - ), - 'VpcSecurityGroupMemberships' => array( - 'description' => 'A list of VpcSecurityGroupMemebrship name strings used for this option.', - 'type' => 'array', - 'sentAs' => 'VpcSecurityGroupMemberships.member', - 'items' => array( - 'name' => 'VpcSecurityGroupId', - 'type' => 'string', - ), - ), - 'OptionSettings' => array( - 'description' => 'A list of option settings applied for this option.', - 'type' => 'array', - 'sentAs' => 'OptionSettings.member', - 'items' => array( - 'name' => 'OptionSetting', - 'description' => 'Option setting details.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the setting.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of this setting.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'Default value for this setting.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the setting.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the apply type for this setting.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type of this setting', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies a valid list/range of values allowed for this setting.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates if the setting is modifiable or not.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'IsCollection' => array( - 'description' => 'Indicates if the value for the setting can be a list of values or a single value.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - ), - ), - 'OptionsToRemove' => array( - 'description' => 'Options in this list are removed from the Option Group.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'OptionsToRemove.member', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - 'ApplyImmediately' => array( - 'description' => 'Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidOptionGroupStateException', - ), - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'PromoteReadReplica' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Promotes a Read Replica DB Instance to a standalone DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PromoteReadReplica', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier. This value is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PreferredBackupWindow' => array( - 'description' => 'The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'DBInstanceNotFoundException', - ), - ), - ), - 'PurchaseReservedDBInstancesOffering' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedDBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Purchases a reserved DB Instance offering.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PurchaseReservedDBInstancesOffering', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'ReservedDBInstancesOfferingId' => array( - 'required' => true, - 'description' => 'The ID of the Reserved DB Instance offering to purchase.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedDBInstanceId' => array( - 'description' => 'Customer-specified identifier to track this reservation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceCount' => array( - 'description' => 'The number of instances to reserve.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedDBInstancesOfferingNotFoundException', - ), - array( - 'class' => 'ReservedDBInstanceAlreadyExistsException', - ), - array( - 'class' => 'ReservedDBInstanceQuotaExceededException', - ), - ), - ), - 'RebootDBInstance' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Reboots a previously provisioned RDS instance. This API results in the application of modified DBParameterGroup parameters with ApplyStatus of pending-reboot to the RDS instance. This action is taken as soon as possible, and results in a momentary outage to the RDS instance during which the RDS instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot will be conducted through a failover. A DBInstance event is created when the reboot is completed.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RebootDBInstance', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The DB Instance identifier. This parameter is stored as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ForceFailover' => array( - 'description' => 'When true, the reboot will be conducted through a MultiAZ failover.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'DBInstanceNotFoundException', - ), - ), - ), - 'RemoveSourceIdentifierFromSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionWrapper', - 'responseType' => 'model', - 'summary' => 'Removes a source identifier from an existing RDS event notification subscription.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RemoveSourceIdentifierFromSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SubscriptionName' => array( - 'required' => true, - 'description' => 'The name of the RDS event notification subscription you want to remove a source identifier from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceIdentifier' => array( - 'required' => true, - 'description' => 'The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'SubscriptionNotFoundException', - ), - array( - 'class' => 'SourceNotFoundException', - ), - ), - ), - 'RemoveTagsFromResource' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Removes metadata tags from a DB Instance.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RemoveTagsFromResource', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'ResourceName' => array( - 'required' => true, - 'description' => 'The DB Instance the tags will be removed from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TagKeys' => array( - 'required' => true, - 'description' => 'The tag key (name) of the tag to be removed.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'TagKeys.member', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'DBSnapshotNotFoundException', - ), - ), - ), - 'ResetDBParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBParameterGroupNameMessage', - 'responseType' => 'model', - 'summary' => 'Modifies the parameters of a DBParameterGroup to the engine/system default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DBParameterGroup specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetDBParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Parameter Group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ResetAllParameters' => array( - 'description' => 'Specifies whether (true) or not (false) to reset all parameters in the DB Parameter Group to default values.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'Parameters' => array( - 'description' => 'An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'This data type is used as a request parameter in the ModifyDBParameterGroup and ResetDBParameterGroup actions.', - 'type' => 'object', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the engine specific parameters type.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - 'ApplyMethod' => array( - 'description' => 'Indicates when to apply parameter updates.', - 'type' => 'string', - 'enum' => array( - 'immediate', - 'pending-reboot', - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidDBParameterGroupStateException', - ), - array( - 'class' => 'DBParameterGroupNotFoundException', - ), - ), - ), - 'RestoreDBInstanceFromDBSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new DB Instance from a DB snapshot. The target database is created from the source database restore point with the same configuration as the original source database, except that the new RDS instance is created with the default security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RestoreDBInstanceFromDBSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The identifier for the DB Snapshot to restore from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'Name of the DB Instance to create from the DB Snapshot. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The compute and memory capacity of the Amazon RDS DB instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number on which the database accepts connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The EC2 Availability Zone that the database instance will be created in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSubnetGroupName' => array( - 'description' => 'The DB Subnet Group name to use for the new instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MultiAZ' => array( - 'description' => 'Specifies if the DB Instance is a Multi-AZ deployment.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'LicenseModel' => array( - 'description' => 'License model information for the restored DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBName' => array( - 'description' => 'The database name for the restored DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Engine' => array( - 'description' => 'The database engine to use for the new instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Iops' => array( - 'description' => 'The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'OptionGroupName' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceAlreadyExistsException', - ), - array( - 'class' => 'DBSnapshotNotFoundException', - ), - array( - 'class' => 'InstanceQuotaExceededException', - ), - array( - 'class' => 'InsufficientDBInstanceCapacityException', - ), - array( - 'class' => 'InvalidDBSnapshotStateException', - ), - array( - 'class' => 'StorageQuotaExceededException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'InvalidRestoreException', - ), - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - array( - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - array( - 'class' => 'ProvisionedIopsNotAvailableInAZException', - ), - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'RestoreDBInstanceToPointInTime' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', - 'responseType' => 'model', - 'summary' => 'Restores a DB Instance to an arbitrary point-in-time. Users can restore to any point in time before the latestRestorableTime for up to backupRetentionPeriod days. The target database is created from the source database with the same configuration as the original database except that the DB instance is created with the default DB security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RestoreDBInstanceToPointInTime', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'SourceDBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The identifier of the source DB Instance from which to restore.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TargetDBInstanceIdentifier' => array( - 'required' => true, - 'description' => 'The name of the new database instance to be created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RestoreTime' => array( - 'description' => 'The date and time to restore from.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'aws.query', - ), - 'UseLatestRestorableTime' => array( - 'description' => 'Specifies whether (true) or not (false) the DB Instance is restored from the latest backup time.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'DBInstanceClass' => array( - 'description' => 'The compute and memory capacity of the Amazon RDS DB instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number on which the database accepts connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The EC2 Availability Zone that the database instance will be created in.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBSubnetGroupName' => array( - 'description' => 'The DB subnet group name to use for the new instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MultiAZ' => array( - 'description' => 'Specifies if the DB Instance is a Multi-AZ deployment.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'LicenseModel' => array( - 'description' => 'License model information for the restored DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBName' => array( - 'description' => 'The database name for the restored DB Instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Engine' => array( - 'description' => 'The database engine to use for the new instance.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Iops' => array( - 'description' => 'The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'OptionGroupName' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBInstanceAlreadyExistsException', - ), - array( - 'class' => 'DBInstanceNotFoundException', - ), - array( - 'class' => 'InstanceQuotaExceededException', - ), - array( - 'class' => 'InsufficientDBInstanceCapacityException', - ), - array( - 'class' => 'InvalidDBInstanceStateException', - ), - array( - 'class' => 'PointInTimeRestoreNotEnabledException', - ), - array( - 'class' => 'StorageQuotaExceededException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - array( - 'class' => 'InvalidRestoreException', - ), - array( - 'class' => 'DBSubnetGroupNotFoundException', - ), - array( - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - array( - 'class' => 'ProvisionedIopsNotAvailableInAZException', - ), - array( - 'class' => 'OptionGroupNotFoundException', - ), - ), - ), - 'RevokeDBSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RevokeDBSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2013-02-12', - ), - 'DBSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the DB Security Group to revoke ingress from.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CIDRIP' => array( - 'description' => 'The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'The name of the EC2 Security Group to revoke access from. For VPC DB Security Groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupId' => array( - 'description' => 'The id of the EC2 Security Group to revoke access from. For VPC DB Security Groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'The AWS Account Number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB Security Groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DBSecurityGroupNotFoundException', - ), - array( - 'class' => 'AuthorizationNotFoundException', - ), - array( - 'class' => 'InvalidDBSecurityGroupStateException', - ), - ), - ), - ), - 'models' => array( - 'EventSubscriptionWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EventSubscription' => array( - 'description' => 'Contains the results of a successful invocation of the DescribeEventSubscriptions action.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'Id' => array( - 'description' => 'Not used.', - 'type' => 'string', - ), - 'CustomerAwsId' => array( - 'description' => 'The AWS customer account associated with the RDS event notification subscription.', - 'type' => 'string', - ), - 'CustSubscriptionId' => array( - 'description' => 'The RDS event notification subscription Id.', - 'type' => 'string', - ), - 'SnsTopicArn' => array( - 'description' => 'The topic ARN of the RDS event notification subscription.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the RDS event notification subscription.', - 'type' => 'string', - ), - 'SubscriptionCreationTime' => array( - 'description' => 'The time the RDS event notification subscription was created.', - 'type' => 'string', - ), - 'SourceType' => array( - 'description' => 'The source type for the RDS event notification subscription.', - 'type' => 'string', - ), - 'SourceIdsList' => array( - 'description' => 'A list of source Ids for the RDS event notification subscription.', - 'type' => 'array', - 'items' => array( - 'name' => 'SourceId', - 'type' => 'string', - 'sentAs' => 'SourceId', - ), - ), - 'EventCategoriesList' => array( - 'description' => 'A list of event categories for the RDS event notification subscription.', - 'type' => 'array', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - 'sentAs' => 'EventCategory', - ), - ), - 'Enabled' => array( - 'description' => 'A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DBSecurityGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DBSecurityGroup' => array( - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'OwnerId' => array( - 'description' => 'Provides the AWS ID of the owner of a specific DB Security Group.', - 'type' => 'string', - ), - 'DBSecurityGroupName' => array( - 'description' => 'Specifies the name of the DB Security Group.', - 'type' => 'string', - ), - 'DBSecurityGroupDescription' => array( - 'description' => 'Provides the description of the DB Security Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VpcId of the DB Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroups' => array( - 'description' => 'Contains a list of EC2SecurityGroup elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'description' => 'This data type is used as a response element in the following actions:', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'description' => 'Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".', - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'Specifies the name of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupId' => array( - 'description' => 'Specifies the id of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.', - 'type' => 'string', - ), - ), - ), - ), - 'IPRanges' => array( - 'description' => 'Contains a list of IPRange elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'IPRange', - 'description' => 'This data type is used as a response element in the DescribeDBSecurityGroups action.', - 'type' => 'object', - 'sentAs' => 'IPRange', - 'properties' => array( - 'Status' => array( - 'description' => 'Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".', - 'type' => 'string', - ), - 'CIDRIP' => array( - 'description' => 'Specifies the IP range.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'DBSnapshotWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DBSnapshot' => array( - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'DBSnapshotIdentifier' => array( - 'description' => 'Specifies the identifier for the DB Snapshot.', - 'type' => 'string', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from.', - 'type' => 'string', - ), - 'SnapshotCreateTime' => array( - 'description' => 'Provides the time (UTC) when the snapshot was taken.', - 'type' => 'string', - ), - 'Engine' => array( - 'description' => 'Specifies the name of the database engine.', - 'type' => 'string', - ), - 'AllocatedStorage' => array( - 'description' => 'Specifies the allocated storage size in gigabytes (GB).', - 'type' => 'numeric', - ), - 'Status' => array( - 'description' => 'Specifies the status of this DB Snapshot.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the database engine was listening on at the time of the snapshot.', - 'type' => 'numeric', - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the Vpc Id associated with the DB Snapshot.', - 'type' => 'string', - ), - 'InstanceCreateTime' => array( - 'description' => 'Specifies the time (UTC) when the snapshot was taken.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'Provides the master username for the DB Snapshot.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'Specifies the version of the database engine.', - 'type' => 'string', - ), - 'LicenseModel' => array( - 'description' => 'License model information for the restored DB Instance.', - 'type' => 'string', - ), - 'SnapshotType' => array( - 'description' => 'Provides the type of the DB Snapshot.', - 'type' => 'string', - ), - 'Iops' => array( - 'description' => 'Specifies the Provisioned IOPS (I/O operations per second) value of the DB Instance at the time of the snapshot.', - 'type' => 'numeric', - ), - 'OptionGroupName' => array( - 'description' => 'Provides the option group name for the DB Snapshot.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'DBInstanceWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DBInstance' => array( - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'DBInstanceIdentifier' => array( - 'description' => 'Contains a user-supplied database identifier. This is the unique key that identifies a DB Instance.', - 'type' => 'string', - ), - 'DBInstanceClass' => array( - 'description' => 'Contains the name of the compute and memory capacity class of the DB Instance.', - 'type' => 'string', - ), - 'Engine' => array( - 'description' => 'Provides the name of the database engine to be used for this DB Instance.', - 'type' => 'string', - ), - 'DBInstanceStatus' => array( - 'description' => 'Specifies the current state of this database.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'Contains the master username for the DB Instance.', - 'type' => 'string', - ), - 'DBName' => array( - 'description' => 'The meaning of this parameter differs according to the database engine you use.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'Specifies the connection endpoint.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'Specifies the DNS address of the DB Instance.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the database engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'AllocatedStorage' => array( - 'description' => 'Specifies the allocated storage size specified in gigabytes.', - 'type' => 'numeric', - ), - 'InstanceCreateTime' => array( - 'description' => 'Provides the date and time the DB Instance was created.', - 'type' => 'string', - ), - 'PreferredBackupWindow' => array( - 'description' => 'Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.', - 'type' => 'string', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'Specifies the number of days for which automatic DB Snapshots are retained.', - 'type' => 'numeric', - ), - 'DBSecurityGroups' => array( - 'description' => 'Provides List of DB Security Group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.', - 'type' => 'array', - 'items' => array( - 'name' => 'DBSecurityGroup', - 'description' => 'This data type is used as a response element in the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSecurityGroup', - 'properties' => array( - 'DBSecurityGroupName' => array( - 'description' => 'The name of the DB Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the DB Security Group.', - 'type' => 'string', - ), - ), - ), - ), - 'VpcSecurityGroups' => array( - 'description' => 'Provides List of VPC security group elements that the DB Instance belongs to.', - 'type' => 'array', - 'items' => array( - 'name' => 'VpcSecurityGroupMembership', - 'description' => 'This data type is used as a response element for queries on VPC security group membership.', - 'type' => 'object', - 'sentAs' => 'VpcSecurityGroupMembership', - 'properties' => array( - 'VpcSecurityGroupId' => array( - 'description' => 'The name of the VPC security group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the VPC Security Group.', - 'type' => 'string', - ), - ), - ), - ), - 'DBParameterGroups' => array( - 'description' => 'Provides the list of DB Parameter Groups applied to this DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'DBParameterGroup', - 'description' => 'The status of the DB Parameter Group.', - 'type' => 'object', - 'sentAs' => 'DBParameterGroup', - 'properties' => array( - 'DBParameterGroupName' => array( - 'description' => 'The name of the DP Parameter Group.', - 'type' => 'string', - ), - 'ParameterApplyStatus' => array( - 'description' => 'The status of parameter updates.', - 'type' => 'string', - ), - ), - ), - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the name of the Availability Zone the DB Instance is located in.', - 'type' => 'string', - ), - 'DBSubnetGroup' => array( - 'description' => 'Provides the inforamtion of the subnet group associated with the DB instance, including the name, descrption and subnets in the subnet group.', - 'type' => 'object', - 'properties' => array( - 'DBSubnetGroupName' => array( - 'description' => 'Specifies the name of the DB Subnet Group.', - 'type' => 'string', - ), - 'DBSubnetGroupDescription' => array( - 'description' => 'Provides the description of the DB Subnet Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VpcId of the DB Subnet Group.', - 'type' => 'string', - ), - 'SubnetGroupStatus' => array( - 'description' => 'Provides the status of the DB Subnet Group.', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'Contains a list of Subnet elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'This data type is used as a response element in the DescribeDBSubnetGroups action.', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'Specifies the identifier of the subnet.', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - 'ProvisionedIopsCapable' => array( - 'description' => 'True indicates the availability zone is capable of provisioned IOPs.', - 'type' => 'boolean', - ), - ), - ), - 'SubnetStatus' => array( - 'description' => 'Specifies the status of the subnet.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'Specifies the weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - ), - 'PendingModifiedValues' => array( - 'description' => 'Specifies that changes to the DB Instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.', - 'type' => 'object', - 'properties' => array( - 'DBInstanceClass' => array( - 'description' => 'Contains the new DBInstanceClass for the DB Instance that will be applied or is in progress.', - 'type' => 'string', - ), - 'AllocatedStorage' => array( - 'description' => 'Contains the new AllocatedStorage size for the DB Instance that will be applied or is in progress.', - 'type' => 'numeric', - ), - 'MasterUserPassword' => array( - 'description' => 'Contains the pending or in-progress change of the master credentials for the DB Instance.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the pending port for the DB Instance.', - 'type' => 'numeric', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'Specifies the pending number of days for which automated backups are retained.', - 'type' => 'numeric', - ), - 'MultiAZ' => array( - 'description' => 'Indicates that the Single-AZ DB Instance is to change to a Multi-AZ deployment.', - 'type' => 'boolean', - ), - 'EngineVersion' => array( - 'description' => 'Indicates the database engine version.', - 'type' => 'string', - ), - 'Iops' => array( - 'description' => 'Specifies the new Provisioned IOPS value for the DB Instance that will be applied or is being applied.', - 'type' => 'numeric', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'Contains the new DBInstanceIdentifier for the DB Instance that will be applied or is in progress.', - 'type' => 'string', - ), - ), - ), - 'LatestRestorableTime' => array( - 'description' => 'Specifies the latest time to which a database can be restored with point-in-time restore.', - 'type' => 'string', - ), - 'MultiAZ' => array( - 'description' => 'Specifies if the DB Instance is a Multi-AZ deployment.', - 'type' => 'boolean', - ), - 'EngineVersion' => array( - 'description' => 'Indicates the database engine version.', - 'type' => 'string', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version patches are applied automatically.', - 'type' => 'boolean', - ), - 'ReadReplicaSourceDBInstanceIdentifier' => array( - 'description' => 'Contains the identifier of the source DB Instance if this DB Instance is a Read Replica.', - 'type' => 'string', - ), - 'ReadReplicaDBInstanceIdentifiers' => array( - 'description' => 'Contains one or more identifiers of the Read Replicas associated with this DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'ReadReplicaDBInstanceIdentifier', - 'type' => 'string', - 'sentAs' => 'ReadReplicaDBInstanceIdentifier', - ), - ), - 'LicenseModel' => array( - 'description' => 'License model information for this DB Instance.', - 'type' => 'string', - ), - 'Iops' => array( - 'description' => 'Specifies the Provisioned IOPS (I/O operations per second) value.', - 'type' => 'numeric', - ), - 'OptionGroupMemberships' => array( - 'description' => 'Provides the list of option group memberships for this DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'OptionGroupMembership', - 'type' => 'object', - 'sentAs' => 'OptionGroupMembership', - 'properties' => array( - 'OptionGroupName' => array( - 'description' => 'The name of the option group that the instance belongs to.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the DB Instance\'s option group membership (e.g. in-sync, pending, pending-maintenance, applying).', - 'type' => 'string', - ), - ), - ), - ), - 'CharacterSetName' => array( - 'description' => 'If present, specifies the name of the character set that this instance is associated with.', - 'type' => 'string', - ), - 'SecondaryAvailabilityZone' => array( - 'description' => 'If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.', - 'type' => 'string', - ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ), - 'DBParameterGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DBParameterGroup' => array( - 'description' => 'Contains the result of a successful invocation of the CreateDBParameterGroup action.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'DBParameterGroupName' => array( - 'description' => 'Provides the name of the DB Parameter Group.', - 'type' => 'string', - ), - 'DBParameterGroupFamily' => array( - 'description' => 'Provides the name of the DB Parameter Group Family that this DB Parameter Group is compatible with.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides the customer-specified description for this DB Parameter Group.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'DBSubnetGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DBSubnetGroup' => array( - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'DBSubnetGroupName' => array( - 'description' => 'Specifies the name of the DB Subnet Group.', - 'type' => 'string', - ), - 'DBSubnetGroupDescription' => array( - 'description' => 'Provides the description of the DB Subnet Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VpcId of the DB Subnet Group.', - 'type' => 'string', - ), - 'SubnetGroupStatus' => array( - 'description' => 'Provides the status of the DB Subnet Group.', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'Contains a list of Subnet elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'This data type is used as a response element in the DescribeDBSubnetGroups action.', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'Specifies the identifier of the subnet.', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - 'ProvisionedIopsCapable' => array( - 'description' => 'True indicates the availability zone is capable of provisioned IOPs.', - 'type' => 'boolean', - ), - ), - ), - 'SubnetStatus' => array( - 'description' => 'Specifies the status of the subnet.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'OptionGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'OptionGroup' => array( - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'OptionGroupName' => array( - 'description' => 'Specifies the name of the option group.', - 'type' => 'string', - ), - 'OptionGroupDescription' => array( - 'description' => 'Provides the description of the option group.', - 'type' => 'string', - ), - 'EngineName' => array( - 'description' => 'Engine name that this option group can be applied to.', - 'type' => 'string', - ), - 'MajorEngineVersion' => array( - 'description' => 'Indicates the major engine version associated with this option group.', - 'type' => 'string', - ), - 'Options' => array( - 'description' => 'Indicates what options are available in the option group.', - 'type' => 'array', - 'items' => array( - 'name' => 'Option', - 'description' => 'Option details.', - 'type' => 'object', - 'sentAs' => 'Option', - 'properties' => array( - 'OptionName' => array( - 'description' => 'The name of the option.', - 'type' => 'string', - ), - 'OptionDescription' => array( - 'description' => 'The description of the option.', - 'type' => 'string', - ), - 'Persistent' => array( - 'description' => 'Indicate if this option is persistent.', - 'type' => 'boolean', - ), - 'Port' => array( - 'description' => 'If required, the port configured for this option to use.', - 'type' => 'numeric', - ), - 'OptionSettings' => array( - 'description' => 'The settings belonging to this option.', - 'type' => 'array', - 'items' => array( - 'name' => 'OptionSetting', - 'description' => 'Option setting details.', - 'type' => 'object', - 'sentAs' => 'OptionSetting', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the setting.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of this setting.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'Default value for this setting.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the setting.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the apply type for this setting.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type of this setting', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies a valid list/range of values allowed for this setting.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates if the setting is modifiable or not.', - 'type' => 'boolean', - ), - 'IsCollection' => array( - 'description' => 'Indicates if the value for the setting can be a list of values or a single value.', - 'type' => 'boolean', - ), - ), - ), - ), - 'DBSecurityGroupMemberships' => array( - 'description' => 'If the Option requires access to a port, then this DB Security Group allows access to the port.', - 'type' => 'array', - 'items' => array( - 'name' => 'DBSecurityGroup', - 'description' => 'This data type is used as a response element in the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSecurityGroup', - 'properties' => array( - 'DBSecurityGroupName' => array( - 'description' => 'The name of the DB Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the DB Security Group.', - 'type' => 'string', - ), - ), - ), - ), - 'VpcSecurityGroupMemberships' => array( - 'description' => 'If the Option requires access to a port, then this VPC Security Group allows access to the port.', - 'type' => 'array', - 'items' => array( - 'name' => 'VpcSecurityGroupMembership', - 'description' => 'This data type is used as a response element for queries on VPC security group membership.', - 'type' => 'object', - 'sentAs' => 'VpcSecurityGroupMembership', - 'properties' => array( - 'VpcSecurityGroupId' => array( - 'description' => 'The name of the VPC security group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the VPC Security Group.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'AllowsVpcAndNonVpcInstanceMemberships' => array( - 'description' => 'Indicates whether this option group can be applied to both VPC and non-VPC instances. The value \'true\' indicates the option group can be applied to both VPC and non-VPC instances.', - 'type' => 'boolean', - ), - 'VpcId' => array( - 'description' => 'If AllowsVpcAndNonVpcInstanceMemberships is \'false\', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is \'true\' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'DBEngineVersionMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DBEngineVersions' => array( - 'description' => 'A list of DBEngineVersion elements.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DBEngineVersion', - 'description' => 'This data type is used as a response element in the action DescribeDBEngineVersions.', - 'type' => 'object', - 'sentAs' => 'DBEngineVersion', - 'properties' => array( - 'Engine' => array( - 'description' => 'The name of the database engine.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'The version number of the database engine.', - 'type' => 'string', - ), - 'DBParameterGroupFamily' => array( - 'description' => 'The name of the DBParameterGroupFamily for the database engine.', - 'type' => 'string', - ), - 'DBEngineDescription' => array( - 'description' => 'The description of the database engine.', - 'type' => 'string', - ), - 'DBEngineVersionDescription' => array( - 'description' => 'The description of the database engine version.', - 'type' => 'string', - ), - 'DefaultCharacterSet' => array( - 'description' => 'The default character set for new instances of this engine version, if the CharacterSetName parameter of the CreateDBInstance API is not specified.', - 'type' => 'object', - 'properties' => array( - 'CharacterSetName' => array( - 'description' => 'The name of the character set.', - 'type' => 'string', - ), - 'CharacterSetDescription' => array( - 'description' => 'The description of the character set.', - 'type' => 'string', - ), - ), - ), - 'SupportedCharacterSets' => array( - 'description' => 'A list of the character sets supported by this engine for the CharacterSetName parameter of the CreateDBInstance API.', - 'type' => 'array', - 'items' => array( - 'name' => 'CharacterSet', - 'description' => 'This data type is used as a response element in the action DescribeDBEngineVersions.', - 'type' => 'object', - 'sentAs' => 'CharacterSet', - 'properties' => array( - 'CharacterSetName' => array( - 'description' => 'The name of the character set.', - 'type' => 'string', - ), - 'CharacterSetDescription' => array( - 'description' => 'The description of the character set.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DBInstanceMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - 'location' => 'xml', - ), - 'DBInstances' => array( - 'description' => 'A list of DBInstance instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DBInstance', - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'sentAs' => 'DBInstance', - 'properties' => array( - 'DBInstanceIdentifier' => array( - 'description' => 'Contains a user-supplied database identifier. This is the unique key that identifies a DB Instance.', - 'type' => 'string', - ), - 'DBInstanceClass' => array( - 'description' => 'Contains the name of the compute and memory capacity class of the DB Instance.', - 'type' => 'string', - ), - 'Engine' => array( - 'description' => 'Provides the name of the database engine to be used for this DB Instance.', - 'type' => 'string', - ), - 'DBInstanceStatus' => array( - 'description' => 'Specifies the current state of this database.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'Contains the master username for the DB Instance.', - 'type' => 'string', - ), - 'DBName' => array( - 'description' => 'The meaning of this parameter differs according to the database engine you use.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'Specifies the connection endpoint.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'Specifies the DNS address of the DB Instance.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the database engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'AllocatedStorage' => array( - 'description' => 'Specifies the allocated storage size specified in gigabytes.', - 'type' => 'numeric', - ), - 'InstanceCreateTime' => array( - 'description' => 'Provides the date and time the DB Instance was created.', - 'type' => 'string', - ), - 'PreferredBackupWindow' => array( - 'description' => 'Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.', - 'type' => 'string', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'Specifies the number of days for which automatic DB Snapshots are retained.', - 'type' => 'numeric', - ), - 'DBSecurityGroups' => array( - 'description' => 'Provides List of DB Security Group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.', - 'type' => 'array', - 'items' => array( - 'name' => 'DBSecurityGroup', - 'description' => 'This data type is used as a response element in the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSecurityGroup', - 'properties' => array( - 'DBSecurityGroupName' => array( - 'description' => 'The name of the DB Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the DB Security Group.', - 'type' => 'string', - ), - ), - ), - ), - 'VpcSecurityGroups' => array( - 'description' => 'Provides List of VPC security group elements that the DB Instance belongs to.', - 'type' => 'array', - 'items' => array( - 'name' => 'VpcSecurityGroupMembership', - 'description' => 'This data type is used as a response element for queries on VPC security group membership.', - 'type' => 'object', - 'sentAs' => 'VpcSecurityGroupMembership', - 'properties' => array( - 'VpcSecurityGroupId' => array( - 'description' => 'The name of the VPC security group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the VPC Security Group.', - 'type' => 'string', - ), - ), - ), - ), - 'DBParameterGroups' => array( - 'description' => 'Provides the list of DB Parameter Groups applied to this DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'DBParameterGroup', - 'description' => 'The status of the DB Parameter Group.', - 'type' => 'object', - 'sentAs' => 'DBParameterGroup', - 'properties' => array( - 'DBParameterGroupName' => array( - 'description' => 'The name of the DP Parameter Group.', - 'type' => 'string', - ), - 'ParameterApplyStatus' => array( - 'description' => 'The status of parameter updates.', - 'type' => 'string', - ), - ), - ), - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the name of the Availability Zone the DB Instance is located in.', - 'type' => 'string', - ), - 'DBSubnetGroup' => array( - 'description' => 'Provides the inforamtion of the subnet group associated with the DB instance, including the name, descrption and subnets in the subnet group.', - 'type' => 'object', - 'properties' => array( - 'DBSubnetGroupName' => array( - 'description' => 'Specifies the name of the DB Subnet Group.', - 'type' => 'string', - ), - 'DBSubnetGroupDescription' => array( - 'description' => 'Provides the description of the DB Subnet Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VpcId of the DB Subnet Group.', - 'type' => 'string', - ), - 'SubnetGroupStatus' => array( - 'description' => 'Provides the status of the DB Subnet Group.', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'Contains a list of Subnet elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'This data type is used as a response element in the DescribeDBSubnetGroups action.', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'Specifies the identifier of the subnet.', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - 'ProvisionedIopsCapable' => array( - 'description' => 'True indicates the availability zone is capable of provisioned IOPs.', - 'type' => 'boolean', - ), - ), - ), - 'SubnetStatus' => array( - 'description' => 'Specifies the status of the subnet.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'Specifies the weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - ), - 'PendingModifiedValues' => array( - 'description' => 'Specifies that changes to the DB Instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.', - 'type' => 'object', - 'properties' => array( - 'DBInstanceClass' => array( - 'description' => 'Contains the new DBInstanceClass for the DB Instance that will be applied or is in progress.', - 'type' => 'string', - ), - 'AllocatedStorage' => array( - 'description' => 'Contains the new AllocatedStorage size for the DB Instance that will be applied or is in progress.', - 'type' => 'numeric', - ), - 'MasterUserPassword' => array( - 'description' => 'Contains the pending or in-progress change of the master credentials for the DB Instance.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the pending port for the DB Instance.', - 'type' => 'numeric', - ), - 'BackupRetentionPeriod' => array( - 'description' => 'Specifies the pending number of days for which automated backups are retained.', - 'type' => 'numeric', - ), - 'MultiAZ' => array( - 'description' => 'Indicates that the Single-AZ DB Instance is to change to a Multi-AZ deployment.', - 'type' => 'boolean', - ), - 'EngineVersion' => array( - 'description' => 'Indicates the database engine version.', - 'type' => 'string', - ), - 'Iops' => array( - 'description' => 'Specifies the new Provisioned IOPS value for the DB Instance that will be applied or is being applied.', - 'type' => 'numeric', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'Contains the new DBInstanceIdentifier for the DB Instance that will be applied or is in progress.', - 'type' => 'string', - ), - ), - ), - 'LatestRestorableTime' => array( - 'description' => 'Specifies the latest time to which a database can be restored with point-in-time restore.', - 'type' => 'string', - ), - 'MultiAZ' => array( - 'description' => 'Specifies if the DB Instance is a Multi-AZ deployment.', - 'type' => 'boolean', - ), - 'EngineVersion' => array( - 'description' => 'Indicates the database engine version.', - 'type' => 'string', - ), - 'AutoMinorVersionUpgrade' => array( - 'description' => 'Indicates that minor version patches are applied automatically.', - 'type' => 'boolean', - ), - 'ReadReplicaSourceDBInstanceIdentifier' => array( - 'description' => 'Contains the identifier of the source DB Instance if this DB Instance is a Read Replica.', - 'type' => 'string', - ), - 'ReadReplicaDBInstanceIdentifiers' => array( - 'description' => 'Contains one or more identifiers of the Read Replicas associated with this DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'ReadReplicaDBInstanceIdentifier', - 'type' => 'string', - 'sentAs' => 'ReadReplicaDBInstanceIdentifier', - ), - ), - 'LicenseModel' => array( - 'description' => 'License model information for this DB Instance.', - 'type' => 'string', - ), - 'Iops' => array( - 'description' => 'Specifies the Provisioned IOPS (I/O operations per second) value.', - 'type' => 'numeric', - ), - 'OptionGroupMemberships' => array( - 'description' => 'Provides the list of option group memberships for this DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'OptionGroupMembership', - 'type' => 'object', - 'sentAs' => 'OptionGroupMembership', - 'properties' => array( - 'OptionGroupName' => array( - 'description' => 'The name of the option group that the instance belongs to.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the DB Instance\'s option group membership (e.g. in-sync, pending, pending-maintenance, applying).', - 'type' => 'string', - ), - ), - ), - ), - 'CharacterSetName' => array( - 'description' => 'If present, specifies the name of the character set that this instance is associated with.', - 'type' => 'string', - ), - 'SecondaryAvailabilityZone' => array( - 'description' => 'If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.', - 'type' => 'string', - ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - 'DescribeDBLogFilesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DescribeDBLogFiles' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DescribeDBLogFilesDetails', - 'description' => 'This data type is used as a response element to DescribeDBLogFiles.', - 'type' => 'object', - 'sentAs' => 'DescribeDBLogFilesDetails', - 'properties' => array( - 'LogFileName' => array( - 'description' => 'The name of the log file for the specified DB instance.', - 'type' => 'string', - ), - 'LastWritten' => array( - 'description' => 'The date and time that the last log entry was written.', - 'type' => 'numeric', - ), - 'Size' => array( - 'description' => 'The size, in bytes, of the log file for the specified DB instance.', - 'type' => 'numeric', - ), - ), - ), - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DBParameterGroupsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DBParameterGroups' => array( - 'description' => 'A list of DBParameterGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DBParameterGroup', - 'description' => 'Contains the result of a successful invocation of the CreateDBParameterGroup action.', - 'type' => 'object', - 'sentAs' => 'DBParameterGroup', - 'properties' => array( - 'DBParameterGroupName' => array( - 'description' => 'Provides the name of the DB Parameter Group.', - 'type' => 'string', - ), - 'DBParameterGroupFamily' => array( - 'description' => 'Provides the name of the DB Parameter Group Family that this DB Parameter Group is compatible with.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides the customer-specified description for this DB Parameter Group.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DBParameterGroupDetails' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Parameters' => array( - 'description' => 'A list of Parameter instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'This data type is used as a request parameter in the ModifyDBParameterGroup and ResetDBParameterGroup actions.', - 'type' => 'object', - 'sentAs' => 'Parameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the engine specific parameters type.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - 'ApplyMethod' => array( - 'description' => 'Indicates when to apply parameter updates.', - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DBSecurityGroupMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DBSecurityGroups' => array( - 'description' => 'A list of DBSecurityGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DBSecurityGroup', - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSecurityGroup', - 'properties' => array( - 'OwnerId' => array( - 'description' => 'Provides the AWS ID of the owner of a specific DB Security Group.', - 'type' => 'string', - ), - 'DBSecurityGroupName' => array( - 'description' => 'Specifies the name of the DB Security Group.', - 'type' => 'string', - ), - 'DBSecurityGroupDescription' => array( - 'description' => 'Provides the description of the DB Security Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VpcId of the DB Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroups' => array( - 'description' => 'Contains a list of EC2SecurityGroup elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'description' => 'This data type is used as a response element in the following actions:', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'description' => 'Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".', - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'Specifies the name of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupId' => array( - 'description' => 'Specifies the id of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.', - 'type' => 'string', - ), - ), - ), - ), - 'IPRanges' => array( - 'description' => 'Contains a list of IPRange elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'IPRange', - 'description' => 'This data type is used as a response element in the DescribeDBSecurityGroups action.', - 'type' => 'object', - 'sentAs' => 'IPRange', - 'properties' => array( - 'Status' => array( - 'description' => 'Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".', - 'type' => 'string', - ), - 'CIDRIP' => array( - 'description' => 'Specifies the IP range.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DBSnapshotMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DBSnapshots' => array( - 'description' => 'A list of DBSnapshot instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DBSnapshot', - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSnapshot', - 'properties' => array( - 'DBSnapshotIdentifier' => array( - 'description' => 'Specifies the identifier for the DB Snapshot.', - 'type' => 'string', - ), - 'DBInstanceIdentifier' => array( - 'description' => 'Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from.', - 'type' => 'string', - ), - 'SnapshotCreateTime' => array( - 'description' => 'Provides the time (UTC) when the snapshot was taken.', - 'type' => 'string', - ), - 'Engine' => array( - 'description' => 'Specifies the name of the database engine.', - 'type' => 'string', - ), - 'AllocatedStorage' => array( - 'description' => 'Specifies the allocated storage size in gigabytes (GB).', - 'type' => 'numeric', - ), - 'Status' => array( - 'description' => 'Specifies the status of this DB Snapshot.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Specifies the port that the database engine was listening on at the time of the snapshot.', - 'type' => 'numeric', - ), - 'AvailabilityZone' => array( - 'description' => 'Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the Vpc Id associated with the DB Snapshot.', - 'type' => 'string', - ), - 'InstanceCreateTime' => array( - 'description' => 'Specifies the time (UTC) when the snapshot was taken.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'Provides the master username for the DB Snapshot.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'Specifies the version of the database engine.', - 'type' => 'string', - ), - 'LicenseModel' => array( - 'description' => 'License model information for the restored DB Instance.', - 'type' => 'string', - ), - 'SnapshotType' => array( - 'description' => 'Provides the type of the DB Snapshot.', - 'type' => 'string', - ), - 'Iops' => array( - 'description' => 'Specifies the Provisioned IOPS (I/O operations per second) value of the DB Instance at the time of the snapshot.', - 'type' => 'numeric', - ), - 'OptionGroupName' => array( - 'description' => 'Provides the option group name for the DB Snapshot.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DBSubnetGroupMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'DBSubnetGroups' => array( - 'description' => 'A list of DBSubnetGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'DBSubnetGroup', - 'description' => 'Contains the result of a successful invocation of the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSubnetGroup', - 'properties' => array( - 'DBSubnetGroupName' => array( - 'description' => 'Specifies the name of the DB Subnet Group.', - 'type' => 'string', - ), - 'DBSubnetGroupDescription' => array( - 'description' => 'Provides the description of the DB Subnet Group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'Provides the VpcId of the DB Subnet Group.', - 'type' => 'string', - ), - 'SubnetGroupStatus' => array( - 'description' => 'Provides the status of the DB Subnet Group.', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'Contains a list of Subnet elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'This data type is used as a response element in the DescribeDBSubnetGroups action.', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'Specifies the identifier of the subnet.', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - 'ProvisionedIopsCapable' => array( - 'description' => 'True indicates the availability zone is capable of provisioned IOPs.', - 'type' => 'boolean', - ), - ), - ), - 'SubnetStatus' => array( - 'description' => 'Specifies the status of the subnet.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'EngineDefaultsWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EngineDefaults' => array( - 'description' => 'Contains the result of a successful invocation of the DescribeEngineDefaultParameters action.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'DBParameterGroupFamily' => array( - 'description' => 'Specifies the name of the DB Parameter Group Family which the engine default parameters apply to.', - 'type' => 'string', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous EngineDefaults request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - ), - 'Parameters' => array( - 'description' => 'Contains a list of engine default parameters.', - 'type' => 'array', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'This data type is used as a request parameter in the ModifyDBParameterGroup and ResetDBParameterGroup actions.', - 'type' => 'object', - 'sentAs' => 'Parameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'Specifies the name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'Specifies the value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'Provides a description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'Indicates the source of the parameter value.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the engine specific parameters type.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type for the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies the valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - 'ApplyMethod' => array( - 'description' => 'Indicates when to apply parameter updates.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'EventCategoriesMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'EventCategoriesMapList' => array( - 'description' => 'A list of EventCategoriesMap data types.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'EventCategoriesMap', - 'description' => 'Contains the results of a successful invocation of the DescribeEventCategories action.', - 'type' => 'object', - 'sentAs' => 'EventCategoriesMap', - 'properties' => array( - 'SourceType' => array( - 'description' => 'The source type that the returned categories belong to', - 'type' => 'string', - ), - 'EventCategories' => array( - 'description' => 'The event categories for the specified source type', - 'type' => 'array', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - 'sentAs' => 'EventCategory', - ), - ), - ), - ), - ), - ), - ), - 'EventSubscriptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'EventSubscriptionsList' => array( - 'description' => 'A list of EventSubscriptions data types.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'EventSubscription', - 'description' => 'Contains the results of a successful invocation of the DescribeEventSubscriptions action.', - 'type' => 'object', - 'sentAs' => 'EventSubscription', - 'properties' => array( - 'Id' => array( - 'description' => 'Not used.', - 'type' => 'string', - ), - 'CustomerAwsId' => array( - 'description' => 'The AWS customer account associated with the RDS event notification subscription.', - 'type' => 'string', - ), - 'CustSubscriptionId' => array( - 'description' => 'The RDS event notification subscription Id.', - 'type' => 'string', - ), - 'SnsTopicArn' => array( - 'description' => 'The topic ARN of the RDS event notification subscription.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the RDS event notification subscription.', - 'type' => 'string', - ), - 'SubscriptionCreationTime' => array( - 'description' => 'The time the RDS event notification subscription was created.', - 'type' => 'string', - ), - 'SourceType' => array( - 'description' => 'The source type for the RDS event notification subscription.', - 'type' => 'string', - ), - 'SourceIdsList' => array( - 'description' => 'A list of source Ids for the RDS event notification subscription.', - 'type' => 'array', - 'items' => array( - 'name' => 'SourceId', - 'type' => 'string', - 'sentAs' => 'SourceId', - ), - ), - 'EventCategoriesList' => array( - 'description' => 'A list of event categories for the RDS event notification subscription.', - 'type' => 'array', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - 'sentAs' => 'EventCategory', - ), - ), - 'Enabled' => array( - 'description' => 'A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - 'EventsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - 'location' => 'xml', - ), - 'Events' => array( - 'description' => 'A list of Event instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Event', - 'description' => 'This data type is used as a response element in the DescribeEvents action.', - 'type' => 'object', - 'sentAs' => 'Event', - 'properties' => array( - 'SourceIdentifier' => array( - 'description' => 'Provides the identifier for the source of the event.', - 'type' => 'string', - ), - 'SourceType' => array( - 'description' => 'Specifies the source type for this event.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'Provides the text of this event.', - 'type' => 'string', - ), - 'EventCategories' => array( - 'description' => 'Specifies the category for the event.', - 'type' => 'array', - 'items' => array( - 'name' => 'EventCategory', - 'type' => 'string', - 'sentAs' => 'EventCategory', - ), - ), - 'Date' => array( - 'description' => 'Specifies the date and time of the event.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'OptionGroupOptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'OptionGroupOptions' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'OptionGroupOption', - 'description' => 'Available option.', - 'type' => 'object', - 'sentAs' => 'OptionGroupOption', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the option.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the option.', - 'type' => 'string', - ), - 'EngineName' => array( - 'description' => 'Engine name that this option can be applied to.', - 'type' => 'string', - ), - 'MajorEngineVersion' => array( - 'description' => 'Indicates the major engine version that the option is available for.', - 'type' => 'string', - ), - 'MinimumRequiredMinorEngineVersion' => array( - 'description' => 'The minimum required engine version for the option to be applied.', - 'type' => 'string', - ), - 'PortRequired' => array( - 'description' => 'Specifies whether the option requires a port.', - 'type' => 'boolean', - ), - 'DefaultPort' => array( - 'description' => 'If the option requires a port, specifies the default port for the option.', - 'type' => 'numeric', - ), - 'OptionsDependedOn' => array( - 'description' => 'List of all options that are prerequisites for this option.', - 'type' => 'array', - 'items' => array( - 'name' => 'OptionName', - 'type' => 'string', - 'sentAs' => 'OptionName', - ), - ), - 'Persistent' => array( - 'description' => 'Specifies whether the option is persistent in an option group.', - 'type' => 'boolean', - ), - 'OptionGroupOptionSettings' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'OptionGroupOptionSetting', - 'type' => 'object', - 'sentAs' => 'OptionGroupOptionSetting', - 'properties' => array( - 'SettingName' => array( - 'type' => 'string', - ), - 'SettingDescription' => array( - 'type' => 'string', - ), - 'DefaultValue' => array( - 'type' => 'string', - ), - 'ApplyType' => array( - 'type' => 'string', - ), - 'AllowedValues' => array( - 'type' => 'string', - ), - 'IsModifiable' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'OptionGroups' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'OptionGroupsList' => array( - 'description' => 'List of option groups.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'OptionGroup', - 'type' => 'object', - 'sentAs' => 'OptionGroup', - 'properties' => array( - 'OptionGroupName' => array( - 'description' => 'Specifies the name of the option group.', - 'type' => 'string', - ), - 'OptionGroupDescription' => array( - 'description' => 'Provides the description of the option group.', - 'type' => 'string', - ), - 'EngineName' => array( - 'description' => 'Engine name that this option group can be applied to.', - 'type' => 'string', - ), - 'MajorEngineVersion' => array( - 'description' => 'Indicates the major engine version associated with this option group.', - 'type' => 'string', - ), - 'Options' => array( - 'description' => 'Indicates what options are available in the option group.', - 'type' => 'array', - 'items' => array( - 'name' => 'Option', - 'description' => 'Option details.', - 'type' => 'object', - 'sentAs' => 'Option', - 'properties' => array( - 'OptionName' => array( - 'description' => 'The name of the option.', - 'type' => 'string', - ), - 'OptionDescription' => array( - 'description' => 'The description of the option.', - 'type' => 'string', - ), - 'Persistent' => array( - 'description' => 'Indicate if this option is persistent.', - 'type' => 'boolean', - ), - 'Port' => array( - 'description' => 'If required, the port configured for this option to use.', - 'type' => 'numeric', - ), - 'OptionSettings' => array( - 'description' => 'The settings belonging to this option.', - 'type' => 'array', - 'items' => array( - 'name' => 'OptionSetting', - 'description' => 'Option setting details.', - 'type' => 'object', - 'sentAs' => 'OptionSetting', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the setting.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of this setting.', - 'type' => 'string', - ), - 'DefaultValue' => array( - 'description' => 'Default value for this setting.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the setting.', - 'type' => 'string', - ), - 'ApplyType' => array( - 'description' => 'Specifies the apply type for this setting.', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'Specifies the valid data type of this setting', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'Specifies a valid list/range of values allowed for this setting.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'Indicates if the setting is modifiable or not.', - 'type' => 'boolean', - ), - 'IsCollection' => array( - 'description' => 'Indicates if the value for the setting can be a list of values or a single value.', - 'type' => 'boolean', - ), - ), - ), - ), - 'DBSecurityGroupMemberships' => array( - 'description' => 'If the Option requires access to a port, then this DB Security Group allows access to the port.', - 'type' => 'array', - 'items' => array( - 'name' => 'DBSecurityGroup', - 'description' => 'This data type is used as a response element in the following actions:', - 'type' => 'object', - 'sentAs' => 'DBSecurityGroup', - 'properties' => array( - 'DBSecurityGroupName' => array( - 'description' => 'The name of the DB Security Group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the DB Security Group.', - 'type' => 'string', - ), - ), - ), - ), - 'VpcSecurityGroupMemberships' => array( - 'description' => 'If the Option requires access to a port, then this VPC Security Group allows access to the port.', - 'type' => 'array', - 'items' => array( - 'name' => 'VpcSecurityGroupMembership', - 'description' => 'This data type is used as a response element for queries on VPC security group membership.', - 'type' => 'object', - 'sentAs' => 'VpcSecurityGroupMembership', - 'properties' => array( - 'VpcSecurityGroupId' => array( - 'description' => 'The name of the VPC security group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the VPC Security Group.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'AllowsVpcAndNonVpcInstanceMemberships' => array( - 'description' => 'Indicates whether this option group can be applied to both VPC and non-VPC instances. The value \'true\' indicates the option group can be applied to both VPC and non-VPC instances.', - 'type' => 'boolean', - ), - 'VpcId' => array( - 'description' => 'If AllowsVpcAndNonVpcInstanceMemberships is \'false\', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is \'true\' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.', - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'OrderableDBInstanceOptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'OrderableDBInstanceOptions' => array( - 'description' => 'An OrderableDBInstanceOption structure containing information about orderable options for the DB Instance.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'OrderableDBInstanceOption', - 'description' => 'Contains a list of available options for a DB Instance', - 'type' => 'object', - 'sentAs' => 'OrderableDBInstanceOption', - 'properties' => array( - 'Engine' => array( - 'description' => 'The engine type of the orderable DB Instance.', - 'type' => 'string', - ), - 'EngineVersion' => array( - 'description' => 'The engine version of the orderable DB Instance.', - 'type' => 'string', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB Instance Class for the orderable DB Instance', - 'type' => 'string', - ), - 'LicenseModel' => array( - 'description' => 'The license model for the orderable DB Instance.', - 'type' => 'string', - ), - 'AvailabilityZones' => array( - 'description' => 'A list of availability zones for the orderable DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'AvailabilityZone', - 'description' => 'Contains Availability Zone information.', - 'type' => 'object', - 'sentAs' => 'AvailabilityZone', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - 'ProvisionedIopsCapable' => array( - 'description' => 'True indicates the availability zone is capable of provisioned IOPs.', - 'type' => 'boolean', - ), - ), - ), - ), - 'MultiAZCapable' => array( - 'description' => 'Indicates whether this orderable DB Instance is multi-AZ capable.', - 'type' => 'boolean', - ), - 'ReadReplicaCapable' => array( - 'description' => 'Indicates whether this orderable DB Instance can have a read replica.', - 'type' => 'boolean', - ), - 'Vpc' => array( - 'description' => 'Indicates whether this is a VPC orderable DB Instance.', - 'type' => 'boolean', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous OrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ReservedDBInstanceMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ReservedDBInstances' => array( - 'description' => 'A list of of reserved DB Instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ReservedDBInstance', - 'description' => 'This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.', - 'type' => 'object', - 'sentAs' => 'ReservedDBInstance', - 'properties' => array( - 'ReservedDBInstanceId' => array( - 'description' => 'The unique identifier for the reservation.', - 'type' => 'string', - ), - 'ReservedDBInstancesOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB instance class for the reserved DB Instance.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time the reservation started.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the reservation in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed price charged for this reserved DB Instance.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly price charged for this reserved DB Instance.', - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'description' => 'The currency code for the reserved DB Instance.', - 'type' => 'string', - ), - 'DBInstanceCount' => array( - 'description' => 'The number of reserved DB Instances.', - 'type' => 'numeric', - ), - 'ProductDescription' => array( - 'description' => 'The description of the reserved DB Instance.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The offering type of this reserved DB Instance.', - 'type' => 'string', - ), - 'MultiAZ' => array( - 'description' => 'Indicates if the reservation applies to Multi-AZ deployments.', - 'type' => 'boolean', - ), - 'State' => array( - 'description' => 'The state of the reserved DB Instance.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring price charged to run this reserved DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'ReservedDBInstancesOfferingMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ReservedDBInstancesOfferings' => array( - 'description' => 'A list of reserved DB Instance offerings.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ReservedDBInstancesOffering', - 'description' => 'This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.', - 'type' => 'object', - 'sentAs' => 'ReservedDBInstancesOffering', - 'properties' => array( - 'ReservedDBInstancesOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB instance class for the reserved DB Instance.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the offering in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed price charged for this offering.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly price charged for this offering.', - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'description' => 'The currency code for the reserved DB Instance offering.', - 'type' => 'string', - ), - 'ProductDescription' => array( - 'description' => 'The database engine used by the offering.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The offering type.', - 'type' => 'string', - ), - 'MultiAZ' => array( - 'description' => 'Indicates if the offering applies to Multi-AZ deployments.', - 'type' => 'boolean', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring price charged to run this reserved DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'DownloadDBLogFilePortionDetails' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LogFileData' => array( - 'description' => 'Entries from the specified log file.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Marker' => array( - 'description' => 'An optional pagination token provided by a previous DownloadDBLogFilePortion request.', - 'type' => 'string', - 'location' => 'xml', - ), - 'AdditionalDataPending' => array( - 'description' => 'Boolean value that if true, indicates there is more data to be downloaded.', - 'type' => 'boolean', - 'location' => 'xml', - ), - ), - ), - 'TagListMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TagList' => array( - 'description' => 'List of tags returned by the ListTagsForResource operation.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Tag', - 'description' => 'Metadata assigned to a DB Instance consisting of a key-value pair.', - 'type' => 'object', - 'sentAs' => 'Tag', - 'properties' => array( - 'Key' => array( - 'description' => 'A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and cannot be prefixed with "aws:". The string may only contain only the set of Unicode letters, digits, white-space, \'_\', \'.\', \'/\', \'=\', \'+\', \'-\' (Java regex: "^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$").', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with "aws:". The string may only contain only the set of Unicode letters, digits, white-space, \'_\', \'.\', \'/\', \'=\', \'+\', \'-\' (Java regex: "^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$").', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DBParameterGroupNameMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DBParameterGroupName' => array( - 'description' => 'The name of the DB Parameter Group.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ReservedDBInstanceWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedDBInstance' => array( - 'description' => 'This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ReservedDBInstanceId' => array( - 'description' => 'The unique identifier for the reservation.', - 'type' => 'string', - ), - 'ReservedDBInstancesOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'DBInstanceClass' => array( - 'description' => 'The DB instance class for the reserved DB Instance.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time the reservation started.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the reservation in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed price charged for this reserved DB Instance.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly price charged for this reserved DB Instance.', - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'description' => 'The currency code for the reserved DB Instance.', - 'type' => 'string', - ), - 'DBInstanceCount' => array( - 'description' => 'The number of reserved DB Instances.', - 'type' => 'numeric', - ), - 'ProductDescription' => array( - 'description' => 'The description of the reserved DB Instance.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The offering type of this reserved DB Instance.', - 'type' => 'string', - ), - 'MultiAZ' => array( - 'description' => 'Indicates if the reservation applies to Multi-AZ deployments.', - 'type' => 'boolean', - ), - 'State' => array( - 'description' => 'The state of the reserved DB Instance.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring price charged to run this reserved DB Instance.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount of the recurring charge.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency of the recurring charge.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeDBEngineVersions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DBEngineVersions', - ), - 'DescribeDBInstances' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DBInstances', - ), - 'DescribeDBLogFiles' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DescribeDBLogFiles', - ), - 'DescribeDBParameterGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DBParameterGroups', - ), - 'DescribeDBParameters' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Parameters', - ), - 'DescribeDBSecurityGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DBSecurityGroups', - ), - 'DescribeDBSnapshots' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DBSnapshots', - ), - 'DescribeDBSubnetGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'DBSubnetGroups', - ), - 'DescribeEngineDefaultParameters' => array( - 'token_param' => 'Marker', - 'limit_key' => 'MaxRecords', - ), - 'DescribeEventSubscriptions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'EventSubscriptionsList', - ), - 'DescribeEvents' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Events', - ), - 'DescribeOptionGroupOptions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'OptionGroupOptions', - ), - 'DescribeOptionGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'OptionGroupsList', - ), - 'DescribeOrderableDBInstanceOptions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'OrderableDBInstanceOptions', - ), - 'DescribeReservedDBInstances' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ReservedDBInstances', - ), - 'DescribeReservedDBInstancesOfferings' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ReservedDBInstancesOfferings', - ), - 'DownloadDBLogFilePortion' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - ), - 'ListTagsForResource' => array( - 'result_key' => 'TagList', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Redshift/Enum/SourceType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Redshift/Enum/SourceType.php deleted file mode 100644 index d6a8798..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Redshift/Enum/SourceType.php +++ /dev/null @@ -1,30 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/redshift-2012-12-01.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Redshift/Resources/redshift-2012-12-01.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Redshift/Resources/redshift-2012-12-01.php deleted file mode 100644 index b16065c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Redshift/Resources/redshift-2012-12-01.php +++ /dev/null @@ -1,3377 +0,0 @@ - '2012-12-01', - 'endpointPrefix' => 'redshift', - 'serviceFullName' => 'Amazon Redshift', - 'serviceType' => 'query', - 'timestampFormat' => 'iso8601', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'Redshift', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'redshift.us-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AuthorizeClusterSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Adds an inbound (ingress) rule to an security group. Depending on whether the application accessing your cluster is running on the Internet or an EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR) IP address range or an EC2 security group. You can add as many as 20 ingress rules to an security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AuthorizeClusterSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the security group to which the ingress rule is added.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CIDRIP' => array( - 'description' => 'The IP range to be added the security group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'The EC2 security group to be added the security group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSecurityGroupNotFoundException', - ), - array( - 'class' => 'InvalidClusterSecurityGroupStateException', - ), - array( - 'class' => 'AuthorizationAlreadyExistsException', - ), - array( - 'class' => 'AuthorizationQuotaExceededException', - ), - ), - ), - 'CopyClusterSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SnapshotWrapper', - 'responseType' => 'model', - 'summary' => 'Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CopyClusterSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'SourceSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The identifier for the source snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TargetSnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The identifier given to the new manual snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSnapshotAlreadyExistsException', - ), - array( - 'class' => 'ClusterSnapshotNotFoundException', - ), - array( - 'class' => 'InvalidClusterSnapshotStateException', - ), - array( - 'class' => 'ClusterSnapshotQuotaExceededException', - ), - ), - ), - 'CreateCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new cluster. To create the cluster in virtual private cloud (VPC), you must provide cluster subnet group name. If you don\'t provide a cluster subnet group name or the cluster security group parameter, Amazon Redshift creates a non-VPC cluster, it associates the default cluster security group with the cluster. &clustersMoreInfo;.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'DBName' => array( - 'description' => 'The name of the first database to be created when the cluster is created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the console.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterType' => array( - 'description' => 'The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required. multi-node, the NumberOfNodes parameter is required.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NodeType' => array( - 'required' => true, - 'description' => 'The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Management Guide.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MasterUsername' => array( - 'required' => true, - 'description' => 'The user name associated with the master user account for the cluster that is being created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MasterUserPassword' => array( - 'required' => true, - 'description' => 'The password associated with the master user account for the cluster that is being created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterSecurityGroups' => array( - 'description' => 'A list of security groups to be associated with this cluster.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ClusterSecurityGroups.member', - 'items' => array( - 'name' => 'ClusterSecurityGroupName', - 'type' => 'string', - ), - ), - 'VpcSecurityGroupIds' => array( - 'description' => 'A list of Virtual Private Cloud (VPC) security groups to associate with the cluster.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpcSecurityGroupIds.member', - 'items' => array( - 'name' => 'VpcSecurityGroupId', - 'type' => 'string', - ), - ), - 'ClusterSubnetGroupName' => array( - 'description' => 'A cluster subnet group to be associated with this cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The EC2 Availability Zone (AZ) in which you want to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which automated cluster maintenance can occur.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterParameterGroupName' => array( - 'description' => 'The name of the parameter group to be associated with this cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AutomatedSnapshotRetentionPeriod' => array( - 'description' => 'The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number on which the cluster accepts incoming connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'ClusterVersion' => array( - 'description' => 'The version of the engine software that you want to deploy on the cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllowVersionUpgrade' => array( - 'description' => 'If true, upgrades can be applied during the maintenance window to the engine that is running on the cluster.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'NumberOfNodes' => array( - 'description' => 'The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PubliclyAccessible' => array( - 'description' => 'If true, the cluster can be accessed from a public network.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterAlreadyExistsException', - ), - array( - 'class' => 'InsufficientClusterCapacityException', - ), - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - array( - 'class' => 'ClusterSecurityGroupNotFoundException', - ), - array( - 'class' => 'ClusterQuotaExceededException', - ), - array( - 'class' => 'NumberOfNodesQuotaExceededException', - ), - array( - 'class' => 'NumberOfNodesPerClusterLimitExceededException', - ), - array( - 'class' => 'ClusterSubnetGroupNotFoundException', - ), - array( - 'class' => 'InvalidVPCNetworkStateException', - ), - ), - ), - 'CreateClusterParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterParameterGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates an parameter group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateClusterParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the cluster parameter group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ParameterGroupFamily' => array( - 'required' => true, - 'description' => 'The engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'A description of the parameter group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterParameterGroupQuotaExceededException', - ), - array( - 'class' => 'ClusterParameterGroupAlreadyExistsException', - ), - ), - ), - 'CreateClusterSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new security group. You use security groups to control access to non-VPC clusters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateClusterSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name for the security group. stores the value as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'A description for the security group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSecurityGroupAlreadyExistsException', - ), - array( - 'class' => 'ClusterSecurityGroupQuotaExceededException', - ), - ), - ), - 'CreateClusterSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SnapshotWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a manual snapshot of the specified cluster. The cluster must be in the "available" state.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateClusterSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'SnapshotIdentifier' => array( - 'required' => true, - 'description' => 'A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'The cluster identifier for which you want a snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSnapshotAlreadyExistsException', - ), - array( - 'class' => 'InvalidClusterStateException', - ), - array( - 'class' => 'ClusterNotFoundException', - ), - array( - 'class' => 'ClusterSnapshotQuotaExceededException', - ), - ), - ), - 'CreateClusterSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSubnetGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating subnet group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateClusterSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name for the subnet group. stores the value as a lowercase string.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'required' => true, - 'description' => 'A description for the subnet group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SubnetIds' => array( - 'required' => true, - 'description' => 'An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetIds.member', - 'items' => array( - 'name' => 'SubnetIdentifier', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSubnetGroupAlreadyExistsException', - ), - array( - 'class' => 'ClusterSubnetGroupQuotaExceededException', - ), - array( - 'class' => 'ClusterSubnetQuotaExceededException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'DeleteCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Deletes a previously provisioned cluster. A successful response from the web service indicates that the request was received correctly. If a final cluster snapshot is requested the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it\'s "deleting" once Amazon Redshift begins deleting the cluster. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. &clustersMoreInfo;.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'The identifier of the cluster to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SkipFinalClusterSnapshot' => array( - 'description' => 'Determines whether a final snapshot of the cluster is created before deletes the cluster. If true, a final cluster snapshot is not created. If false, a final cluster snapshot is created before the cluster is deleted.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'FinalClusterSnapshotIdentifier' => array( - 'description' => 'The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be false.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterNotFoundException', - ), - array( - 'class' => 'InvalidClusterStateException', - ), - array( - 'class' => 'ClusterSnapshotAlreadyExistsException', - ), - array( - 'class' => 'ClusterSnapshotQuotaExceededException', - ), - ), - ), - 'DeleteClusterParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes a specified parameter group. You cannot delete a parameter group if it is associated with a cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteClusterParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the parameter group to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterParameterGroupStateException', - ), - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - ), - ), - 'DeleteClusterSecurityGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes an security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteClusterSecurityGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the cluster security group to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterSecurityGroupStateException', - ), - array( - 'class' => 'ClusterSecurityGroupNotFoundException', - ), - ), - ), - 'DeleteClusterSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SnapshotWrapper', - 'responseType' => 'model', - 'summary' => 'Deletes the specified manual snapshot. The snapshot must be in the "available" state.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteClusterSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'SnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The unique identifier of the manual snapshot to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterSnapshotStateException', - ), - array( - 'class' => 'ClusterSnapshotNotFoundException', - ), - ), - ), - 'DeleteClusterSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified cluster subnet group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteClusterSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name of the cluster subnet group name to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterSubnetGroupStateException', - ), - array( - 'class' => 'InvalidClusterSubnetStateException', - ), - array( - 'class' => 'ClusterSubnetGroupNotFoundException', - ), - ), - ), - 'DescribeClusterParameterGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterParameterGroupsMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusterParameterGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupName' => array( - 'description' => 'The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of parameter group records to include in the response. If more records exist than the specified MaxRecords value, the response includes a marker that you can use in a subsequent DescribeClusterParameterGroups request to retrieve the next set of records.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeClusterParameterGroups request to indicate the first parameter group that the current request will return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - ), - ), - 'DescribeClusterParameters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterParameterGroupDetails', - 'responseType' => 'model', - 'summary' => 'Returns a detailed list of parameters contained within the specified parameter group. For each parameter the response includes information such as parameter name, description, data type, value, whether the parameter value is modifiable, and so on.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusterParameters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of a cluster parameter group for which to return details.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Source' => array( - 'description' => 'The parameter types to return. Specify user to show parameters that are different form the default. Similarly, specify engine-default to show parameters that are the same as the default parameter group.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, response includes a marker that you can specify in your subsequent request to retrieve remaining result.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned from a previous DescribeClusterParameters request. If this parameter is specified, the response includes only records beyond the specified marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - ), - ), - 'DescribeClusterSecurityGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSecurityGroupMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about security groups. If the name of a security group is specified, the response will contain only information about only that security group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusterSecurityGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSecurityGroupName' => array( - 'description' => 'The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSecurityGroupNotFoundException', - ), - ), - ), - 'DescribeClusterSnapshots' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SnapshotMessage', - 'responseType' => 'model', - 'summary' => 'Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by the AWS account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusterSnapshots', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'description' => 'The identifier of the cluster for which information about snapshots is requested.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SnapshotIdentifier' => array( - 'description' => 'The snapshot identifier of the snapshot about which to return information.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SnapshotType' => array( - 'description' => 'The type of snapshots for which you are requesting information. By default, snapshots of all types are returned.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'StartTime' => array( - 'description' => 'A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of snapshot records to include in the response. If more records exist than the specified MaxRecords value, the response returns a marker that you can use in a subsequent DescribeClusterSnapshots request in order to retrieve the next set of snapshot records.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeClusterSnapshots request to indicate the first snapshot that the request will return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSnapshotNotFoundException', - ), - ), - ), - 'DescribeClusterSubnetGroups' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSubnetGroupMessage', - 'responseType' => 'model', - 'summary' => 'Returns one or ore cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in you AWS account.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusterSubnetGroups', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSubnetGroupName' => array( - 'description' => 'The name of the cluster subnet group for which information is requested.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of cluster subnet group records to include in the response. If more records exist than the specified MaxRecords value, the response returns a marker that you can use in a subsequent DescribeClusterSubnetGroups request in order to retrieve the next set of cluster subnet group records.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeClusterSubnetGroups request to indicate the first cluster subnet group that the request will return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSubnetGroupNotFoundException', - ), - ), - ), - 'DescribeClusterVersions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterVersionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns descriptions of the available cluster versions. You can call this operation even before creating any clusters to learn more about the versions. &clustersMoreInfo;', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusterVersions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterVersion' => array( - 'description' => 'The specific cluster version to return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterParameterGroupFamily' => array( - 'description' => 'The name of a specific cluster parameter group family to return details for.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeClusters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClustersMessage', - 'responseType' => 'model', - 'summary' => 'Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. &clustersMoreInfo;.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeClusters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'description' => 'The unique identifier of a cluster whose properties you are requesting. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records that the response can include. If more records exist than the specified MaxRecords value, a marker is included in the response that can be used in a new DescribeClusters request to continue listing results.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeClusters request to indicate the first cluster that the current DescribeClusters request will return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterNotFoundException', - ), - ), - ), - 'DescribeDefaultClusterParameters' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DefaultClusterParametersWrapper', - 'responseType' => 'model', - 'summary' => 'Returns a list of parameter settings for the the specified parameter group family.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeDefaultClusterParameters', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupFamily' => array( - 'required' => true, - 'description' => 'The name of the cluster parameter group family.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned from a previous DescribeDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeEvents' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventsMessage', - 'responseType' => 'model', - 'summary' => 'Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeEvents', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'SourceIdentifier' => array( - 'description' => 'The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SourceType' => array( - 'description' => 'The event source to retrieve events for. If no value is specified, all events are returned.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'cluster', - 'cluster-parameter-group', - 'cluster-security-group', - 'cluster-snapshot', - ), - ), - 'StartTime' => array( - 'description' => 'The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'EndTime' => array( - 'description' => 'The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a druration of 60, then only events which have occurred after 17:00 will be returned.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned from a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeOrderableClusterOptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'OrderableClusterOptionsMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific AWS region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. &clustersMoreInfo;', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeOrderableClusterOptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterVersion' => array( - 'description' => 'The version filter value. Specify this parameter to show only the available offerings matching the specified version.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NodeType' => array( - 'description' => 'The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DescribeReservedNodeOfferings' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedNodeOfferingsMessage', - 'responseType' => 'model', - 'summary' => 'Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedNodeOfferings', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ReservedNodeOfferingId' => array( - 'description' => 'The unique identifier for the offering.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NodeType' => array( - 'description' => 'The node type you can purchase. &nodeTypeInfo;', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'The duration, in seconds, for which the offering will reserve the node.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedNodeOfferingNotFoundException', - ), - ), - ), - 'DescribeReservedNodes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedNodesMessage', - 'responseType' => 'model', - 'summary' => 'Returns the descriptions of the reserved nodes.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeReservedNodes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ReservedNodeId' => array( - 'description' => 'Customer specified identifier for the node reservation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedNodeOfferingId' => array( - 'description' => 'The reserved node offering identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NodeType' => array( - 'description' => 'The node type reserved.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Duration' => array( - 'description' => 'Duration, in seconds, for which the node is reserved.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'description' => 'The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedNodeNotFoundException', - ), - ), - ), - 'DescribeResize' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ResizeProgressMessage', - 'responseType' => 'model', - 'summary' => 'Returns information about a resize operation for the specified cluster. A resize operation can be requested using ModifyCluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DescribeResize', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'The unique identifier of a cluster whose resize progress you are requesting. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterNotFoundException', - ), - array( - 'class' => 'ResizeNotFoundException', - ), - ), - ), - 'ModifyCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies the settings for a cluster. For example, you can add another security or parameter group, update the preferred maintenance window, or change the master user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying parameter group requires a reboot for parameters to take effect. &clustersMoreInfo;', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'The unique identifier of the cluster to be modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterType' => array( - 'description' => 'The new cluster type.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NodeType' => array( - 'description' => 'The new node type of the cluster. If you specify a new node type you must also specify the number of nodes parameter also.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NumberOfNodes' => array( - 'description' => 'The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter also.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'ClusterSecurityGroups' => array( - 'description' => 'A list of cluster security groups to be authorized on this cluster. This change is asynchronously applied as soon as possible.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ClusterSecurityGroups.member', - 'items' => array( - 'name' => 'ClusterSecurityGroupName', - 'type' => 'string', - ), - ), - 'VpcSecurityGroupIds' => array( - 'description' => 'A list of Virtual Private Cloud (VPC) security groups to associate with the cluster.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'VpcSecurityGroupIds.member', - 'items' => array( - 'name' => 'VpcSecurityGroupId', - 'type' => 'string', - ), - ), - 'MasterUserPassword' => array( - 'description' => 'The new password for the cluster master user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response. Operations never return the password, so this operation provides a way to regain access to the master user account for a cluster if the password is lost.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterParameterGroupName' => array( - 'description' => 'The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AutomatedSnapshotRetentionPeriod' => array( - 'description' => 'The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ClusterVersion' => array( - 'description' => 'The new version number of the Amazon Redshift engine to upgrade to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllowVersionUpgrade' => array( - 'description' => 'If true, upgrades will be applied automatically to the cluster during the maintenance window.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterStateException', - ), - array( - 'class' => 'InvalidClusterSecurityGroupStateException', - ), - array( - 'class' => 'ClusterNotFoundException', - ), - array( - 'class' => 'NumberOfNodesQuotaExceededException', - ), - array( - 'class' => 'ClusterSecurityGroupNotFoundException', - ), - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - array( - 'class' => 'InsufficientClusterCapacityException', - ), - array( - 'class' => 'UnsupportedOptionException', - ), - ), - ), - 'ModifyClusterParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterParameterGroupNameMessage', - 'responseType' => 'model', - 'summary' => 'Modifies the parameters of a parameter group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyClusterParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the parameter group to be modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Parameters' => array( - 'required' => true, - 'description' => 'An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'Describes a parameter in a cluster parameter group.', - 'type' => 'object', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'The name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'The source of the parameter value, such as "engine-default" or "user".', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'The data type of the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'The valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'If true, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - array( - 'class' => 'InvalidClusterParameterGroupStateException', - ), - ), - ), - 'ModifyClusterSubnetGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSubnetGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the entire list of existing subnet IDs in the group.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ModifyClusterSubnetGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSubnetGroupName' => array( - 'required' => true, - 'description' => 'The name of the parameter group to be modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Description' => array( - 'description' => 'The name of the parameter group to be modified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SubnetIds' => array( - 'required' => true, - 'description' => 'An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SubnetIds.member', - 'items' => array( - 'name' => 'SubnetIdentifier', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSubnetGroupNotFoundException', - ), - array( - 'class' => 'ClusterSubnetQuotaExceededException', - ), - array( - 'class' => 'SubnetAlreadyInUseException', - ), - array( - 'class' => 'InvalidSubnetException', - ), - ), - ), - 'PurchaseReservedNodeOffering' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedNodeWrapper', - 'responseType' => 'model', - 'summary' => 'Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PurchaseReservedNodeOffering', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ReservedNodeOfferingId' => array( - 'required' => true, - 'description' => 'The unique identifier of the reserved node offering you want to purchase.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReservedNodeId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NodeCount' => array( - 'description' => 'The number of reserved nodes you want to purchase.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ReservedNodeOfferingNotFoundException', - ), - array( - 'class' => 'ReservedNodeAlreadyExistsException', - ), - array( - 'class' => 'ReservedNodeQuotaExceededException', - ), - ), - ), - 'RebootCluster' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. &clustersMoreInfo;', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RebootCluster', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'The cluster identifier.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterStateException', - ), - array( - 'class' => 'ClusterNotFoundException', - ), - ), - ), - 'ResetClusterParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterParameterGroupNameMessage', - 'responseType' => 'model', - 'summary' => 'Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ResetClusterParameterGroup', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ParameterGroupName' => array( - 'required' => true, - 'description' => 'The name of the cluster parameter group to be reset.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ResetAllParameters' => array( - 'description' => 'If true, all parameters in the specified parameter group will be reset to their default values.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'Parameters' => array( - 'description' => 'An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'Describes a parameter in a cluster parameter group.', - 'type' => 'object', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'The name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'The source of the parameter value, such as "engine-default" or "user".', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'The data type of the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'The valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'If true, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidClusterParameterGroupStateException', - ), - array( - 'class' => 'ClusterParameterGroupNotFoundException', - ), - ), - ), - 'RestoreFromClusterSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterWrapper', - 'responseType' => 'model', - 'summary' => 'Creates a new cluster from a snapshot. Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter group. After Amazon Redshift creates the cluster you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RestoreFromClusterSnapshot', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterIdentifier' => array( - 'required' => true, - 'description' => 'The identifier of the cluster that will be created from restoring the snapshot.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'SnapshotIdentifier' => array( - 'required' => true, - 'description' => 'The name of the snapshot from which to create the new cluster. This parameter isn\'t case sensitive.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Port' => array( - 'description' => 'The port number on which the cluster accepts connections.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'AvailabilityZone' => array( - 'description' => 'The Amazon EC2 Availability Zone in which to restore the cluster.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AllowVersionUpgrade' => array( - 'description' => 'If true, upgrades can be applied during the maintenance window to the engine that is running on the cluster.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'ClusterSubnetGroupName' => array( - 'description' => 'The name of the subnet group where you want to cluster restored.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'PubliclyAccessible' => array( - 'description' => 'If true, the cluster can be accessed from a public network.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterAlreadyExistsException', - ), - array( - 'class' => 'ClusterSnapshotNotFoundException', - ), - array( - 'class' => 'ClusterQuotaExceededException', - ), - array( - 'class' => 'InsufficientClusterCapacityException', - ), - array( - 'class' => 'InvalidClusterSnapshotStateException', - ), - array( - 'class' => 'InvalidRestoreException', - ), - array( - 'class' => 'NumberOfNodesQuotaExceededException', - ), - array( - 'class' => 'NumberOfNodesPerClusterLimitExceededException', - ), - ), - ), - 'RevokeClusterSecurityGroupIngress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ClusterSecurityGroupWrapper', - 'responseType' => 'model', - 'summary' => 'Revokes an ingress rule in an security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Management Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RevokeClusterSecurityGroupIngress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-12-01', - ), - 'ClusterSecurityGroupName' => array( - 'required' => true, - 'description' => 'The name of the security Group from which to revoke the ingress rule.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'CIDRIP' => array( - 'description' => 'The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'The AWS account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'ClusterSecurityGroupNotFoundException', - ), - array( - 'class' => 'AuthorizationNotFoundException', - ), - array( - 'class' => 'InvalidClusterSecurityGroupStateException', - ), - ), - ), - ), - 'models' => array( - 'ClusterSecurityGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ClusterSecurityGroup' => array( - 'description' => 'Describes a security group.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ClusterSecurityGroupName' => array( - 'description' => 'The name of the cluster security group to which the operation was applied.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the security group.', - 'type' => 'string', - ), - 'EC2SecurityGroups' => array( - 'description' => 'A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.', - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'description' => 'Describes an Amazon EC2 security group.', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'description' => 'The status of the EC2 security group.', - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'The name of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.', - 'type' => 'string', - ), - ), - ), - ), - 'IPRanges' => array( - 'description' => 'A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.', - 'type' => 'array', - 'items' => array( - 'name' => 'IPRange', - 'description' => 'Describes an IP range used in a security group.', - 'type' => 'object', - 'sentAs' => 'IPRange', - 'properties' => array( - 'Status' => array( - 'description' => 'The status of the IP range, for example, "authorized".', - 'type' => 'string', - ), - 'CIDRIP' => array( - 'description' => 'The IP range in Classless Inter-Domain Routing (CIDR) notation.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'SnapshotWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Snapshot' => array( - 'description' => 'Describes a snapshot.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'SnapshotIdentifier' => array( - 'description' => 'The snapshot identifier that is provided in the request.', - 'type' => 'string', - ), - 'ClusterIdentifier' => array( - 'description' => 'The identifier of the cluster for which the snapshot was taken.', - 'type' => 'string', - ), - 'SnapshotCreateTime' => array( - 'description' => 'The time (UTC) when began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The snapshot status. The value of the status depends on the API operation used. CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating". DescribeClusterSnapshots returns status as "creating", "available", or "failed". DeleteClusterSnapshot returns status as "deleted".', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The port that the cluster is listening on.', - 'type' => 'numeric', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which the cluster was created.', - 'type' => 'string', - ), - 'ClusterCreateTime' => array( - 'description' => 'The time (UTC) when the cluster was originally created.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'The master user name for the cluster.', - 'type' => 'string', - ), - 'ClusterVersion' => array( - 'description' => 'The version ID of the engine that is running on the cluster.', - 'type' => 'string', - ), - 'SnapshotType' => array( - 'description' => 'The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type of the nodes in the cluster.', - 'type' => 'string', - ), - 'NumberOfNodes' => array( - 'description' => 'The number of nodes in the cluster.', - 'type' => 'numeric', - ), - 'DBName' => array( - 'description' => 'The name of the database that was created when the cluster was created.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'The VPC identifier of the cluster if the snapshot is from a cluster in a VPC.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ClusterWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Cluster' => array( - 'description' => 'Describes a cluster.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ClusterIdentifier' => array( - 'description' => 'The unique identifier of the cluster.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type for the nodes in the cluster.', - 'type' => 'string', - ), - 'ClusterStatus' => array( - 'description' => 'The current state of this cluster. Possible values include "available", "creating", "deleting", "rebooting", and "resizing".', - 'type' => 'string', - ), - 'ModifyStatus' => array( - 'description' => 'The status of a modify operation, if any, initiated for the cluster.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'The master user name for the cluster. This name is used to connect to the database specified in DBName.', - 'type' => 'string', - ), - 'DBName' => array( - 'description' => 'The name of the initial database that was provided when the cluster was created. This same name is returned for the life of the cluster. If an initial database was not specified, a database named "dev" was created by default.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'The connection endpoint.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'The DNS address of the Cluster.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The port that the database engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'ClusterCreateTime' => array( - 'description' => 'The date and time that the cluster was created.', - 'type' => 'string', - ), - 'AutomatedSnapshotRetentionPeriod' => array( - 'description' => 'The number of days that automatic cluster snapshots are retained.', - 'type' => 'numeric', - ), - 'ClusterSecurityGroups' => array( - 'description' => 'A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains ClusterSecurityGroup.Name and ClusterSecurityGroup.Status subelements.', - 'type' => 'array', - 'items' => array( - 'name' => 'ClusterSecurityGroup', - 'description' => 'Describes a security group.', - 'type' => 'object', - 'sentAs' => 'ClusterSecurityGroup', - 'properties' => array( - 'ClusterSecurityGroupName' => array( - 'description' => 'The name of the cluster security group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the cluster security group.', - 'type' => 'string', - ), - ), - ), - ), - 'VpcSecurityGroups' => array( - 'description' => 'A list of Virtual Private Cloud (VPC) security groups that are associated with the cluster. This parameter is only valid when the cluster is in a VPC.', - 'type' => 'array', - 'items' => array( - 'name' => 'VpcSecurityGroup', - 'description' => 'Describes the members of a VPC security group.', - 'type' => 'object', - 'sentAs' => 'VpcSecurityGroup', - 'properties' => array( - 'VpcSecurityGroupId' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'string', - ), - ), - ), - ), - 'ClusterParameterGroups' => array( - 'description' => 'The list of cluster parameter groups that are associated with this cluster.', - 'type' => 'array', - 'items' => array( - 'name' => 'ClusterParameterGroup', - 'description' => 'Describes the status of a parameter group.', - 'type' => 'object', - 'sentAs' => 'ClusterParameterGroup', - 'properties' => array( - 'ParameterGroupName' => array( - 'description' => 'The name of the cluster parameter group.', - 'type' => 'string', - ), - 'ParameterApplyStatus' => array( - 'description' => 'The status of parameter updates.', - 'type' => 'string', - ), - ), - ), - ), - 'ClusterSubnetGroupName' => array( - 'description' => 'The name of the subnet group that is associated with the cluster. This parameter is only valid when the cluster is in a VPC.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'The indentifier of the VPC the cluster is in, if the cluster is in a VPC.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'The name of the Availability Zone in which the cluster is located.', - 'type' => 'string', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - ), - 'PendingModifiedValues' => array( - 'description' => 'If present, changes to the cluster are pending. Specific changes are identified by subelements.', - 'type' => 'object', - 'properties' => array( - 'MasterUserPassword' => array( - 'description' => 'The pending or in-progress change of the master credentials for the cluster.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The pending or in-progress change of the cluster\'s node type.', - 'type' => 'string', - ), - 'NumberOfNodes' => array( - 'description' => 'The pending or in-progress change of the number nodes in the cluster.', - 'type' => 'numeric', - ), - 'ClusterType' => array( - 'description' => 'The pending or in-progress change of the cluster type.', - 'type' => 'string', - ), - 'ClusterVersion' => array( - 'description' => 'The pending or in-progress change of the service version.', - 'type' => 'string', - ), - 'AutomatedSnapshotRetentionPeriod' => array( - 'description' => 'The pending or in-progress change of the automated snapshot retention period.', - 'type' => 'numeric', - ), - ), - ), - 'ClusterVersion' => array( - 'description' => 'The version ID of the engine that is running on the cluster.', - 'type' => 'string', - ), - 'AllowVersionUpgrade' => array( - 'description' => 'If true, version upgrades will be applied automatically to the cluster during the maintenance window.', - 'type' => 'boolean', - ), - 'NumberOfNodes' => array( - 'description' => 'The number of compute nodes in the cluster.', - 'type' => 'numeric', - ), - 'PubliclyAccessible' => array( - 'description' => 'If true, the cluster can be accessed from a public network.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - 'ClusterParameterGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ClusterParameterGroup' => array( - 'description' => 'Describes a parameter group.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ParameterGroupName' => array( - 'description' => 'The name of the cluster parameter group.', - 'type' => 'string', - ), - 'ParameterGroupFamily' => array( - 'description' => 'The name of the cluster parameter group family that this cluster parameter group is compatible with.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the parameter group.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'ClusterSubnetGroupWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ClusterSubnetGroup' => array( - 'description' => 'Describes a subnet group.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ClusterSubnetGroupName' => array( - 'description' => 'The name of the cluster subnet group.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the cluster subnet group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'The VPC ID of the cluster subnet group.', - 'type' => 'string', - ), - 'SubnetGroupStatus' => array( - 'description' => 'The status of the cluster subnet group. The valid values are "Complete", "Incomplete" and "Invalid".', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'A list of the VPC Subnet elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'Describes a subnet.', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'The identifier of the subnet.', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - ), - ), - 'SubnetStatus' => array( - 'description' => 'The status of the subnet.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'ClusterParameterGroupsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker at which to continue listing cluster parameter groups in a new request. The response returns a marker if there are more parameter groups to list than returned in the response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ParameterGroups' => array( - 'description' => 'A list of ClusterParameterGroup instances. Each instance describes one cluster parameter group.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ClusterParameterGroup', - 'description' => 'Describes a parameter group.', - 'type' => 'object', - 'sentAs' => 'ClusterParameterGroup', - 'properties' => array( - 'ParameterGroupName' => array( - 'description' => 'The name of the cluster parameter group.', - 'type' => 'string', - ), - 'ParameterGroupFamily' => array( - 'description' => 'The name of the cluster parameter group family that this cluster parameter group is compatible with.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the parameter group.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ClusterParameterGroupDetails' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Parameters' => array( - 'description' => 'A list of Parameter instances. Each instance lists the parameters of one cluster parameter group.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'Describes a parameter in a cluster parameter group.', - 'type' => 'object', - 'sentAs' => 'Parameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'The name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'The source of the parameter value, such as "engine-default" or "user".', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'The data type of the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'The valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'If true, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'A marker that indicates the first parameter group that a subsequent DescribeClusterParameterGroups request will return. The response returns a marker only if there are more parameter groups details to list than the current response can return.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ClusterSecurityGroupMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker at which to continue listing cluster security groups in a new request. The response returns a marker if there are more security groups to list than could be returned in the response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ClusterSecurityGroups' => array( - 'description' => 'A list of ClusterSecurityGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ClusterSecurityGroup', - 'description' => 'Describes a security group.', - 'type' => 'object', - 'sentAs' => 'ClusterSecurityGroup', - 'properties' => array( - 'ClusterSecurityGroupName' => array( - 'description' => 'The name of the cluster security group to which the operation was applied.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the security group.', - 'type' => 'string', - ), - 'EC2SecurityGroups' => array( - 'description' => 'A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.', - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'description' => 'Describes an Amazon EC2 security group.', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'description' => 'The status of the EC2 security group.', - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'description' => 'The name of the EC2 Security Group.', - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'description' => 'The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.', - 'type' => 'string', - ), - ), - ), - ), - 'IPRanges' => array( - 'description' => 'A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.', - 'type' => 'array', - 'items' => array( - 'name' => 'IPRange', - 'description' => 'Describes an IP range used in a security group.', - 'type' => 'object', - 'sentAs' => 'IPRange', - 'properties' => array( - 'Status' => array( - 'description' => 'The status of the IP range, for example, "authorized".', - 'type' => 'string', - ), - 'CIDRIP' => array( - 'description' => 'The IP range in Classless Inter-Domain Routing (CIDR) notation.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'SnapshotMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Snapshots' => array( - 'description' => 'A list of Snapshot instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Snapshot', - 'description' => 'Describes a snapshot.', - 'type' => 'object', - 'sentAs' => 'Snapshot', - 'properties' => array( - 'SnapshotIdentifier' => array( - 'description' => 'The snapshot identifier that is provided in the request.', - 'type' => 'string', - ), - 'ClusterIdentifier' => array( - 'description' => 'The identifier of the cluster for which the snapshot was taken.', - 'type' => 'string', - ), - 'SnapshotCreateTime' => array( - 'description' => 'The time (UTC) when began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The snapshot status. The value of the status depends on the API operation used. CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating". DescribeClusterSnapshots returns status as "creating", "available", or "failed". DeleteClusterSnapshot returns status as "deleted".', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The port that the cluster is listening on.', - 'type' => 'numeric', - ), - 'AvailabilityZone' => array( - 'description' => 'The Availability Zone in which the cluster was created.', - 'type' => 'string', - ), - 'ClusterCreateTime' => array( - 'description' => 'The time (UTC) when the cluster was originally created.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'The master user name for the cluster.', - 'type' => 'string', - ), - 'ClusterVersion' => array( - 'description' => 'The version ID of the engine that is running on the cluster.', - 'type' => 'string', - ), - 'SnapshotType' => array( - 'description' => 'The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type of the nodes in the cluster.', - 'type' => 'string', - ), - 'NumberOfNodes' => array( - 'description' => 'The number of nodes in the cluster.', - 'type' => 'numeric', - ), - 'DBName' => array( - 'description' => 'The name of the database that was created when the cluster was created.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'The VPC identifier of the cluster if the snapshot is from a cluster in a VPC.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ClusterSubnetGroupMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker at which to continue listing cluster subnet groups in a new request. The response returns a marker if there are more subnet groups to list than returned in the response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ClusterSubnetGroups' => array( - 'description' => 'A list of ClusterSubnetGroup instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ClusterSubnetGroup', - 'description' => 'Describes a subnet group.', - 'type' => 'object', - 'sentAs' => 'ClusterSubnetGroup', - 'properties' => array( - 'ClusterSubnetGroupName' => array( - 'description' => 'The name of the cluster subnet group.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the cluster subnet group.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'The VPC ID of the cluster subnet group.', - 'type' => 'string', - ), - 'SubnetGroupStatus' => array( - 'description' => 'The status of the cluster subnet group. The valid values are "Complete", "Incomplete" and "Invalid".', - 'type' => 'string', - ), - 'Subnets' => array( - 'description' => 'A list of the VPC Subnet elements.', - 'type' => 'array', - 'items' => array( - 'name' => 'Subnet', - 'description' => 'Describes a subnet.', - 'type' => 'object', - 'sentAs' => 'Subnet', - 'properties' => array( - 'SubnetIdentifier' => array( - 'description' => 'The identifier of the subnet.', - 'type' => 'string', - ), - 'SubnetAvailabilityZone' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - ), - ), - 'SubnetStatus' => array( - 'description' => 'The status of the subnet.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'ClusterVersionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'The identifier returned to allow retrieval of paginated results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ClusterVersions' => array( - 'description' => 'A list of Version elements.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ClusterVersion', - 'description' => 'Describes a cluster version, including the parameter group family and description of the version.', - 'type' => 'object', - 'sentAs' => 'ClusterVersion', - 'properties' => array( - 'ClusterVersion' => array( - 'description' => 'The version number used by the the cluster.', - 'type' => 'string', - ), - 'ClusterParameterGroupFamily' => array( - 'description' => 'The name of the cluster parameter group family for the cluster.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'The description of the cluster version.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ClustersMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Clusters' => array( - 'description' => 'A list of Cluster objects, where each object describes one cluster.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Cluster', - 'description' => 'Describes a cluster.', - 'type' => 'object', - 'sentAs' => 'Cluster', - 'properties' => array( - 'ClusterIdentifier' => array( - 'description' => 'The unique identifier of the cluster.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type for the nodes in the cluster.', - 'type' => 'string', - ), - 'ClusterStatus' => array( - 'description' => 'The current state of this cluster. Possible values include "available", "creating", "deleting", "rebooting", and "resizing".', - 'type' => 'string', - ), - 'ModifyStatus' => array( - 'description' => 'The status of a modify operation, if any, initiated for the cluster.', - 'type' => 'string', - ), - 'MasterUsername' => array( - 'description' => 'The master user name for the cluster. This name is used to connect to the database specified in DBName.', - 'type' => 'string', - ), - 'DBName' => array( - 'description' => 'The name of the initial database that was provided when the cluster was created. This same name is returned for the life of the cluster. If an initial database was not specified, a database named "dev" was created by default.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'The connection endpoint.', - 'type' => 'object', - 'properties' => array( - 'Address' => array( - 'description' => 'The DNS address of the Cluster.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'The port that the database engine is listening on.', - 'type' => 'numeric', - ), - ), - ), - 'ClusterCreateTime' => array( - 'description' => 'The date and time that the cluster was created.', - 'type' => 'string', - ), - 'AutomatedSnapshotRetentionPeriod' => array( - 'description' => 'The number of days that automatic cluster snapshots are retained.', - 'type' => 'numeric', - ), - 'ClusterSecurityGroups' => array( - 'description' => 'A list of cluster security group that are associated with the cluster. Each security group is represented by an element that contains ClusterSecurityGroup.Name and ClusterSecurityGroup.Status subelements.', - 'type' => 'array', - 'items' => array( - 'name' => 'ClusterSecurityGroup', - 'description' => 'Describes a security group.', - 'type' => 'object', - 'sentAs' => 'ClusterSecurityGroup', - 'properties' => array( - 'ClusterSecurityGroupName' => array( - 'description' => 'The name of the cluster security group.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The status of the cluster security group.', - 'type' => 'string', - ), - ), - ), - ), - 'VpcSecurityGroups' => array( - 'description' => 'A list of Virtual Private Cloud (VPC) security groups that are associated with the cluster. This parameter is only valid when the cluster is in a VPC.', - 'type' => 'array', - 'items' => array( - 'name' => 'VpcSecurityGroup', - 'description' => 'Describes the members of a VPC security group.', - 'type' => 'object', - 'sentAs' => 'VpcSecurityGroup', - 'properties' => array( - 'VpcSecurityGroupId' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'string', - ), - ), - ), - ), - 'ClusterParameterGroups' => array( - 'description' => 'The list of cluster parameter groups that are associated with this cluster.', - 'type' => 'array', - 'items' => array( - 'name' => 'ClusterParameterGroup', - 'description' => 'Describes the status of a parameter group.', - 'type' => 'object', - 'sentAs' => 'ClusterParameterGroup', - 'properties' => array( - 'ParameterGroupName' => array( - 'description' => 'The name of the cluster parameter group.', - 'type' => 'string', - ), - 'ParameterApplyStatus' => array( - 'description' => 'The status of parameter updates.', - 'type' => 'string', - ), - ), - ), - ), - 'ClusterSubnetGroupName' => array( - 'description' => 'The name of the subnet group that is associated with the cluster. This parameter is only valid when the cluster is in a VPC.', - 'type' => 'string', - ), - 'VpcId' => array( - 'description' => 'The indentifier of the VPC the cluster is in, if the cluster is in a VPC.', - 'type' => 'string', - ), - 'AvailabilityZone' => array( - 'description' => 'The name of the Availability Zone in which the cluster is located.', - 'type' => 'string', - ), - 'PreferredMaintenanceWindow' => array( - 'description' => 'The weekly time range (in UTC) during which system maintenance can occur.', - 'type' => 'string', - ), - 'PendingModifiedValues' => array( - 'description' => 'If present, changes to the cluster are pending. Specific changes are identified by subelements.', - 'type' => 'object', - 'properties' => array( - 'MasterUserPassword' => array( - 'description' => 'The pending or in-progress change of the master credentials for the cluster.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The pending or in-progress change of the cluster\'s node type.', - 'type' => 'string', - ), - 'NumberOfNodes' => array( - 'description' => 'The pending or in-progress change of the number nodes in the cluster.', - 'type' => 'numeric', - ), - 'ClusterType' => array( - 'description' => 'The pending or in-progress change of the cluster type.', - 'type' => 'string', - ), - 'ClusterVersion' => array( - 'description' => 'The pending or in-progress change of the service version.', - 'type' => 'string', - ), - 'AutomatedSnapshotRetentionPeriod' => array( - 'description' => 'The pending or in-progress change of the automated snapshot retention period.', - 'type' => 'numeric', - ), - ), - ), - 'ClusterVersion' => array( - 'description' => 'The version ID of the engine that is running on the cluster.', - 'type' => 'string', - ), - 'AllowVersionUpgrade' => array( - 'description' => 'If true, version upgrades will be applied automatically to the cluster during the maintenance window.', - 'type' => 'boolean', - ), - 'NumberOfNodes' => array( - 'description' => 'The number of compute nodes in the cluster.', - 'type' => 'numeric', - ), - 'PubliclyAccessible' => array( - 'description' => 'If true, the cluster can be accessed from a public network.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - 'DefaultClusterParametersWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DefaultClusterParameters' => array( - 'description' => 'Describes the default cluster parameters for a parameter group family.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ParameterGroupFamily' => array( - 'description' => 'The name of the cluster parameter group family to which the engine default parameters apply.', - 'type' => 'string', - ), - 'Marker' => array( - 'description' => 'An identifier to allow retrieval of paginated results.', - 'type' => 'string', - ), - 'Parameters' => array( - 'description' => 'The list of cluster default parameters.', - 'type' => 'array', - 'items' => array( - 'name' => 'Parameter', - 'description' => 'Describes a parameter in a cluster parameter group.', - 'type' => 'object', - 'sentAs' => 'Parameter', - 'properties' => array( - 'ParameterName' => array( - 'description' => 'The name of the parameter.', - 'type' => 'string', - ), - 'ParameterValue' => array( - 'description' => 'The value of the parameter.', - 'type' => 'string', - ), - 'Description' => array( - 'description' => 'A description of the parameter.', - 'type' => 'string', - ), - 'Source' => array( - 'description' => 'The source of the parameter value, such as "engine-default" or "user".', - 'type' => 'string', - ), - 'DataType' => array( - 'description' => 'The data type of the parameter.', - 'type' => 'string', - ), - 'AllowedValues' => array( - 'description' => 'The valid range of values for the parameter.', - 'type' => 'string', - ), - 'IsModifiable' => array( - 'description' => 'If true, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.', - 'type' => 'boolean', - ), - 'MinimumEngineVersion' => array( - 'description' => 'The earliest engine version to which the parameter can apply.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'EventsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker at which to continue listing events in a new request. The response returns a marker if there are more events to list than returned in the response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Events' => array( - 'description' => 'A list of Event instances.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Event', - 'description' => 'Describes an event.', - 'type' => 'object', - 'sentAs' => 'Event', - 'properties' => array( - 'SourceIdentifier' => array( - 'description' => 'The identifier for the source of the event.', - 'type' => 'string', - ), - 'SourceType' => array( - 'description' => 'The source type for this event.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'The text of this event.', - 'type' => 'string', - ), - 'Date' => array( - 'description' => 'The date and time of the event.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'OrderableClusterOptionsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'OrderableClusterOptions' => array( - 'description' => 'An OrderableClusterOption structure containing information about orderable options for the Cluster.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'OrderableClusterOption', - 'description' => 'Describes an orderable cluster option.', - 'type' => 'object', - 'sentAs' => 'OrderableClusterOption', - 'properties' => array( - 'ClusterVersion' => array( - 'description' => 'The version of the orderable cluster.', - 'type' => 'string', - ), - 'ClusterType' => array( - 'description' => 'The cluster type, for example multi-node.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type for the orderable cluster.', - 'type' => 'string', - ), - 'AvailabilityZones' => array( - 'description' => 'A list of availability zones for the orderable cluster.', - 'type' => 'array', - 'items' => array( - 'name' => 'AvailabilityZone', - 'description' => 'Describes an availability zone.', - 'type' => 'object', - 'sentAs' => 'AvailabilityZone', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the availability zone.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'A marker that can be used to retrieve paginated results.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ReservedNodeOfferingsMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first reserved node offering that the request will return.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ReservedNodeOfferings' => array( - 'description' => 'A list of reserved node offerings.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ReservedNodeOffering', - 'description' => 'Describes a reserved node offering.', - 'type' => 'object', - 'sentAs' => 'ReservedNodeOffering', - 'properties' => array( - 'ReservedNodeOfferingId' => array( - 'description' => 'The offering identifier.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type offered by the reserved node offering.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration, in seconds, for which the offering will reserve the node.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The upfront fixed charge you will pay to purchase the specific reserved node offering.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The rate you are charged for each hour the cluster that is using the offering is running.', - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'description' => 'The currency code for the compute nodes offering.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The anticipated utilization of the reserved node, as defined in the reserved node offering.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'Describes a recurring charge.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount charged per the period of time specified by the recurring charge frequency.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency at which the recurring charge amount is applied.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'ReservedNodesMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Marker' => array( - 'description' => 'A marker that can be used to retrieve paginated results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ReservedNodes' => array( - 'description' => 'The list of reserved nodes.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ReservedNode', - 'description' => 'Describes a reserved node.', - 'type' => 'object', - 'sentAs' => 'ReservedNode', - 'properties' => array( - 'ReservedNodeId' => array( - 'description' => 'The unique identifier for the reservation.', - 'type' => 'string', - ), - 'ReservedNodeOfferingId' => array( - 'description' => 'The identifier for the reserved node offering.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type of the reserved node.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the node reservation in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed cost Amazon Redshift charged you for this reserved node.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly rate Amazon Redshift charge you for this reserved node.', - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'description' => 'The currency code for the reserved cluster.', - 'type' => 'string', - ), - 'NodeCount' => array( - 'description' => 'The number of reserved compute nodes.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of the reserved Compute Node.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The anticipated utilization of the reserved node, as defined in the reserved node offering.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring charges for the reserved node.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'Describes a recurring charge.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount charged per the period of time specified by the recurring charge frequency.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency at which the recurring charge amount is applied.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'ResizeProgressMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TargetNodeType' => array( - 'description' => 'The node type that the cluster will have after the resize completes.', - 'type' => 'string', - 'location' => 'xml', - ), - 'TargetNumberOfNodes' => array( - 'description' => 'The number of nodes that the cluster will have after the resize completes.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'TargetClusterType' => array( - 'description' => 'The cluster type after the resize completed.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Status' => array( - 'description' => 'The status of the resize operation.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ImportTablesCompleted' => array( - 'description' => 'The tables which have been imported completely.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'ImportTablesInProgress' => array( - 'description' => 'The tables which are being imported currently.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'ImportTablesNotStarted' => array( - 'description' => 'The tables which have not been imported yet.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'ClusterParameterGroupNameMessage' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ParameterGroupName' => array( - 'description' => 'The name of the cluster parameter group.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ParameterGroupStatus' => array( - 'description' => 'The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ReservedNodeWrapper' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ReservedNode' => array( - 'description' => 'Describes a reserved node.', - 'type' => 'object', - 'location' => 'xml', - 'data' => array( - 'wrapper' => true, - ), - 'properties' => array( - 'ReservedNodeId' => array( - 'description' => 'The unique identifier for the reservation.', - 'type' => 'string', - ), - 'ReservedNodeOfferingId' => array( - 'description' => 'The identifier for the reserved node offering.', - 'type' => 'string', - ), - 'NodeType' => array( - 'description' => 'The node type of the reserved node.', - 'type' => 'string', - ), - 'StartTime' => array( - 'description' => 'The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.', - 'type' => 'string', - ), - 'Duration' => array( - 'description' => 'The duration of the node reservation in seconds.', - 'type' => 'numeric', - ), - 'FixedPrice' => array( - 'description' => 'The fixed cost Amazon Redshift charged you for this reserved node.', - 'type' => 'numeric', - ), - 'UsagePrice' => array( - 'description' => 'The hourly rate Amazon Redshift charge you for this reserved node.', - 'type' => 'numeric', - ), - 'CurrencyCode' => array( - 'description' => 'The currency code for the reserved cluster.', - 'type' => 'string', - ), - 'NodeCount' => array( - 'description' => 'The number of reserved compute nodes.', - 'type' => 'numeric', - ), - 'State' => array( - 'description' => 'The state of the reserved Compute Node.', - 'type' => 'string', - ), - 'OfferingType' => array( - 'description' => 'The anticipated utilization of the reserved node, as defined in the reserved node offering.', - 'type' => 'string', - ), - 'RecurringCharges' => array( - 'description' => 'The recurring charges for the reserved node.', - 'type' => 'array', - 'items' => array( - 'name' => 'RecurringCharge', - 'description' => 'Describes a recurring charge.', - 'type' => 'object', - 'sentAs' => 'RecurringCharge', - 'properties' => array( - 'RecurringChargeAmount' => array( - 'description' => 'The amount charged per the period of time specified by the recurring charge frequency.', - 'type' => 'numeric', - ), - 'RecurringChargeFrequency' => array( - 'description' => 'The frequency at which the recurring charge amount is applied.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeClusterParameterGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ParameterGroups', - ), - 'DescribeClusterParameters' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Parameters', - ), - 'DescribeClusterSecurityGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ClusterSecurityGroups', - ), - 'DescribeClusterSnapshots' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Snapshots', - ), - 'DescribeClusterSubnetGroups' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ClusterSubnetGroups', - ), - 'DescribeClusterVersions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ClusterVersions', - ), - 'DescribeClusters' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Clusters', - ), - 'DescribeDefaultClusterParameters' => array( - 'token_param' => 'Marker', - 'limit_key' => 'MaxRecords', - ), - 'DescribeEvents' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'Events', - ), - 'DescribeOrderableClusterOptions' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'OrderableClusterOptions', - ), - 'DescribeReservedNodeOfferings' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ReservedNodeOfferings', - ), - 'DescribeReservedNodes' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'MaxRecords', - 'result_key' => 'ReservedNodes', - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'acceptor.type' => 'output', - ), - '__ClusterState' => array( - 'interval' => 60, - 'max_attempts' => 30, - 'operation' => 'DescribeClusters', - 'acceptor.path' => 'Clusters/*/ClusterStatus', - ), - 'ClusterAvailable' => array( - 'extends' => '__ClusterState', - 'success.value' => 'available', - 'failure.value' => array( - 'deleting', - ), - 'ignore_errors' => array( - 'ClusterNotFound', - ), - ), - 'ClusterDeleted' => array( - 'extends' => '__ClusterState', - 'success.type' => 'error', - 'success.value' => 'ClusterNotFound', - 'failure.value' => array( - 'creating', - 'rebooting', - ), - ), - 'SnapshotAvailable' => array( - 'interval' => 15, - 'max_attempts' => 20, - 'operation' => 'DescribeClusterSnapshots', - 'acceptor.path' => 'Snapshots/*/Status', - 'success.value' => 'available', - 'failure.value' => array( - 'failed', - 'deleted', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Route53/Enum/Action.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Route53/Enum/Action.php deleted file mode 100644 index d31b7ec..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Route53/Enum/Action.php +++ /dev/null @@ -1,28 +0,0 @@ - '2012-12-12', - 'endpointPrefix' => 'route53', - 'serviceFullName' => 'Amazon Route 53', - 'serviceAbbreviation' => 'Route 53', - 'serviceType' => 'rest-xml', - 'globalEndpoint' => 'route53.amazonaws.com', - 'signatureVersion' => 'v3https', - 'namespace' => 'Route53', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'route53.amazonaws.com', - ), - ), - 'operations' => array( - 'ChangeResourceRecordSets' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-12-12/hostedzone/{HostedZoneId}/rrset/', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ChangeResourceRecordSetsResponse', - 'responseType' => 'model', - 'summary' => 'Use this action to create or change your authoritative DNS information. To use this action, send a POST request to the 2012-12-12/hostedzone/hosted Zone ID/rrset resource. The request body must include an XML document with a ChangeResourceRecordSetsRequest element.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'ChangeResourceRecordSetsRequest', - 'namespaces' => array( - 'https://route53.amazonaws.com/doc/2012-12-12/', - ), - ), - ), - 'parameters' => array( - 'HostedZoneId' => array( - 'required' => true, - 'description' => 'Alias resource record sets only: The value of the hosted zone ID for the AWS resource.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 32, - 'filters' => array( - 'Aws\\Route53\\Route53Client::cleanId', - ), - ), - 'ChangeBatch' => array( - 'required' => true, - 'description' => 'A complex type that contains an optional comment and the Changes element.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Comment' => array( - 'description' => 'Optional: Any comments you want to include about a change batch request.', - 'type' => 'string', - 'maxLength' => 256, - ), - 'Changes' => array( - 'required' => true, - 'description' => 'A complex type that contains one Change element for each resource record set that you want to create or delete.', - 'type' => 'array', - 'minItems' => 1, - 'items' => array( - 'name' => 'Change', - 'description' => 'A complex type that contains the information for each change in a change batch request.', - 'type' => 'object', - 'properties' => array( - 'Action' => array( - 'required' => true, - 'description' => 'The action to perform.', - 'type' => 'string', - 'enum' => array( - 'CREATE', - 'DELETE', - ), - ), - 'ResourceRecordSet' => array( - 'required' => true, - 'description' => 'Information about the resource record set to create or delete.', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The domain name of the current resource record set.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'Type' => array( - 'required' => true, - 'description' => 'The type of the current resource record set.', - 'type' => 'string', - 'enum' => array( - 'SOA', - 'A', - 'TXT', - 'NS', - 'CNAME', - 'MX', - 'PTR', - 'SRV', - 'SPF', - 'AAAA', - ), - ), - 'SetIdentifier' => array( - 'description' => 'Weighted, Regional, and Failover resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Weight' => array( - 'description' => 'Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.', - 'type' => 'numeric', - 'maximum' => 255, - ), - 'Region' => array( - 'description' => 'Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for the current resource record set.', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - 'enum' => array( - 'us-east-1', - 'us-west-1', - 'us-west-2', - 'eu-west-1', - 'ap-southeast-1', - 'ap-southeast-2', - 'ap-northeast-1', - 'sa-east-1', - ), - ), - 'Failover' => array( - 'description' => 'Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. A failover set may contain at most one resource record set marked as primary and one resource record set marked as secondary. A resource record set marked as primary will be returned if any of the following are true: (1) an associated health check is passing, (2) if the resource record set is an alias with the evaluate target health and at least one target resource record set is healthy, (3) both the primary and secondary resource record set are failing health checks or (4) there is no secondary resource record set. A secondary resource record set will be returned if: (1) the primary is failing a health check and either the secondary is passing a health check or has no associated health check, or (2) there is no primary resource record set.', - 'type' => 'string', - 'enum' => array( - 'PRIMARY', - 'SECONDARY', - ), - ), - 'TTL' => array( - 'description' => 'The cache time to live for the current resource record set.', - 'type' => 'numeric', - 'maximum' => 2147483647, - ), - 'ResourceRecords' => array( - 'description' => 'A complex type that contains the resource records for the current resource record set.', - 'type' => 'array', - 'minItems' => 1, - 'items' => array( - 'name' => 'ResourceRecord', - 'description' => 'A complex type that contains the value of the Value element for the current resource record set.', - 'type' => 'object', - 'properties' => array( - 'Value' => array( - 'required' => true, - 'description' => 'The value of the Value element for the current resource record set.', - 'type' => 'string', - 'maxLength' => 4000, - ), - ), - ), - ), - 'AliasTarget' => array( - 'description' => 'Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.', - 'type' => 'object', - 'properties' => array( - 'HostedZoneId' => array( - 'required' => true, - 'description' => 'Alias resource record sets only: The value of the hosted zone ID for the AWS resource.', - 'type' => 'string', - 'maxLength' => 32, - ), - 'DNSName' => array( - 'required' => true, - 'description' => 'Alias resource record sets only: The external DNS name associated with the AWS Resource.', - 'type' => 'string', - 'maxLength' => 1024, - ), - 'EvaluateTargetHealth' => array( - 'required' => true, - 'description' => 'Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'HealthCheckId' => array( - 'description' => 'Health Check resource record sets only, not required for alias resource record sets: An identifier that is used to identify health check associated with the resource record set.', - 'type' => 'string', - 'maxLength' => 64, - ), - ), - ), - ), - ), - ), - ), - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchHostedZoneException', - ), - array( - 'reason' => 'The health check you are trying to get or delete does not exist.', - 'class' => 'NoSuchHealthCheckException', - ), - array( - 'reason' => 'This error contains a list of one or more error messages. Each error message indicates one error in the change batch. For more information, see Example InvalidChangeBatch Errors.', - 'class' => 'InvalidChangeBatchException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - array( - 'reason' => 'The request was rejected because Route 53 was still processing a prior request.', - 'class' => 'PriorRequestNotCompleteException', - ), - ), - ), - 'CreateHealthCheck' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-12-12/healthcheck', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateHealthCheckResponse', - 'responseType' => 'model', - 'summary' => 'This action creates a new health check.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CreateHealthCheckRequest', - 'namespaces' => array( - 'https://route53.amazonaws.com/doc/2012-12-12/', - ), - ), - ), - 'parameters' => array( - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique string that identifies the request and that allows failed CreateHealthCheck requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you create a health check. CallerReference can be any unique string; you might choose to use a string that identifies your project.', - 'type' => 'string', - 'location' => 'xml', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'HealthCheckConfig' => array( - 'required' => true, - 'description' => 'A complex type that contains health check configuration.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'IPAddress' => array( - 'required' => true, - 'description' => 'IP Address of the instance being checked.', - 'type' => 'string', - 'maxLength' => 15, - ), - 'Port' => array( - 'description' => 'Port on which connection will be opened to the instance to health check. For HTTP this defaults to 80 if the port is not specified.', - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 65535, - ), - 'Type' => array( - 'required' => true, - 'description' => 'The type of health check to be performed. Currently supported protocols are TCP and HTTP.', - 'type' => 'string', - 'enum' => array( - 'HTTP', - 'TCP', - ), - ), - 'ResourcePath' => array( - 'description' => 'Path to ping on the instance to check the health. Required only for HTTP health checks, HTTP request is issued to the instance on the given port and path.', - 'type' => 'string', - 'maxLength' => 255, - ), - 'FullyQualifiedDomainName' => array( - 'description' => 'Fully qualified domain name of the instance to be health checked.', - 'type' => 'string', - 'maxLength' => 255, - ), - ), - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'TooManyHealthChecksException', - ), - array( - 'reason' => 'The health check you are trying to create already exists. Route 53 returns this error when a health check has already been created with the specified CallerReference.', - 'class' => 'HealthCheckAlreadyExistsException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'CreateHostedZone' => array( - 'httpMethod' => 'POST', - 'uri' => '/2012-12-12/hostedzone', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'CreateHostedZoneResponse', - 'responseType' => 'model', - 'summary' => 'This action creates a new hosted zone.', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CreateHostedZoneRequest', - 'namespaces' => array( - 'https://route53.amazonaws.com/doc/2012-12-12/', - ), - ), - ), - 'parameters' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.', - 'type' => 'string', - 'location' => 'xml', - 'maxLength' => 1024, - ), - 'CallerReference' => array( - 'required' => true, - 'description' => 'A unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you create a hosted zone. CallerReference can be any unique string; you might choose to use a string that identifies your project, such as DNSMigration_01.', - 'type' => 'string', - 'location' => 'xml', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'HostedZoneConfig' => array( - 'description' => 'A complex type that contains an optional comment about your hosted zone.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Comment' => array( - 'description' => 'An optional comment about your hosted zone. If you don\'t want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.', - 'type' => 'string', - 'maxLength' => 256, - ), - ), - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This error indicates that the specified domain name is not valid.', - 'class' => 'InvalidDomainNameException', - ), - array( - 'reason' => 'The hosted zone you are trying to create already exists. Route 53 returns this error when a hosted zone has already been created with the specified CallerReference.', - 'class' => 'HostedZoneAlreadyExistsException', - ), - array( - 'reason' => 'This error indicates that you\'ve reached the maximum number of hosted zones that can be created for the current AWS account. You can request an increase to the limit on the Contact Us page.', - 'class' => 'TooManyHostedZonesException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - array( - 'reason' => 'Route 53 allows some duplicate domain names, but there is a maximum number of duplicate names. This error indicates that you have reached that maximum. If you want to create another hosted zone with the same name and Route 53 generates this error, you can request an increase to the limit on the Contact Us page.', - 'class' => 'DelegationSetNotAvailableException', - ), - ), - ), - 'DeleteHealthCheck' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-12-12/healthcheck/{HealthCheckId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'DeleteHealthCheckResponse', - 'responseType' => 'model', - 'summary' => 'This action deletes a health check. To delete a health check, send a DELETE request to the 2012-12-12/healthcheck/health check ID resource.', - 'parameters' => array( - 'HealthCheckId' => array( - 'required' => true, - 'description' => 'The ID of the health check to delete.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The health check you are trying to get or delete does not exist.', - 'class' => 'NoSuchHealthCheckException', - ), - array( - 'reason' => 'There are resource records associated with this health check. Before you can delete the health check, you must disassociate it from the resource record sets.', - 'class' => 'HealthCheckInUseException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'DeleteHostedZone' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/2012-12-12/hostedzone/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'DeleteHostedZoneResponse', - 'responseType' => 'model', - 'summary' => 'This action deletes a hosted zone. To delete a hosted zone, send a DELETE request to the 2012-12-12/hostedzone/hosted zone ID resource.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 32, - 'filters' => array( - 'Aws\\Route53\\Route53Client::cleanId', - ), - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchHostedZoneException', - ), - array( - 'reason' => 'The hosted zone contains resource record sets in addition to the default NS and SOA resource record sets. Before you can delete the hosted zone, you must delete the additional resource record sets.', - 'class' => 'HostedZoneNotEmptyException', - ), - array( - 'reason' => 'The request was rejected because Route 53 was still processing a prior request.', - 'class' => 'PriorRequestNotCompleteException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'GetChange' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-12-12/change/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetChangeResponse', - 'responseType' => 'model', - 'summary' => 'This action returns the current status of a change batch request. The status is one of the following values:', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 32, - 'filters' => array( - 'Aws\\Route53\\Route53Client::cleanId', - ), - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchChangeException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'GetHealthCheck' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-12-12/healthcheck/{HealthCheckId}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetHealthCheckResponse', - 'responseType' => 'model', - 'summary' => 'To retrieve the health check, send a GET request to the 2012-12-12/healthcheck/health check ID resource.', - 'parameters' => array( - 'HealthCheckId' => array( - 'required' => true, - 'description' => 'The ID of the health check to retrieve.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 64, - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The health check you are trying to get or delete does not exist.', - 'class' => 'NoSuchHealthCheckException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'GetHostedZone' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-12-12/hostedzone/{Id}', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'GetHostedZoneResponse', - 'responseType' => 'model', - 'summary' => 'To retrieve the delegation set for a hosted zone, send a GET request to the 2012-12-12/hostedzone/hosted zone ID resource. The delegation set is the four Route 53 name servers that were assigned to the hosted zone when you created it.', - 'parameters' => array( - 'Id' => array( - 'required' => true, - 'description' => 'The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 32, - 'filters' => array( - 'Aws\\Route53\\Route53Client::cleanId', - ), - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchHostedZoneException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'ListHealthChecks' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-12-12/healthcheck', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListHealthChecksResponse', - 'responseType' => 'model', - 'summary' => 'To retrieve a list of your health checks, send a GET request to the 2012-12-12/healthcheck resource. The response to this request includes a HealthChecks element with zero, one, or multiple HealthCheck child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the health check that the list begins with.', - 'parameters' => array( - 'Marker' => array( - 'description' => 'If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'marker', - 'maxLength' => 64, - ), - 'MaxItems' => array( - 'description' => 'Specify the maximum number of health checks to return per page of results.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'maxitems', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'ListHostedZones' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-12-12/hostedzone', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListHostedZonesResponse', - 'responseType' => 'model', - 'summary' => 'To retrieve a list of your hosted zones, send a GET request to the 2012-12-12/hostedzone resource. The response to this request includes a HostedZones element with zero, one, or multiple HostedZone child elements. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the hosted zone that the list begins with.', - 'parameters' => array( - 'Marker' => array( - 'description' => 'If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'marker', - 'maxLength' => 64, - ), - 'MaxItems' => array( - 'description' => 'Specify the maximum number of hosted zones to return per page of results.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'maxitems', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - 'ListResourceRecordSets' => array( - 'httpMethod' => 'GET', - 'uri' => '/2012-12-12/hostedzone/{HostedZoneId}/rrset', - 'class' => 'Guzzle\\Service\\Command\\OperationCommand', - 'responseClass' => 'ListResourceRecordSetsResponse', - 'responseType' => 'model', - 'summary' => 'Imagine all the resource record sets in a zone listed out in front of you. Imagine them sorted lexicographically first by DNS name (with the labels reversed, like "com.amazon.www" for example), and secondarily, lexicographically by record type. This operation retrieves at most MaxItems resource record sets from this list, in order, starting at a position specified by the Name and Type arguments:', - 'parameters' => array( - 'HostedZoneId' => array( - 'required' => true, - 'description' => 'The ID of the hosted zone that contains the resource record sets that you want to get.', - 'type' => 'string', - 'location' => 'uri', - 'maxLength' => 32, - 'filters' => array( - 'Aws\\Route53\\Route53Client::cleanId', - ), - ), - 'StartRecordName' => array( - 'description' => 'The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'name', - 'maxLength' => 1024, - ), - 'StartRecordType' => array( - 'description' => 'The DNS type at which to begin the listing of resource record sets.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'type', - 'enum' => array( - 'SOA', - 'A', - 'TXT', - 'NS', - 'CNAME', - 'MX', - 'PTR', - 'SRV', - 'SPF', - 'AAAA', - ), - ), - 'StartRecordIdentifier' => array( - 'description' => 'Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'identifier', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'MaxItems' => array( - 'description' => 'The maximum number of records you want in the response body.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'maxitems', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'NoSuchHostedZoneException', - ), - array( - 'reason' => 'Some value specified in the request is invalid or the XML document is malformed.', - 'class' => 'InvalidInputException', - ), - ), - ), - ), - 'models' => array( - 'ChangeResourceRecordSetsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ChangeInfo' => array( - 'description' => 'A complex type that contains information about changes made to your hosted zone.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'SubmittedAt' => array( - 'description' => 'The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z after the time indicates that the time is listed in Coordinated Universal Time (UTC), which is synonymous with Greenwich Mean Time in this context.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'A complex type that describes change information about changes made to your hosted zone.', - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateHealthCheckResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HealthCheck' => array( - 'description' => 'A complex type that contains identifying information about the health check.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the specified health check.', - 'type' => 'string', - ), - 'CallerReference' => array( - 'description' => 'A unique string that identifies the request to create the health check.', - 'type' => 'string', - ), - 'HealthCheckConfig' => array( - 'description' => 'A complex type that contains the health check configuration.', - 'type' => 'object', - 'properties' => array( - 'IPAddress' => array( - 'description' => 'IP Address of the instance being checked.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Port on which connection will be opened to the instance to health check. For HTTP this defaults to 80 if the port is not specified.', - 'type' => 'numeric', - ), - 'Type' => array( - 'description' => 'The type of health check to be performed. Currently supported protocols are TCP and HTTP.', - 'type' => 'string', - ), - 'ResourcePath' => array( - 'description' => 'Path to ping on the instance to check the health. Required only for HTTP health checks, HTTP request is issued to the instance on the given port and path.', - 'type' => 'string', - ), - 'FullyQualifiedDomainName' => array( - 'description' => 'Fully qualified domain name of the instance to be health checked.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'Location' => array( - 'description' => 'The unique URL representing the new health check.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateHostedZoneResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HostedZone' => array( - 'description' => 'A complex type that contains identifying information about the hosted zone.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the specified hosted zone.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.', - 'type' => 'string', - ), - 'CallerReference' => array( - 'description' => 'A unique string that identifies the request to create the hosted zone.', - 'type' => 'string', - ), - 'Config' => array( - 'description' => 'A complex type that contains the Comment element.', - 'type' => 'object', - 'properties' => array( - 'Comment' => array( - 'description' => 'An optional comment about your hosted zone. If you don\'t want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.', - 'type' => 'string', - ), - ), - ), - 'ResourceRecordSetCount' => array( - 'description' => 'Total number of resource record sets in the hosted zone.', - 'type' => 'numeric', - ), - ), - ), - 'ChangeInfo' => array( - 'description' => 'A complex type that contains information about the request to create a hosted zone. This includes an ID that you use when you call the GetChange action to get the current status of the change request.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'SubmittedAt' => array( - 'description' => 'The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z after the time indicates that the time is listed in Coordinated Universal Time (UTC), which is synonymous with Greenwich Mean Time in this context.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'A complex type that describes change information about changes made to your hosted zone.', - 'type' => 'string', - ), - ), - ), - 'DelegationSet' => array( - 'description' => 'A complex type that contains name server information.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'NameServers' => array( - 'description' => 'A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.', - 'type' => 'array', - 'items' => array( - 'name' => 'NameServer', - 'type' => 'string', - 'sentAs' => 'NameServer', - ), - ), - ), - ), - 'Location' => array( - 'description' => 'The unique URL representing the new hosted zone.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteHealthCheckResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteHostedZoneResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ChangeInfo' => array( - 'description' => 'A complex type that contains the ID, the status, and the date and time of your delete request.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'SubmittedAt' => array( - 'description' => 'The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z after the time indicates that the time is listed in Coordinated Universal Time (UTC), which is synonymous with Greenwich Mean Time in this context.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'A complex type that describes change information about changes made to your hosted zone.', - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetChangeResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ChangeInfo' => array( - 'description' => 'A complex type that contains information about the specified change batch, including the change batch ID, the status of the change, and the date and time of the request.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.', - 'type' => 'string', - ), - 'SubmittedAt' => array( - 'description' => 'The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z after the time indicates that the time is listed in Coordinated Universal Time (UTC), which is synonymous with Greenwich Mean Time in this context.', - 'type' => 'string', - ), - 'Comment' => array( - 'description' => 'A complex type that describes change information about changes made to your hosted zone.', - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetHealthCheckResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HealthCheck' => array( - 'description' => 'A complex type that contains the information about the specified health check.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the specified health check.', - 'type' => 'string', - ), - 'CallerReference' => array( - 'description' => 'A unique string that identifies the request to create the health check.', - 'type' => 'string', - ), - 'HealthCheckConfig' => array( - 'description' => 'A complex type that contains the health check configuration.', - 'type' => 'object', - 'properties' => array( - 'IPAddress' => array( - 'description' => 'IP Address of the instance being checked.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Port on which connection will be opened to the instance to health check. For HTTP this defaults to 80 if the port is not specified.', - 'type' => 'numeric', - ), - 'Type' => array( - 'description' => 'The type of health check to be performed. Currently supported protocols are TCP and HTTP.', - 'type' => 'string', - ), - 'ResourcePath' => array( - 'description' => 'Path to ping on the instance to check the health. Required only for HTTP health checks, HTTP request is issued to the instance on the given port and path.', - 'type' => 'string', - ), - 'FullyQualifiedDomainName' => array( - 'description' => 'Fully qualified domain name of the instance to be health checked.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetHostedZoneResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HostedZone' => array( - 'description' => 'A complex type that contains the information about the specified hosted zone.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the specified hosted zone.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.', - 'type' => 'string', - ), - 'CallerReference' => array( - 'description' => 'A unique string that identifies the request to create the hosted zone.', - 'type' => 'string', - ), - 'Config' => array( - 'description' => 'A complex type that contains the Comment element.', - 'type' => 'object', - 'properties' => array( - 'Comment' => array( - 'description' => 'An optional comment about your hosted zone. If you don\'t want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.', - 'type' => 'string', - ), - ), - ), - 'ResourceRecordSetCount' => array( - 'description' => 'Total number of resource record sets in the hosted zone.', - 'type' => 'numeric', - ), - ), - ), - 'DelegationSet' => array( - 'description' => 'A complex type that contains information about the name servers for the specified hosted zone.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'NameServers' => array( - 'description' => 'A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.', - 'type' => 'array', - 'items' => array( - 'name' => 'NameServer', - 'type' => 'string', - 'sentAs' => 'NameServer', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListHealthChecksResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HealthChecks' => array( - 'description' => 'A complex type that contains information about the health checks associated with the current AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'HealthCheck', - 'description' => 'A complex type that contains identifying information about the health check.', - 'type' => 'object', - 'sentAs' => 'HealthCheck', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the specified health check.', - 'type' => 'string', - ), - 'CallerReference' => array( - 'description' => 'A unique string that identifies the request to create the health check.', - 'type' => 'string', - ), - 'HealthCheckConfig' => array( - 'description' => 'A complex type that contains the health check configuration.', - 'type' => 'object', - 'properties' => array( - 'IPAddress' => array( - 'description' => 'IP Address of the instance being checked.', - 'type' => 'string', - ), - 'Port' => array( - 'description' => 'Port on which connection will be opened to the instance to health check. For HTTP this defaults to 80 if the port is not specified.', - 'type' => 'numeric', - ), - 'Type' => array( - 'description' => 'The type of health check to be performed. Currently supported protocols are TCP and HTTP.', - 'type' => 'string', - ), - 'ResourcePath' => array( - 'description' => 'Path to ping on the instance to check the health. Required only for HTTP health checks, HTTP request is issued to the instance on the given port and path.', - 'type' => 'string', - ), - 'FullyQualifiedDomainName' => array( - 'description' => 'Fully qualified domain name of the instance to be health checked.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'NextMarker' => array( - 'description' => 'Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element to get the next page of results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListHostedZonesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'HostedZones' => array( - 'description' => 'A complex type that contains information about the hosted zones associated with the current AWS account.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'HostedZone', - 'description' => 'A complex type that contain information about the specified hosted zone.', - 'type' => 'object', - 'sentAs' => 'HostedZone', - 'properties' => array( - 'Id' => array( - 'description' => 'The ID of the specified hosted zone.', - 'type' => 'string', - ), - 'Name' => array( - 'description' => 'The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.', - 'type' => 'string', - ), - 'CallerReference' => array( - 'description' => 'A unique string that identifies the request to create the hosted zone.', - 'type' => 'string', - ), - 'Config' => array( - 'description' => 'A complex type that contains the Comment element.', - 'type' => 'object', - 'properties' => array( - 'Comment' => array( - 'description' => 'An optional comment about your hosted zone. If you don\'t want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.', - 'type' => 'string', - ), - ), - ), - 'ResourceRecordSetCount' => array( - 'description' => 'Total number of resource record sets in the hosted zone.', - 'type' => 'numeric', - ), - ), - ), - ), - 'Marker' => array( - 'description' => 'If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'NextMarker' => array( - 'description' => 'Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is true, make another request to ListHostedZones and include the value of the NextMarker element in the Marker element to get the next page of results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds MaxItems, the value of ListHostedZonesResponse$IsTruncated in the response is true. Call ListHostedZones again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.', - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListResourceRecordSetsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ResourceRecordSets' => array( - 'description' => 'A complex type that contains information about the resource record sets that are returned by the request.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'ResourceRecordSet', - 'description' => 'A complex type that contains information about the current resource record set.', - 'type' => 'object', - 'sentAs' => 'ResourceRecordSet', - 'properties' => array( - 'Name' => array( - 'description' => 'The domain name of the current resource record set.', - 'type' => 'string', - ), - 'Type' => array( - 'description' => 'The type of the current resource record set.', - 'type' => 'string', - ), - 'SetIdentifier' => array( - 'description' => 'Weighted, Regional, and Failover resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.', - 'type' => 'string', - ), - 'Weight' => array( - 'description' => 'Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.', - 'type' => 'numeric', - ), - 'Region' => array( - 'description' => 'Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for the current resource record set.', - 'type' => 'string', - ), - 'Failover' => array( - 'description' => 'Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. A failover set may contain at most one resource record set marked as primary and one resource record set marked as secondary. A resource record set marked as primary will be returned if any of the following are true: (1) an associated health check is passing, (2) if the resource record set is an alias with the evaluate target health and at least one target resource record set is healthy, (3) both the primary and secondary resource record set are failing health checks or (4) there is no secondary resource record set. A secondary resource record set will be returned if: (1) the primary is failing a health check and either the secondary is passing a health check or has no associated health check, or (2) there is no primary resource record set.', - 'type' => 'string', - ), - 'TTL' => array( - 'description' => 'The cache time to live for the current resource record set.', - 'type' => 'numeric', - ), - 'ResourceRecords' => array( - 'description' => 'A complex type that contains the resource records for the current resource record set.', - 'type' => 'array', - 'items' => array( - 'name' => 'ResourceRecord', - 'description' => 'A complex type that contains the value of the Value element for the current resource record set.', - 'type' => 'object', - 'sentAs' => 'ResourceRecord', - 'properties' => array( - 'Value' => array( - 'description' => 'The value of the Value element for the current resource record set.', - 'type' => 'string', - ), - ), - ), - ), - 'AliasTarget' => array( - 'description' => 'Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.', - 'type' => 'object', - 'properties' => array( - 'HostedZoneId' => array( - 'description' => 'Alias resource record sets only: The value of the hosted zone ID for the AWS resource.', - 'type' => 'string', - ), - 'DNSName' => array( - 'description' => 'Alias resource record sets only: The external DNS name associated with the AWS Resource.', - 'type' => 'string', - ), - 'EvaluateTargetHealth' => array( - 'description' => 'Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.', - 'type' => 'boolean', - ), - ), - ), - 'HealthCheckId' => array( - 'description' => 'Health Check resource record sets only, not required for alias resource record sets: An identifier that is used to identify health check associated with the resource record set.', - 'type' => 'string', - ), - ), - ), - ), - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether there are more resource record sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the ListResourceRecordSetsResponse$NextRecordName element.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'NextRecordName' => array( - 'description' => 'If the results were truncated, the name of the next record in the list. This element is present only if ListResourceRecordSetsResponse$IsTruncated is true.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextRecordType' => array( - 'description' => 'If the results were truncated, the type of the next record in the list. This element is present only if ListResourceRecordSetsResponse$IsTruncated is true.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextRecordIdentifier' => array( - 'description' => 'Weighted resource record sets only: If results were truncated for a given DNS name and type, the value of SetIdentifier for the next resource record set that has the current DNS name and type.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of records you requested. The maximum value of MaxItems is 100.', - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'ListHealthChecks' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'HealthChecks', - ), - 'ListHostedZones' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'HostedZones', - ), - 'ListResourceRecordSets' => array( - 'more_key' => 'IsTruncated', - 'limit_key' => 'MaxItems', - 'result_key' => 'ResourceRecordSets', - 'token_param' => array( - 'StartRecordName', - 'StartRecordType', - 'StartRecordIdentifier', - ), - 'token_key' => array( - 'NextRecordName', - 'NextRecordType', - 'NextRecordIdentifier', - ), - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Route53/Route53Client.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Route53/Route53Client.php deleted file mode 100644 index 20c7108..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Route53/Route53Client.php +++ /dev/null @@ -1,129 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/route53-2012-12-12.php' - )) - ->build(); - - return $client; - } - - /** - * Retrieves the server time from Route53. Can be useful for detecting and/or preventing clock skew. - * - * @return \DateTime The server time from Route53 - * @link http://docs.amazonwebservices.com/Route53/latest/DeveloperGuide/RESTAuthentication.html#FetchingDate - */ - public function getServerTime() - { - try { - $response = $this->get('https://route53.amazonaws.com/date')->send(); - } catch (ServiceResponseException $e) { - $response = $e->getResponse(); - } - - $serverTime = trim($response->getHeader('Date', true)); - $serverTime = \DateTime::createFromFormat(DateFormat::RFC1123, $serverTime); - - return $serverTime; - } - - /** - * Filter function used to remove ID prefixes. This is used automatically by the client so that Hosted Zone and - * Change Record IDs can be specified with or without the prefix. - * - * @param string $id The ID value to clean - * - * @return string - */ - public static function cleanId($id) - { - return str_replace(array('/hostedzone/', '/change/'), '', $id); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/AcpListener.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/AcpListener.php deleted file mode 100644 index 2e80d64..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/AcpListener.php +++ /dev/null @@ -1,75 +0,0 @@ - array('onCommandBeforePrepare', -255)); - } - - /** - * An event handler for constructing ACP definitions. - * - * @param Event $event The event to respond to. - * - * @throws InvalidArgumentException - */ - public function onCommandBeforePrepare(Event $event) - { - /** @var $command \Guzzle\Service\Command\AbstractCommand */ - $command = $event['command']; - $operation = $command->getOperation(); - if ($operation->hasParam('ACP') && $command->hasKey('ACP')) { - if ($acp = $command->get('ACP')) { - // Ensure that the correct object was passed - if (!($acp instanceof Acp)) { - throw new InvalidArgumentException('ACP must be an instance of Aws\S3\Model\Acp'); - } - - // Check if the user specified both an ACP and Grants - if ($command->hasKey('Grants')) { - throw new InvalidArgumentException( - 'Use either the ACP parameter or the Grants parameter. Do not use both.' - ); - } - - // Add the correct headers/body based parameters to the command - if ($operation->hasParam('Grants')) { - $command->merge($acp->toArray()); - } else { - $acp->updateCommand($command); - } - } - - // Remove the ACP parameter - $command->remove('ACP'); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/BucketStyleListener.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/BucketStyleListener.php deleted file mode 100644 index c209f02..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/BucketStyleListener.php +++ /dev/null @@ -1,85 +0,0 @@ - array('onCommandBeforeSend', -255)); - } - - /** - * Changes how buckets are referenced in the HTTP request - * - * @param Event $event Event emitted - */ - public function onCommandBeforeSend(Event $event) - { - $command = $event['command']; - $bucket = $command['Bucket']; - $request = $command->getRequest(); - $pathStyle = false; - - if ($key = $command['Key']) { - // Modify the command Key to account for the {/Key*} explosion into an array - if (is_array($key)) { - $command['Key'] = $key = implode('/', $key); - } - } - - // Set the key and bucket on the request - $request->getParams()->set('bucket', $bucket)->set('key', $key); - - // Switch to virtual if PathStyle is disabled, or not a DNS compatible bucket name, or the scheme is - // http, or the scheme is https and there are no dots in the host header (avoids SSL issues) - if (!$command['PathStyle'] && $command->getClient()->isValidBucketName($bucket) - && !($command->getRequest()->getScheme() == 'https' && strpos($bucket, '.')) - ) { - // Switch to virtual hosted bucket - $request->setHost($bucket . '.' . $request->getHost()); - $request->setPath(preg_replace("#^/{$bucket}#", '', $request->getPath())); - } else { - $pathStyle = true; - } - - if (!$bucket) { - $request->getParams()->set('s3.resource', '/'); - } elseif ($pathStyle) { - // Path style does not need a trailing slash - $request->getParams()->set( - 's3.resource', - '/' . rawurlencode($bucket) . ($key ? ('/' . S3Client::encodeKey($key)) : '') - ); - } else { - // Bucket style needs a trailing slash - $request->getParams()->set( - 's3.resource', - '/' . rawurlencode($bucket) . ($key ? ('/' . S3Client::encodeKey($key)) : '/') - ); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Command/S3Command.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Command/S3Command.php deleted file mode 100644 index 9567977..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Command/S3Command.php +++ /dev/null @@ -1,53 +0,0 @@ -client->createPresignedUrl($this->prepare(), $expires); - } - - /** - * {@inheritdoc} - */ - protected function process() - { - parent::process(); - - // Set the GetObject URL if using the PutObject operation - if ($this->result instanceof Model && $this->getName() == 'PutObject') { - $this->result->set('ObjectURL', $this->getRequest()->getUrl()); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Enum/CannedAcl.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Enum/CannedAcl.php deleted file mode 100644 index da47045..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Enum/CannedAcl.php +++ /dev/null @@ -1,32 +0,0 @@ -errors = $errors; - } - - /** - * Get the errored objects - * - * @return array Returns an array of associative arrays, each containing - * a 'Code', 'Message', and 'Key' key. - */ - public function getErrors() - { - return $this->errors; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/EntityTooLargeException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/EntityTooLargeException.php deleted file mode 100644 index 66e6da9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/EntityTooLargeException.php +++ /dev/null @@ -1,22 +0,0 @@ -getRequest(); - $status = $response->getStatusCode(); - $method = $request->getMethod(); - - // Attempt to determine code for 403s and 404s - if ($status === 403) { - $data['code'] = 'AccessDenied'; - } elseif ($method === 'HEAD' && $status === 404) { - $path = explode('/', trim($request->getPath(), '/')); - $host = explode('.', $request->getHost()); - $bucket = (count($host) === 4) ? $host[0] : array_shift($path); - $object = array_shift($path); - - if ($bucket && $object) { - $data['code'] = 'NoSuchKey'; - } elseif ($bucket) { - $data['code'] = 'NoSuchBucket'; - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/PermanentRedirectException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/PermanentRedirectException.php deleted file mode 100644 index d2af820..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/PermanentRedirectException.php +++ /dev/null @@ -1,22 +0,0 @@ -get('Buckets') ?: array(); - - // If only the names_only set, change arrays to a string - if ($this->get('names_only')) { - foreach ($buckets as &$bucket) { - $bucket = $bucket['Name']; - } - } - - return $buckets; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListMultipartUploadsIterator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListMultipartUploadsIterator.php deleted file mode 100644 index fbfb7ff..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListMultipartUploadsIterator.php +++ /dev/null @@ -1,45 +0,0 @@ -get('Uploads') ?: array(); - - // If there are prefixes and we want them, merge them in - if ($this->get('return_prefixes') && $result->hasKey('CommonPrefixes')) { - $uploads = array_merge($uploads, $result->get('CommonPrefixes')); - } - - return $uploads; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListObjectVersionsIterator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListObjectVersionsIterator.php deleted file mode 100644 index 5417703..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListObjectVersionsIterator.php +++ /dev/null @@ -1,47 +0,0 @@ -get('Versions') ?: array(); - $deleteMarkers = $result->get('DeleteMarkers') ?: array(); - $versions = array_merge($versions, $deleteMarkers); - - // If there are prefixes and we want them, merge them in - if ($this->get('return_prefixes') && $result->hasKey('CommonPrefixes')) { - $versions = array_merge($versions, $result->get('CommonPrefixes')); - } - - return $versions; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListObjectsIterator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListObjectsIterator.php deleted file mode 100644 index 0b97638..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListObjectsIterator.php +++ /dev/null @@ -1,70 +0,0 @@ -get('Contents') ?: array(); - $numObjects = count($objects); - $lastKey = $numObjects ? $objects[$numObjects - 1]['Key'] : false; - if ($lastKey && !$result->hasKey($this->get('token_key'))) { - $result->set($this->get('token_key'), $lastKey); - } - - // Closure for getting the name of an object or prefix - $getName = function ($object) { - return isset($object['Key']) ? $object['Key'] : $object['Prefix']; - }; - - // If common prefixes returned (i.e. a delimiter was set) and they need to be returned, there is more to do - if ($this->get('return_prefixes') && $result->hasKey('CommonPrefixes')) { - // Collect and format the prefixes to include with the objects - $objects = array_merge($objects, $result->get('CommonPrefixes')); - - // Sort the objects and prefixes to maintain alphabetical order, but only if some of each were returned - if ($this->get('sort_results') && $lastKey && $objects) { - usort($objects, function ($object1, $object2) use ($getName) { - return strcmp($getName($object1), $getName($object2)); - }); - } - } - - // If only the names are desired, iterate through the results and convert the arrays to the object/prefix names - if ($this->get('names_only')) { - $objects = array_map($getName, $objects); - } - - return $objects; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Acp.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Acp.php deleted file mode 100644 index 8325a2b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Acp.php +++ /dev/null @@ -1,243 +0,0 @@ -setOwner($owner); - $this->setGrants($grants); - } - - /** - * Create an Acp object from an array. This can be used to create an ACP from a response to a GetObject/Bucket ACL - * operation. - * - * @param array $data Array of ACP data - * - * @return self - */ - public static function fromArray(array $data) - { - $builder = new AcpBuilder(); - $builder->setOwner((string) $data['Owner']['ID'], $data['Owner']['DisplayName']); - - // Add each Grantee to the ACP - foreach ($data['Grants'] as $grant) { - $permission = $grant['Permission']; - - // Determine the type for response bodies that are missing the Type parameter - if (!isset($grant['Grantee']['Type'])) { - if (isset($grant['Grantee']['ID'])) { - $grant['Grantee']['Type'] = 'CanonicalUser'; - } elseif (isset($grant['Grantee']['URI'])) { - $grant['Grantee']['Type'] = 'Group'; - } else { - $grant['Grantee']['Type'] = 'AmazonCustomerByEmail'; - } - } - - switch ($grant['Grantee']['Type']) { - case 'Group': - $builder->addGrantForGroup($permission, $grant['Grantee']['URI']); - break; - case 'AmazonCustomerByEmail': - $builder->addGrantForEmail($permission, $grant['Grantee']['EmailAddress']); - break; - case 'CanonicalUser': - $builder->addGrantForUser( - $permission, - $grant['Grantee']['ID'], - $grant['Grantee']['DisplayName'] - ); - } - } - - return $builder->build(); - } - - /** - * Set the owner of the ACP policy - * - * @param Grantee $owner ACP policy owner - * - * @return self - * - * @throws InvalidArgumentException if the grantee does not have an ID set - */ - public function setOwner(Grantee $owner) - { - if (!$owner->isCanonicalUser()) { - throw new InvalidArgumentException('The owner must have an ID set.'); - } - - $this->owner = $owner; - - return $this; - } - - /** - * Get the owner of the ACP policy - * - * @return Grantee - */ - public function getOwner() - { - return $this->owner; - } - - /** - * Set the grants for the ACP - * - * @param array|\Traversable $grants List of grants for the ACP - * - * @return self - * - * @throws InvalidArgumentException - */ - public function setGrants($grants = array()) - { - $this->grants = new \SplObjectStorage(); - - if ($grants) { - if (is_array($grants) || $grants instanceof \Traversable) { - /** @var $grant Grant */ - foreach ($grants as $grant) { - $this->addGrant($grant); - } - } else { - throw new InvalidArgumentException('Grants must be passed in as an array or Traversable object.'); - } - } - - return $this; - } - - /** - * Get all of the grants - * - * @return \SplObjectStorage - */ - public function getGrants() - { - return $this->grants; - } - - /** - * Add a Grant - * - * @param Grant $grant Grant to add - * - * @return self - */ - public function addGrant(Grant $grant) - { - if (count($this->grants) < 100) { - $this->grants->attach($grant); - } else { - throw new OverflowException('An ACP may contain up to 100 grants.'); - } - - return $this; - } - - /** - * Get the total number of attributes - * - * @return int - */ - public function count() - { - return count($this->grants); - } - - /** - * Returns the grants for iteration - * - * @return \SplObjectStorage - */ - public function getIterator() - { - return $this->grants; - } - - /** - * Applies grant headers to a command's parameters - * - * @param AbstractCommand $command Command to be updated - * - * @return self - */ - public function updateCommand(AbstractCommand $command) - { - $parameters = array(); - foreach ($this->grants as $grant) { - /** @var $grant Grant */ - $parameters = array_merge_recursive($parameters, $grant->getParameterArray()); - } - - foreach ($parameters as $name => $values) { - $command->set($name, implode(', ', (array) $values)); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - $grants = array(); - foreach ($this->grants as $grant) { - $grants[] = $grant->toArray(); - } - - return array( - 'Owner' => array( - 'ID' => $this->owner->getId(), - 'DisplayName' => $this->owner->getDisplayName() - ), - 'Grants' => $grants - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/AcpBuilder.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/AcpBuilder.php deleted file mode 100644 index 0e41c3c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/AcpBuilder.php +++ /dev/null @@ -1,134 +0,0 @@ -owner = new Grantee($id, $displayName ?: $id, GranteeType::USER); - - return $this; - } - - /** - * Create and store a Grant with a CanonicalUser Grantee for the ACL - * - * @param string $permission Permission for the Grant - * @param string $id Grantee identifier - * @param string $displayName Grantee display name - * - * @return self - */ - public function addGrantForUser($permission, $id, $displayName = null) - { - $grantee = new Grantee($id, $displayName ?: $id, GranteeType::USER); - $this->addGrant($permission, $grantee); - - return $this; - } - - /** - * Create and store a Grant with a AmazonCustomerByEmail Grantee for the ACL - * - * @param string $permission Permission for the Grant - * @param string $email Grantee email address - * - * @return self - */ - public function addGrantForEmail($permission, $email) - { - $grantee = new Grantee($email, null, GranteeType::EMAIL); - $this->addGrant($permission, $grantee); - - return $this; - } - - /** - * Create and store a Grant with a Group Grantee for the ACL - * - * @param string $permission Permission for the Grant - * @param string $group Grantee group - * - * @return self - */ - public function addGrantForGroup($permission, $group) - { - $grantee = new Grantee($group, null, GranteeType::GROUP); - $this->addGrant($permission, $grantee); - - return $this; - } - - /** - * Create and store a Grant for the ACL - * - * @param string $permission Permission for the Grant - * @param Grantee $grantee The Grantee for the Grant - * - * @return self - */ - public function addGrant($permission, Grantee $grantee) - { - $this->grants[] = new Grant($grantee, $permission); - - return $this; - } - - /** - * Builds the ACP and returns it - * - * @return Acp - */ - public function build() - { - return new Acp($this->owner, $this->grants); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/ClearBucket.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/ClearBucket.php deleted file mode 100644 index 4cf38ed..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/ClearBucket.php +++ /dev/null @@ -1,189 +0,0 @@ -client = $client; - $this->bucket = $bucket; - } - - /** - * {@inheritdoc} - */ - public static function getAllEvents() - { - return array(self::AFTER_DELETE, self::BEFORE_CLEAR, self::AFTER_CLEAR); - } - - /** - * Set the bucket that is to be cleared - * - * @param string $bucket Name of the bucket to clear - * - * @return self - */ - public function setBucket($bucket) - { - $this->bucket = $bucket; - - return $this; - } - - /** - * Get the iterator used to yield the keys to be deleted. A default iterator - * will be created and returned if no iterator has been explicitly set. - * - * @return \Iterator - */ - public function getIterator() - { - if (!$this->iterator) { - $this->iterator = $this->client->getIterator('ListObjectVersions', array( - 'Bucket' => $this->bucket - )); - } - - return $this->iterator; - } - - /** - * Sets a different iterator to use than the default iterator. This can be helpful when you wish to delete - * only specific keys from a bucket (e.g. keys that match a certain prefix or delimiter, or perhaps keys that - * pass through a filtered, decorated iterator). - * - * @param AwsResourceIterator $iterator Iterator used to yield the keys to be deleted - * - * @return self - */ - public function setIterator(AwsResourceIterator $iterator) - { - $this->iterator = $iterator; - - return $this; - } - - /** - * Set the MFA token to send with each request - * - * @param string $mfa MFA token to send with each request. The value is the concatenation of the authentication - * device's serial number, a space, and the value displayed on your authentication device. - * - * @return self - */ - public function setMfa($mfa) - { - $this->mfa = $mfa; - - return $this; - } - - /** - * Clear the bucket - * - * @return int Returns the number of deleted keys - */ - public function clear() - { - $that = $this; - $batch = DeleteObjectsBatch::factory($this->client, $this->bucket, $this->mfa); - $batch = new NotifyingBatch($batch, function ($items) use ($that) { - $that->dispatch(ClearBucket::AFTER_DELETE, array( - 'keys' => $items - )); - }); - $batch = new FlushingBatch(new ExceptionBufferingBatch($batch), 1000); - - // Let any listeners know that the bucket is about to be cleared - $this->dispatch(self::BEFORE_CLEAR, array( - 'iterator' => $this->getIterator(), - 'batch' => $batch, - 'mfa' => $this->mfa - )); - - $deleted = 0; - foreach ($this->getIterator() as $object) { - $versionId = $object['VersionId'] == 'null' ? null : $object['VersionId']; - $batch->addKey($object['Key'], $versionId); - $deleted++; - } - $batch->flush(); - - // If any errors were encountered, then throw an ExceptionCollection - if (count($batch->getExceptions())) { - $e = new ExceptionCollection(); - foreach ($batch->getExceptions() as $exception) { - $e->add($exception->getPrevious()); - } - throw $e; - } - - // Let any listeners know that the bucket was cleared - $this->dispatch(self::AFTER_CLEAR, array( - 'deleted' => $deleted - )); - - return $deleted; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/DeleteObjectsBatch.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/DeleteObjectsBatch.php deleted file mode 100644 index 17d8af3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/DeleteObjectsBatch.php +++ /dev/null @@ -1,87 +0,0 @@ - %s, VersionId => %s] and call flush when the objects - * should be deleted. - */ -class DeleteObjectsBatch extends AbstractBatchDecorator -{ - /** - * Factory for creating a DeleteObjectsBatch - * - * @param AwsClientInterface $client Client used to transfer requests - * @param string $bucket Bucket that contains the objects to delete - * @param string $mfa MFA token to use with the request - * - * @return self - */ - public static function factory(AwsClientInterface $client, $bucket, $mfa = null) - { - $batch = BatchBuilder::factory() - ->createBatchesWith(new BatchSizeDivisor(1000)) - ->transferWith(new DeleteObjectsTransfer($client, $bucket, $mfa)) - ->build(); - - return new self($batch); - } - - /** - * Add an object to be deleted - * - * @param string $key Key of the object - * @param string $versionId VersionID of the object - * - * @return self - */ - public function addKey($key, $versionId = null) - { - return $this->add(array( - 'Key' => $key, - 'VersionId' => $versionId - )); - } - - /** - * {@inheritdoc} - */ - public function add($item) - { - if ($item instanceof AbstractCommand && $item->getName() == 'DeleteObject') { - $item = array( - 'Key' => $item['Key'], - 'VersionId' => $item['VersionId'] - ); - } - - if (!is_array($item) || (!isset($item['Key']))) { - throw new InvalidArgumentException('Item must be a DeleteObject command or array containing a Key and VersionId key.'); - } - - return $this->decoratedBatch->add($item); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/DeleteObjectsTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/DeleteObjectsTransfer.php deleted file mode 100644 index c3d3828..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/DeleteObjectsTransfer.php +++ /dev/null @@ -1,133 +0,0 @@ -client = $client; - $this->bucket = $bucket; - $this->mfa = $mfa; - } - - /** - * Set a new MFA token value - * - * @param string $token MFA token - * - * @return self - */ - public function setMfa($token) - { - $this->mfa = $token; - - return $this; - } - - /** - * {@inheritdoc} - * @throws OverflowException if a batch has more than 1000 items - * @throws InvalidArgumentException when an invalid batch item is encountered - */ - public function transfer(array $batch) - { - if (empty($batch)) { - return; - } - - if (count($batch) > 1000) { - throw new OverflowException('Batches should be divided into chunks of no larger than 1000 keys'); - } - - $del = array(); - $command = $this->client->getCommand('DeleteObjects', array( - 'Bucket' => $this->bucket, - Ua::OPTION => Ua::BATCH - )); - - if ($this->mfa) { - $command->getRequestHeaders()->set('x-amz-mfa', $this->mfa); - } - - foreach ($batch as $object) { - // Ensure that the batch item is valid - if (!is_array($object) || !isset($object['Key'])) { - throw new InvalidArgumentException('Invalid batch item encountered: ' . var_export($batch, true)); - } - $del[] = array( - 'Key' => $object['Key'], - 'VersionId' => isset($object['VersionId']) ? $object['VersionId'] : null - ); - } - - $command['Objects'] = $del; - - $command->execute(); - $this->processResponse($command); - } - - /** - * Process the response of the DeleteMultipleObjects request - * - * @paramCommandInterface $command Command executed - */ - protected function processResponse(CommandInterface $command) - { - $result = $command->getResult(); - - // Ensure that the objects were deleted successfully - if (!empty($result['Errors'])) { - $errors = $result['Errors']; - throw new DeleteMultipleObjectsException($errors); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Grant.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Grant.php deleted file mode 100644 index afc2757..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Grant.php +++ /dev/null @@ -1,139 +0,0 @@ - 'GrantRead', - Permission::WRITE => 'GrantWrite', - Permission::READ_ACP => 'GrantReadACP', - Permission::WRITE_ACP => 'GrantWriteACP', - Permission::FULL_CONTROL => 'GrantFullControl' - ); - - /** - * @var Grantee The grantee affected by the grant - */ - protected $grantee; - - /** - * @var string The permission set by the grant - */ - protected $permission; - - /** - * Constructs an ACL - * - * @param Grantee $grantee Affected grantee - * @param string $permission Permission applied - */ - public function __construct(Grantee $grantee, $permission) - { - $this->setGrantee($grantee); - $this->setPermission($permission); - } - - /** - * Set the grantee affected by the grant - * - * @param Grantee $grantee Affected grantee - * - * @return self - */ - public function setGrantee(Grantee $grantee) - { - $this->grantee = $grantee; - - return $this; - } - - /** - * Get the grantee affected by the grant - * - * @return Grantee - */ - public function getGrantee() - { - return $this->grantee; - } - - /** - * Set the permission set by the grant - * - * @param string $permission Permission applied - * - * @return self - * - * @throws InvalidArgumentException - */ - public function setPermission($permission) - { - $valid = Permission::values(); - if (!in_array($permission, $valid)) { - throw new InvalidArgumentException('The permission must be one of ' - . 'the following: ' . implode(', ', $valid) . '.'); - } - - $this->permission = $permission; - - return $this; - } - - /** - * Get the permission set by the grant - * - * @return string - */ - public function getPermission() - { - return $this->permission; - } - - /** - * Returns an array of the operation parameter and value to set on the operation - * - * @return array - */ - public function getParameterArray() - { - return array( - self::$parameterMap[$this->permission] => $this->grantee->getHeaderValue() - ); - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - return array( - 'Grantee' => $this->grantee->toArray(), - 'Permission' => $this->permission - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Grantee.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Grantee.php deleted file mode 100644 index f49c70f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/Grantee.php +++ /dev/null @@ -1,245 +0,0 @@ - 'id', - GranteeType::EMAIL => 'emailAddress', - GranteeType::GROUP => 'uri' - ); - - /** - * @var string The account ID, email, or URL identifying the grantee - */ - protected $id; - - /** - * @var string The display name of the grantee - */ - protected $displayName; - - /** - * @var string The type of the grantee (CanonicalUser or Group) - */ - protected $type; - - /** - * Constructs a Grantee - * - * @param string $id Grantee identifier - * @param string $displayName Grantee display name - * @param string $expectedType The expected type of the grantee - */ - public function __construct($id, $displayName = null, $expectedType = null) - { - $this->type = GranteeType::USER; - $this->setId($id, $expectedType); - $this->setDisplayName($displayName); - } - - /** - * Sets the account ID, email, or URL identifying the grantee - * - * @param string $id Grantee identifier - * @param string $expectedType The expected type of the grantee - * - * @return Grantee - * - * @throws UnexpectedValueException if $expectedType is set and the grantee - * is not of that type after instantiation - * @throws InvalidArgumentException when the ID provided is not a string - */ - public function setId($id, $expectedType = null) - { - if (in_array($id, Group::values())) { - $this->type = GranteeType::GROUP; - } elseif (!is_string($id)) { - throw new InvalidArgumentException('The grantee ID must be provided as a string value.'); - } - - if (strpos($id, '@') !== false) { - $this->type = GranteeType::EMAIL; - } - - if ($expectedType && $expectedType !== $this->type) { - throw new UnexpectedValueException('The type of the grantee after ' - . 'setting the ID did not match the specified, expected type "' - . $expectedType . '" but received "' . $this->type . '".'); - } - - $this->id = $id; - - return $this; - } - - /** - * Gets the grantee identifier - * - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Gets the grantee email address (if it is set) - * - * @return null|string - */ - public function getEmailAddress() - { - return $this->isAmazonCustomerByEmail() ? $this->id : null; - } - - /** - * Gets the grantee URI (if it is set) - * - * @return null|string - */ - public function getGroupUri() - { - return $this->isGroup() ? $this->id : null; - } - - /** - * Sets the display name of the grantee - * - * @param string $displayName Grantee name - * - * @return Grantee - * - * @throws LogicException when the grantee type not CanonicalUser - */ - public function setDisplayName($displayName) - { - if ($this->type === GranteeType::USER) { - if (empty($displayName) || !is_string($displayName)) { - $displayName = $this->id; - } - $this->displayName = $displayName; - } else { - if ($displayName) { - throw new LogicException('The display name can only be set ' - . 'for grantees specified by ID.'); - } - } - - return $this; - } - - /** - * Gets the grantee display name - * - * @return string - */ - public function getDisplayName() - { - return $this->displayName; - } - - /** - * Gets the grantee type (determined by ID) - * - * @return string - */ - public function getType() - { - return $this->type; - } - - /** - * Returns true if this grantee object represents a canonical user by ID - * - * @return bool - */ - public function isCanonicalUser() - { - return ($this->type === GranteeType::USER); - } - - /** - * Returns true if this grantee object represents a customer by email - * - * @return bool - */ - public function isAmazonCustomerByEmail() - { - return ($this->type === GranteeType::EMAIL); - } - - /** - * Returns true if this grantee object represents a group by URL - * - * @return bool - */ - public function isGroup() - { - return ($this->type === GranteeType::GROUP); - } - - /** - * Returns the value used in headers to specify this grantee - * - * @return string - */ - public function getHeaderValue() - { - $key = self::$headerMap[$this->type]; - - return "{$key}=\"{$this->id}\""; - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - $result = array( - 'Type' => $this->type - ); - - switch ($this->type) { - case GranteeType::USER: - $result['ID'] = $this->id; - $result['DisplayName'] = $this->displayName; - break; - case GranteeType::EMAIL: - $result['EmailAddress'] = $this->id; - break; - case GranteeType::GROUP: - $result['URI'] = $this->id; - } - - return $result; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/AbstractTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/AbstractTransfer.php deleted file mode 100644 index c48232d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/AbstractTransfer.php +++ /dev/null @@ -1,103 +0,0 @@ -options = array_replace(array( - 'min_part_size' => self::MIN_PART_SIZE, - 'part_md5' => true - ), $this->options); - - // Make sure the part size can be calculated somehow - if (!$this->options['min_part_size'] && !$this->source->getContentLength()) { - throw new RuntimeException('The ContentLength of the data source could not be determined, and no ' - . 'min_part_size option was provided'); - } - } - - /** - * {@inheritdoc} - */ - protected function calculatePartSize() - { - $partSize = $this->source->getContentLength() - ? (int) ceil(($this->source->getContentLength() / self::MAX_PARTS)) - : self::MIN_PART_SIZE; - $partSize = max($this->options['min_part_size'], $partSize); - $partSize = min($partSize, self::MAX_PART_SIZE); - $partSize = max($partSize, self::MIN_PART_SIZE); - - return $partSize; - } - - /** - * {@inheritdoc} - */ - protected function complete() - { - /** @var $part UploadPart */ - $parts = array(); - foreach ($this->state as $part) { - $parts[] = array( - 'PartNumber' => $part->getPartNumber(), - 'ETag' => $part->getETag(), - ); - } - - $params = $this->state->getUploadId()->toParams(); - $params[Ua::OPTION] = Ua::MULTIPART_UPLOAD; - $params['Parts'] = $parts; - $command = $this->client->getCommand('CompleteMultipartUpload', $params); - - return $command->getResult(); - } - - /** - * {@inheritdoc} - */ - protected function getAbortCommand() - { - $params = $this->state->getUploadId()->toParams(); - $params[Ua::OPTION] = Ua::MULTIPART_UPLOAD; - - /** @var $command OperationCommand */ - $command = $this->client->getCommand('AbortMultipartUpload', $params); - - return $command; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/ParallelTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/ParallelTransfer.php deleted file mode 100644 index 2e55c6b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/ParallelTransfer.php +++ /dev/null @@ -1,124 +0,0 @@ -source->isLocal() || $this->source->getWrapper() != 'plainfile') { - throw new RuntimeException('The source data must be a local file stream when uploading in parallel.'); - } - - if (empty($this->options['concurrency'])) { - throw new RuntimeException('The `concurrency` option must be specified when instantiating.'); - } - } - - /** - * {@inheritdoc} - */ - protected function transfer() - { - $totalParts = (int) ceil($this->source->getContentLength() / $this->partSize); - $concurrency = min($totalParts, $this->options['concurrency']); - $partsToSend = $this->prepareParts($concurrency); - $eventData = $this->getEventData(); - - while (!$this->stopped && count($this->state) < $totalParts) { - - $currentTotal = count($this->state); - $commands = array(); - - for ($i = 0; $i < $concurrency && $i + $currentTotal < $totalParts; $i++) { - - // Move the offset to the correct position - $partsToSend[$i]->setOffset(($currentTotal + $i) * $this->partSize); - - // @codeCoverageIgnoreStart - if ($partsToSend[$i]->getContentLength() == 0) { - break; - } - // @codeCoverageIgnoreEnd - - $params = $this->state->getUploadId()->toParams(); - $eventData['command'] = $this->client->getCommand('UploadPart', array_replace($params, array( - 'PartNumber' => count($this->state) + 1 + $i, - 'Body' => $partsToSend[$i], - 'ContentMD5' => (bool) $this->options['part_md5'], - Ua::OPTION => Ua::MULTIPART_UPLOAD - ))); - $commands[] = $eventData['command']; - // Notify any listeners of the part upload - $this->dispatch(self::BEFORE_PART_UPLOAD, $eventData); - } - - // Allow listeners to stop the transfer if needed - if ($this->stopped) { - break; - } - - // Execute each command, iterate over the results, and add to the transfer state - /** @var $command \Guzzle\Service\Command\OperationCommand */ - foreach ($this->client->execute($commands) as $command) { - $this->state->addPart(UploadPart::fromArray(array( - 'PartNumber' => count($this->state) + 1, - 'ETag' => $command->getResponse()->getHeader('ETag', true), - 'Size' => (int) $command->getResponse()->getHeader('Content-Length', true), - 'LastModified' => gmdate(DateFormat::RFC2822) - ))); - $eventData['command'] = $command; - // Notify any listeners the the part was uploaded - $this->dispatch(self::AFTER_PART_UPLOAD, $eventData); - } - } - } - - /** - * Prepare the entity body handles to use while transferring - * - * @param int $concurrency Number of parts to prepare - * - * @return array Parts to send - */ - protected function prepareParts($concurrency) - { - $url = $this->source->getUri(); - // Use the source EntityBody as the first part - $parts = array(new ReadLimitEntityBody($this->source, $this->partSize)); - // Open EntityBody handles for each part to upload in parallel - for ($i = 1; $i < $concurrency; $i++) { - $parts[] = new ReadLimitEntityBody(new EntityBody(fopen($url, 'r')), $this->partSize); - } - - return $parts; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/SerialTransfer.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/SerialTransfer.php deleted file mode 100644 index 2e12642..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/SerialTransfer.php +++ /dev/null @@ -1,86 +0,0 @@ -stopped && !$this->source->isConsumed()) { - - if ($this->source->getContentLength() && $this->source->isSeekable()) { - // If the stream is seekable and the Content-Length known, then stream from the data source - $body = new ReadLimitEntityBody($this->source, $this->partSize, $this->source->ftell()); - } else { - // We need to read the data source into a temporary buffer before streaming - $body = EntityBody::factory(); - while ($body->getContentLength() < $this->partSize - && $body->write( - $this->source->read(max(1, min(10 * Size::KB, $this->partSize - $body->getContentLength()))) - )); - } - - // @codeCoverageIgnoreStart - if ($body->getContentLength() == 0) { - break; - } - // @codeCoverageIgnoreEnd - - $params = $this->state->getUploadId()->toParams(); - $command = $this->client->getCommand('UploadPart', array_replace($params, array( - 'PartNumber' => count($this->state) + 1, - 'Body' => $body, - 'ContentMD5' => (bool) $this->options['part_md5'], - Ua::OPTION => Ua::MULTIPART_UPLOAD - ))); - - // Notify observers that the part is about to be uploaded - $eventData = $this->getEventData(); - $eventData['command'] = $command; - $this->dispatch(self::BEFORE_PART_UPLOAD, $eventData); - - // Allow listeners to stop the transfer if needed - if ($this->stopped) { - break; - } - - $response = $command->getResponse(); - - $this->state->addPart(UploadPart::fromArray(array( - 'PartNumber' => count($this->state) + 1, - 'ETag' => $response->getHeader('ETag', true), - 'Size' => $body->getContentLength(), - 'LastModified' => gmdate(DateFormat::RFC2822) - ))); - - // Notify observers that the part was uploaded - $this->dispatch(self::AFTER_PART_UPLOAD, $eventData); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/TransferState.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/TransferState.php deleted file mode 100644 index c63663f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/TransferState.php +++ /dev/null @@ -1,41 +0,0 @@ -getIterator('ListParts', $uploadId->toParams()) as $part) { - $transferState->addPart(UploadPart::fromArray($part)); - } - - return $transferState; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadBuilder.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadBuilder.php deleted file mode 100644 index 24fe796..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadBuilder.php +++ /dev/null @@ -1,263 +0,0 @@ -setOption('Bucket', $bucket); - } - - /** - * Set the key of the object - * - * @param string $key Key of the object to upload - * - * @return self - */ - public function setKey($key) - { - return $this->setOption('Key', $key); - } - - /** - * Set the minimum acceptable part size - * - * @param int $minSize Minimum acceptable part size in bytes - * - * @return self - */ - public function setMinPartSize($minSize) - { - $this->minPartSize = (int) max((int) $minSize, AbstractTransfer::MIN_PART_SIZE); - - return $this; - } - - /** - * Set the concurrency level to use when uploading parts. This affects how - * many parts are uploaded in parallel. You must use a local file as your - * data source when using a concurrency greater than 1 - * - * @param int $concurrency Concurrency level - * - * @return self - */ - public function setConcurrency($concurrency) - { - $this->concurrency = $concurrency; - - return $this; - } - - /** - * Explicitly set the MD5 hash of the entire body - * - * @param string $md5 MD5 hash of the entire body - * - * @return self - */ - public function setMd5($md5) - { - $this->md5 = $md5; - - return $this; - } - - /** - * Set to true to have the builder calculate the MD5 hash of the entire data - * source before initiating a multipart upload (this could be an expensive - * operation). This setting can ony be used with seekable data sources. - * - * @param bool $calculateMd5 Set to true to calculate the MD5 hash of the body - * - * @return self - */ - public function calculateMd5($calculateMd5) - { - $this->calculateEntireMd5 = (bool) $calculateMd5; - - return $this; - } - - /** - * Specify whether or not to calculate the MD5 hash of each uploaded part. - * This setting defaults to true. - * - * @param bool $usePartMd5 Set to true to calculate the MD5 has of each part - * - * @return self - */ - public function calculatePartMd5($usePartMd5) - { - $this->calculatePartMd5 = (bool) $usePartMd5; - - return $this; - } - - /** - * Set the ACP to use on the object - * - * @param Acp $acp ACP to set on the object - * - * @return self - */ - public function setAcp(Acp $acp) - { - return $this->setOption('ACP', $acp); - } - - /** - * Set an option to pass to the initial CreateMultipartUpload operation - * - * @param string $name Option name - * @param string $value Option value - * - * @return self - */ - public function setOption($name, $value) - { - $this->commandOptions[$name] = $value; - - return $this; - } - - /** - * {@inheritdoc} - * @throws InvalidArgumentException when attempting to resume a transfer using a non-seekable stream - * @throws InvalidArgumentException when missing required properties (bucket, key, client, source) - */ - public function build() - { - if ($this->state instanceof TransferState) { - $this->commandOptions = array_replace($this->commandOptions, $this->state->getUploadId()->toParams()); - } - - if (!isset($this->commandOptions['Bucket']) || !isset($this->commandOptions['Key']) - || !$this->client || !$this->source - ) { - throw new InvalidArgumentException('You must specify a Bucket, Key, client, and source.'); - } - - if ($this->state && !$this->source->isSeekable()) { - throw new InvalidArgumentException('You cannot resume a transfer using a non-seekable source.'); - } - - // If no state was set, then create one by initiating or loading a multipart upload - if (is_string($this->state)) { - $this->state = TransferState::fromUploadId($this->client, UploadId::fromParams(array( - 'Bucket' => $this->commandOptions['Bucket'], - 'Key' => $this->commandOptions['Key'], - 'UploadId' => $this->state - ))); - } elseif (!$this->state) { - $this->state = $this->initiateMultipartUpload(); - } - - $options = array( - 'min_part_size' => $this->minPartSize, - 'part_md5' => (bool) $this->calculatePartMd5, - 'concurrency' => $this->concurrency - ); - - return $this->concurrency > 1 - ? new ParallelTransfer($this->client, $this->state, $this->source, $options) - : new SerialTransfer($this->client, $this->state, $this->source, $options); - } - - /** - * {@inheritdoc} - */ - protected function initiateMultipartUpload() - { - // Determine Content-Type - if ($mimeType = $this->source->getContentType()) { - $this->commandOptions['ContentType'] = $mimeType; - } - - $params = array_replace(array( - Ua::OPTION => Ua::MULTIPART_UPLOAD, - 'command.headers' => $this->headers, - 'Metadata' => array() - ), $this->commandOptions); - - // Calculate the MD5 hash if none was set and it is asked of the builder - if ($this->calculateEntireMd5) { - $this->md5 = $this->source->getContentMd5(); - } - - // If an MD5 is specified, then add it to the custom headers of the request - // so that it will be returned when downloading the object from Amazon S3 - if ($this->md5) { - $params['Metadata']['x-amz-Content-MD5'] = $this->md5; - } - - $result = $this->client->getCommand('CreateMultipartUpload', $params)->execute(); - // Create a new state based on the initiated upload - $params['UploadId'] = $result['UploadId']; - - return new TransferState(UploadId::fromParams($params)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadId.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadId.php deleted file mode 100644 index 9d5f384..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadId.php +++ /dev/null @@ -1,35 +0,0 @@ - false, - 'Key' => false, - 'UploadId' => false - ); -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadPart.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadPart.php deleted file mode 100644 index e0ded33..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/MultipartUpload/UploadPart.php +++ /dev/null @@ -1,74 +0,0 @@ - 'partNumber', - 'ETag' => 'eTag', - 'LastModified' => 'lastModified', - 'Size' => 'size' - ); - - /** - * @var string The ETag for this part - */ - protected $eTag; - - /** - * @var string The last modified date - */ - protected $lastModified; - - /** - * @var int The size (or content-length) in bytes of the upload body - */ - protected $size; - - /** - * @return string - */ - public function getETag() - { - return $this->eTag; - } - - /** - * @return string - */ - public function getLastModified() - { - return $this->lastModified; - } - - /** - * @return int - */ - public function getSize() - { - return $this->size; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/PostObject.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/PostObject.php deleted file mode 100644 index 207e71f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Model/PostObject.php +++ /dev/null @@ -1,264 +0,0 @@ - tag attributes as an array - */ - protected $formAttributes; - - /** - * @var array The form's elements as an array - */ - protected $formInputs; - - /** - * @var string The raw json policy - */ - protected $jsonPolicy; - - /** - * Constructs the PostObject - * - * The options array accepts the following keys: - * - * - acl: The access control setting to apply to the uploaded file. Accepts any of the - * CannedAcl constants - * - Cache-Control: The Cache-Control HTTP header value to apply to the uploaded file - * - Content-Disposition: The Content-Disposition HTTP header value to apply to the uploaded file - * - Content-Encoding: The Content-Encoding HTTP header value to apply to the uploaded file - * - Content-Type: The Content-Type HTTP header value to apply to the uploaded file. The default - * value is `application/octet-stream` - * - Expires: The Expires HTTP header value to apply to the uploaded file - * - key: The location where the file should be uploaded to. The default value is - * `^${filename}` which will use the name of the uploaded file - * - policy: A raw policy in JSON format. By default, the PostObject creates one for you - * - success_action_redirect: The URI for Amazon S3 to redirect to upon successful upload - * - success_action_status: The status code for Amazon S3 to return upon successful upload - * - ttd: The expiration time for the generated upload form data - * - x-amz-server-side-encryption: The server-side encryption mechanism to use - * - x-amz-storage-class: The storage setting to apply to the object - * - x-amz-meta-*: Any custom meta tag that should be set to the object - * - * For the Cache-Control, Content-Disposition, Content-Encoding, - * Content-Type, Expires, and key options, to use a "starts-with" comparison - * instead of an equals comparison, prefix the value with a ^ (carat) - * character - * - * @param S3Client $client - * @param $bucket - * @param array $options - * - * @throws InvalidArgumentException if the bucket name is invalid - */ - public function __construct(S3Client $client, $bucket, array $options = array()) - { - $this->setClient($client); - $this->setBucket($bucket); - parent::__construct($options); - } - - /** - * Analyzes the provided data and turns it into useful data that can be - * consumed and used to build an upload form - * - * @return PostObject - */ - public function prepareData() - { - // Validate required options - $options = Collection::fromConfig($this->data, array( - 'ttd' => '+1 hour', - 'key' => '^${filename}', - )); - - // Format ttd option - $ttd = $options['ttd']; - $ttd = is_numeric($ttd) ? (int) $ttd : strtotime($ttd); - $options->remove('ttd'); - - // Save policy if passed in - $rawPolicy = $options->get('policy'); - $options->remove('policy'); - - // Setup policy document - $policy = array( - 'expiration' => gmdate(DateFormat::ISO8601_S3, $ttd), - 'conditions' => array( - array('bucket' => $this->bucket), - ) - ); - - // Configure the endpoint/action - $url = Url::factory($this->client->getBaseUrl()); - $url->setHost($this->bucket . '.' . $url->getHost()); - - // Setup basic form - $this->formAttributes = array( - 'action' => (string) $url, - 'method' => 'POST', - 'enctype' => 'multipart/form-data' - ); - $this->formInputs = array( - 'AWSAccessKeyId' => $this->client->getCredentials()->getAccessKeyId() - ); - - // Add success action status - $status = (int) $options->get('success_action_status'); - if ($status && in_array($status, array(200, 201, 204))) { - $this->formInputs['success_action_status'] = (string) $status; - $policy['conditions'][] = array( - 'success_action_status' => (string) $status - ); - $options->remove('success_action_status'); - } - - // Add other options - foreach ($options as $key => $value) { - $value = (string) $value; - if ($value[0] === '^') { - $value = substr($value, 1); - $this->formInputs[$key] = $value; - $value = preg_replace('/\$\{(\w*)\}/', '', $value); - $policy['conditions'][] = array('starts-with', '$' . $key, $value); - } else { - $this->formInputs[$key] = $value; - $policy['conditions'][] = array($key => $value); - } - } - - // Add policy - $this->jsonPolicy = $rawPolicy ?: json_encode($policy); - $jsonPolicy64 = base64_encode($this->jsonPolicy); - $this->formInputs['policy'] = $jsonPolicy64; - - // Add signature - $this->formInputs['signature'] = base64_encode(hash_hmac( - 'sha1', - $jsonPolicy64, - $this->client->getCredentials()->getSecretKey(), - true - )); - - return $this; - } - - /** - * Sets the S3 client - * - * @param S3Client $client - * - * @return PostObject - */ - public function setClient(S3Client $client) - { - $this->client = $client; - - return $this; - } - - /** - * Gets the S3 client - * - * @return S3Client - */ - public function getClient() - { - return $this->client; - } - - /** - * Sets the bucket and makes sure it is a valid bucket name - * - * @param string $bucket - * - * @return PostObject - * - * @throws InvalidArgumentException - */ - public function setBucket($bucket) - { - if ($this->client->isValidBucketName($bucket)) { - $this->bucket = $bucket; - } else { - throw new InvalidArgumentException('The bucket name provided was invalid.'); - } - - return $this; - } - - /** - * Gets the bucket name - * - * @return string - */ - public function getBucket() - { - return $this->bucket; - } - - /** - * Gets the form attributes as an array - * - * @return array - */ - public function getFormAttributes() - { - return $this->formAttributes; - } - - /** - * Gets the form inputs as an array - * - * @return array - */ - public function getFormInputs() - { - return $this->formInputs; - } - - /** - * Gets the raw JSON policy - * - * @return string - */ - public function getJsonPolicy() - { - return $this->jsonPolicy; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Resources/s3-2006-03-01.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Resources/s3-2006-03-01.php deleted file mode 100644 index 0d3ebfe..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/Resources/s3-2006-03-01.php +++ /dev/null @@ -1,4897 +0,0 @@ - '2006-03-01', - 'endpointPrefix' => 's3', - 'serviceFullName' => 'Amazon Simple Storage Service', - 'serviceAbbreviation' => 'Amazon S3', - 'serviceType' => 'rest-xml', - 'timestampFormat' => 'rfc822', - 'globalEndpoint' => 's3.amazonaws.com', - 'signatureVersion' => 's3', - 'namespace' => 'S3', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 's3-us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AbortMultipartUpload' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'AbortMultipartUploadOutput', - 'responseType' => 'model', - 'summary' => 'Aborts a multipart upload.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadAbort.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified multipart upload does not exist.', - 'class' => 'NoSuchUploadException', - ), - ), - ), - 'CompleteMultipartUpload' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'CompleteMultipartUploadOutput', - 'responseType' => 'model', - 'summary' => 'Completes a multipart upload by assembling previously uploaded parts.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadComplete.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'MultipartUpload', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Parts' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Part', - 'properties' => array( - 'ETag' => array( - 'description' => 'Entity tag returned when the part was uploaded.', - 'type' => 'string', - ), - 'PartNumber' => array( - 'description' => 'Part number that identifies the part.', - 'type' => 'numeric', - ), - ), - ), - ), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'CopyObject' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'CopyObjectOutput', - 'responseType' => 'model', - 'summary' => 'Creates a copy of an object that is already stored in Amazon S3.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectCOPY.html', - 'parameters' => array( - 'ACL' => array( - 'description' => 'The canned ACL to apply to the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-acl', - 'enum' => array( - 'private', - 'public-read', - 'public-read-write', - 'authenticated-read', - 'bucket-owner-read', - 'bucket-owner-full-control', - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CacheControl' => array( - 'description' => 'Specifies caching behavior along the request/reply chain.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'description' => 'Specifies presentational information for the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'description' => 'Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'description' => 'The language the content is in.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'description' => 'A standard MIME type describing the format of the object data.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'CopySource' => array( - 'required' => true, - 'description' => 'The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source', - ), - 'CopySourceIfMatch' => array( - 'description' => 'Copies the object if its entity tag (ETag) matches the specified tag.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-match', - ), - 'CopySourceIfModifiedSince' => array( - 'description' => 'Copies the object if it has been modified since the specified time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-modified-since', - ), - 'CopySourceIfNoneMatch' => array( - 'description' => 'Copies the object if its entity tag (ETag) is different than the specified ETag.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-none-match', - ), - 'CopySourceIfUnmodifiedSince' => array( - 'description' => 'Copies the object if it hasn\'\'t been modified since the specified time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-unmodified-since', - ), - 'Expires' => array( - 'description' => 'The date and time at which the object is no longer cacheable.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - ), - 'GrantFullControl' => array( - 'description' => 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-full-control', - ), - 'GrantRead' => array( - 'description' => 'Allows grantee to read the object data and its metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read', - ), - 'GrantReadACP' => array( - 'description' => 'Allows grantee to read the object ACL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read-acp', - ), - 'GrantWriteACP' => array( - 'description' => 'Allows grantee to write the ACL for the applicable object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Metadata' => array( - 'description' => 'A map of metadata to store with the object in S3.', - 'type' => 'object', - 'location' => 'header', - 'sentAs' => 'x-amz-meta-', - 'additionalProperties' => array( - 'description' => 'The metadata value.', - 'type' => 'string', - ), - ), - 'MetadataDirective' => array( - 'description' => 'Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-metadata-directive', - 'enum' => array( - 'COPY', - 'REPLACE', - ), - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - 'enum' => array( - 'AES256', - ), - ), - 'StorageClass' => array( - 'description' => 'The type of storage to use for the object. Defaults to \'STANDARD\'.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-storage-class', - 'enum' => array( - 'STANDARD', - 'REDUCED_REDUNDANCY', - ), - ), - 'WebsiteRedirectLocation' => array( - 'description' => 'If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-website-redirect-location', - ), - 'ACP' => array( - 'description' => 'Pass an Aws\\S3\\Model\\Acp object as an alternative way to add access control policy headers to the operation', - 'type' => 'object', - 'additionalProperties' => true, - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The source object of the COPY operation is not in the active tier and is only stored in Amazon Glacier.', - 'class' => 'ObjectNotInActiveTierErrorException', - ), - ), - ), - 'CreateBucket' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'CreateBucketOutput', - 'responseType' => 'model', - 'summary' => 'Creates a new bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUT.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CreateBucketConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'ACL' => array( - 'description' => 'The canned ACL to apply to the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-acl', - 'enum' => array( - 'private', - 'public-read', - 'public-read-write', - 'authenticated-read', - 'bucket-owner-read', - 'bucket-owner-full-control', - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'LocationConstraint' => array( - 'description' => 'Specifies the region where the bucket will be created.', - 'type' => 'string', - 'location' => 'xml', - 'enum' => array( - 'EU', - 'eu-west-1', - 'us-west-1', - 'us-west-2', - 'ap-southeast-1', - 'ap-northeast-1', - 'sa-east-1', - ), - ), - 'GrantFullControl' => array( - 'description' => 'Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-full-control', - ), - 'GrantRead' => array( - 'description' => 'Allows grantee to list the objects in the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read', - ), - 'GrantReadACP' => array( - 'description' => 'Allows grantee to read the bucket ACL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read-acp', - ), - 'GrantWrite' => array( - 'description' => 'Allows grantee to create, overwrite, and delete any object in the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write', - ), - 'GrantWriteACP' => array( - 'description' => 'Allows grantee to write the ACL for the applicable bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write-acp', - ), - 'ACP' => array( - 'description' => 'Pass an Aws\\S3\\Model\\Acp object as an alternative way to add access control policy headers to the operation', - 'type' => 'object', - 'additionalProperties' => true, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.', - 'class' => 'BucketAlreadyExistsException', - ), - ), - ), - 'CreateMultipartUpload' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'CreateMultipartUploadOutput', - 'responseType' => 'model', - 'summary' => 'Initiates a multipart upload and returns an upload ID.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadInitiate.html', - 'parameters' => array( - 'ACL' => array( - 'description' => 'The canned ACL to apply to the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-acl', - 'enum' => array( - 'private', - 'public-read', - 'public-read-write', - 'authenticated-read', - 'bucket-owner-read', - 'bucket-owner-full-control', - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CacheControl' => array( - 'description' => 'Specifies caching behavior along the request/reply chain.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'description' => 'Specifies presentational information for the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'description' => 'Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'description' => 'The language the content is in.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'description' => 'A standard MIME type describing the format of the object data.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'description' => 'The date and time at which the object is no longer cacheable.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - ), - 'GrantFullControl' => array( - 'description' => 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-full-control', - ), - 'GrantRead' => array( - 'description' => 'Allows grantee to read the object data and its metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read', - ), - 'GrantReadACP' => array( - 'description' => 'Allows grantee to read the object ACL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read-acp', - ), - 'GrantWriteACP' => array( - 'description' => 'Allows grantee to write the ACL for the applicable object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Metadata' => array( - 'description' => 'A map of metadata to store with the object in S3.', - 'type' => 'object', - 'location' => 'header', - 'sentAs' => 'x-amz-meta-', - 'additionalProperties' => array( - 'description' => 'The metadata value.', - 'type' => 'string', - ), - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - 'enum' => array( - 'AES256', - ), - ), - 'StorageClass' => array( - 'description' => 'The type of storage to use for the object. Defaults to \'STANDARD\'.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-storage-class', - 'enum' => array( - 'STANDARD', - 'REDUCED_REDUNDANCY', - ), - ), - 'WebsiteRedirectLocation' => array( - 'description' => 'If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-website-redirect-location', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'uploads', - 'default' => '_guzzle_blank_', - ), - 'ACP' => array( - 'description' => 'Pass an Aws\\S3\\Model\\Acp object as an alternative way to add access control policy headers to the operation', - 'type' => 'object', - 'additionalProperties' => true, - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'DeleteBucket' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteBucketOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETE.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - 'DeleteBucketCors' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteBucketCorsOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the cors configuration information set for the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEcors.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'cors', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'DeleteBucketLifecycle' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteBucketLifecycleOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the lifecycle configuration from the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETElifecycle.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'lifecycle', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'DeleteBucketPolicy' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteBucketPolicyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the policy from the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEpolicy.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'policy', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'DeleteBucketTagging' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteBucketTaggingOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the tags from the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEtagging.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'tagging', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'DeleteBucketWebsite' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteBucketWebsiteOutput', - 'responseType' => 'model', - 'summary' => 'This operation removes the website configuration from the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEwebsite.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'website', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'DeleteObject' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteObjectOutput', - 'responseType' => 'model', - 'summary' => 'Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn\'\'t a null version, Amazon S3 does not remove any objects.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectDELETE.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - ), - ), - 'DeleteObjects' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'DeleteObjectsOutput', - 'responseType' => 'model', - 'summary' => 'This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/multiobjectdeleteapi.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'Delete', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Objects' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Object', - 'properties' => array( - 'Key' => array( - 'required' => true, - 'description' => 'Key name of the object to delete.', - 'type' => 'string', - ), - 'VersionId' => array( - 'description' => 'VersionId for the specific version of the object to delete.', - 'type' => 'string', - ), - ), - ), - ), - 'Quiet' => array( - 'description' => 'Element to enable quiet mode for the request. When you add this element, you must set its value to true.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'xml', - ), - 'MFA' => array( - 'description' => 'The concatenation of the authentication device\'\'s serial number, a space, and the value that is displayed on your authentication device.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-mfa', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'delete', - 'default' => '_guzzle_blank_', - ), - 'ContentMD5' => array( - 'required' => true, - 'default' => true, - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketAcl' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketAclOutput', - 'responseType' => 'model', - 'summary' => 'Gets the access control policy for the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETacl.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'acl', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketCors' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketCorsOutput', - 'responseType' => 'model', - 'summary' => 'Returns the cors configuration for the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETcors.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'cors', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketLifecycle' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketLifecycleOutput', - 'responseType' => 'model', - 'summary' => 'Returns the lifecycle configuration information set on the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETlifecycle.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'lifecycle', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketLocation' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketLocationOutput', - 'responseType' => 'model', - 'summary' => 'Returns the region the bucket resides in.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETlocation.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'location', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'GetBucketLogging' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketLoggingOutput', - 'responseType' => 'model', - 'summary' => 'Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETlogging.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'logging', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketNotification' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketNotificationOutput', - 'responseType' => 'model', - 'summary' => 'Return the notification configuration of a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETnotification.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'notification', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketPolicy' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketPolicyOutput', - 'responseType' => 'model', - 'summary' => 'Returns the policy of a specified bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETpolicy.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'policy', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'GetBucketRequestPayment' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketRequestPaymentOutput', - 'responseType' => 'model', - 'summary' => 'Returns the request payment configuration of a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTrequestPaymentGET.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'requestPayment', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketTagging' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketTaggingOutput', - 'responseType' => 'model', - 'summary' => 'Returns the tag set associated with the bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETtagging.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'tagging', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketVersioning' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketVersioningOutput', - 'responseType' => 'model', - 'summary' => 'Returns the versioning state of a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETversioningStatus.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'versioning', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetBucketWebsite' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetBucketWebsiteOutput', - 'responseType' => 'model', - 'summary' => 'Returns the website configuration for a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETwebsite.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'website', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'GetObject' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetObjectOutput', - 'responseType' => 'model', - 'summary' => 'Retrieves objects from Amazon S3.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGET.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - 'IfModifiedSince' => array( - 'description' => 'Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Modified-Since', - ), - 'IfNoneMatch' => array( - 'description' => 'Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-None-Match', - ), - 'IfUnmodifiedSince' => array( - 'description' => 'Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Unmodified-Since', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Range' => array( - 'description' => 'Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.', - 'type' => 'string', - 'location' => 'header', - ), - 'ResponseCacheControl' => array( - 'description' => 'Sets the Cache-Control header of the response.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-cache-control', - ), - 'ResponseContentDisposition' => array( - 'description' => 'Sets the Content-Disposition header of the response', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-disposition', - ), - 'ResponseContentEncoding' => array( - 'description' => 'Sets the Content-Encoding header of the response.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-encoding', - ), - 'ResponseContentLanguage' => array( - 'description' => 'Sets the Content-Language header of the response.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-language', - ), - 'ResponseContentType' => array( - 'description' => 'Sets the Content-Type header of the response.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-type', - ), - 'ResponseExpires' => array( - 'description' => 'Sets the Expires header of the response.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'query', - 'sentAs' => 'response-expires', - ), - 'VersionId' => array( - 'description' => 'VersionId used to reference a specific version of the object.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'SaveAs' => array( - 'description' => 'Specify where the contents of the object should be downloaded. Can be the path to a file, a resource returned by fopen, or a Guzzle\\Http\\EntityBodyInterface object.', - 'location' => 'response_body', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified key does not exist.', - 'class' => 'NoSuchKeyException', - ), - ), - ), - 'GetObjectAcl' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetObjectAclOutput', - 'responseType' => 'model', - 'summary' => 'Returns the access control list (ACL) of an object.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETacl.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'VersionId' => array( - 'description' => 'VersionId used to reference a specific version of the object.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'acl', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified key does not exist.', - 'class' => 'NoSuchKeyException', - ), - ), - ), - 'GetObjectTorrent' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'GetObjectTorrentOutput', - 'responseType' => 'model', - 'summary' => 'Return torrent files from a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETtorrent.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'torrent', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'HeadBucket' => array( - 'httpMethod' => 'HEAD', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'HeadBucketOutput', - 'responseType' => 'model', - 'summary' => 'This operation is useful to determine if a bucket exists and you have permission to access it.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketHEAD.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified bucket does not exist.', - 'class' => 'NoSuchBucketException', - ), - ), - ), - 'HeadObject' => array( - 'httpMethod' => 'HEAD', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'HeadObjectOutput', - 'responseType' => 'model', - 'summary' => 'The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you\'\'re only interested in an object\'\'s metadata. To use HEAD, you must have READ access to the object.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'description' => 'Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - 'IfModifiedSince' => array( - 'description' => 'Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Modified-Since', - ), - 'IfNoneMatch' => array( - 'description' => 'Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-None-Match', - ), - 'IfUnmodifiedSince' => array( - 'description' => 'Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Unmodified-Since', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Range' => array( - 'description' => 'Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.', - 'type' => 'string', - 'location' => 'header', - ), - 'VersionId' => array( - 'description' => 'VersionId used to reference a specific version of the object.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified key does not exist.', - 'class' => 'NoSuchKeyException', - ), - ), - ), - 'ListBuckets' => array( - 'httpMethod' => 'GET', - 'uri' => '/', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'ListBucketsOutput', - 'responseType' => 'model', - 'summary' => 'Returns a list of all buckets owned by the authenticated sender of the request.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTServiceGET.html', - 'parameters' => array( - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'ListMultipartUploads' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'ListMultipartUploadsOutput', - 'responseType' => 'model', - 'summary' => 'This operation lists in-progress multipart uploads.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadListMPUpload.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Delimiter' => array( - 'description' => 'Character you use to group keys.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'delimiter', - ), - 'KeyMarker' => array( - 'description' => 'Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'key-marker', - ), - 'MaxUploads' => array( - 'description' => 'Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.', - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-uploads', - ), - 'Prefix' => array( - 'description' => 'Lists in-progress uploads only for those keys that begin with the specified prefix.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'prefix', - ), - 'UploadIdMarker' => array( - 'description' => 'Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'upload-id-marker', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'uploads', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'ListObjectVersions' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'ListObjectVersionsOutput', - 'responseType' => 'model', - 'summary' => 'Returns metadata about all of the versions of objects in a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETVersion.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Delimiter' => array( - 'description' => 'A delimiter is a character you use to group keys.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'delimiter', - ), - 'KeyMarker' => array( - 'description' => 'Specifies the key to start with when listing objects in a bucket.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'key-marker', - ), - 'MaxKeys' => array( - 'description' => 'Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.', - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-keys', - ), - 'Prefix' => array( - 'description' => 'Limits the response to keys that begin with the specified prefix.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'prefix', - ), - 'VersionIdMarker' => array( - 'description' => 'Specifies the object version you want to start listing from.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'version-id-marker', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'versions', - 'default' => '_guzzle_blank_', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'ListObjects' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'ListObjectsOutput', - 'responseType' => 'model', - 'summary' => 'Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGET.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Delimiter' => array( - 'description' => 'A delimiter is a character you use to group keys.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'delimiter', - ), - 'Marker' => array( - 'description' => 'Specifies the key to start with when listing objects in a bucket.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'marker', - ), - 'MaxKeys' => array( - 'description' => 'Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.', - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-keys', - ), - 'Prefix' => array( - 'description' => 'Limits the response to keys that begin with the specified prefix.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'prefix', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified bucket does not exist.', - 'class' => 'NoSuchBucketException', - ), - ), - ), - 'ListParts' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'ListPartsOutput', - 'responseType' => 'model', - 'summary' => 'Lists the parts that have been uploaded for a specific multipart upload.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadListParts.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'MaxParts' => array( - 'description' => 'Sets the maximum number of parts to return.', - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-parts', - ), - 'PartNumberMarker' => array( - 'description' => 'Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'part-number-marker', - ), - 'UploadId' => array( - 'required' => true, - 'description' => 'Upload ID identifying the multipart upload whose parts are being listed.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - 'PutBucketAcl' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketAclOutput', - 'responseType' => 'model', - 'summary' => 'Sets the permissions on a bucket using access control lists (ACL).', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTacl.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'AccessControlPolicy', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'ACL' => array( - 'description' => 'The canned ACL to apply to the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-acl', - 'enum' => array( - 'private', - 'public-read', - 'public-read-write', - 'authenticated-read', - 'bucket-owner-read', - 'bucket-owner-full-control', - ), - ), - 'Grants' => array( - 'description' => 'A list of grants.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'description' => 'Screen name of the grantee.', - 'type' => 'string', - ), - 'EmailAddress' => array( - 'description' => 'Email address of the grantee.', - 'type' => 'string', - ), - 'ID' => array( - 'description' => 'The canonical user ID of the grantee.', - 'type' => 'string', - ), - 'Type' => array( - 'required' => true, - 'description' => 'Type of grantee', - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - 'enum' => array( - 'CanonicalUser', - 'AmazonCustomerByEmail', - 'Group', - ), - ), - 'URI' => array( - 'description' => 'URI of the grantee group.', - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'description' => 'Specifies the permission given to the grantee.', - 'type' => 'string', - 'enum' => array( - 'FULL_CONTROL', - 'WRITE', - 'WRITE_ACP', - 'READ', - 'READ_ACP', - ), - ), - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'GrantFullControl' => array( - 'description' => 'Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-full-control', - ), - 'GrantRead' => array( - 'description' => 'Allows grantee to list the objects in the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read', - ), - 'GrantReadACP' => array( - 'description' => 'Allows grantee to read the bucket ACL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read-acp', - ), - 'GrantWrite' => array( - 'description' => 'Allows grantee to create, overwrite, and delete any object in the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write', - ), - 'GrantWriteACP' => array( - 'description' => 'Allows grantee to write the ACL for the applicable bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write-acp', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'acl', - 'default' => '_guzzle_blank_', - ), - 'ACP' => array( - 'description' => 'Pass an Aws\\S3\\Model\\Acp object as an alternative way to add an access control policy to the operation', - 'type' => 'object', - 'additionalProperties' => true, - ), - ), - ), - 'PutBucketCors' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketCorsOutput', - 'responseType' => 'model', - 'summary' => 'Sets the cors configuration for a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTcors.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CORSConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CORSRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'CORSRule', - 'properties' => array( - 'AllowedMethods' => array( - 'description' => 'Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.', - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - 'sentAs' => 'AllowedMethod', - ), - ), - 'AllowedOrigins' => array( - 'description' => 'One or more origins you want customers to be able to access the bucket from.', - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - 'sentAs' => 'AllowedOrigin', - ), - ), - 'ExposeHeaders' => array( - 'description' => 'One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).', - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - 'sentAs' => 'ExposeHeader', - ), - ), - 'MaxAgeSeconds' => array( - 'description' => 'The time in seconds that your browser is to cache the preflight response for the specified resource.', - 'type' => 'numeric', - ), - ), - ), - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'cors', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketLifecycle' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketLifecycleOutput', - 'responseType' => 'model', - 'summary' => 'Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'LifecycleConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'Rules' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Rule', - 'properties' => array( - 'Expiration' => array( - 'type' => 'object', - 'properties' => array( - 'Date' => array( - 'description' => 'Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - ), - 'Days' => array( - 'required' => true, - 'description' => 'Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.', - 'type' => 'numeric', - ), - ), - ), - 'ID' => array( - 'description' => 'Unique identifier for the rule. The value cannot be longer than 255 characters.', - 'type' => 'string', - ), - 'Prefix' => array( - 'required' => true, - 'description' => 'Prefix identifying one or more objects to which the rule applies.', - 'type' => 'string', - ), - 'Status' => array( - 'required' => true, - 'description' => 'If \'Enabled\', the rule is currently being applied. If \'Disabled\', the rule is not currently being applied.', - 'type' => 'string', - 'enum' => array( - 'Enabled', - 'Disabled', - ), - ), - 'Transition' => array( - 'type' => 'object', - 'properties' => array( - 'Date' => array( - 'description' => 'Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - ), - 'Days' => array( - 'description' => 'Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.', - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'description' => 'The class of storage used to store the object.', - 'type' => 'string', - 'enum' => array( - 'STANDARD', - 'REDUCED_REDUDANCY', - 'GLACIER', - ), - ), - ), - ), - ), - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'lifecycle', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketLogging' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketLoggingOutput', - 'responseType' => 'model', - 'summary' => 'Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTlogging.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'BucketLoggingStatus', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'LoggingEnabled' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'TargetBucket' => array( - 'description' => 'Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key.', - 'type' => 'string', - ), - 'TargetGrants' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'description' => 'Screen name of the grantee.', - 'type' => 'string', - ), - 'EmailAddress' => array( - 'description' => 'Email address of the grantee.', - 'type' => 'string', - ), - 'ID' => array( - 'description' => 'The canonical user ID of the grantee.', - 'type' => 'string', - ), - 'Type' => array( - 'required' => true, - 'description' => 'Type of grantee', - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - 'enum' => array( - 'CanonicalUser', - 'AmazonCustomerByEmail', - 'Group', - ), - ), - 'URI' => array( - 'description' => 'URI of the grantee group.', - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'type' => 'string', - ), - ), - ), - ), - 'TargetPrefix' => array( - 'description' => 'This element lets you specify a prefix for the keys that the log files will be stored under.', - 'type' => 'string', - ), - ), - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'logging', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketNotification' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketNotificationOutput', - 'responseType' => 'model', - 'summary' => 'Enables notifications of specified events for a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTnotification.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'NotificationConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'TopicConfiguration' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Event' => array( - 'description' => 'Bucket event for which to send notifications.', - 'type' => 'string', - 'enum' => array( - 's3:ReducedRedundancyLostObject', - ), - ), - 'Topic' => array( - 'description' => 'Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket.', - 'type' => 'string', - ), - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'notification', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketPolicy' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketPolicyOutput', - 'responseType' => 'model', - 'summary' => 'Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTpolicy.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'Policy' => array( - 'required' => true, - 'description' => 'The bucket policy as a JSON document.', - 'type' => array( - 'string', - 'object', - ), - 'location' => 'body', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'policy', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketRequestPayment' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketRequestPaymentOutput', - 'responseType' => 'model', - 'summary' => 'Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTrequestPaymentPUT.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'RequestPaymentConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'Payer' => array( - 'required' => true, - 'description' => 'Specifies who pays for the download and request fees.', - 'type' => 'string', - 'location' => 'xml', - 'enum' => array( - 'Requester', - 'BucketOwner', - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'requestPayment', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketTagging' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketTaggingOutput', - 'responseType' => 'model', - 'summary' => 'Sets the tags for a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTtagging.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'Tagging', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'TagSet' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Tag', - 'required' => true, - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'required' => true, - 'description' => 'Name of the tag.', - 'type' => 'string', - ), - 'Value' => array( - 'required' => true, - 'description' => 'Value of the tag.', - 'type' => 'string', - ), - ), - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'tagging', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketVersioning' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketVersioningOutput', - 'responseType' => 'model', - 'summary' => 'Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'VersioningConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'MFA' => array( - 'description' => 'The value is the concatenation of the authentication device\'\'s serial number, a space, and the value displayed on your authentication device.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-mfa', - ), - 'MFADelete' => array( - 'description' => 'Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.', - 'type' => 'string', - 'location' => 'xml', - 'enum' => array( - 'Enabled', - 'Disabled', - ), - ), - 'Status' => array( - 'description' => 'The versioning state of the bucket.', - 'type' => 'string', - 'location' => 'xml', - 'enum' => array( - 'Enabled', - 'Disabled', - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'versioning', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutBucketWebsite' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutBucketWebsiteOutput', - 'responseType' => 'model', - 'summary' => 'Set the website configuration for a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTwebsite.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'WebsiteConfiguration', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - 'xmlAllowEmpty' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'ErrorDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'required' => true, - 'description' => 'The object key name to use when a 4XX class error occurs.', - 'type' => 'string', - ), - ), - ), - 'IndexDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Suffix' => array( - 'required' => true, - 'description' => 'A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.', - 'type' => 'string', - ), - ), - ), - 'RedirectAllRequestsTo' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'HostName' => array( - 'required' => true, - 'description' => 'Name of the host where requests will be redirected.', - 'type' => 'string', - ), - 'Protocol' => array( - 'description' => 'Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.', - 'type' => 'string', - 'enum' => array( - 'http', - 'https', - ), - ), - ), - ), - 'RoutingRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'RoutingRule', - 'type' => 'object', - 'properties' => array( - 'Condition' => array( - 'description' => 'A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.', - 'type' => 'object', - 'properties' => array( - 'HttpErrorCodeReturnedEquals' => array( - 'description' => 'The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.', - 'type' => 'string', - ), - 'KeyPrefixEquals' => array( - 'description' => 'The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.', - 'type' => 'string', - ), - ), - ), - 'Redirect' => array( - 'required' => true, - 'description' => 'Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.', - 'type' => 'object', - 'properties' => array( - 'HostName' => array( - 'required' => true, - 'description' => 'Name of the host where requests will be redirected.', - 'type' => 'string', - ), - 'HttpRedirectCode' => array( - 'description' => 'The HTTP redirect code to use on the response. Not required if one of the siblings is present.', - 'type' => 'string', - ), - 'Protocol' => array( - 'description' => 'Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.', - 'type' => 'string', - 'enum' => array( - 'http', - 'https', - ), - ), - 'ReplaceKeyPrefixWith' => array( - 'description' => 'The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.', - 'type' => 'string', - ), - 'ReplaceKeyWith' => array( - 'description' => 'The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'website', - 'default' => '_guzzle_blank_', - ), - ), - ), - 'PutObject' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutObjectOutput', - 'responseType' => 'model', - 'summary' => 'Adds an object to a bucket.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUT.html', - 'parameters' => array( - 'ACL' => array( - 'description' => 'The canned ACL to apply to the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-acl', - 'enum' => array( - 'private', - 'public-read', - 'public-read-write', - 'authenticated-read', - 'bucket-owner-read', - 'bucket-owner-full-control', - ), - ), - 'Body' => array( - 'description' => 'Pass a string containing the body, a handle returned by fopen, or a Guzzle\\Http\\EntityBodyInterface object', - 'type' => array( - 'string', - 'object', - ), - 'location' => 'body', - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CacheControl' => array( - 'description' => 'Specifies caching behavior along the request/reply chain.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'description' => 'Specifies presentational information for the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'description' => 'Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'description' => 'The language the content is in.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentMD5' => array( - 'description' => 'Content-MD5 checksum of the body. Set to false to disable', - 'default' => true, - ), - 'ContentType' => array( - 'description' => 'A standard MIME type describing the format of the object data.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'description' => 'The date and time at which the object is no longer cacheable.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - ), - 'GrantFullControl' => array( - 'description' => 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-full-control', - ), - 'GrantRead' => array( - 'description' => 'Allows grantee to read the object data and its metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read', - ), - 'GrantReadACP' => array( - 'description' => 'Allows grantee to read the object ACL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read-acp', - ), - 'GrantWriteACP' => array( - 'description' => 'Allows grantee to write the ACL for the applicable object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Metadata' => array( - 'description' => 'A map of metadata to store with the object in S3.', - 'type' => 'object', - 'location' => 'header', - 'sentAs' => 'x-amz-meta-', - 'additionalProperties' => array( - 'description' => 'The metadata value.', - 'type' => 'string', - ), - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - 'enum' => array( - 'AES256', - ), - ), - 'StorageClass' => array( - 'description' => 'The type of storage to use for the object. Defaults to \'STANDARD\'.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-storage-class', - 'enum' => array( - 'STANDARD', - 'REDUCED_REDUNDANCY', - ), - ), - 'WebsiteRedirectLocation' => array( - 'description' => 'If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-website-redirect-location', - ), - 'ValidateMD5' => array( - 'description' => 'Whether or not the Content-MD5 header of the response is validated. Default is true.', - 'default' => true, - ), - 'ACP' => array( - 'description' => 'Pass an Aws\\S3\\Model\\Acp object as an alternative way to add access control policy headers to the operation', - 'type' => 'object', - 'additionalProperties' => true, - ), - ), - ), - 'PutObjectAcl' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'PutObjectAclOutput', - 'responseType' => 'model', - 'summary' => 'uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUTacl.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'AccessControlPolicy', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'ACL' => array( - 'description' => 'The canned ACL to apply to the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-acl', - 'enum' => array( - 'private', - 'public-read', - 'public-read-write', - 'authenticated-read', - 'bucket-owner-read', - 'bucket-owner-full-control', - ), - ), - 'Grants' => array( - 'description' => 'A list of grants.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'description' => 'Screen name of the grantee.', - 'type' => 'string', - ), - 'EmailAddress' => array( - 'description' => 'Email address of the grantee.', - 'type' => 'string', - ), - 'ID' => array( - 'description' => 'The canonical user ID of the grantee.', - 'type' => 'string', - ), - 'Type' => array( - 'required' => true, - 'description' => 'Type of grantee', - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - 'enum' => array( - 'CanonicalUser', - 'AmazonCustomerByEmail', - 'Group', - ), - ), - 'URI' => array( - 'description' => 'URI of the grantee group.', - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'description' => 'Specifies the permission given to the grantee.', - 'type' => 'string', - 'enum' => array( - 'FULL_CONTROL', - 'WRITE', - 'WRITE_ACP', - 'READ', - 'READ_ACP', - ), - ), - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ContentMD5' => array( - 'default' => true, - ), - 'GrantFullControl' => array( - 'description' => 'Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-full-control', - ), - 'GrantRead' => array( - 'description' => 'Allows grantee to list the objects in the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read', - ), - 'GrantReadACP' => array( - 'description' => 'Allows grantee to read the bucket ACL.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-read-acp', - ), - 'GrantWrite' => array( - 'description' => 'Allows grantee to create, overwrite, and delete any object in the bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write', - ), - 'GrantWriteACP' => array( - 'description' => 'Allows grantee to write the ACL for the applicable bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'acl', - 'default' => '_guzzle_blank_', - ), - 'ACP' => array( - 'description' => 'Pass an Aws\\S3\\Model\\Acp object as an alternative way to add an access control policy to the operation', - 'type' => 'object', - 'additionalProperties' => true, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The specified key does not exist.', - 'class' => 'NoSuchKeyException', - ), - ), - ), - 'RestoreObject' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'RestoreObjectOutput', - 'responseType' => 'model', - 'summary' => 'Restores an archived copy of an object back into Amazon S3', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectRestore.html', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'RestoreRequest', - 'namespaces' => array( - 'http://s3.amazonaws.com/doc/2006-03-01/', - ), - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'Days' => array( - 'required' => true, - 'description' => 'Lifetime of the active copy in days', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'SubResource' => array( - 'required' => true, - 'static' => true, - 'location' => 'query', - 'sentAs' => 'restore', - 'default' => '_guzzle_blank_', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'This operation is not allowed against this storage tier', - 'class' => 'ObjectAlreadyInActiveTierErrorException', - ), - ), - ), - 'UploadPart' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'UploadPartOutput', - 'responseType' => 'model', - 'summary' => 'Uploads a part in a multipart upload.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadUploadPart.html', - 'parameters' => array( - 'Body' => array( - 'description' => 'Pass a string containing the body, a handle returned by fopen, or a Guzzle\\Http\\EntityBodyInterface object', - 'type' => array( - 'string', - 'object', - ), - 'location' => 'body', - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'PartNumber' => array( - 'required' => true, - 'description' => 'Part number of part being uploaded.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'partNumber', - ), - 'UploadId' => array( - 'required' => true, - 'description' => 'Upload ID identifying the multipart upload whose part is being uploaded.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - 'ContentMD5' => array( - 'description' => 'Content-MD5 checksum of the body. Set to false to disable', - 'default' => true, - ), - 'ValidateMD5' => array( - 'description' => 'Whether or not the Content-MD5 header of the response is validated. Default is true.', - 'default' => true, - ), - ), - ), - 'UploadPartCopy' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Aws\\S3\\Command\\S3Command', - 'responseClass' => 'UploadPartCopyOutput', - 'responseType' => 'model', - 'summary' => 'Uploads a part by copying data from an existing object as data source.', - 'documentationUrl' => 'http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CopySource' => array( - 'required' => true, - 'description' => 'The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source', - ), - 'CopySourceIfMatch' => array( - 'description' => 'Copies the object if its entity tag (ETag) matches the specified tag.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-match', - ), - 'CopySourceIfModifiedSince' => array( - 'description' => 'Copies the object if it has been modified since the specified time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-modified-since', - ), - 'CopySourceIfNoneMatch' => array( - 'description' => 'Copies the object if its entity tag (ETag) is different than the specified ETag.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-none-match', - ), - 'CopySourceIfUnmodifiedSince' => array( - 'description' => 'Copies the object if it hasn\'\'t been modified since the specified time.', - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-if-unmodified-since', - ), - 'CopySourceRange' => array( - 'description' => 'The range of bytes to copy from the source object. The range value must use the form bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates that you want to copy the first ten bytes of the source. You can copy a range only if the source object is greater than 5 GB.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-range', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'filters' => array( - 'Aws\\S3\\S3Client::explodeKey', - ), - ), - 'PartNumber' => array( - 'required' => true, - 'description' => 'Part number of part being copied.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'partNumber', - ), - 'UploadId' => array( - 'required' => true, - 'description' => 'Upload ID identifying the multipart upload whose part is being copied.', - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/xml', - ), - ), - ), - ), - 'models' => array( - 'AbortMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CompleteMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Bucket' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Key' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'ETag' => array( - 'description' => 'Entity tag for the uploaded object.', - 'type' => 'string', - 'location' => 'header', - ), - 'Expiration' => array( - 'description' => 'If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-expiration', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'VersionId' => array( - 'description' => 'Version of the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-version-id', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CopyObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ETag' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModified' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Expiration' => array( - 'description' => 'If the object expiration is configured, the response includes this header.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-expiration', - ), - 'CopySourceVersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-version-id', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateBucketOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'CreateMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Bucket' => array( - 'description' => 'Name of the bucket to which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'Bucket', - ), - 'Key' => array( - 'description' => 'Object key for which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'xml', - ), - 'UploadId' => array( - 'description' => 'ID for the initiated multipart upload.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteBucketOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteBucketCorsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteBucketLifecycleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteBucketPolicyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteBucketTaggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteBucketWebsiteOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DeleteMarker' => array( - 'description' => 'Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-delete-marker', - ), - 'VersionId' => array( - 'description' => 'Returns the version ID of the delete marker created as a result of the DELETE operation.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-version-id', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'DeleteObjectsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Deleted' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'VersionId' => array( - 'type' => 'string', - ), - 'DeleteMarker' => array( - 'type' => 'boolean', - ), - 'DeleteMarkerVersionId' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Errors' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Error', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Error', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'VersionId' => array( - 'type' => 'string', - ), - 'Code' => array( - 'type' => 'string', - ), - 'Message' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - 'Grants' => array( - 'description' => 'A list of grants.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'sentAs' => 'Grant', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'Type' => array( - 'description' => 'Type of grantee', - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - ), - 'ID' => array( - 'description' => 'The canonical user ID of the grantee.', - 'type' => 'string', - ), - 'DisplayName' => array( - 'description' => 'Screen name of the grantee.', - 'type' => 'string', - ), - 'EmailAddress' => array( - 'description' => 'Email address of the grantee.', - 'type' => 'string', - ), - 'URI' => array( - 'description' => 'URI of the grantee group.', - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'description' => 'Specifies the permission given to the grantee.', - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketCorsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CORSRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'CORSRule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'CORSRule', - 'properties' => array( - 'AllowedOrigins' => array( - 'description' => 'One or more origins you want customers to be able to access the bucket from.', - 'type' => 'array', - 'sentAs' => 'AllowedOrigin', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - 'sentAs' => 'AllowedOrigin', - ), - ), - 'AllowedMethods' => array( - 'description' => 'Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.', - 'type' => 'array', - 'sentAs' => 'AllowedMethod', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - 'sentAs' => 'AllowedMethod', - ), - ), - 'MaxAgeSeconds' => array( - 'description' => 'The time in seconds that your browser is to cache the preflight response for the specified resource.', - 'type' => 'numeric', - ), - 'ExposeHeaders' => array( - 'description' => 'One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).', - 'type' => 'array', - 'sentAs' => 'ExposeHeader', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - 'sentAs' => 'ExposeHeader', - ), - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketLifecycleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Rules' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Rule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Rule', - 'properties' => array( - 'ID' => array( - 'description' => 'Unique identifier for the rule. The value cannot be longer than 255 characters.', - 'type' => 'string', - ), - 'Prefix' => array( - 'description' => 'Prefix identifying one or more objects to which the rule applies.', - 'type' => 'string', - ), - 'Status' => array( - 'description' => 'If \'Enabled\', the rule is currently being applied. If \'Disabled\', the rule is not currently being applied.', - 'type' => 'string', - ), - 'Transition' => array( - 'type' => 'object', - 'properties' => array( - 'Days' => array( - 'description' => 'Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.', - 'type' => 'numeric', - ), - 'Date' => array( - 'description' => 'Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.', - 'type' => 'string', - ), - 'StorageClass' => array( - 'description' => 'The class of storage used to store the object.', - 'type' => 'string', - ), - ), - ), - 'Expiration' => array( - 'type' => 'object', - 'properties' => array( - 'Days' => array( - 'description' => 'Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.', - 'type' => 'numeric', - ), - 'Date' => array( - 'description' => 'Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketLocationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'type' => 'string', - 'location' => 'body', - 'filters' => array( - 'strval', - 'strip_tags', - 'trim', - ), - ), - ), - ), - 'GetBucketLoggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoggingEnabled' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'TargetBucket' => array( - 'description' => 'Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key.', - 'type' => 'string', - ), - 'TargetPrefix' => array( - 'description' => 'This element lets you specify a prefix for the keys that the log files will be stored under.', - 'type' => 'string', - ), - 'TargetGrants' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'sentAs' => 'Grant', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'Type' => array( - 'description' => 'Type of grantee', - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - ), - 'ID' => array( - 'description' => 'The canonical user ID of the grantee.', - 'type' => 'string', - ), - 'DisplayName' => array( - 'description' => 'Screen name of the grantee.', - 'type' => 'string', - ), - 'EmailAddress' => array( - 'description' => 'Email address of the grantee.', - 'type' => 'string', - ), - 'URI' => array( - 'description' => 'URI of the grantee group.', - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketNotificationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TopicConfiguration' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Topic' => array( - 'description' => 'Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket.', - 'type' => 'string', - ), - 'Event' => array( - 'description' => 'Bucket event for which to send notifications.', - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketPolicyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Policy' => array( - 'description' => 'The bucket policy as a JSON document.', - 'type' => 'string', - 'instanceOf' => 'Guzzle\\Http\\EntityBody', - 'location' => 'body', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketRequestPaymentOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Payer' => array( - 'description' => 'Specifies who pays for the download and request fees.', - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketTaggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TagSet' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Tag', - 'type' => 'object', - 'sentAs' => 'Tag', - 'properties' => array( - 'Key' => array( - 'description' => 'Name of the tag.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'Value of the tag.', - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketVersioningOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Status' => array( - 'description' => 'The versioning state of the bucket.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MFADelete' => array( - 'description' => 'Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.', - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetBucketWebsiteOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RedirectAllRequestsTo' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'HostName' => array( - 'description' => 'Name of the host where requests will be redirected.', - 'type' => 'string', - ), - 'Protocol' => array( - 'description' => 'Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.', - 'type' => 'string', - ), - ), - ), - 'IndexDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Suffix' => array( - 'description' => 'A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.', - 'type' => 'string', - ), - ), - ), - 'ErrorDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'description' => 'The object key name to use when a 4XX class error occurs.', - 'type' => 'string', - ), - ), - ), - 'RoutingRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'RoutingRule', - 'type' => 'object', - 'sentAs' => 'RoutingRule', - 'properties' => array( - 'Condition' => array( - 'description' => 'A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.', - 'type' => 'object', - 'properties' => array( - 'KeyPrefixEquals' => array( - 'description' => 'The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.', - 'type' => 'string', - ), - 'HttpErrorCodeReturnedEquals' => array( - 'description' => 'The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.', - 'type' => 'string', - ), - ), - ), - 'Redirect' => array( - 'description' => 'Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.', - 'type' => 'object', - 'properties' => array( - 'ReplaceKeyPrefixWith' => array( - 'description' => 'The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.', - 'type' => 'string', - ), - 'ReplaceKeyWith' => array( - 'description' => 'The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.', - 'type' => 'string', - ), - 'HttpRedirectCode' => array( - 'description' => 'The HTTP redirect code to use on the response. Not required if one of the siblings is present.', - 'type' => 'string', - ), - 'HostName' => array( - 'description' => 'Name of the host where requests will be redirected.', - 'type' => 'string', - ), - 'Protocol' => array( - 'description' => 'Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Body' => array( - 'description' => 'Object data.', - 'type' => 'string', - 'instanceOf' => 'Guzzle\\Http\\EntityBody', - 'location' => 'body', - ), - 'DeleteMarker' => array( - 'description' => 'Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-delete-marker', - ), - 'AcceptRanges' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'accept-ranges', - ), - 'Expiration' => array( - 'description' => 'If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-expiration', - ), - 'Restore' => array( - 'description' => 'Provides information about object restoration operation and expiration time of the restored object copy.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-restore', - ), - 'LastModified' => array( - 'description' => 'Last modified date of the object', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Last-Modified', - ), - 'ContentLength' => array( - 'description' => 'Size of the body in bytes.', - 'type' => 'numeric', - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - 'ETag' => array( - 'description' => 'An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL', - 'type' => 'string', - 'location' => 'header', - ), - 'MissingMeta' => array( - 'description' => 'This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.', - 'type' => 'numeric', - 'location' => 'header', - 'sentAs' => 'x-amz-missing-meta', - ), - 'VersionId' => array( - 'description' => 'Version of the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-version-id', - ), - 'CacheControl' => array( - 'description' => 'Specifies caching behavior along the request/reply chain.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'description' => 'Specifies presentational information for the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'description' => 'Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'description' => 'The language the content is in.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'description' => 'A standard MIME type describing the format of the object data.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'description' => 'The date and time at which the object is no longer cacheable.', - 'type' => 'string', - 'location' => 'header', - ), - 'WebsiteRedirectLocation' => array( - 'description' => 'If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-website-redirect-location', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'Metadata' => array( - 'description' => 'A map of metadata to store with the object in S3.', - 'type' => 'object', - 'location' => 'header', - 'sentAs' => 'x-amz-meta-', - 'additionalProperties' => array( - 'description' => 'The metadata value.', - 'type' => 'string', - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetObjectAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - 'Grants' => array( - 'description' => 'A list of grants.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'sentAs' => 'Grant', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'Type' => array( - 'description' => 'Type of grantee', - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - ), - 'ID' => array( - 'description' => 'The canonical user ID of the grantee.', - 'type' => 'string', - ), - 'DisplayName' => array( - 'description' => 'Screen name of the grantee.', - 'type' => 'string', - ), - 'EmailAddress' => array( - 'description' => 'Email address of the grantee.', - 'type' => 'string', - ), - 'URI' => array( - 'description' => 'URI of the grantee group.', - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'description' => 'Specifies the permission given to the grantee.', - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'GetObjectTorrentOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'Guzzle\\Http\\EntityBody', - 'location' => 'body', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'HeadBucketOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'HeadObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DeleteMarker' => array( - 'description' => 'Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-delete-marker', - ), - 'AcceptRanges' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'accept-ranges', - ), - 'Expiration' => array( - 'description' => 'If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-expiration', - ), - 'Restore' => array( - 'description' => 'Provides information about object restoration operation and expiration time of the restored object copy.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-restore', - ), - 'LastModified' => array( - 'description' => 'Last modified date of the object', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Last-Modified', - ), - 'ContentLength' => array( - 'description' => 'Size of the body in bytes.', - 'type' => 'numeric', - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - 'ETag' => array( - 'description' => 'An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL', - 'type' => 'string', - 'location' => 'header', - ), - 'MissingMeta' => array( - 'description' => 'This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.', - 'type' => 'numeric', - 'location' => 'header', - 'sentAs' => 'x-amz-missing-meta', - ), - 'VersionId' => array( - 'description' => 'Version of the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-version-id', - ), - 'CacheControl' => array( - 'description' => 'Specifies caching behavior along the request/reply chain.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'description' => 'Specifies presentational information for the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'description' => 'Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'description' => 'The language the content is in.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'description' => 'A standard MIME type describing the format of the object data.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'description' => 'The date and time at which the object is no longer cacheable.', - 'type' => 'string', - 'location' => 'header', - ), - 'WebsiteRedirectLocation' => array( - 'description' => 'If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-website-redirect-location', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'Metadata' => array( - 'description' => 'A map of metadata to store with the object in S3.', - 'type' => 'object', - 'location' => 'header', - 'sentAs' => 'x-amz-meta-', - 'additionalProperties' => array( - 'description' => 'The metadata value.', - 'type' => 'string', - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListBucketsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Buckets' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Bucket', - 'type' => 'object', - 'sentAs' => 'Bucket', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the bucket.', - 'type' => 'string', - ), - 'CreationDate' => array( - 'description' => 'Date the bucket was created.', - 'type' => 'string', - ), - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListMultipartUploadsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Bucket' => array( - 'description' => 'Name of the bucket to which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'xml', - ), - 'KeyMarker' => array( - 'description' => 'The key at or after which the listing began.', - 'type' => 'string', - 'location' => 'xml', - ), - 'UploadIdMarker' => array( - 'description' => 'Upload ID after which listing began.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextKeyMarker' => array( - 'description' => 'When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextUploadIdMarker' => array( - 'description' => 'When a list is truncated, this element specifies the value that should be used for the upload-id-marker request parameter in a subsequent request.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxUploads' => array( - 'description' => 'Maximum number of multipart uploads that could have been included in the response.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Uploads' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Upload', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Upload', - 'properties' => array( - 'UploadId' => array( - 'description' => 'Upload ID that identifies the multipart upload.', - 'type' => 'string', - ), - 'Key' => array( - 'description' => 'Key of the object for which the multipart upload was initiated.', - 'type' => 'string', - ), - 'Initiated' => array( - 'description' => 'Date and time at which the multipart upload was initiated.', - 'type' => 'string', - ), - 'StorageClass' => array( - 'description' => 'The class of storage used to store the object.', - 'type' => 'string', - ), - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - 'Initiator' => array( - 'description' => 'Identifies who initiated the multipart upload.', - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'description' => 'If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.', - 'type' => 'string', - ), - 'DisplayName' => array( - 'description' => 'Name of the Principal.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListObjectVersionsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'KeyMarker' => array( - 'description' => 'Marks the last Key returned in a truncated response.', - 'type' => 'string', - 'location' => 'xml', - ), - 'VersionIdMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'NextKeyMarker' => array( - 'description' => 'Use this value for the key marker request parameter in a subsequent request.', - 'type' => 'string', - 'location' => 'xml', - ), - 'NextVersionIdMarker' => array( - 'description' => 'Use this value for the next version id marker parameter in a subsequent request.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Versions' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Version', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Version', - 'properties' => array( - 'ETag' => array( - 'type' => 'string', - ), - 'Size' => array( - 'description' => 'Size in bytes of the object.', - 'type' => 'string', - ), - 'StorageClass' => array( - 'description' => 'The class of storage used to store the object.', - 'type' => 'string', - ), - 'Key' => array( - 'description' => 'The object key.', - 'type' => 'string', - ), - 'VersionId' => array( - 'description' => 'Version ID of an object.', - 'type' => 'string', - ), - 'IsLatest' => array( - 'description' => 'Specifies whether the object is (true) or is not (false) the latest version of an object.', - 'type' => 'boolean', - ), - 'LastModified' => array( - 'description' => 'Date and time the object was last modified.', - 'type' => 'string', - ), - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DeleteMarkers' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'DeleteMarker', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'DeleteMarker', - 'properties' => array( - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - 'Key' => array( - 'description' => 'The object key.', - 'type' => 'string', - ), - 'VersionId' => array( - 'description' => 'Version ID of an object.', - 'type' => 'string', - ), - 'IsLatest' => array( - 'description' => 'Specifies whether the object is (true) or is not (false) the latest version of an object.', - 'type' => 'boolean', - ), - 'LastModified' => array( - 'description' => 'Date and time the object was last modified.', - 'type' => 'string', - ), - ), - ), - ), - 'Name' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxKeys' => array( - 'type' => 'numeric', - 'location' => 'xml', - ), - 'CommonPrefixes' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListObjectsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IsTruncated' => array( - 'description' => 'A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Contents' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'LastModified' => array( - 'type' => 'string', - ), - 'ETag' => array( - 'type' => 'string', - ), - 'Size' => array( - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'description' => 'The class of storage used to store the object.', - 'type' => 'string', - ), - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'Name' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxKeys' => array( - 'type' => 'numeric', - 'location' => 'xml', - ), - 'CommonPrefixes' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'ListPartsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Bucket' => array( - 'description' => 'Name of the bucket to which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'xml', - ), - 'Key' => array( - 'description' => 'Object key for which the multipart upload was initiated.', - 'type' => 'string', - 'location' => 'xml', - ), - 'UploadId' => array( - 'description' => 'Upload ID identifying the multipart upload whose parts are being listed.', - 'type' => 'string', - 'location' => 'xml', - ), - 'PartNumberMarker' => array( - 'description' => 'Part number after which listing begins.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'NextPartNumberMarker' => array( - 'description' => 'When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'MaxParts' => array( - 'description' => 'Maximum number of parts that were allowed in the response.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'description' => 'Indicates whether the returned list of parts is truncated.', - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Parts' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Part', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Part', - 'properties' => array( - 'PartNumber' => array( - 'description' => 'Part number identifying the part.', - 'type' => 'numeric', - ), - 'LastModified' => array( - 'description' => 'Date and time at which the part was uploaded.', - 'type' => 'string', - ), - 'ETag' => array( - 'description' => 'Entity tag returned when the part was uploaded.', - 'type' => 'string', - ), - 'Size' => array( - 'description' => 'Size of the uploaded part data.', - 'type' => 'numeric', - ), - ), - ), - ), - 'Initiator' => array( - 'description' => 'Identifies who initiated the multipart upload.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ID' => array( - 'description' => 'If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.', - 'type' => 'string', - ), - 'DisplayName' => array( - 'description' => 'Name of the Principal.', - 'type' => 'string', - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - 'StorageClass' => array( - 'description' => 'The class of storage used to store the object.', - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketCorsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketLifecycleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketLoggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketNotificationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketPolicyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketRequestPaymentOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketTaggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketVersioningOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutBucketWebsiteOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'PutObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Expiration' => array( - 'description' => 'If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-expiration', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'ETag' => array( - 'description' => 'Entity tag for the uploaded object.', - 'type' => 'string', - 'location' => 'header', - ), - 'VersionId' => array( - 'description' => 'Version of the object.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-version-id', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - 'ObjectURL' => array( - 'description' => 'URL of the uploaded object', - ), - ), - ), - 'PutObjectAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'RestoreObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'UploadPartOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'ETag' => array( - 'description' => 'Entity tag for the uploaded object.', - 'type' => 'string', - 'location' => 'header', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - 'UploadPartCopyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CopySourceVersionId' => array( - 'description' => 'The version of the source object that was copied, if you have enabled versioning on the source bucket.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-copy-source-version-id', - ), - 'ETag' => array( - 'description' => 'Entity tag of the object.', - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModified' => array( - 'description' => 'Date and time at which the object was uploaded.', - 'type' => 'string', - 'location' => 'xml', - ), - 'ServerSideEncryption' => array( - 'description' => 'The Server-side encryption algorithm used when storing this object in S3.', - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-amz-server-side-encryption', - ), - 'RequestId' => array( - 'description' => 'Request ID of the operation', - 'location' => 'header', - 'sentAs' => 'x-amz-request-id', - ), - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'interval' => 5, - 'max_attempts' => 20, - ), - 'BucketExists' => array( - 'operation' => 'HeadBucket', - 'description' => 'Wait until a bucket exists.', - 'success.type' => 'output', - 'ignore_errors' => array( - 'NoSuchBucket', - ), - ), - 'BucketNotExists' => array( - 'operation' => 'HeadBucket', - 'description' => 'Wait until a bucket does not exist.', - 'success.type' => 'error', - 'success.value' => 'NoSuchBucket', - ), - 'ObjectExists' => array( - 'operation' => 'HeadObject', - 'description' => 'Wait until an object exists.', - 'success.type' => 'output', - 'ignore_errors' => array( - 'NoSuchKey', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3Client.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3Client.php deleted file mode 100644 index d71e586..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3Client.php +++ /dev/null @@ -1,441 +0,0 @@ - 'ListBuckets', - 'GetBucket' => 'ListObjects', - 'PutBucket' => 'CreateBucket', - - // SDK 1.x Aliases - 'GetBucketHeaders' => 'HeadBucket', - 'GetObjectHeaders' => 'HeadObject', - 'SetBucketAcl' => 'PutBucketAcl', - 'CreateObject' => 'PutObject', - 'DeleteObjects' => 'DeleteMultipleObjects', - 'CopyObject' => 'PutObjectCopy', - 'SetObjectAcl' => 'PutObjectAcl', - 'GetLogs' => 'GetBucketLogging', - 'GetVersioningStatus' => 'GetBucketVersioning', - 'SetBucketPolicy' => 'PutBucketPolicy', - 'CreateBucketNotification' => 'PutBucketNotification', - 'GetBucketNotifications' => 'GetBucketNotification', - 'CopyPart' => 'UploadPartCopy', - 'CreateWebsiteConfig' => 'PutBucketWebsite', - 'GetWebsiteConfig' => 'GetBucketWebsite', - 'DeleteWebsiteConfig' => 'DeleteBucketWebsite', - 'CreateObjectExpirationConfig' => 'PutBucketLifecycle', - 'GetObjectExpirationConfig' => 'GetBucketLifecycle', - 'DeleteObjectExpirationConfig' => 'DeleteBucketLifecycle', - ); - - /** - * @inheritdoc - */ - protected $directory = __DIR__; - - /** - * Factory method to create a new Amazon S3 client using an array of configuration options. - * - * The following array keys and values are available options: - * - * Credential options (key, secret, and optional token OR credentials is required) - * - * - key - AWS Access Key ID - * - secret - AWS secret access key - * - credentials - You can optionally provide a custom `Aws\Common\Credentials\CredentialsInterface` object - * - token - Custom AWS security token to use with request authentication - * - token.ttd - UNIX timestamp for when the custom credentials expire - * - credentials.cache - Used to cache credentials when using providers that require HTTP requests. Set the true - * to use the default APC cache or provide a `Guzzle\Cache\CacheAdapterInterface` object. - * - credentials.cache.key - Optional custom cache key to use with the credentials - * - credentials.client - Pass this option to specify a custom `Guzzle\Http\ClientInterface` to use if your - * credentials require a HTTP request (e.g. RefreshableInstanceProfileCredentials) - * - * Region and Endpoint options (a `region` and optional `scheme` OR a `base_url` is required) - * - * - region - Region name (e.g. 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', etc...) - * - scheme - URI Scheme of the base URL (e.g. 'https', 'http'). - * - base_url - Instead of using a `region` and `scheme`, you can specify a custom base URL for the client - * - * Generic client options - * - * - ssl.certificate_authority: Set to true to use the bundled CA cert (default), system to use the certificate - * bundled with your system, or pass the full path to an SSL certificate bundle. This option should be used when - * you encounter curl error code 60. - * - curl.options - Array of cURL options to apply to every request. - * See http://www.php.net/manual/en/function.curl-setopt.php for a list of available options - * - signature - You can optionally provide a custom signature implementation used to sign requests - * - client.backoff.logger - `Guzzle\Log\LogAdapterInterface` object used to log backoff retries. Use - * 'debug' to emit PHP warnings when a retry is issued. - * - client.backoff.logger.template - Optional template to use for exponential backoff log messages. See - * `Guzzle\Plugin\Backoff\BackoffLogger` for formatting information. - * - * @param array|Collection $config Client configuration data - * - * @return self - */ - public static function factory($config = array()) - { - // Configure the custom exponential backoff plugin for retrying S3 specific errors - if (!isset($config[Options::BACKOFF])) { - $config[Options::BACKOFF] = new BackoffPlugin( - new TruncatedBackoffStrategy(3, - new HttpBackoffStrategy(null, - new SocketTimeoutChecker( - new CurlBackoffStrategy(null, - new ExponentialBackoffStrategy() - ) - ) - ) - ) - ); - } - - $client = ClientBuilder::factory(__NAMESPACE__) - ->setConfig($config) - ->setConfigDefaults(array( - Options::SIGNATURE => new S3Signature(), - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/s3-2006-03-01.php' - )) - ->setExceptionParser(new S3ExceptionParser()) - ->setIteratorsConfig(array( - 'more_key' => 'IsTruncated', - 'operations' => array( - 'ListBuckets', - 'ListMultipartUploads' => array( - 'limit_param' => 'MaxUploads', - 'token_param' => array('KeyMarker', 'UploadIdMarker'), - 'token_key' => array('NextKeyMarker', 'NextUploadIdMarker'), - ), - 'ListObjects' => array( - 'limit_param' => 'MaxKeys', - 'token_param' => 'Marker', - 'token_key' => 'NextMarker', - ), - 'ListObjectVersions' => array( - 'limit_param' => 'MaxKeys', - 'token_param' => array('KeyMarker', 'VersionIdMarker'), - 'token_key' => array('nextKeyMarker', 'nextVersionIdMarker'), - ), - 'ListParts' => array( - 'limit_param' => 'MaxParts', - 'result_key' => 'Parts', - 'token_param' => 'PartNumberMarker', - 'token_key' => 'NextPartNumberMarker', - ), - ) - )) - ->build(); - - // Use virtual hosted buckets when possible - $client->addSubscriber(new BucketStyleListener()); - - // Ensure that ACP headers are applied when needed - $client->addSubscriber(new AcpListener()); - - // Validate and add Content-MD5 hashes - $client->addSubscriber(new CommandContentMd5Plugin()); - - // Allow for specifying bodies with file paths and file handles - $client->addSubscriber(new UploadBodyListener(array('PutObject', 'UploadPart'))); - - // Add aliases for some S3 operations - $default = CompositeFactory::getDefaultChain($client); - $default->add( - new AliasFactory($client, self::$commandAliases), - 'Guzzle\Service\Command\Factory\ServiceDescriptionFactory' - ); - $client->setCommandFactory($default); - - return $client; - } - - /** - * Find out if a string is a valid name for an Amazon S3 bucket. - * - * @param string $bucket The name of the bucket to check. - * - * @return bool TRUE if the bucket name is valid or FALSE if it is invalid. - */ - public static function isValidBucketName($bucket) - { - $bucketLen = strlen($bucket); - if (!$bucket || $bucketLen < 3 || $bucketLen > 63 - // Cannot start or end with a '.' - || $bucket[0] == '.' - || $bucket[$bucketLen - 1] == '.' - // Cannot look like an IP address - || preg_match('/^\d+\.\d+\.\d+\.\d+$/', $bucket) - // Cannot include special characters, must start and end with lower alnum - || !preg_match('/^[a-z0-9]([a-z0-9\\-.]*[a-z0-9])?$/', $bucket)) { - return false; - } - - return true; - } - - /** - * Create a pre-signed URL for a request - * - * @param RequestInterface $request Request to generate the URL for. Use the factory methods of the client to create - * this request object. - * @param int|string $expires The Unix timestamp to expire at or a string that can be evaluated by strtotime - * - * @return string - * @throws InvalidArgumentException if the request is not associated with this client object - */ - public function createPresignedUrl(RequestInterface $request, $expires) - { - if ($request->getClient() !== $this) { - throw new InvalidArgumentException('The request object must be associated with the client. Use the ' - . '$client->get(), $client->head(), $client->post(), $client->put(), etc. methods when passing in a ' - . 'request object'); - } - - if (!is_numeric($expires)) { - $expires = strtotime($expires); - } - - $copy = clone $request; - - // URL encoding already occurs in the URI template expansion. Undo that and encode using the same encoding as - // GET object, PUT object, etc. - $path = $this->encodeKey(rawurldecode($copy->getPath())); - $copy->setPath($path); - - $copy->getQuery() - ->set('AWSAccessKeyId', $this->credentials->getAccessKeyId()) - ->set('Expires', $expires) - ->set('Signature', $this->signature->signString( - $this->signature->createCanonicalizedString($request, $expires), - $this->credentials - )); - - return $copy->getUrl(); - } - - /** - * Helper used to clear the contents of a bucket. Use the {@see ClearBucket} object directly - * for more advanced options and control. - * - * @param string $bucket Name of the bucket to clear. - * - * @return int Returns the number of deleted keys - */ - public function clearBucket($bucket) - { - $clear = new ClearBucket($this, $bucket); - - return $clear->clear(); - } - - /** - * Determines whether or not a bucket exists by name - * - * @param string $bucket The name of the bucket - * @param bool $accept403 Set to true if 403s are acceptable - * @param array $options Additional options to add to the executed command - * - * @return bool - */ - public function doesBucketExist($bucket, $accept403 = true, array $options = array()) - { - return $this->checkExistenceWithCommand( - $this->getCommand('HeadBucket', array_merge($options, array( - 'Bucket' => $bucket - ))), $accept403 - ); - } - - /** - * Determines whether or not an object exists by name - * - * @param string $bucket The name of the bucket - * @param string $key The key of the object - * @param array $options Additional options to add to the executed command - * - * @return bool - */ - public function doesObjectExist($bucket, $key, array $options = array()) - { - return $this->checkExistenceWithCommand( - $this->getCommand('HeadObject', array_merge($options, array( - 'Bucket' => $bucket, - 'Key' => $key - ))) - ); - } - - /** - * Determines whether or not a bucket policy exists for a bucket - * - * @param string $bucket The name of the bucket - * @param array $options Additional options to add to the executed command - * - * @return bool - */ - public function doesBucketPolicyExist($bucket, array $options = array()) - { - return $this->checkExistenceWithCommand( - $this->getCommand('GetBucketPolicy', array_merge($options, array( - 'Bucket' => $bucket - ))) - ); - } - - /** - * Raw URL encode a key and allow for '/' characters - * - * @param string $key Key to encode - * - * @return string Returns the encoded key - */ - public static function encodeKey($key) - { - return str_replace('%2F', '/', rawurlencode($key)); - } - - /** - * Explode a prefixed key into an array of values - * - * @param string $key Key to explode - * - * @return array Returns the exploded - */ - public static function explodeKey($key) - { - // Remove a leading slash if one is found - return explode('/', $key && $key[0] == '/' ? substr($key, 1) : $key); - } - - /** - * Determines whether or not a resource exists using a command - * - * @param CommandInterface $command Command used to poll for the resource - * @param bool $accept403 Set to true if 403s are acceptable - * - * @return bool - * @throws S3Exception if there is an unhandled exception - */ - protected function checkExistenceWithCommand(CommandInterface $command, $accept403 = false) - { - try { - $command->execute(); - $exists = true; - } catch (AccessDeniedException $e) { - $exists = (bool) $accept403; - } catch (S3Exception $e) { - $exists = false; - if ($e->getResponse()->getStatusCode() >= 500) { - // @codeCoverageIgnoreStart - throw $e; - // @codeCoverageIgnoreEnd - } - } - - return $exists; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3Signature.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3Signature.php deleted file mode 100644 index 67c3da3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3Signature.php +++ /dev/null @@ -1,207 +0,0 @@ -getSecurityToken()) { - $request->setHeader('x-amz-security-token', $token); - } - - // Add a date header if one is not set - if (!$request->hasHeader('date') && !$request->hasHeader('x-amz-date')) { - $request->setHeader('Date', gmdate(DateFormat::RFC2822)); - } - - $stringToSign = $this->createCanonicalizedString($request); - $request->getParams()->set('aws.string_to_sign', $stringToSign); - - $request->setHeader( - 'Authorization', - 'AWS ' . $credentials->getAccessKeyId() . ':' . $this->signString($stringToSign, $credentials) - ); - } - - /** - * {@inheritdoc} - */ - public function signString($string, CredentialsInterface $credentials) - { - return base64_encode(hash_hmac('sha1', $string, $credentials->getSecretKey(), true)); - } - - /** - * {@inheritdoc} - */ - public function createCanonicalizedString(RequestInterface $request, $expires = null) - { - $buffer = $request->getMethod() . "\n"; - - // Add the interesting headers - foreach ($this->signableHeaders as $header) { - $buffer .= (string) $request->getHeader($header) . "\n"; - } - - // Choose dates from left to right based on what's set - $date = $expires ?: (string) $request->getHeader('date'); - - $buffer .= "{$date}\n" - . $this->createCanonicalizedAmzHeaders($request) - . $this->createCanonicalizedResource($request); - - return $buffer; - } - - /** - * Create a canonicalized AmzHeaders string for a signature. - * - * @param RequestInterface $request Request from which to gather headers - * - * @return string Returns canonicalized AMZ headers. - */ - protected function createCanonicalizedAmzHeaders(RequestInterface $request) - { - $headers = array(); - foreach ($request->getHeaders(true) as $header) { - /** @var $header \Guzzle\Http\Message\Header */ - $name = strtolower($header->getName()); - if (strpos($name, 'x-amz-') === 0) { - $value = trim((string) $header); - if ($value || $value === '0') { - $headers[$name] = $name . ':' . $value; - } - } - } - - if (empty($headers)) { - return ''; - } else { - ksort($headers); - - return implode("\n", $headers) . "\n"; - } - } - - /** - * Create a canonicalized resource for a request - * - * @param RequestInterface $request Request for the resource - * - * @return string - */ - protected function createCanonicalizedResource(RequestInterface $request) - { - $buffer = $request->getParams()->get('s3.resource'); - // When sending a raw HTTP request (e.g. $client->get()) - if (null === $buffer) { - $bucket = $request->getParams()->get('bucket') ?: $this->parseBucketName($request); - // Use any specified bucket name, the parsed bucket name, or no bucket name when interacting with GetService - $buffer = $bucket ? "/{$bucket}" : ''; - // Remove encoding from the path and use the S3 specific encoding - $path = S3Client::encodeKey(rawurldecode($request->getPath())); - // if the bucket was path style, then ensure that the bucket wasn't duplicated in the resource - $buffer .= preg_replace("#^/{$bucket}/{$bucket}#", "/{$bucket}", $path); - } - - // Remove double slashes - $buffer = str_replace('//', '/', $buffer); - - // Add sub resource parameters - $query = $request->getQuery(); - $first = true; - foreach ($this->signableQueryString as $key) { - if ($value = $query->get($key)) { - $buffer .= $first ? '?' : '&'; - $first = false; - $buffer .= $key; - if ($value !== QueryString::BLANK) { - $buffer .= "={$value}"; - } - } - } - - return $buffer; - } - - /** - * Parse the bucket name from a request object - * - * @param RequestInterface $request Request to parse - * - * @return string - */ - protected function parseBucketName(RequestInterface $request) - { - $baseUrl = Url::factory($request->getClient()->getBaseUrl()); - $baseHost = $baseUrl->getHost(); - $host = $request->getHost(); - - if (strpos($host, $baseHost) === false) { - // Does not contain the base URL, so it's either a redirect, CNAME, or using a different region - $baseHost = ''; - // For every known S3 host, check if that host is present on the request - $regions = $request->getClient()->getDescription()->getData('regions'); - foreach ($regions as $region) { - if (strpos($host, $region['hostname']) !== false) { - // This host matches the request host. Tells use the region and endpoint-- we can derive the bucket - $baseHost = $region['hostname']; - break; - } - } - // If no matching base URL was found, then assume that this is a CNAME, and the CNAME is the bucket - if (!$baseHost) { - return $host; - } - } - - // Remove the baseURL from the host of the request to attempt to determine the bucket name - return trim(str_replace($baseHost, '', $request->getHost()), ' .'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3SignatureInterface.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3SignatureInterface.php deleted file mode 100644 index d1182f6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/S3/S3SignatureInterface.php +++ /dev/null @@ -1,48 +0,0 @@ -setNext($next); - } - } - - /** - * {@inheridoc} - */ - public function makesDecision() - { - return true; - } - - /** - * {@inheritdoc} - */ - protected function getDelay( - $retries, - RequestInterface $request, - Response $response = null, - HttpException $e = null - ) { - if ($response - && $response->getStatusCode() == 400 - && strpos($response->getBody(), self::ERR) - ) { - // Check if the request is sending a local file, and if so, clear the stat cache and recalculate the size. - if ($request instanceof EntityEnclosingRequestInterface) { - if ($request->getBody()->getWrapper() == 'plainfile') { - $filename = $request->getBody()->getUri(); - // Clear the cache so that we send accurate file sizes - clearstatcache(true, $filename); - $length = filesize($filename); - $request->getBody()->setSize($length); - $request->setHeader('Content-Length', $length); - } - } - - return true; - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ses/Enum/IdentityType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ses/Enum/IdentityType.php deleted file mode 100644 index 30d3234..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ses/Enum/IdentityType.php +++ /dev/null @@ -1,28 +0,0 @@ - '2010-12-01', - 'endpointPrefix' => 'email', - 'serviceFullName' => 'Amazon Simple Email Service', - 'serviceAbbreviation' => 'Amazon SES', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'Ses', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'email.us-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'DeleteIdentity' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified identity (email address or domain) from the list of verified identities.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteIdentity', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identity' => array( - 'required' => true, - 'description' => 'The identity to be removed from the list of identities for the AWS Account.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'DeleteVerifiedEmailAddress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes the specified email address from the list of verified addresses.', - 'deprecated' => true, - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteVerifiedEmailAddress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EmailAddress' => array( - 'required' => true, - 'description' => 'An email address to be removed from the list of verified addresses.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'GetIdentityDkimAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetIdentityDkimAttributesResponse', - 'responseType' => 'model', - 'summary' => 'Returns the DNS records, or tokens, that must be present in order for Easy DKIM to sign outgoing email messages.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetIdentityDkimAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identities' => array( - 'required' => true, - 'description' => 'A list of one or more verified identities - email addresses, domains, or both.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Identities.member', - 'items' => array( - 'name' => 'Identity', - 'type' => 'string', - ), - ), - ), - ), - 'GetIdentityNotificationAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetIdentityNotificationAttributesResponse', - 'responseType' => 'model', - 'summary' => 'Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes. For more information about feedback notification, see the Amazon SES Developer Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetIdentityNotificationAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identities' => array( - 'required' => true, - 'description' => 'A list of one or more identities.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Identities.member', - 'items' => array( - 'name' => 'Identity', - 'type' => 'string', - ), - ), - ), - ), - 'GetIdentityVerificationAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetIdentityVerificationAttributesResponse', - 'responseType' => 'model', - 'summary' => 'Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetIdentityVerificationAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identities' => array( - 'required' => true, - 'description' => 'A list of identities.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Identities.member', - 'items' => array( - 'name' => 'Identity', - 'type' => 'string', - ), - ), - ), - ), - 'GetSendQuota' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetSendQuotaResponse', - 'responseType' => 'model', - 'summary' => 'Returns the user\'s current sending limits.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetSendQuota', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - ), - ), - 'GetSendStatistics' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetSendStatisticsResponse', - 'responseType' => 'model', - 'summary' => 'Returns the user\'s sending statistics. The result is a list of data points, representing the last two weeks of sending activity.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetSendStatistics', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - ), - ), - 'ListIdentities' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListIdentitiesResponse', - 'responseType' => 'model', - 'summary' => 'Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListIdentities', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'IdentityType' => array( - 'description' => 'The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'EmailAddress', - 'Domain', - ), - ), - 'NextToken' => array( - 'description' => 'The token to use for pagination.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MaxItems' => array( - 'description' => 'The maximum number of identities per page. Possible values are 1-100 inclusive.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - ), - 'ListVerifiedEmailAddresses' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListVerifiedEmailAddressesResponse', - 'responseType' => 'model', - 'summary' => 'Returns a list containing all of the email addresses that have been verified.', - 'deprecated' => true, - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListVerifiedEmailAddresses', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - ), - ), - 'SendEmail' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SendEmailResponse', - 'responseType' => 'model', - 'summary' => 'Composes an email message based on input data, and then immediately queues the message for sending.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SendEmail', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Source' => array( - 'required' => true, - 'description' => 'The identity\'s email address.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Destination' => array( - 'required' => true, - 'description' => 'The destination for this email, composed of To:, CC:, and BCC: fields.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'ToAddresses' => array( - 'description' => 'The To: field(s) of the message.', - 'type' => 'array', - 'sentAs' => 'ToAddresses.member', - 'items' => array( - 'name' => 'Address', - 'type' => 'string', - ), - ), - 'CcAddresses' => array( - 'description' => 'The CC: field(s) of the message.', - 'type' => 'array', - 'sentAs' => 'CcAddresses.member', - 'items' => array( - 'name' => 'Address', - 'type' => 'string', - ), - ), - 'BccAddresses' => array( - 'description' => 'The BCC: field(s) of the message.', - 'type' => 'array', - 'sentAs' => 'BccAddresses.member', - 'items' => array( - 'name' => 'Address', - 'type' => 'string', - ), - ), - ), - ), - 'Message' => array( - 'required' => true, - 'description' => 'The message to be sent.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Subject' => array( - 'required' => true, - 'description' => 'The subject of the message: A short summary of the content, which will appear in the recipient\'s inbox.', - 'type' => 'object', - 'properties' => array( - 'Data' => array( - 'required' => true, - 'description' => 'The textual data of the content.', - 'type' => 'string', - ), - 'Charset' => array( - 'description' => 'The character set of the content.', - 'type' => 'string', - ), - ), - ), - 'Body' => array( - 'required' => true, - 'description' => 'The message body.', - 'type' => 'object', - 'properties' => array( - 'Text' => array( - 'description' => 'The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).', - 'type' => 'object', - 'properties' => array( - 'Data' => array( - 'required' => true, - 'description' => 'The textual data of the content.', - 'type' => 'string', - ), - 'Charset' => array( - 'description' => 'The character set of the content.', - 'type' => 'string', - ), - ), - ), - 'Html' => array( - 'description' => 'The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.', - 'type' => 'object', - 'properties' => array( - 'Data' => array( - 'required' => true, - 'description' => 'The textual data of the content.', - 'type' => 'string', - ), - 'Charset' => array( - 'description' => 'The character set of the content.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'ReplyToAddresses' => array( - 'description' => 'The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ReplyToAddresses.member', - 'items' => array( - 'name' => 'Address', - 'type' => 'string', - ), - ), - 'ReturnPath' => array( - 'description' => 'The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient\'s ISP; this message will then be forwarded to the email address specified by the ReturnPath parameter.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.', - 'class' => 'MessageRejectedException', - ), - ), - ), - 'SendRawEmail' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SendRawEmailResponse', - 'responseType' => 'model', - 'summary' => 'Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SendRawEmail', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Source' => array( - 'description' => 'The identity\'s email address.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Destinations' => array( - 'description' => 'A list of destinations for the message.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Destinations.member', - 'items' => array( - 'name' => 'Address', - 'type' => 'string', - ), - ), - 'RawMessage' => array( - 'required' => true, - 'description' => 'The raw text of the message. The client is responsible for ensuring the following:', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Data' => array( - 'required' => true, - 'description' => 'The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding (if necessary).', - 'type' => 'string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.', - 'class' => 'MessageRejectedException', - ), - ), - ), - 'SetIdentityDkimEnabled' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Enables or disables Easy DKIM signing of email sent from an identity:', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetIdentityDkimEnabled', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identity' => array( - 'required' => true, - 'description' => 'The identity for which DKIM signing should be enabled or disabled.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DkimEnabled' => array( - 'required' => true, - 'description' => 'Sets whether DKIM signing is enabled for an identity. Set to true to enable DKIM signing for this identity; false to disable it.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'SetIdentityFeedbackForwardingEnabled' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set. For more information about feedback notification, see the Amazon SES Developer Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetIdentityFeedbackForwardingEnabled', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identity' => array( - 'required' => true, - 'description' => 'The identity for which to set feedback notification forwarding. Examples: user@example.com, example.com.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ForwardingEnabled' => array( - 'required' => true, - 'description' => 'Sets whether Amazon SES will forward feedback notifications as email. true specifies that Amazon SES will forward feedback notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish feedback notifications only through Amazon SNS. This value can only be set to false when topics are specified for both Bounce and Complaint topic types.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - ), - 'SetIdentityNotificationTopic' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source. Publishing to topics may only be disabled when feedback forwarding is enabled. For more information about feedback notification, see the Amazon SES Developer Guide.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetIdentityNotificationTopic', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Identity' => array( - 'required' => true, - 'description' => 'The identity for which the topic will be set. Examples: user@example.com, example.com.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NotificationType' => array( - 'required' => true, - 'description' => 'The type of feedback notifications that will be published to the specified topic.', - 'type' => 'string', - 'location' => 'aws.query', - 'enum' => array( - 'Bounce', - 'Complaint', - ), - ), - 'SnsTopic' => array( - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is ommited from the request or a null value is passed, the topic is cleared and publishing is disabled.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'VerifyDomainDkim' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'VerifyDomainDkimResponse', - 'responseType' => 'model', - 'summary' => 'Returns a set of DNS records, or tokens, that must be published in the domain name\'s DNS to complete the DKIM verification process. These tokens are DNS CNAME records that point to DKIM public keys hosted by Amazon SES. To complete the DKIM verification process, these tokens must be published in the domain\'s DNS. The tokens must remain published in order for Easy DKIM signing to function correctly.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'VerifyDomainDkim', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Domain' => array( - 'required' => true, - 'description' => 'The name of the domain to be verified for Easy DKIM signing.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'VerifyDomainIdentity' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'VerifyDomainIdentityResponse', - 'responseType' => 'model', - 'summary' => 'Verifies a domain.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'VerifyDomainIdentity', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'Domain' => array( - 'required' => true, - 'description' => 'The domain to be verified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'VerifyEmailAddress' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Verifies an email address. This action causes a confirmation email message to be sent to the specified address.', - 'deprecated' => true, - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'VerifyEmailAddress', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EmailAddress' => array( - 'required' => true, - 'description' => 'The email address to be verified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'VerifyEmailIdentity' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Verifies an email address. This action causes a confirmation email message to be sent to the specified address.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'VerifyEmailIdentity', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-12-01', - ), - 'EmailAddress' => array( - 'required' => true, - 'description' => 'The email address to be verified.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'GetIdentityDkimAttributesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DkimAttributes' => array( - 'description' => 'The DKIM attributes for an email address or a domain.', - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'description' => 'Represents the DKIM attributes of a verified email address or a domain.', - 'type' => 'object', - 'properties' => array( - 'DkimEnabled' => array( - 'description' => 'True if DKIM signing is enabled for email sent from the identity; false otherwise.', - 'type' => 'boolean', - ), - 'DkimVerificationStatus' => array( - 'description' => 'Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name\'s DNS. (This only applies to domain identities, not email address identities.)', - 'type' => 'string', - ), - 'DkimTokens' => array( - 'description' => 'A set of DNS records (tokens) that must be published in the domain name\'s DNS for DKIM verification to complete, and which must remain published in order for DKIM signing to succeed. The tokens are CNAME DNS records that point to DKIM public keys hosted by Amazon SES. (This only applies to domain entities, not email address identities.)', - 'type' => 'array', - 'items' => array( - 'name' => 'VerificationToken', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'GetIdentityNotificationAttributesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'NotificationAttributes' => array( - 'description' => 'A map of Identity to IdentityNotificationAttributes.', - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'description' => 'Represents the notification attributes of an identity, including whether a bounce or complaint topic are set, and whether feedback forwarding is enabled.', - 'type' => 'object', - 'properties' => array( - 'BounceTopic' => array( - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.', - 'type' => 'string', - ), - 'ComplaintTopic' => array( - 'description' => 'The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.', - 'type' => 'string', - ), - 'ForwardingEnabled' => array( - 'description' => 'Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.', - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - ), - 'GetIdentityVerificationAttributesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VerificationAttributes' => array( - 'description' => 'A map of Identities to IdentityVerificationAttributes objects.', - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'description' => 'Represents the verification attributes of a single identity.', - 'type' => 'object', - 'properties' => array( - 'VerificationStatus' => array( - 'description' => 'The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".', - 'type' => 'string', - ), - 'VerificationToken' => array( - 'description' => 'The verification token for a domain identity. Null for email address identities.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - 'GetSendQuotaResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Max24HourSend' => array( - 'description' => 'The maximum number of emails the user is allowed to send in a 24-hour interval.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'MaxSendRate' => array( - 'description' => 'The maximum number of emails the user is allowed to send per second.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'SentLast24Hours' => array( - 'description' => 'The number of emails sent during the previous 24 hours.', - 'type' => 'numeric', - 'location' => 'xml', - ), - ), - ), - 'GetSendStatisticsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SendDataPoints' => array( - 'description' => 'A list of data points, each of which represents 15 minutes of activity.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'SendDataPoint', - 'description' => 'Represents sending statistics data. Each SendDataPoint contains statistics for a 15-minute period of sending activity.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Timestamp' => array( - 'description' => 'Time of the data point.', - 'type' => 'string', - ), - 'DeliveryAttempts' => array( - 'description' => 'Number of emails that have been enqueued for sending.', - 'type' => 'numeric', - ), - 'Bounces' => array( - 'description' => 'Number of emails that have bounced.', - 'type' => 'numeric', - ), - 'Complaints' => array( - 'description' => 'Number of unwanted emails that were rejected by recipients.', - 'type' => 'numeric', - ), - 'Rejects' => array( - 'description' => 'Number of emails rejected by Amazon SES.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'ListIdentitiesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Identities' => array( - 'description' => 'A list of identities.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Identity', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'NextToken' => array( - 'description' => 'The token used for pagination.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListVerifiedEmailAddressesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VerifiedEmailAddresses' => array( - 'description' => 'A list of email addresses that have been verified.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Address', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'SendEmailResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MessageId' => array( - 'description' => 'The unique message identifier returned from the SendEmail action.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'SendRawEmailResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MessageId' => array( - 'description' => 'The unique message identifier returned from the SendRawEmail action.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'VerifyDomainDkimResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DkimTokens' => array( - 'description' => 'A set of DNS records (tokens) that must be published in the domain name\'s DNS for DKIM verification to complete, and which must remain published in order for DKIM signing to succeed. The tokens are CNAME DNS records pointing to DKIM public keys hosted by Amazon SES.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'VerificationToken', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'VerifyDomainIdentityResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VerificationToken' => array( - 'description' => 'A TXT record that must be placed in the DNS settings for the domain, in order to complete domain verification.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'ListIdentities' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'limit_key' => 'MaxItems', - 'result_key' => 'Identities', - ), - 'ListVerifiedEmailAddresses' => array( - 'result_key' => 'VerifiedEmailAddresses', - ), - ), - ), - 'waiters' => array( - '__default__' => array( - 'interval' => 3, - 'max_attempts' => 20, - ), - 'IdentityExists' => array( - 'operation' => 'GetIdentityVerificationAttributes', - 'success.type' => 'output', - 'success.path' => 'VerificationAttributes/*/VerificationStatus', - 'success.value' => true, - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ses/SesClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ses/SesClient.php deleted file mode 100644 index 5999801..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Ses/SesClient.php +++ /dev/null @@ -1,100 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/ses-2010-12-01.php', - Options::SIGNATURE_SERVICE => 'ses', - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/Exception/AttributeDoesNotExistException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/Exception/AttributeDoesNotExistException.php deleted file mode 100644 index f061ac0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/Exception/AttributeDoesNotExistException.php +++ /dev/null @@ -1,22 +0,0 @@ - '2009-04-15', - 'endpointPrefix' => 'sdb', - 'serviceFullName' => 'Amazon SimpleDB', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'SimpleDb', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.ap-southeast-1.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sdb.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'BatchDeleteAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Performs multiple DeleteAttributes operations in a single call, which reduces round trips and latencies. This enables Amazon SimpleDB to optimize requests, which generally yields better throughput.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'BatchDeleteAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain in which the attributes are being deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Items' => array( - 'required' => true, - 'description' => 'A list of items on which to perform the operation.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Item', - 'items' => array( - 'name' => 'Item', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'type' => 'string', - 'sentAs' => 'ItemName', - ), - 'Attributes' => array( - 'type' => 'array', - 'sentAs' => 'Attribute', - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the attribute.', - 'type' => 'string', - ), - 'AlternateNameEncoding' => array( - 'type' => 'string', - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value of the attribute.', - 'type' => 'string', - ), - 'AlternateValueEncoding' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'BatchPutAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The BatchPutAttributes operation creates or replaces attributes within one or more items. By using this operation, the client can perform multiple PutAttribute operation with a single call. This helps yield savings in round trips and latencies, enabling Amazon SimpleDB to optimize requests and generally produce better throughput.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'BatchPutAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain in which the attributes are being stored.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Items' => array( - 'required' => true, - 'description' => 'A list of items on which to perform the operation.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Item', - 'items' => array( - 'name' => 'Item', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the replaceable item.', - 'type' => 'string', - 'sentAs' => 'ItemName', - ), - 'Attributes' => array( - 'required' => true, - 'description' => 'The list of attributes for a replaceable item.', - 'type' => 'array', - 'sentAs' => 'Attribute', - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the replaceable attribute.', - 'type' => 'string', - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value of the replaceable attribute.', - 'type' => 'string', - ), - 'Replace' => array( - 'description' => 'A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is false.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The item name was specified more than once.', - 'class' => 'DuplicateItemNameException', - ), - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'The specified domain does not exist.', - 'class' => 'NoSuchDomainException', - ), - array( - 'reason' => 'Too many attributes in this item.', - 'class' => 'NumberItemAttributesExceededException', - ), - array( - 'reason' => 'Too many attributes in this domain.', - 'class' => 'NumberDomainAttributesExceededException', - ), - array( - 'reason' => 'Too many bytes in this domain.', - 'class' => 'NumberDomainBytesExceededException', - ), - array( - 'reason' => 'Too many items exist in a single call.', - 'class' => 'NumberSubmittedItemsExceededException', - ), - array( - 'reason' => 'Too many attributes exist in a single call.', - 'class' => 'NumberSubmittedAttributesExceededException', - ), - ), - ), - 'CreateDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The CreateDomain operation creates a new domain. The domain name should be unique among the domains associated with the Access Key ID provided in the request. The CreateDomain operation may take 10 or more seconds to complete.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateDomain', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, \'_\', \'-\', and \'.\'.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'Too many domains exist per this account.', - 'class' => 'NumberDomainsExceededException', - ), - ), - ), - 'DeleteAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Deletes one or more attributes associated with an item. If all attributes of the item are deleted, the item is deleted.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain in which to perform the operation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ItemName' => array( - 'required' => true, - 'description' => 'The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attributes' => array( - 'description' => 'A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Attribute', - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the attribute.', - 'type' => 'string', - ), - 'AlternateNameEncoding' => array( - 'type' => 'string', - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value of the attribute.', - 'type' => 'string', - ), - 'AlternateValueEncoding' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Expected' => array( - 'description' => 'The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the attribute involved in the condition.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of an attribute. This value can only be specified when the Exists parameter is equal to true.', - 'type' => 'string', - ), - 'Exists' => array( - 'description' => 'A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'The specified domain does not exist.', - 'class' => 'NoSuchDomainException', - ), - array( - 'reason' => 'The specified attribute does not exist.', - 'class' => 'AttributeDoesNotExistException', - ), - ), - ), - 'DeleteDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain are deleted as well. The DeleteDomain operation might take 10 or more seconds to complete.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteDomain', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - ), - ), - 'DomainMetadata' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DomainMetadataResult', - 'responseType' => 'model', - 'summary' => 'Returns information about the domain, including when the domain was created, the number of items and attributes in the domain, and the size of the attribute names and values.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DomainMetadata', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain for which to display the metadata of.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'The specified domain does not exist.', - 'class' => 'NoSuchDomainException', - ), - ), - ), - 'GetAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetAttributesResult', - 'responseType' => 'model', - 'summary' => 'Returns all of the attributes associated with the specified item. Optionally, the attributes returned can be limited to one or more attributes by specifying an attribute name parameter.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain in which to perform the operation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ItemName' => array( - 'required' => true, - 'description' => 'The name of the item.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeNames' => array( - 'description' => 'The names of the attributes.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AttributeName', - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'ConsistentRead' => array( - 'description' => 'Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'The specified domain does not exist.', - 'class' => 'NoSuchDomainException', - ), - ), - ), - 'ListDomains' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListDomainsResult', - 'responseType' => 'model', - 'summary' => 'The ListDomains operation lists all domains associated with the Access Key ID. It returns domain names up to the limit set by MaxNumberOfDomains. A NextToken is returned if there are more than MaxNumberOfDomains domains. Calling ListDomains successive times with the NextToken provided by the operation returns up to MaxNumberOfDomains more domain names with each successive operation call.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListDomains', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'MaxNumberOfDomains' => array( - 'description' => 'The maximum number of domain names you want returned. The range is 1 to 100. The default setting is 100.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'A string informing Amazon SimpleDB where to start the next list of domain names.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The specified NextToken is not valid.', - 'class' => 'InvalidNextTokenException', - ), - ), - ), - 'PutAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The PutAttributes operation creates or replaces attributes in an item. The client may specify new attributes using a combination of the Attribute.X.Name and Attribute.X.Value parameters. The client specifies the first attribute by the parameters Attribute.0.Name and Attribute.0.Value, the second attribute by the parameters Attribute.1.Name and Attribute.1.Value, and so on.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'PutAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'DomainName' => array( - 'required' => true, - 'description' => 'The name of the domain in which to perform the operation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ItemName' => array( - 'required' => true, - 'description' => 'The name of the item.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attributes' => array( - 'required' => true, - 'description' => 'The list of attributes.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Attribute', - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'required' => true, - 'description' => 'The name of the replaceable attribute.', - 'type' => 'string', - ), - 'Value' => array( - 'required' => true, - 'description' => 'The value of the replaceable attribute.', - 'type' => 'string', - ), - 'Replace' => array( - 'description' => 'A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is false.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'Expected' => array( - 'description' => 'The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.', - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the attribute involved in the condition.', - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of an attribute. This value can only be specified when the Exists parameter is equal to true.', - 'type' => 'string', - ), - 'Exists' => array( - 'description' => 'A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.', - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'The specified domain does not exist.', - 'class' => 'NoSuchDomainException', - ), - array( - 'reason' => 'Too many attributes in this domain.', - 'class' => 'NumberDomainAttributesExceededException', - ), - array( - 'reason' => 'Too many bytes in this domain.', - 'class' => 'NumberDomainBytesExceededException', - ), - array( - 'reason' => 'Too many attributes in this item.', - 'class' => 'NumberItemAttributesExceededException', - ), - array( - 'reason' => 'The specified attribute does not exist.', - 'class' => 'AttributeDoesNotExistException', - ), - ), - ), - 'Select' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SelectResult', - 'responseType' => 'model', - 'summary' => 'The Select operation returns a set of attributes for ItemNames that match the select expression. Select is similar to the standard SQL SELECT statement.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'Select', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2009-04-15', - ), - 'SelectExpression' => array( - 'required' => true, - 'description' => 'The expression used to query the domain.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'A string informing Amazon SimpleDB where to start the next list of ItemNames.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ConsistentRead' => array( - 'description' => 'Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The value for a parameter is invalid.', - 'class' => 'InvalidParameterValueException', - ), - array( - 'reason' => 'The specified NextToken is not valid.', - 'class' => 'InvalidNextTokenException', - ), - array( - 'reason' => 'Too many predicates exist in the query expression.', - 'class' => 'InvalidNumberPredicatesException', - ), - array( - 'reason' => 'Too many predicates exist in the query expression.', - 'class' => 'InvalidNumberValueTestsException', - ), - array( - 'reason' => 'The specified query expression syntax is not valid.', - 'class' => 'InvalidQueryExpressionException', - ), - array( - 'reason' => 'The request must contain the specified missing parameter.', - 'class' => 'MissingParameterException', - ), - array( - 'reason' => 'The specified domain does not exist.', - 'class' => 'NoSuchDomainException', - ), - array( - 'reason' => 'A timeout occurred when attempting to query the specified domain with specified query expression.', - 'class' => 'RequestTimeoutException', - ), - array( - 'reason' => 'Too many attributes requested.', - 'class' => 'TooManyRequestedAttributesException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DomainMetadataResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ItemCount' => array( - 'description' => 'The number of all items in the domain.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'ItemNamesSizeBytes' => array( - 'description' => 'The total size of all item names in the domain, in bytes.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'AttributeNameCount' => array( - 'description' => 'The number of unique attribute names in the domain.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'AttributeNamesSizeBytes' => array( - 'description' => 'The total size of all unique attribute names in the domain, in bytes.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'AttributeValueCount' => array( - 'description' => 'The number of all attribute name/value pairs in the domain.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'AttributeValuesSizeBytes' => array( - 'description' => 'The total size of all attribute values in the domain, in bytes.', - 'type' => 'numeric', - 'location' => 'xml', - ), - 'Timestamp' => array( - 'description' => 'The data and time when metadata was calculated, in Epoch (UNIX) seconds.', - 'type' => 'numeric', - 'location' => 'xml', - ), - ), - ), - 'GetAttributesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'The list of attributes returned by the operation.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Attribute', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'sentAs' => 'Attribute', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the attribute.', - 'type' => 'string', - ), - 'AlternateNameEncoding' => array( - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of the attribute.', - 'type' => 'string', - ), - 'AlternateValueEncoding' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ListDomainsResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DomainNames' => array( - 'description' => 'A list of domain names that match the expression.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'DomainName', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'DomainName', - 'type' => 'string', - 'sentAs' => 'DomainName', - ), - ), - 'NextToken' => array( - 'description' => 'An opaque token indicating that there are more domains than the specified MaxNumberOfDomains still available.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'SelectResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Items' => array( - 'description' => 'A list of items that match the select expression.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Item', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Item', - 'type' => 'object', - 'sentAs' => 'Item', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the item.', - 'type' => 'string', - ), - 'AlternateNameEncoding' => array( - 'type' => 'string', - ), - 'Attributes' => array( - 'description' => 'A list of attributes.', - 'type' => 'array', - 'sentAs' => 'Attribute', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'sentAs' => 'Attribute', - 'properties' => array( - 'Name' => array( - 'description' => 'The name of the attribute.', - 'type' => 'string', - ), - 'AlternateNameEncoding' => array( - 'type' => 'string', - ), - 'Value' => array( - 'description' => 'The value of the attribute.', - 'type' => 'string', - ), - 'AlternateValueEncoding' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'An opaque token indicating that more items than MaxNumberOfItems were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/SimpleDbClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/SimpleDbClient.php deleted file mode 100644 index a0cf492..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/SimpleDbClient.php +++ /dev/null @@ -1,103 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/simpledb-2009-04-15.php' - )) - ->setIteratorsConfig(array( - 'token_key' => 'NextToken', - 'token_param' => 'NextToken', - 'operations' => array( - 'ListDomains' => array( - 'result_key' => 'DomainNames', - 'limit_key' => 'MaxNumberOfDomains' - ), - 'Select' => array( - 'result_key' => 'Items' - ) - ) - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/Exception/AuthorizationErrorException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/Exception/AuthorizationErrorException.php deleted file mode 100644 index fb44055..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/Exception/AuthorizationErrorException.php +++ /dev/null @@ -1,22 +0,0 @@ - array( - 'Message', - 'MessageId', - 'Timestamp', - 'TopicArn', - 'Type', - 'Signature', - 'SigningCertURL', - ), - 'SubscriptionConfirmation' => array( - 'SubscribeURL', - 'Token' - ), - 'UnsubscribeConfirmation' => array( - 'SubscribeURL', - 'Token' - ), - ); - - protected static $signableKeys = array( - 'Message', - 'MessageId', - 'Subject', - 'SubscribeURL', - 'Timestamp', - 'Token', - 'TopicArn', - 'Type', - ); - - /** - * @var Collection The message data - */ - protected $data; - - /** - * Creates a Message object from an array of raw message data - * - * @param array $data The message data - * - * @return Message - * @throws InvalidArgumentException If a valid type is not provided or there are other required keys missing - */ - public static function fromArray(array $data) - { - // Make sure the type key is set - if (!isset($data['Type'])) { - throw new InvalidArgumentException('The "Type" key must be provided to instantiate a Message object.'); - } - - // Determine required keys and create a collection from the message data - $requiredKeys = array_merge( - self::$requiredKeys['__default'], - isset(self::$requiredKeys[$data['Type']]) ? self::$requiredKeys[$data['Type']] : array() - ); - $data = Collection::fromConfig($data, array(), $requiredKeys); - - return new self($data); - } - - /** - * Creates a message object from the raw POST data - * - * @return Message - */ - public static function fromRawPostData() - { - return self::fromArray(json_decode(file_get_contents('php://input'), true)); - } - - /** - * @param Collection $data A Collection of message data with all required keys - */ - public function __construct(Collection $data) - { - $this->data = $data; - } - - /** - * Get the entire message data as a Collection - * - * @return Collection - */ - public function getData() - { - return $this->data; - } - - /** - * Gets a single key from the message data - * - * @return string - */ - public function get($key) - { - return $this->data->get($key); - } - - /** - * Builds a newline delimited string to sign according to the specs - * - * @return string - * @link http://docs.aws.amazon.com/sns/latest/gsg/SendMessageToHttp.verify.signature.html - */ - public function getStringToSign() - { - $stringToSign = ''; - - $data = $this->data->toArray(); - ksort($data); - - foreach ($data as $key => $value) { - if (in_array($key, self::$signableKeys)) { - $stringToSign .= "{$key}\n{$value}\n"; - } - } - - return $stringToSign; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/MessageValidator/MessageValidator.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/MessageValidator/MessageValidator.php deleted file mode 100644 index 3db051e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/MessageValidator/MessageValidator.php +++ /dev/null @@ -1,103 +0,0 @@ -client = $client ?: new Client(); - } - - /** - * Validates a message from SNS to ensure that it was delivered by AWS - * - * @param Message $message The message to validate - * - * @throws CannotGetPublicKeyFromCertificateException If the certificate cannot be retrieved - * @throws CertificateFromUnrecognizedSourceException If the certificate's source cannot be verified - * @throws InvalidMessageSignatureException If the message's signature is invalid - */ - public function validate(Message $message) - { - // Get the cert's URL and ensure it is from AWS - $certUrl = Url::factory($message->get('SigningCertURL')); - if ('.amazonaws.com' != substr($certUrl->getHost(), -14)) { - throw new CertificateFromUnrecognizedSourceException(); - } - - // Get the cert itself and extract the public key - $certificate = $this->client->get((string) $certUrl)->send()->getBody(); - $publicKey = openssl_get_publickey($certificate); - if (!$publicKey) { - throw new CannotGetPublicKeyFromCertificateException(); - } - - // Verify the signature of the message - $stringToSign = $message->getStringToSign(); - $incomingSignature = base64_decode($message->get('Signature')); - if (!openssl_verify($stringToSign, $incomingSignature, $publicKey, OPENSSL_ALGO_SHA1)) { - throw new InvalidMessageSignatureException(); - } - } - - /** - * Determines if a message is valid and that is was delivered by AWS. This method does not throw exceptions and - * returns a simple boolean value. - * - * @param Message $message The message to validate - * - * @return bool - */ - public function isValid(Message $message) - { - try { - $this->validate($message); - return true; - } catch (SnsMessageValidatorException $e) { - return false; - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/Resources/sns-2010-03-31.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/Resources/sns-2010-03-31.php deleted file mode 100644 index 3bba454..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/Resources/sns-2010-03-31.php +++ /dev/null @@ -1,1102 +0,0 @@ - '2010-03-31', - 'endpointPrefix' => 'sns', - 'serviceFullName' => 'Amazon Simple Notification Service', - 'serviceAbbreviation' => 'Amazon SNS', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v2', - 'namespace' => 'Sns', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sns.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AddPermission' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The AddPermission action adds a statement to a topic\'s access control policy, granting access for the specified AWS accounts to the specified actions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddPermission', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic whose access control policy you wish to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Label' => array( - 'required' => true, - 'description' => 'A unique identifier for the new policy statement.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AWSAccountId' => array( - 'required' => true, - 'description' => 'The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AWSAccountId.member', - 'items' => array( - 'name' => 'delegate', - 'type' => 'string', - ), - ), - 'ActionName' => array( - 'required' => true, - 'description' => 'The action you want to allow for the specified principal(s).', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ActionName.member', - 'items' => array( - 'name' => 'action', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - ), - ), - 'ConfirmSubscription' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ConfirmSubscriptionResponse', - 'responseType' => 'model', - 'summary' => 'The ConfirmSubscription action verifies an endpoint owner\'s intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true".', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ConfirmSubscription', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic for which you wish to confirm a subscription.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Token' => array( - 'required' => true, - 'description' => 'Short-lived token sent to an endpoint during the Subscribe action.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AuthenticateOnUnsubscribe' => array( - 'description' => 'Indicates that you want to disallow unauthenticated unsubscribes of the subscription. If value of this parameter is "true" and the request has an AWS signature then only the topic owner and the subscription owner will be permitted to unsubscribe the endpoint. The unsubscribe action will require AWS authentication.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that the customer already owns the maximum allowed number of subscriptions.', - 'class' => 'SubscriptionLimitExceededException', - ), - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'CreateTopic' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateTopicResponse', - 'responseType' => 'model', - 'summary' => 'The CreateTopic action creates a topic to which notifications can be published. Users can create at most 25 topics. This action is idempotent, so if the requester already owns a topic with the specified name, that topic\'s ARN will be returned without creating a new topic.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateTopic', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The name of the topic you want to create.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates that the customer already owns the maximum allowed number of topics.', - 'class' => 'TopicLimitExceededException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'DeleteTopic' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DeleteTopic action deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist will not result in an error.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteTopic', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic you want to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - ), - ), - 'GetSubscriptionAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetSubscriptionAttributesResponse', - 'responseType' => 'model', - 'summary' => 'The GetSubscriptionAttribtues action returns all of the properties of a subscription.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetSubscriptionAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'SubscriptionArn' => array( - 'required' => true, - 'description' => 'The ARN of the subscription whose properties you want to get.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'GetTopicAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetTopicAttributesResponse', - 'responseType' => 'model', - 'summary' => 'The GetTopicAttribtues action returns all of the properties of a topic customers have created. Topic properties returned might differ based on the authorization of the user.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetTopicAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic whose properties you want to get.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'ListSubscriptions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListSubscriptionsResponse', - 'responseType' => 'model', - 'summary' => 'The ListSubscriptions action returns a list of the requester\'s subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptions call to get further results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListSubscriptions', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'NextToken' => array( - 'description' => 'Token returned by the previous ListSubscriptions request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'ListSubscriptionsByTopic' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListSubscriptionsByTopicResponse', - 'responseType' => 'model', - 'summary' => 'The ListSubscriptionsByTopic action returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListSubscriptionsByTopic', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic for which you wish to find subscriptions.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'description' => 'Token returned by the previous ListSubscriptionsByTopic request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'ListTopics' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListTopicsResponse', - 'responseType' => 'model', - 'summary' => 'The ListTopics action returns a list of the requester\'s topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListTopics', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'NextToken' => array( - 'description' => 'Token returned by the previous ListTopics request.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'Publish' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'PublishResponse', - 'responseType' => 'model', - 'summary' => 'The Publish action sends a message to all of a topic\'s subscribed endpoints. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic\'s subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol selected.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'Publish', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The topic you want to publish to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Message' => array( - 'required' => true, - 'description' => 'The message you want to send to the topic.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Subject' => array( - 'description' => 'Optional parameter to be used as the "Subject" line of when the message is delivered to e-mail endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MessageStructure' => array( - 'description' => 'Optional parameter. It will have one valid value: "json". If this option, Message is present and set to "json", the value of Message must: be a syntactically valid JSON object. It must contain at least a top level JSON key of "default" with a value that is a string. For any other top level key that matches one of our transport protocols (e.g. "http"), then the corresponding value (if it is a string) will be used for the message published for that protocol', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'RemovePermission' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The RemovePermission action removes a statement from a topic\'s access control policy.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RemovePermission', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic whose access control policy you wish to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Label' => array( - 'required' => true, - 'description' => 'The unique label of the statement you want to remove.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - ), - ), - 'SetSubscriptionAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The SetSubscriptionAttributes action allows a subscription owner to set an attribute of the topic to a new value.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetSubscriptionAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'SubscriptionArn' => array( - 'required' => true, - 'description' => 'The ARN of the subscription to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeName' => array( - 'required' => true, - 'description' => 'The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeValue' => array( - 'required' => true, - 'description' => 'The new value for the attribute.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'SetTopicAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The SetTopicAttributes action allows a topic owner to set an attribute of the topic to a new value.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetTopicAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of the topic to modify.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeName' => array( - 'required' => true, - 'description' => 'The name of the attribute you want to set. Only a subset of the topic\'s attributes are mutable.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeValue' => array( - 'required' => true, - 'description' => 'The new value for the attribute.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'Subscribe' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SubscribeResponse', - 'responseType' => 'model', - 'summary' => 'The Subscribe action prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the ConfirmSubscription action with the token from the confirmation message. Confirmation tokens are valid for three days.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'Subscribe', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'TopicArn' => array( - 'required' => true, - 'description' => 'The ARN of topic you want to subscribe to.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Protocol' => array( - 'required' => true, - 'description' => 'The protocol you want to use. Supported protocols include:', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Endpoint' => array( - 'required' => true, - 'description' => 'The endpoint that you want to receive notifications. Endpoints vary by protocol:', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that the customer already owns the maximum allowed number of subscriptions.', - 'class' => 'SubscriptionLimitExceededException', - ), - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - ), - ), - 'Unsubscribe' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The Unsubscribe action deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the its topic\'s owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'Unsubscribe', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2010-03-31', - ), - 'SubscriptionArn' => array( - 'required' => true, - 'description' => 'The ARN of the subscription to be deleted.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.', - 'class' => 'InvalidParameterException', - ), - array( - 'reason' => 'Indicates an internal service error.', - 'class' => 'InternalErrorException', - ), - array( - 'reason' => 'Indicates that the user has been denied access to the requested resource.', - 'class' => 'AuthorizationErrorException', - ), - array( - 'reason' => 'Indicates that the requested resource does not exist.', - 'class' => 'NotFoundException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'ConfirmSubscriptionResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SubscriptionArn' => array( - 'description' => 'The ARN of the created subscription.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'CreateTopicResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TopicArn' => array( - 'description' => 'The Amazon Resource Name (ARN) assigned to the created topic.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'GetSubscriptionAttributesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'A map of the subscription\'s attributes. Attributes in this map include the following:', - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'GetTopicAttributesResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'A map of the topic\'s attributes. Attributes in this map include the following:', - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlMap' => array( - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'entry', - 'key', - 'value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'entry', - 'type' => 'object', - 'sentAs' => 'entry', - 'additionalProperties' => true, - 'properties' => array( - 'key' => array( - 'type' => 'string', - ), - 'value' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ListSubscriptionsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Subscriptions' => array( - 'description' => 'A list of subscriptions.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Subscription', - 'description' => 'A wrapper type for the attributes of an SNS subscription.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SubscriptionArn' => array( - 'description' => 'The subscription\'s ARN.', - 'type' => 'string', - ), - 'Owner' => array( - 'description' => 'The subscription\'s owner.', - 'type' => 'string', - ), - 'Protocol' => array( - 'description' => 'The subscription\'s protocol.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'The subscription\'s endpoint (format depends on the protocol).', - 'type' => 'string', - ), - 'TopicArn' => array( - 'description' => 'The ARN of the subscription\'s topic.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListSubscriptionsByTopicResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Subscriptions' => array( - 'description' => 'A list of subscriptions.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Subscription', - 'description' => 'A wrapper type for the attributes of an SNS subscription.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'SubscriptionArn' => array( - 'description' => 'The subscription\'s ARN.', - 'type' => 'string', - ), - 'Owner' => array( - 'description' => 'The subscription\'s owner.', - 'type' => 'string', - ), - 'Protocol' => array( - 'description' => 'The subscription\'s protocol.', - 'type' => 'string', - ), - 'Endpoint' => array( - 'description' => 'The subscription\'s endpoint (format depends on the protocol).', - 'type' => 'string', - ), - 'TopicArn' => array( - 'description' => 'The ARN of the subscription\'s topic.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListTopicsResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Topics' => array( - 'description' => 'A list of topic ARNs.', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Topic', - 'description' => 'A wrapper type for the topic\'s Amazon Resource Name (ARN). To retrieve a topic\'s attributes, use GetTopicAttributes.', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'TopicArn' => array( - 'description' => 'The topic\'s ARN.', - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( - 'description' => 'Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'PublishResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MessageId' => array( - 'description' => 'Unique identifier assigned to the published message.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'SubscribeResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SubscriptionArn' => array( - 'description' => 'The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'ListSubscriptions' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'Subscriptions', - ), - 'ListSubscriptionsByTopic' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'Subscriptions', - ), - 'ListTopics' => array( - 'token_param' => 'NextToken', - 'token_key' => 'NextToken', - 'result_key' => 'Topics/*/TopicArn', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/SnsClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/SnsClient.php deleted file mode 100644 index c7765e8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sns/SnsClient.php +++ /dev/null @@ -1,95 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/sns-2010-03-31.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/Enum/MessageAttribute.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/Enum/MessageAttribute.php deleted file mode 100644 index dbf0b16..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/Enum/MessageAttribute.php +++ /dev/null @@ -1,31 +0,0 @@ - array('onCommandBeforeSend', -255)); - } - - /** - * Updates the request URL to use the Queue URL - * - * @param Event $event Event emitted - */ - public function onCommandBeforeSend(Event $event) - { - /** @var $command AbstractCommand */ - $command = $event['command']; - if ($command->hasKey('QueueUrl')) { - $request = $command->getRequest(); - $requestUrl = $request->getUrl(true); - $request->setUrl($requestUrl->combine($command->get('QueueUrl'))); - $request->getParams()->remove('QueueUrl'); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/Resources/sqs-2012-11-05.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/Resources/sqs-2012-11-05.php deleted file mode 100644 index d9f0254..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/Resources/sqs-2012-11-05.php +++ /dev/null @@ -1,1206 +0,0 @@ - '2012-11-05', - 'endpointPrefix' => 'sqs', - 'serviceFullName' => 'Amazon Simple Queue Service', - 'serviceAbbreviation' => 'Amazon SQS', - 'serviceType' => 'query', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'Sqs', - 'regions' => array( - 'us-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => true, - 'https' => true, - 'hostname' => 'sqs.us-gov-west-1.amazonaws.com', - ), - ), - 'operations' => array( - 'AddPermission' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The AddPermission action adds a permission to a queue for a specific principal. This allows for sharing access to the queue.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AddPermission', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Label' => array( - 'required' => true, - 'description' => 'The unique identification of the permission you\'re setting (e.g., AliceSendMessage). Constraints: Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AWSAccountIds' => array( - 'required' => true, - 'description' => 'The AWS account number of the principal who will be given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AWSAccountId', - 'items' => array( - 'name' => 'AWSAccountId', - 'type' => 'string', - ), - ), - 'Actions' => array( - 'required' => true, - 'description' => 'The action the client wants to allow for the specified principal.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ActionName', - 'items' => array( - 'name' => 'ActionName', - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The operation that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.', - 'class' => 'OverLimitException', - ), - ), - ), - 'ChangeMessageVisibility' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The ChangeMessageVisibility action changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value you can set the value to is 12 hours. This means you can\'t extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. (For more information visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.)', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ChangeMessageVisibility', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReceiptHandle' => array( - 'required' => true, - 'description' => 'The receipt handle associated with the message whose visibility timeout should be changed.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'VisibilityTimeout' => array( - 'required' => true, - 'description' => 'The new value (in seconds) for the message\'s visibility timeout.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The message referred to is not in flight.', - 'class' => 'MessageNotInflightException', - ), - array( - 'reason' => 'The receipt handle provided is not valid.', - 'class' => 'ReceiptHandleIsInvalidException', - ), - ), - ), - 'ChangeMessageVisibilityBatch' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ChangeMessageVisibilityBatchResult', - 'responseType' => 'model', - 'summary' => 'This is a batch version of ChangeMessageVisibility. It takes multiple receipt handles and performs the operation on each of the them. The result of the operation on each message is reported individually in the response.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ChangeMessageVisibilityBatch', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Entries' => array( - 'required' => true, - 'description' => 'A list of receipt handles of the messages for which the visibility timeout must be changed.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ChangeMessageVisibilityBatchRequestEntry', - 'items' => array( - 'name' => 'ChangeMessageVisibilityBatchRequestEntry', - 'description' => 'Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatchRequest.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'required' => true, - 'description' => 'An identifier for this particular receipt handle. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.', - 'type' => 'string', - ), - 'ReceiptHandle' => array( - 'required' => true, - 'description' => 'A receipt handle.', - 'type' => 'string', - ), - 'VisibilityTimeout' => array( - 'description' => 'The new value (in seconds) for the message\'s visibility timeout.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Batch request contains more number of entries than permissible.', - 'class' => 'TooManyEntriesInBatchRequestException', - ), - array( - 'reason' => 'Batch request does not contain an entry.', - 'class' => 'EmptyBatchRequestException', - ), - array( - 'reason' => 'Two or more batch entries have the same Id in the request.', - 'class' => 'BatchEntryIdsNotDistinctException', - ), - array( - 'reason' => 'The Id of a batch entry in a batch request does not abide by the specification.', - 'class' => 'InvalidBatchEntryIdException', - ), - ), - ), - 'CreateQueue' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CreateQueueResult', - 'responseType' => 'model', - 'summary' => 'The CreateQueue action creates a new queue, or returns the URL of an existing one. When you request CreateQueue, you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateQueue', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueName' => array( - 'required' => true, - 'description' => 'The name for the queue to be created.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attributes' => array( - 'description' => 'A map of attributes with their corresponding values.', - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'Attribute', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You must wait 60 seconds after deleting a queue before you can create another with the same name.', - 'class' => 'QueueDeletedRecentlyException', - ), - array( - 'reason' => 'A queue already exists with this name. SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.', - 'class' => 'QueueNameExistsException', - ), - ), - ), - 'DeleteMessage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The DeleteMessage action unconditionally removes the specified message from the specified queue. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteMessage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'ReceiptHandle' => array( - 'required' => true, - 'description' => 'The receipt handle associated with the message to delete.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The receipt handle is not valid for the current version.', - 'class' => 'InvalidIdFormatException', - ), - array( - 'reason' => 'The receipt handle provided is not valid.', - 'class' => 'ReceiptHandleIsInvalidException', - ), - ), - ), - 'DeleteMessageBatch' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DeleteMessageBatchResult', - 'responseType' => 'model', - 'summary' => 'This is a batch version of DeleteMessage. It takes multiple receipt handles and deletes each one of the messages. The result of the delete operation on each message is reported individually in the response.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteMessageBatch', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Entries' => array( - 'required' => true, - 'description' => 'A list of receipt handles for the messages to be deleted.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DeleteMessageBatchRequestEntry', - 'items' => array( - 'name' => 'DeleteMessageBatchRequestEntry', - 'description' => 'Encloses a receipt handle and an identifier for it.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'required' => true, - 'description' => 'An identifier for this particular receipt handle. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.', - 'type' => 'string', - ), - 'ReceiptHandle' => array( - 'required' => true, - 'description' => 'A receipt handle.', - 'type' => 'string', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Batch request contains more number of entries than permissible.', - 'class' => 'TooManyEntriesInBatchRequestException', - ), - array( - 'reason' => 'Batch request does not contain an entry.', - 'class' => 'EmptyBatchRequestException', - ), - array( - 'reason' => 'Two or more batch entries have the same Id in the request.', - 'class' => 'BatchEntryIdsNotDistinctException', - ), - array( - 'reason' => 'The Id of a batch entry in a batch request does not abide by the specification.', - 'class' => 'InvalidBatchEntryIdException', - ), - ), - ), - 'DeleteQueue' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'This action unconditionally deletes the queue specified by the queue URL. Use this operation WITH CARE! The queue is deleted even if it is NOT empty.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'DeleteQueue', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'GetQueueAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetQueueAttributesResult', - 'responseType' => 'model', - 'summary' => 'Gets attributes for the specified queue. The following attributes are supported: All - returns all values. ApproximateNumberOfMessages - returns the approximate number of visible messages in a queue. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide. ApproximateNumberOfMessagesNotVisible - returns the approximate number of messages that are not timed-out and not deleted. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide. VisibilityTimeout - returns the visibility timeout for the queue. For more information about visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide. CreatedTimestamp - returns the time when the queue was created (epoch time in seconds). LastModifiedTimestamp - returns the time when the queue was last changed (epoch time in seconds). Policy - returns the queue\'s policy. MaximumMessageSize - returns the limit of how many bytes a message can contain before Amazon SQS rejects it. MessageRetentionPeriod - returns the number of seconds Amazon SQS retains a message. QueueArn - returns the queue\'s Amazon resource name (ARN). ApproximateNumberOfMessagesDelayed - returns the approximate number of messages that are pending to be added to the queue. DelaySeconds - returns the default delay on the queue in seconds. ReceiveMessageWaitTimeSeconds - returns the time for which a ReceiveMessage call will wait for a message to arrive.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetQueueAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeNames' => array( - 'description' => 'A list of attributes to retrieve information for.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AttributeName', - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - 'enum' => array( - 'All', - 'Policy', - 'VisibilityTimeout', - 'MaximumMessageSize', - 'MessageRetentionPeriod', - 'ApproximateNumberOfMessages', - 'ApproximateNumberOfMessagesNotVisible', - 'CreatedTimestamp', - 'LastModifiedTimestamp', - 'QueueArn', - 'ApproximateNumberOfMessagesDelayed', - 'DelaySeconds', - 'ReceiveMessageWaitTimeSeconds', - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The attribute referred to does not exist.', - 'class' => 'InvalidAttributeNameException', - ), - ), - ), - 'GetQueueUrl' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetQueueUrlResult', - 'responseType' => 'model', - 'summary' => 'The GetQueueUrl action returns the URL of an existing queue.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetQueueUrl', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueName' => array( - 'required' => true, - 'description' => 'The name of the queue whose URL must be fetched.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'QueueOwnerAWSAccountId' => array( - 'description' => 'The AWS account number of the queue\'s owner.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The queue referred to does not exist.', - 'class' => 'QueueDoesNotExistException', - ), - ), - ), - 'ListQueues' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ListQueuesResult', - 'responseType' => 'model', - 'summary' => 'Returns a list of your queues.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ListQueues', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueNamePrefix' => array( - 'description' => 'A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'ReceiveMessage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReceiveMessageResult', - 'responseType' => 'model', - 'summary' => 'Retrieves one or more messages from the specified queue, including the message body and message ID of each message. Messages returned by this action stay in the queue until you delete them. However, once a message is returned to a ReceiveMessage request, it is not returned on subsequent ReceiveMessage requests for the duration of the VisibilityTimeout. If you do not specify a VisibilityTimeout in the request, the overall visibility timeout for the queue is used for the returned messages.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'ReceiveMessage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'curl.options' => array( - 'static' => true, - 'default' => array( - 'CURLOPT_TIMEOUT' => 30, - ), - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'AttributeNames' => array( - 'description' => 'A list of attributes that need to be returned along with each message. The set of valid attributes are [SenderId, ApproximateFirstReceiveTimestamp, ApproximateReceiveCount, SentTimestamp].', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AttributeName', - 'items' => array( - 'name' => 'AttributeName', - 'type' => 'string', - ), - ), - 'MaxNumberOfMessages' => array( - 'description' => 'The maximum number of messages to return. Amazon SQS never returns more messages than this value but may return fewer.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'VisibilityTimeout' => array( - 'description' => 'The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'WaitTimeSeconds' => array( - 'description' => 'The duration (in seconds) for which the call will wait for a message to arrive in the queue before returning. If a message is available, the call will return sooner than WaitTimeSeconds.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The operation that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.', - 'class' => 'OverLimitException', - ), - ), - ), - 'RemovePermission' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'The RemovePermission action revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'RemovePermission', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Label' => array( - 'required' => true, - 'description' => 'The identification of the permission to remove. This is the label added with the AddPermission operation.', - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - ), - 'SendMessage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SendMessageResult', - 'responseType' => 'model', - 'summary' => 'The SendMessage action delivers a message to the specified queue.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SendMessage', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'MessageBody' => array( - 'required' => true, - 'description' => 'The message to send.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DelaySeconds' => array( - 'description' => 'The number of seconds the message has to be delayed.', - 'type' => 'numeric', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The message contains characters outside the allowed set.', - 'class' => 'InvalidMessageContentsException', - ), - ), - ), - 'SendMessageBatch' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'SendMessageBatchResult', - 'responseType' => 'model', - 'summary' => 'This is a batch version of SendMessage. It takes multiple messages and adds each of them to the queue. The result of each add operation is reported individually in the response.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SendMessageBatch', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Entries' => array( - 'required' => true, - 'description' => 'A list of SendMessageBatchRequestEntrys.', - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'SendMessageBatchRequestEntry', - 'items' => array( - 'name' => 'SendMessageBatchRequestEntry', - 'description' => 'Contains the details of a single SQS message along with a Id.', - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'required' => true, - 'description' => 'An identifier for the message in this batch. This is used to communicate the result. Note that the the Ids of a batch request need to be unique within the request.', - 'type' => 'string', - ), - 'MessageBody' => array( - 'required' => true, - 'description' => 'Body of the message.', - 'type' => 'string', - ), - 'DelaySeconds' => array( - 'description' => 'The number of seconds for which the message has to be delayed.', - 'type' => 'numeric', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'Batch request contains more number of entries than permissible.', - 'class' => 'TooManyEntriesInBatchRequestException', - ), - array( - 'reason' => 'Batch request does not contain an entry.', - 'class' => 'EmptyBatchRequestException', - ), - array( - 'reason' => 'Two or more batch entries have the same Id in the request.', - 'class' => 'BatchEntryIdsNotDistinctException', - ), - array( - 'reason' => 'The length of all the messages put together is more than the limit.', - 'class' => 'BatchRequestTooLongException', - ), - array( - 'reason' => 'The Id of a batch entry in a batch request does not abide by the specification.', - 'class' => 'InvalidBatchEntryIdException', - ), - ), - ), - 'SetQueueAttributes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'summary' => 'Sets the value of one or more queue attributes. Valid attributes that can be set are [VisibilityTimeout, Policy, MaximumMessageSize, MessageRetentionPeriod, ReceiveMessageWaitTimeSeconds].', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'SetQueueAttributes', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2012-11-05', - ), - 'QueueUrl' => array( - 'required' => true, - 'description' => 'The URL of the SQS queue to take action on.', - 'type' => 'string', - 'location' => 'aws.query', - ), - 'Attributes' => array( - 'required' => true, - 'description' => 'A map of attributes to set.', - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'Attribute', - 'additionalProperties' => array( - 'type' => 'string', - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The attribute referred to does not exist.', - 'class' => 'InvalidAttributeNameException', - ), - ), - ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'ChangeMessageVisibilityBatchResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Successful' => array( - 'description' => 'A list of ChangeMessageVisibilityBatchResultEntrys.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'ChangeMessageVisibilityBatchResultEntry', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'ChangeMessageVisibilityBatchResultEntry', - 'description' => 'Encloses the id of an entry in ChangeMessageVisibilityBatchRequest.', - 'type' => 'object', - 'sentAs' => 'ChangeMessageVisibilityBatchResultEntry', - 'properties' => array( - 'Id' => array( - 'description' => 'Represents a message whose visibility timeout has been changed successfully.', - 'type' => 'string', - ), - ), - ), - ), - 'Failed' => array( - 'description' => 'A list of BatchResultErrorEntrys.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'BatchResultErrorEntry', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'BatchResultErrorEntry', - 'description' => 'This is used in the responses of batch API to give a detailed description of the result of an operation on each entry in the request.', - 'type' => 'object', - 'sentAs' => 'BatchResultErrorEntry', - 'properties' => array( - 'Id' => array( - 'description' => 'The id of an entry in a batch request.', - 'type' => 'string', - ), - 'SenderFault' => array( - 'description' => 'Whether the error happened due to the sender\'s fault.', - 'type' => 'boolean', - ), - 'Code' => array( - 'description' => 'An error code representing why the operation failed on this entry.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'A message explaining why the operation failed on this entry.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'CreateQueueResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'QueueUrl' => array( - 'description' => 'The URL for the created SQS queue.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DeleteMessageBatchResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Successful' => array( - 'description' => 'A list of DeleteMessageBatchResultEntrys.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'DeleteMessageBatchResultEntry', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'DeleteMessageBatchResultEntry', - 'description' => 'Encloses the id an entry in DeleteMessageBatchRequest.', - 'type' => 'object', - 'sentAs' => 'DeleteMessageBatchResultEntry', - 'properties' => array( - 'Id' => array( - 'description' => 'Represents a successfully deleted message.', - 'type' => 'string', - ), - ), - ), - ), - 'Failed' => array( - 'description' => 'A list of BatchResultErrorEntrys.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'BatchResultErrorEntry', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'BatchResultErrorEntry', - 'description' => 'This is used in the responses of batch API to give a detailed description of the result of an operation on each entry in the request.', - 'type' => 'object', - 'sentAs' => 'BatchResultErrorEntry', - 'properties' => array( - 'Id' => array( - 'description' => 'The id of an entry in a batch request.', - 'type' => 'string', - ), - 'SenderFault' => array( - 'description' => 'Whether the error happened due to the sender\'s fault.', - 'type' => 'boolean', - ), - 'Code' => array( - 'description' => 'An error code representing why the operation failed on this entry.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'A message explaining why the operation failed on this entry.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'GetQueueAttributesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Attributes' => array( - 'description' => 'A map of attributes to the respective values.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Attribute', - 'data' => array( - 'xmlFlattened' => true, - 'xmlMap' => array( - 'Policy', - 'VisibilityTimeout', - 'MaximumMessageSize', - 'MessageRetentionPeriod', - 'ApproximateNumberOfMessages', - 'ApproximateNumberOfMessagesNotVisible', - 'CreatedTimestamp', - 'LastModifiedTimestamp', - 'QueueArn', - 'ApproximateNumberOfMessagesDelayed', - 'DelaySeconds', - 'ReceiveMessageWaitTimeSeconds', - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'Attribute', - 'Name', - 'Value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'sentAs' => 'Attribute', - 'additionalProperties' => true, - 'properties' => array( - 'Name' => array( - 'type' => 'string', - ), - 'Value' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'GetQueueUrlResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'QueueUrl' => array( - 'description' => 'The URL for the queue.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'ListQueuesResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'QueueUrls' => array( - 'description' => 'A list of queue URLs, up to 1000 entries.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'QueueUrl', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'QueueUrl', - 'type' => 'string', - 'sentAs' => 'QueueUrl', - ), - ), - ), - ), - 'ReceiveMessageResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Messages' => array( - 'description' => 'A list of messages.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Message', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Message', - 'type' => 'object', - 'sentAs' => 'Message', - 'properties' => array( - 'MessageId' => array( - 'type' => 'string', - ), - 'ReceiptHandle' => array( - 'type' => 'string', - ), - 'MD5OfBody' => array( - 'type' => 'string', - ), - 'Body' => array( - 'type' => 'string', - ), - 'Attributes' => array( - 'type' => 'array', - 'sentAs' => 'Attribute', - 'data' => array( - 'xmlFlattened' => true, - 'xmlMap' => array( - 'Policy', - 'VisibilityTimeout', - 'MaximumMessageSize', - 'MessageRetentionPeriod', - 'ApproximateNumberOfMessages', - 'ApproximateNumberOfMessagesNotVisible', - 'CreatedTimestamp', - 'LastModifiedTimestamp', - 'QueueArn', - 'ApproximateNumberOfMessagesDelayed', - 'DelaySeconds', - 'ReceiveMessageWaitTimeSeconds', - ), - ), - 'filters' => array( - array( - 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', - 'args' => array( - '@value', - 'Attribute', - 'Name', - 'Value', - ), - ), - ), - 'additionalProperties' => false, - 'items' => array( - 'name' => 'Attribute', - 'type' => 'object', - 'sentAs' => 'Attribute', - 'additionalProperties' => true, - 'properties' => array( - 'Name' => array( - 'type' => 'string', - ), - 'Value' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'SendMessageResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'MD5OfMessageBody' => array( - 'description' => 'An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.', - 'type' => 'string', - 'location' => 'xml', - ), - 'MessageId' => array( - 'description' => 'The message ID of the message added to the queue.', - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'SendMessageBatchResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Successful' => array( - 'description' => 'A list of SendMessageBatchResultEntrys.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'SendMessageBatchResultEntry', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'SendMessageBatchResultEntry', - 'description' => 'Encloses a message ID for successfully enqueued message of a SendMessageBatchRequest.', - 'type' => 'object', - 'sentAs' => 'SendMessageBatchResultEntry', - 'properties' => array( - 'Id' => array( - 'description' => 'An identifier for the message in this batch.', - 'type' => 'string', - ), - 'MessageId' => array( - 'description' => 'An identifier for the message.', - 'type' => 'string', - ), - 'MD5OfMessageBody' => array( - 'description' => 'An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.', - 'type' => 'string', - ), - ), - ), - ), - 'Failed' => array( - 'description' => 'A list of BatchResultErrorEntrys with the error detail about each message that could not be enqueued.', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'BatchResultErrorEntry', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'BatchResultErrorEntry', - 'description' => 'This is used in the responses of batch API to give a detailed description of the result of an operation on each entry in the request.', - 'type' => 'object', - 'sentAs' => 'BatchResultErrorEntry', - 'properties' => array( - 'Id' => array( - 'description' => 'The id of an entry in a batch request.', - 'type' => 'string', - ), - 'SenderFault' => array( - 'description' => 'Whether the error happened due to the sender\'s fault.', - 'type' => 'boolean', - ), - 'Code' => array( - 'description' => 'An error code representing why the operation failed on this entry.', - 'type' => 'string', - ), - 'Message' => array( - 'description' => 'A message explaining why the operation failed on this entry.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'ListQueues' => array( - 'result_key' => 'QueueUrls', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/SqsClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/SqsClient.php deleted file mode 100644 index 803f8c3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sqs/SqsClient.php +++ /dev/null @@ -1,117 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/sqs-2012-11-05.php' - )) - ->build(); - - $client->addSubscriber(new QueueUrlListener()); - - return $client; - } - - /** - * Converts a queue URL into a queue ARN. - * - * @param string $queueUrl The queue URL to perform the action on. Retrieved when the queue is first created. - * - * @return string An ARN representation of the queue URL. - */ - public function getQueueArn($queueUrl) - { - return strtr($queueUrl, array( - 'http://' => 'arn:aws:', - 'https://' => 'arn:aws:', - '.amazonaws.com' => '', - '/' => ':', - '.' => ':', - )); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/StorageGateway/Enum/BandwidthType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/StorageGateway/Enum/BandwidthType.php deleted file mode 100644 index 485bfda..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/StorageGateway/Enum/BandwidthType.php +++ /dev/null @@ -1,29 +0,0 @@ - '2012-06-30', - 'endpointPrefix' => 'storagegateway', - 'serviceFullName' => 'AWS Storage Gateway', - 'serviceType' => 'json', - 'jsonVersion' => '1.1', - 'targetPrefix' => 'StorageGateway_20120630.', - 'signatureVersion' => 'v4', - 'namespace' => 'StorageGateway', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'storagegateway.sa-east-1.amazonaws.com', - ), - ), - 'operations' => array( - 'ActivateGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ActivateGatewayOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation activates the gateway you previously deployed on your VMware host. For more information, see Downloading and Deploying AWS Storage Gateway VM. In the activation process you specify information such as the region you want to use for storing snapshots, the time zone for scheduled snapshots and the gateway schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account (see UpdateGatewayInformation).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.ActivateGateway', - ), - 'ActivationKey' => array( - 'required' => true, - 'description' => 'Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter activationKey. It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the ActivateGateway API call determine the actual configuration of your gateway.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 50, - ), - 'GatewayName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 2, - 'maxLength' => 255, - ), - 'GatewayTimezone' => array( - 'required' => true, - 'description' => 'One of the values that indicates the time zone you want to set for the gateway. The time zone is used, for example, for scheduling snapshots and your gateway\'s maintenance schedule.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'GMT-12:00', - 'GMT-11:00', - 'GMT-10:00', - 'GMT-9:00', - 'GMT-8:00', - 'GMT-7:00', - 'GMT-6:00', - 'GMT-5:00', - 'GMT-4:00', - 'GMT-3:30', - 'GMT-3:00', - 'GMT-2:00', - 'GMT-1:00', - 'GMT', - 'GMT+1:00', - 'GMT+2:00', - 'GMT+3:00', - 'GMT+3:30', - 'GMT+4:00', - 'GMT+4:30', - 'GMT+5:00', - 'GMT+5:30', - 'GMT+5:45', - 'GMT+6:00', - 'GMT+7:00', - 'GMT+8:00', - 'GMT+9:00', - 'GMT+9:30', - 'GMT+10:00', - 'GMT+11:00', - 'GMT+12:00', - ), - ), - 'GatewayRegion' => array( - 'required' => true, - 'description' => 'One of the values that indicates the region where you want to store the snapshot backups. The gateway region specified must be the same region as the region in your Host header in the request. For more information about available regions and endpoints for AWS Storage Gateway, see Regions and Endpoints in the Amazon Web Services Glossary.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 25, - ), - 'GatewayType' => array( - 'description' => 'One of the values that defines the type of gateway to activate. The type specified is critical to all later functions of the gateway and cannot be changed after activation. The default value is STORED.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'STORED', - 'CACHED', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'AddCache' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'AddCacheOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation configures one or more gateway local disks as cache for a cached-volume gateway. This operation is supported only for the gateway-cached volume architecture (see Storage Gateway Concepts).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.AddCache', - ), - 'GatewayARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'DiskIds' => array( - 'required' => true, - 'description' => 'An array of strings that identify disks that are to be configured as cache. Each string in the array must be minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DiskId', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 300, - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'AddUploadBuffer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'AddUploadBufferOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for both the gateway-stored and gateway-cached volume architectures.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.AddUploadBuffer', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'DiskIds' => array( - 'required' => true, - 'description' => 'An array of strings that identify disks that are to be configured as upload buffer. Each string in the array must be minimum length of 1 and maximum length of 300. You can get disk IDs from the ListLocalDisks API.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DiskId', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 300, - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'AddWorkingStorage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'AddWorkingStorageOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation configures one or more gateway local disks as working storage for a gateway. This operation is supported only for the gateway-stored volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.AddWorkingStorage', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'DiskIds' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DiskId', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 300, - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'CreateCachediSCSIVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateCachediSCSIVolumeOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation creates a cached volume on a specified cached gateway. This operation is supported only for the gateway-cached volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.CreateCachediSCSIVolume', - ), - 'GatewayARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'VolumeSizeInBytes' => array( - 'required' => true, - 'description' => 'The size of the cached volume.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'SnapshotId' => array( - 'description' => 'The snapshot ID (e.g., "snap-1122aabb") of the snapshot to restore as the new stored volume. Specify this field if you want to create the iSCSI cached volume from a snapshot; otherwise, do not include this field. To list snapshots for your account, use DescribeSnapshots in Amazon Elastic Compute Cloud API Reference.', - 'type' => 'string', - 'location' => 'json', - ), - 'TargetName' => array( - 'required' => true, - 'description' => 'The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For example, specifying TargetName as myvolume results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 200, - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'description' => 'The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use the DescribeGatewayInformation operation to get a list of the network interfaces available on the gateway.', - 'type' => 'string', - 'location' => 'json', - ), - 'ClientToken' => array( - 'required' => true, - 'description' => 'A unique identifying string for the cached volume.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 5, - 'maxLength' => 100, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'CreateSnapshot' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateSnapshotOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation initiates a snapshot of a volume.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.CreateSnapshot', - ), - 'VolumeARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'SnapshotDescription' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'CreateSnapshotFromVolumeRecoveryPoint' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateSnapshotFromVolumeRecoveryPointOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation initiates a snapshot of a gateway from a volume recovery point. This operation is supported only for the gateway-cached volume architecture (see StorageGatewayConcepts).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.CreateSnapshotFromVolumeRecoveryPoint', - ), - 'VolumeARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'SnapshotDescription' => array( - 'required' => true, - 'description' => 'A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'CreateStorediSCSIVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'CreateStorediSCSIVolumeOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation creates a volume on a specified gateway. This operation is supported only for the gateway-cached volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.CreateStorediSCSIVolume', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'DiskId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 300, - ), - 'SnapshotId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'PreserveExistingData' => array( - 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'TargetName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 200, - ), - 'NetworkInterfaceId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteBandwidthRateLimit' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteBandwidthRateLimitOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DeleteBandwidthRateLimit', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'BandwidthType' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'UPLOAD', - 'DOWNLOAD', - 'ALL', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteChapCredentials' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteChapCredentialsOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DeleteChapCredentials', - ), - 'TargetARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 800, - ), - 'InitiatorName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteGatewayOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DeleteGateway', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteSnapshotSchedule' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteSnapshotScheduleOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation deletes a snapshot of a volume.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DeleteSnapshotSchedule', - ), - 'VolumeARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DeleteVolume' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DeleteVolumeOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation delete the specified gateway volume that you previously created using the CreateStorediSCSIVolume API. For gateway-stored volumes, the local disk that was configured as the storage volume is not deleted. You can reuse the local disk to create another storage volume.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DeleteVolume', - ), - 'VolumeARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeBandwidthRateLimit' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeBandwidthRateLimitOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeBandwidthRateLimit', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeCache' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeCacheOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns information about the cache of a gateway. This operation is supported only for the gateway-cached volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeCache', - ), - 'GatewayARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeCachediSCSIVolumes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeCachediSCSIVolumesOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns a description of the gateway volumes specified in the request. This operation is supported only for the gateway-cached volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeCachediSCSIVolumes', - ), - 'VolumeARNs' => array( - 'required' => true, - 'description' => 'An array of strings, where each string represents the Amazon Resource Name (ARN) of a cached volume. All of the specified cached volumes must be from the same gateway. Use ListVolumes to get volume ARNs of a gateway.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VolumeARN', - 'type' => 'string', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeChapCredentials' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeChapCredentialsOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeChapCredentials', - ), - 'TargetARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 800, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeGatewayInformation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeGatewayInformationOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not). To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeGatewayInformation', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeMaintenanceStartTime' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeMaintenanceStartTimeOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns your gateway\'s weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway\'s time zone.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeMaintenanceStartTime', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeSnapshotSchedule' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeSnapshotScheduleOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeSnapshotSchedule', - ), - 'VolumeARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeStorediSCSIVolumes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeStorediSCSIVolumesOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume ARNs.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeStorediSCSIVolumes', - ), - 'VolumeARNs' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VolumeARN', - 'type' => 'string', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeUploadBuffer' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeUploadBufferOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns information about the upload buffer of a gateway. This operation is supported for both the gateway-stored and gateway-cached volume architectures.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeUploadBuffer', - ), - 'GatewayARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'DescribeWorkingStorage' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DescribeWorkingStorageOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns information about the working storage of a gateway. This operation is supported only for the gateway-stored volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.DescribeWorkingStorage', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ListGateways' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListGatewaysOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation lists gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.ListGateways', - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1000, - ), - 'Limit' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ListLocalDisks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListLocalDisksOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation returns a list of the local disks of a gateway. To specify which gateway to describe you use the Amazon Resource Name (ARN) of the gateway in the body of the request.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.ListLocalDisks', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ListVolumeRecoveryPoints' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListVolumeRecoveryPointsOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation lists the recovery points for a specified gateway. This operation is supported only for the gateway-cached volume architecture.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.ListVolumeRecoveryPoints', - ), - 'GatewayARN' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ListVolumes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListVolumesOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the DescribeStorediSCSIVolumes API.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.ListVolumes', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1000, - ), - 'Limit' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'ShutdownGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ShutdownGatewayOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource Name (ARN) of the gateway in the body of your request.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.ShutdownGateway', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'StartGateway' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'StartGatewayOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation starts a gateway that you previously shut down (see ShutdownGateway). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway\'s storage volumes and you will be able to take snapshot backups.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.StartGateway', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateBandwidthRateLimit' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateBandwidthRateLimitOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don\'t set a bandwidth rate limit, the existing rate limit remains.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.UpdateBandwidthRateLimit', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'AverageUploadRateLimitInBitsPerSec' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 51200, - ), - 'AverageDownloadRateLimitInBitsPerSec' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 102400, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateChapCredentials' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateChapCredentialsOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.UpdateChapCredentials', - ), - 'TargetARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 800, - ), - 'SecretToAuthenticateInitiator' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 12, - 'maxLength' => 16, - ), - 'InitiatorName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'SecretToAuthenticateTarget' => array( - 'type' => 'string', - 'location' => 'json', - 'minLength' => 12, - 'maxLength' => 16, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateGatewayInformation' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateGatewayInformationOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation updates a gateway\'s metadata, which includes the gateway\'s name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.UpdateGatewayInformation', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'GatewayName' => array( - 'type' => 'string', - 'location' => 'json', - 'minLength' => 2, - 'maxLength' => 255, - ), - 'GatewayTimezone' => array( - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'GMT-12:00', - 'GMT-11:00', - 'GMT-10:00', - 'GMT-9:00', - 'GMT-8:00', - 'GMT-7:00', - 'GMT-6:00', - 'GMT-5:00', - 'GMT-4:00', - 'GMT-3:30', - 'GMT-3:00', - 'GMT-2:00', - 'GMT-1:00', - 'GMT', - 'GMT+1:00', - 'GMT+2:00', - 'GMT+3:00', - 'GMT+3:30', - 'GMT+4:00', - 'GMT+4:30', - 'GMT+5:00', - 'GMT+5:30', - 'GMT+5:45', - 'GMT+6:00', - 'GMT+7:00', - 'GMT+8:00', - 'GMT+9:00', - 'GMT+9:30', - 'GMT+10:00', - 'GMT+11:00', - 'GMT+12:00', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateGatewaySoftwareNow' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateGatewaySoftwareNowOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation updates the gateway virtual machine (VM) software. The request immediately triggers the software update.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.UpdateGatewaySoftwareNow', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateMaintenanceStartTime' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateMaintenanceStartTimeOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation updates a gateway\'s weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway\'s time zone.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.UpdateMaintenanceStartTime', - ), - 'GatewayARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'HourOfDay' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 23, - ), - 'MinuteOfHour' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 59, - ), - 'DayOfWeek' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 6, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - 'UpdateSnapshotSchedule' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateSnapshotScheduleOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'This operation updates a snapshot schedule configured for a gateway volume.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.1', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'StorageGateway_20120630.UpdateSnapshotSchedule', - ), - 'VolumeARN' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 50, - 'maxLength' => 500, - ), - 'StartAt' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 23, - ), - 'RecurrenceInHours' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - 'maximum' => 24, - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'InvalidGatewayRequestException', - ), - array( - 'class' => 'InternalServerErrorException', - ), - ), - ), - ), - 'models' => array( - 'ActivateGatewayOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'AddCacheOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'AddUploadBufferOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'AddWorkingStorageOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateCachediSCSIVolumeOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'description' => 'The ARN of the configured volume.', - 'type' => 'string', - 'location' => 'json', - ), - 'TargetARN' => array( - 'description' => 'The ARN of the volume target that includes the iSCSI name that initiators can use to connect to the target.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateSnapshotOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'SnapshotId' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateSnapshotFromVolumeRecoveryPointOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'SnapshotId' => array( - 'description' => 'The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).', - 'type' => 'string', - 'location' => 'json', - ), - 'VolumeARN' => array( - 'description' => 'The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.', - 'type' => 'string', - 'location' => 'json', - ), - 'VolumeRecoveryPointTime' => array( - 'description' => 'The time of the recovery point. Data up to this recovery point are included in the snapshot.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'CreateStorediSCSIVolumeOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'VolumeSizeInBytes' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'TargetARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DeleteBandwidthRateLimitOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DeleteChapCredentialsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TargetARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'InitiatorName' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DeleteGatewayOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DeleteSnapshotScheduleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DeleteVolumeOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DescribeBandwidthRateLimitOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'AverageUploadRateLimitInBitsPerSec' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'AverageDownloadRateLimitInBitsPerSec' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'DescribeCacheOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'description' => 'In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don\'t remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - ), - 'DiskIds' => array( - 'description' => 'An array of the gateway\'s local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the DiskIds array is empty.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DiskId', - 'type' => 'string', - ), - ), - 'CacheAllocatedInBytes' => array( - 'description' => 'The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'CacheUsedPercentage' => array( - 'description' => 'The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'CacheDirtyPercentage' => array( - 'description' => 'The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'CacheHitPercentage' => array( - 'description' => 'The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'CacheMissPercentage' => array( - 'description' => 'TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'DescribeCachediSCSIVolumesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CachediSCSIVolumes' => array( - 'description' => 'An array of CachediSCSIVolume objects where each object contains metadata about one cached volume.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'CachediSCSIVolume', - 'description' => 'Describes a cached storage volume.', - 'type' => 'object', - 'properties' => array( - 'VolumeARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the storage volume.', - 'type' => 'string', - ), - 'VolumeId' => array( - 'description' => 'The unique identifier of the storage volume, e.g. vol-1122AABB.', - 'type' => 'string', - ), - 'VolumeType' => array( - 'description' => 'A value describing the type of volume.', - 'type' => 'string', - ), - 'VolumeStatus' => array( - 'description' => 'A value that indicates the state of the volume.', - 'type' => 'string', - ), - 'VolumeSizeInBytes' => array( - 'description' => 'The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.', - 'type' => 'numeric', - ), - 'VolumeProgress' => array( - 'description' => 'The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.', - 'type' => 'numeric', - ), - 'SourceSnapshotId' => array( - 'description' => 'If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.', - 'type' => 'string', - ), - 'VolumeiSCSIAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'TargetARN' => array( - 'type' => 'string', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - ), - 'NetworkInterfacePort' => array( - 'type' => 'numeric', - ), - 'LunNumber' => array( - 'type' => 'numeric', - ), - 'ChapEnabled' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeChapCredentialsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ChapCredentials' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ChapInfo', - 'type' => 'object', - 'properties' => array( - 'TargetARN' => array( - 'type' => 'string', - ), - 'SecretToAuthenticateInitiator' => array( - 'type' => 'string', - ), - 'InitiatorName' => array( - 'type' => 'string', - ), - 'SecretToAuthenticateTarget' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DescribeGatewayInformationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'GatewayId' => array( - 'description' => 'The gateway ID.', - 'type' => 'string', - 'location' => 'json', - ), - 'GatewayTimezone' => array( - 'description' => 'One of the GatewayTimezone values that indicates the time zone configured for the gateway.', - 'type' => 'string', - 'location' => 'json', - ), - 'GatewayState' => array( - 'description' => 'One of the GatewayState values that indicates the operating state of the gateway.', - 'type' => 'string', - 'location' => 'json', - ), - 'GatewayNetworkInterfaces' => array( - 'description' => 'A NetworkInterface array that contains descriptions of the gateway network interfaces.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'NetworkInterface', - 'type' => 'object', - 'properties' => array( - 'Ipv4Address' => array( - 'type' => 'string', - ), - 'MacAddress' => array( - 'type' => 'string', - ), - 'Ipv6Address' => array( - 'type' => 'string', - ), - ), - ), - ), - 'GatewayType' => array( - 'description' => 'TBD', - 'type' => 'string', - 'location' => 'json', - ), - 'NextUpdateAvailabilityDate' => array( - 'description' => 'The date at which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DescribeMaintenanceStartTimeOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'HourOfDay' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'MinuteOfHour' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'DayOfWeek' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'Timezone' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DescribeSnapshotScheduleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'StartAt' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'RecurrenceInHours' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'Timezone' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DescribeStorediSCSIVolumesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'StorediSCSIVolumes' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'StorediSCSIVolume', - 'type' => 'object', - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - ), - 'VolumeId' => array( - 'type' => 'string', - ), - 'VolumeType' => array( - 'type' => 'string', - ), - 'VolumeStatus' => array( - 'type' => 'string', - ), - 'VolumeSizeInBytes' => array( - 'type' => 'numeric', - ), - 'VolumeProgress' => array( - 'type' => 'numeric', - ), - 'VolumeDiskId' => array( - 'type' => 'string', - ), - 'SourceSnapshotId' => array( - 'type' => 'string', - ), - 'PreservedExistingData' => array( - 'type' => 'boolean', - ), - 'VolumeiSCSIAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'TargetARN' => array( - 'type' => 'string', - ), - 'NetworkInterfaceId' => array( - 'type' => 'string', - ), - 'NetworkInterfacePort' => array( - 'type' => 'numeric', - ), - 'LunNumber' => array( - 'type' => 'numeric', - ), - 'ChapEnabled' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ), - ), - ), - ), - 'DescribeUploadBufferOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'description' => 'In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don\'t remember the ARN of a gateway, you can use the ListGateways operations to return a list of gateways for your account and region.', - 'type' => 'string', - 'location' => 'json', - ), - 'DiskIds' => array( - 'description' => 'An array of the gateway\'s local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DiskId', - 'type' => 'string', - ), - ), - 'UploadBufferUsedInBytes' => array( - 'description' => 'The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - 'UploadBufferAllocatedInBytes' => array( - 'description' => 'The total upload buffer in bytes allocated for the gateway. If no upload buffer is configured for the gateway, this field returns 0.', - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'DescribeWorkingStorageOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'DiskIds' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DiskId', - 'type' => 'string', - ), - ), - 'WorkingStorageUsedInBytes' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'WorkingStorageAllocatedInBytes' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'ListGatewaysOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Gateways' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'GatewayInfo', - 'type' => 'object', - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ListLocalDisksOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'Disks' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Disk', - 'type' => 'object', - 'properties' => array( - 'DiskId' => array( - 'type' => 'string', - ), - 'DiskPath' => array( - 'type' => 'string', - ), - 'DiskNode' => array( - 'type' => 'string', - ), - 'DiskSizeInBytes' => array( - 'type' => 'numeric', - ), - 'DiskAllocationType' => array( - 'type' => 'string', - ), - 'DiskAllocationResource' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ListVolumeRecoveryPointsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the activated gateway whose local disk information is returned.', - 'type' => 'string', - 'location' => 'json', - ), - 'VolumeRecoveryPointInfos' => array( - 'description' => 'An array of VolumeRecoveryPointInfo objects, where each object describes a recovery point. If no recovery points are defined for the volume, then VolumeRecoveryPointInfos is an empty array "[]"', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VolumeRecoveryPointInfo', - 'description' => 'Lists information about the recovery points of a cached volume.', - 'type' => 'object', - 'properties' => array( - 'VolumeARN' => array( - 'description' => 'The Amazon Resource Name (ARN) of the volume associated with the recovery point.', - 'type' => 'string', - ), - 'VolumeSizeInBytes' => array( - 'description' => 'The size, in bytes, of the volume to which the recovery point is associated.', - 'type' => 'numeric', - ), - 'VolumeUsageInBytes' => array( - 'description' => 'The size, in bytes, of the volume in use at the time of the recovery point.', - 'type' => 'numeric', - ), - 'VolumeRecoveryPointTime' => array( - 'description' => 'The time of the recovery point. The format of the time is in the ISO8601 extended YYYY-MM-DD\'T\'HH:MM:SS\'Z\' format.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ListVolumesOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'VolumeInfos' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'VolumeInfo', - 'type' => 'object', - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - ), - 'VolumeType' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'ShutdownGatewayOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'StartGatewayOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UpdateBandwidthRateLimitOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UpdateChapCredentialsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TargetARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'InitiatorName' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UpdateGatewayInformationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UpdateGatewaySoftwareNowOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UpdateMaintenanceStartTimeOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'GatewayARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'UpdateSnapshotScheduleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'VolumeARN' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'DescribeCachediSCSIVolumes' => array( - 'result_key' => 'CachediSCSIVolumes', - ), - 'DescribeStorediSCSIVolumes' => array( - 'result_key' => 'StorediSCSIVolumes', - ), - 'ListGateways' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'Limit', - 'result_key' => 'Gateways', - ), - 'ListLocalDisks' => array( - 'result_key' => 'Disks', - ), - 'ListVolumeRecoveryPoints' => array( - 'result_key' => 'VolumeRecoveryPointInfos', - ), - 'ListVolumes' => array( - 'token_param' => 'Marker', - 'token_key' => 'Marker', - 'limit_key' => 'Limit', - 'result_key' => 'VolumeInfos', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/StorageGateway/StorageGatewayClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/StorageGateway/StorageGatewayClient.php deleted file mode 100644 index 18c494a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/StorageGateway/StorageGatewayClient.php +++ /dev/null @@ -1,118 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/storagegateway-2012-06-30.php' - )) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sts/Exception/IncompleteSignatureException.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sts/Exception/IncompleteSignatureException.php deleted file mode 100644 index 0830ef0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sts/Exception/IncompleteSignatureException.php +++ /dev/null @@ -1,22 +0,0 @@ - '2011-06-15', - 'endpointPrefix' => 'sts', - 'serviceFullName' => 'AWS Security Token Service', - 'serviceAbbreviation' => 'AWS STS', - 'serviceType' => 'query', - 'globalEndpoint' => 'sts.amazonaws.com', - 'resultWrapped' => true, - 'signatureVersion' => 'v4', - 'namespace' => 'Sts', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'sts.amazonaws.com', - ), - ), - 'operations' => array( - 'AssumeRole' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AssumeRoleResponse', - 'responseType' => 'model', - 'summary' => 'The AssumeRole action returns a set of temporary security credentials that you can use to access resources that are defined in the role\'s policy. The returned credentials consist of an Access Key ID, a Secret Access Key, and a security token.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AssumeRole', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-06-15', - ), - 'RoleArn' => array( - 'required' => true, - 'description' => 'The Amazon Resource Name (ARN) of the role that the caller is assuming.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 20, - 'maxLength' => 2048, - ), - 'RoleSessionName' => array( - 'required' => true, - 'description' => 'An identifier for the assumed role session. The session name is included as part of the AssumedRoleUser.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 2, - 'maxLength' => 32, - ), - 'Policy' => array( - 'description' => 'A supplemental policy that can be associated with the temporary security credentials. The caller can restrict the permissions that are available on the role\'s temporary security credentials to maintain the least amount of privileges. When a service call is made with the temporary security credentials, both the role\'s permission policy and supplemental policy are checked. For more information about how permissions work in the context of temporary credentials, see Controlling Permissions in Temporary Credentials.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 2048, - ), - 'DurationSeconds' => array( - 'description' => 'The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds (1 hour).', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 900, - 'maximum' => 3600, - ), - 'ExternalId' => array( - 'description' => 'A unique identifier that is generated by a third party for each of their customers. For each role that the third party can assume, they should instruct their customers to create a role with the external ID that was generated by the third party. Each time the third party assumes the role, they must pass the customer\'s correct external ID. The external ID is useful in order to help third parties bind a role to the customer who created it. For more information about the external ID, see About the External ID in Using Temporary Security Credentials.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 2, - 'maxLength' => 96, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - array( - 'reason' => 'The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.', - 'class' => 'PackedPolicyTooLargeException', - ), - ), - ), - 'GetFederationToken' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetFederationTokenResponse', - 'responseType' => 'model', - 'summary' => 'The GetFederationToken action returns a set of temporary credentials for a federated user with the user name and policy specified in the request. The credentials consist of an Access Key ID, a Secret Access Key, and a security token. Credentials created by IAM users are valid for the specified duration, between 15 minutes and 36 hours; credentials created using account credentials have a maximum duration of one hour.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetFederationToken', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-06-15', - ), - 'Name' => array( - 'required' => true, - 'description' => 'The name of the federated user associated with the credentials. For information about limitations on user names, go to Limitations on IAM Entities in Using IAM.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 2, - 'maxLength' => 32, - ), - 'Policy' => array( - 'description' => 'A policy specifying the permissions to associate with the credentials. The caller can delegate their own permissions by specifying a policy, and both policies will be checked when a service call is made. For more information about how permissions work in the context of temporary credentials, see Controlling Permissions in Temporary Credentials in Using IAM.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 2048, - ), - 'DurationSeconds' => array( - 'description' => 'The duration, in seconds, that the session should last. Acceptable durations for federation sessions range from 900s (15 minutes) to 129600s (36 hours), with 43200s (12 hours) as the default. Sessions for AWS account owners are restricted to a maximum of 3600s (one hour). If the duration is longer than one hour, the session for AWS account owners defaults to one hour.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 900, - 'maximum' => 129600, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', - 'class' => 'MalformedPolicyDocumentException', - ), - array( - 'reason' => 'The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.', - 'class' => 'PackedPolicyTooLargeException', - ), - ), - ), - 'GetSessionToken' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'GetSessionTokenResponse', - 'responseType' => 'model', - 'summary' => 'The GetSessionToken action returns a set of temporary credentials for an AWS account or IAM user. The credentials consist of an Access Key ID, a Secret Access Key, and a security token. These credentials are valid for the specified duration only. The session duration for IAM users can be between 15 minutes and 36 hours, with a default of 12 hours. The session duration for AWS account owners is restricted to a maximum of one hour. Providing the AWS Multi-Factor Authentication (MFA) device serial number and the token code is optional.', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'GetSessionToken', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-06-15', - ), - 'DurationSeconds' => array( - 'description' => 'The duration, in seconds, that the credentials should remain valid. Acceptable durations for IAM user sessions range from 900s (15 minutes) to 129600s (36 hours), with 43200s (12 hours) as the default. Sessions for AWS account owners are restricted to a maximum of 3600s (one hour). If the duration is longer than one hour, the session for AWS account owners defaults to one hour.', - 'type' => 'numeric', - 'location' => 'aws.query', - 'minimum' => 900, - 'maximum' => 129600, - ), - 'SerialNumber' => array( - 'description' => 'The identification number of the MFA device for the user. If the IAM user has a policy requiring MFA authentication (or is in a group requiring MFA authentication) to access resources, provide the device value here.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 9, - 'maxLength' => 256, - ), - 'TokenCode' => array( - 'description' => 'The value provided by the MFA device. If the user has an access policy requiring an MFA code (or is in a group requiring an MFA code), provide the value here to get permission to resources as specified in the access policy. If MFA authentication is required, and the user does not provide a code when requesting a set of temporary security credentials, the user will receive an "access denied" response when requesting resources that require MFA authentication. For more information, see Using Multi-Factor Authentication (MFA) Devices with AWS in Using IAM.', - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 6, - 'maxLength' => 6, - ), - ), - ), - ), - 'models' => array( - 'AssumeRoleResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Credentials' => array( - 'description' => 'The temporary security credentials, which includes an Access Key ID, a Secret Access Key, and a security token.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'AccessKeyId' => array( - 'description' => 'AccessKeyId ID that identifies the temporary credentials.', - 'type' => 'string', - ), - 'SecretAccessKey' => array( - 'description' => 'The Secret Access Key to sign requests.', - 'type' => 'string', - ), - 'SessionToken' => array( - 'description' => 'The security token that users must pass to the service API to use the temporary credentials.', - 'type' => 'string', - ), - 'Expiration' => array( - 'description' => 'The date on which these credentials expire.', - 'type' => 'string', - ), - ), - ), - 'AssumedRoleUser' => array( - 'description' => 'The Amazon Resource Name (ARN) and the assumed role ID for the temporary security credentials. The ARN and the role ID are identifiers for the temporary security credentials so that you can refer to the temporary credentials in a policy. For example, if you want to build a policy that applies to these temporary credentials, you would specify the AssumedRoleUser ARN or role ID in that policy.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'AssumedRoleId' => array( - 'description' => 'A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID was generated by AWS when the role was created.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.', - 'type' => 'string', - ), - ), - ), - 'PackedPolicySize' => array( - 'description' => 'A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.', - 'type' => 'numeric', - 'location' => 'xml', - ), - ), - ), - 'GetFederationTokenResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Credentials' => array( - 'description' => 'Credentials for the service API authentication.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'AccessKeyId' => array( - 'description' => 'AccessKeyId ID that identifies the temporary credentials.', - 'type' => 'string', - ), - 'SecretAccessKey' => array( - 'description' => 'The Secret Access Key to sign requests.', - 'type' => 'string', - ), - 'SessionToken' => array( - 'description' => 'The security token that users must pass to the service API to use the temporary credentials.', - 'type' => 'string', - ), - 'Expiration' => array( - 'description' => 'The date on which these credentials expire.', - 'type' => 'string', - ), - ), - ), - 'FederatedUser' => array( - 'description' => 'Identifiers for the federated user associated with the credentials. You can use the federated user\'s ARN in your resource policies.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'FederatedUserId' => array( - 'description' => 'The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user.', - 'type' => 'string', - ), - 'Arn' => array( - 'description' => 'The ARN specifying the federated user associated with the credentials. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.', - 'type' => 'string', - ), - ), - ), - 'PackedPolicySize' => array( - 'description' => 'A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.', - 'type' => 'numeric', - 'location' => 'xml', - ), - ), - ), - 'GetSessionTokenResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Credentials' => array( - 'description' => 'The session credentials for API authentication.', - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'AccessKeyId' => array( - 'description' => 'AccessKeyId ID that identifies the temporary credentials.', - 'type' => 'string', - ), - 'SecretAccessKey' => array( - 'description' => 'The Secret Access Key to sign requests.', - 'type' => 'string', - ), - 'SessionToken' => array( - 'description' => 'The security token that users must pass to the service API to use the temporary credentials.', - 'type' => 'string', - ), - 'Expiration' => array( - 'description' => 'The date on which these credentials expire.', - 'type' => 'string', - ), - ), - ), - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sts/StsClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sts/StsClient.php deleted file mode 100644 index 4dab9b5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Sts/StsClient.php +++ /dev/null @@ -1,96 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/sts-2011-06-15.php' - )) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Swf/Enum/ActivityTaskTimeoutType.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Swf/Enum/ActivityTaskTimeoutType.php deleted file mode 100644 index c3a591f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Swf/Enum/ActivityTaskTimeoutType.php +++ /dev/null @@ -1,30 +0,0 @@ - '2012-01-25', - 'endpointPrefix' => 'swf', - 'serviceFullName' => 'Amazon Simple Workflow Service', - 'serviceAbbreviation' => 'Amazon SWF', - 'serviceType' => 'json', - 'jsonVersion' => '1.0', - 'targetPrefix' => 'SimpleWorkflowService.', - 'timestampFormat' => 'unixTimestamp', - 'signatureVersion' => 'v3', - 'namespace' => 'Swf', - 'regions' => array( - 'us-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.us-east-1.amazonaws.com', - ), - 'us-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.us-west-1.amazonaws.com', - ), - 'us-west-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.us-west-2.amazonaws.com', - ), - 'eu-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.eu-west-1.amazonaws.com', - ), - 'ap-northeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.ap-northeast-1.amazonaws.com', - ), - 'ap-southeast-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.ap-southeast-1.amazonaws.com', - ), - 'ap-southeast-2' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.ap-southeast-2.amazonaws.com', - ), - 'sa-east-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.sa-east-1.amazonaws.com', - ), - 'us-gov-west-1' => array( - 'http' => false, - 'https' => true, - 'hostname' => 'swf.us-gov-west-1.amazonaws.com' - ) - ), - 'operations' => array( - 'CountClosedWorkflowExecutions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowExecutionCount', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.CountClosedWorkflowExecutions', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the workflow executions to count.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'startTimeFilter' => array( - 'description' => 'If specified, only workflow executions that meet the start time criteria of the filter are counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'oldestDate' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - 'latestDate' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - ), - ), - 'closeTimeFilter' => array( - 'description' => 'If specified, only workflow executions that meet the close time criteria of the filter are counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'oldestDate' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - 'latestDate' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - ), - ), - 'executionFilter' => array( - 'description' => 'If specified, only workflow executions matching the WorkflowId in the filter are counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'typeFilter' => array( - 'description' => 'If specified, indicates the type of the workflow executions to be counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'type' => 'string', - 'maxLength' => 64, - ), - ), - ), - 'tagFilter' => array( - 'description' => 'If specified, only executions that have a tag that matches the filter are counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'tag' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'closeStatusFilter' => array( - 'description' => 'If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus is specified as CLOSED.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'status' => array( - 'required' => true, - 'type' => 'string', - 'enum' => array( - 'COMPLETED', - 'FAILED', - 'CANCELED', - 'TERMINATED', - 'CONTINUED_AS_NEW', - 'TIMED_OUT', - ), - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'CountOpenWorkflowExecutions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowExecutionCount', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the number of open workflow executions within the given domain that meet the specified filtering criteria.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.CountOpenWorkflowExecutions', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the workflow executions to count.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'startTimeFilter' => array( - 'required' => true, - 'description' => 'Specifies the start time criteria that workflow executions must meet in order to be counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'oldestDate' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - 'latestDate' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - ), - ), - 'typeFilter' => array( - 'description' => 'Specifies the type of the workflow executions to be counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'type' => 'string', - 'maxLength' => 64, - ), - ), - ), - 'tagFilter' => array( - 'description' => 'If specified, only executions that have a tag that matches the filter are counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'tag' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'executionFilter' => array( - 'description' => 'If specified, only workflow executions matching the WorkflowId in the filter are counted.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'CountPendingActivityTasks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'PendingTaskCount', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 will be returned.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.CountPendingActivityTasks', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain that contains the task list.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'taskList' => array( - 'required' => true, - 'description' => 'The name of the task list.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'CountPendingDecisionTasks' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'PendingTaskCount', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the estimated number of decision tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no decision task was ever scheduled in then 0 will be returned.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.CountPendingDecisionTasks', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain that contains the task list.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'taskList' => array( - 'required' => true, - 'description' => 'The name of the task list.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DeprecateActivityType' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deprecates the specified activity type. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated will continue to run.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DeprecateActivityType', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which the activity type is registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'activityType' => array( - 'required' => true, - 'description' => 'The activity type to deprecate.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'TypeDeprecatedException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DeprecateDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deprecates the specified domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain. Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated will continue to run.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DeprecateDomain', - ), - 'name' => array( - 'required' => true, - 'description' => 'The name of the domain to deprecate.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'DomainDeprecatedException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DeprecateWorkflowType' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Deprecates the specified workflow type. After a workflow type has been deprecated, you cannot create new executions of that type. Executions that were started before the type was deprecated will continue to run. A deprecated workflow type may still be used when calling visibility actions.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DeprecateWorkflowType', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which the workflow type is registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowType' => array( - 'required' => true, - 'description' => 'The workflow type to deprecate.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'TypeDeprecatedException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DescribeActivityType' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ActivityTypeDetail', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns information about the specified activity type. This includes configuration settings provided at registration time as well as other general information about the type.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DescribeActivityType', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which the activity type is registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'activityType' => array( - 'required' => true, - 'description' => 'The activity type to describe.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DescribeDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DomainDetail', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns information about the specified domain including description and status.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DescribeDomain', - ), - 'name' => array( - 'required' => true, - 'description' => 'The name of the domain to describe.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DescribeWorkflowExecution' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowExecutionDetail', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns information about the specified workflow execution including its type and some statistics.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DescribeWorkflowExecution', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the workflow execution.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'execution' => array( - 'required' => true, - 'description' => 'The workflow execution to describe.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'DescribeWorkflowType' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowTypeDetail', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns information about the specified workflow type. This includes configuration settings specified when the type was registered and other information such as creation date, current status, etc.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.DescribeWorkflowType', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which this workflow type is registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowType' => array( - 'required' => true, - 'description' => 'The workflow type to describe.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'GetWorkflowExecutionHistory' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'History', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.GetWorkflowExecutionHistory', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the workflow execution.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'execution' => array( - 'required' => true, - 'description' => 'Specifies the workflow execution for which to return the history.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'nextPageToken' => array( - 'description' => 'If a NextPageToken is returned, the result has more than one pages. To get the next page, repeat the call and specify the nextPageToken with all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'maximumPageSize' => array( - 'description' => 'Specifies the maximum number of history events returned in one page. The next page in the result is identified by the NextPageToken returned. By default 100 history events are returned in a page but the caller can override this value to a page size smaller than the default. You cannot specify a page size larger than 100. Note that the number of events may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp of the events.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'ListActivityTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ActivityTypeInfos', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns information about all activities registered in the specified domain that match the specified name and registration status. The result includes information like creation date, current status of the activity, etc. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.ListActivityTypes', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which the activity types have been registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'name' => array( - 'description' => 'If specified, only lists the activity types that have this name.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'registrationStatus' => array( - 'required' => true, - 'description' => 'Specifies the registration status of the activity types to list.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'REGISTERED', - 'DEPRECATED', - ), - ), - 'nextPageToken' => array( - 'description' => 'If on a previous call to this method a NextResultToken was returned, the results have more than one page. To get the next page of results, repeat the call with the nextPageToken and keep all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'maximumPageSize' => array( - 'description' => 'The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100. Note that the number of types may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the activity types.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'OperationNotPermittedException', - ), - array( - 'class' => 'UnknownResourceException', - ), - ), - ), - 'ListClosedWorkflowExecutions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowExecutionInfos', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.ListClosedWorkflowExecutions', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain that contains the workflow executions to list.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'startTimeFilter' => array( - 'description' => 'If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'oldestDate' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - 'latestDate' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - ), - ), - 'closeTimeFilter' => array( - 'description' => 'If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'oldestDate' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - 'latestDate' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - ), - ), - 'executionFilter' => array( - 'description' => 'If specified, only workflow executions matching the workflow id specified in the filter are returned.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'closeStatusFilter' => array( - 'description' => 'If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'status' => array( - 'required' => true, - 'type' => 'string', - 'enum' => array( - 'COMPLETED', - 'FAILED', - 'CANCELED', - 'TERMINATED', - 'CONTINUED_AS_NEW', - 'TIMED_OUT', - ), - ), - ), - ), - 'typeFilter' => array( - 'description' => 'If specified, only executions of the type specified in the filter are returned.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'type' => 'string', - 'maxLength' => 64, - ), - ), - ), - 'tagFilter' => array( - 'description' => 'If specified, only executions that have the matching tag are listed.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'tag' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'nextPageToken' => array( - 'description' => 'If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'maximumPageSize' => array( - 'description' => 'The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100. Note that the number of executions may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'ListDomains' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DomainInfos', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns the list of domains registered in the account. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.ListDomains', - ), - 'nextPageToken' => array( - 'description' => 'If on a previous call to this method a NextPageToken was returned, the result has more than one page. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'registrationStatus' => array( - 'required' => true, - 'description' => 'Specifies the registration status of the domains to list.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'REGISTERED', - 'DEPRECATED', - ), - ), - 'maximumPageSize' => array( - 'description' => 'The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100. Note that the number of domains may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the domains.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'ListOpenWorkflowExecutions' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowExecutionInfos', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.ListOpenWorkflowExecutions', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain that contains the workflow executions to list.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'startTimeFilter' => array( - 'required' => true, - 'description' => 'Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'oldestDate' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - 'latestDate' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - ), - ), - ), - 'typeFilter' => array( - 'description' => 'If specified, only executions of the type specified in the filter are returned.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'type' => 'string', - 'maxLength' => 64, - ), - ), - ), - 'tagFilter' => array( - 'description' => 'If specified, only executions that have the matching tag are listed.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'tag' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'nextPageToken' => array( - 'description' => 'If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'maximumPageSize' => array( - 'description' => 'The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100. Note that the number of executions may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - 'executionFilter' => array( - 'description' => 'If specified, only workflow executions matching the workflow id specified in the filter are returned.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'ListWorkflowTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'WorkflowTypeInfos', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.ListWorkflowTypes', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which the workflow types have been registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'name' => array( - 'description' => 'If specified, lists the workflow type with this name.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'registrationStatus' => array( - 'required' => true, - 'description' => 'Specifies the registration status of the workflow types to list.', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'REGISTERED', - 'DEPRECATED', - ), - ), - 'nextPageToken' => array( - 'description' => 'If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'maximumPageSize' => array( - 'description' => 'The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100. Note that the number of types may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the workflow types.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'OperationNotPermittedException', - ), - array( - 'class' => 'UnknownResourceException', - ), - ), - ), - 'PollForActivityTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ActivityTask', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by workers to get an ActivityTask from the specified activity taskList. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available. The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll will return an empty result. An empty result, in this context, means that an ActivityTask is returned, but that the value of taskToken is an empty string. If a task is returned, the worker should use its type to identify and process it correctly.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.PollForActivityTask', - ), - 'curl.options' => array( - 'static' => true, - 'default' => array( - 'CURLOPT_TIMEOUT' => 70, - ), - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain that contains the task lists being polled.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'taskList' => array( - 'required' => true, - 'description' => 'Specifies the task list to poll for activity tasks.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'identity' => array( - 'description' => 'Identity of the worker making the request, which is recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 256, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - array( - 'class' => 'LimitExceededException', - ), - ), - ), - 'PollForDecisionTask' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'DecisionTask', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by deciders to get a DecisionTask from the specified decision taskList. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.PollForDecisionTask', - ), - 'curl.options' => array( - 'static' => true, - 'default' => array( - 'CURLOPT_TIMEOUT' => 70, - ), - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the task lists to poll.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'taskList' => array( - 'required' => true, - 'description' => 'Specifies the task list to poll for decision tasks.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'identity' => array( - 'description' => 'Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 256, - ), - 'nextPageToken' => array( - 'description' => 'If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - 'maximumPageSize' => array( - 'description' => 'The maximum number of history events returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100. Note that the number of events may be less than the maximum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.', - 'type' => 'numeric', - 'location' => 'json', - 'maximum' => 1000, - ), - 'reverseOrder' => array( - 'description' => 'When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimestamp of the events.', - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'json', - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - array( - 'class' => 'LimitExceededException', - ), - ), - ), - 'RecordActivityTaskHeartbeat' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ActivityTaskStatus', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by activity workers to report to the service that the ActivityTask represented by the specified taskToken is still making progress. The worker can also (optionally) specify details of the progress, for example percent complete, using the details parameter. This action can also be used by the worker as a mechanism to check if cancellation is being requested for the activity task. If a cancellation is being attempted for the specified task, then the boolean cancelRequested flag returned by the service is set to true.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RecordActivityTaskHeartbeat', - ), - 'taskToken' => array( - 'required' => true, - 'description' => 'The taskToken of the ActivityTask.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'details' => array( - 'description' => 'If specified, contains details about the progress of the task.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 2048, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RegisterActivityType' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Registers a new activity type along with its configuration settings in the specified domain.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RegisterActivityType', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which this activity is to be registered.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'name' => array( - 'required' => true, - 'description' => 'The name of the activity type within the domain.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'description' => 'The version of the activity type.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'description' => array( - 'description' => 'A textual description of the activity type.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'defaultTaskStartToCloseTimeout' => array( - 'description' => 'If set, specifies the default maximum duration that a worker can take to process tasks of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'defaultTaskHeartbeatTimeout' => array( - 'description' => 'If set, specifies the default maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'defaultTaskList' => array( - 'description' => 'If set, specifies the default task list to use for scheduling tasks of this activity type. This default task list is used if a task list is not provided when a task is scheduled through the ScheduleActivityTask Decision.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'defaultTaskScheduleToStartTimeout' => array( - 'description' => 'If set, specifies the default maximum duration that a task of this activity type can wait before being assigned to a worker. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'defaultTaskScheduleToCloseTimeout' => array( - 'description' => 'If set, specifies the default maximum duration for a task of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'TypeAlreadyExistsException', - ), - array( - 'class' => 'LimitExceededException', - ), - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RegisterDomain' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Registers a new domain.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RegisterDomain', - ), - 'name' => array( - 'required' => true, - 'description' => 'Name of the domain to register. The name must be unique.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'description' => array( - 'description' => 'Textual description of the domain.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'workflowExecutionRetentionPeriodInDays' => array( - 'required' => true, - 'description' => 'Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 8, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'DomainAlreadyExistsException', - ), - array( - 'class' => 'LimitExceededException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RegisterWorkflowType' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Registers a new workflow type and its configuration settings in the specified domain.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RegisterWorkflowType', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which to register the workflow type.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'name' => array( - 'required' => true, - 'description' => 'The name of the workflow type.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'description' => 'The version of the workflow type.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'description' => array( - 'description' => 'Textual description of the workflow type.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 1024, - ), - 'defaultTaskStartToCloseTimeout' => array( - 'description' => 'If set, specifies the default maximum duration of decision tasks for this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'defaultExecutionStartToCloseTimeout' => array( - 'description' => 'If set, specifies the default maximum duration for executions of this workflow type. You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution Decision.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'defaultTaskList' => array( - 'description' => 'If set, specifies the default task list to use for scheduling decision tasks for executions of this workflow type. This default is used only if a task list is not provided when starting the execution through the StartWorkflowExecution Action or StartChildWorkflowExecution Decision.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'defaultChildPolicy' => array( - 'description' => 'If set, specifies the default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision. The supported child policies are:', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'TERMINATE', - 'REQUEST_CANCEL', - 'ABANDON', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'TypeAlreadyExistsException', - ), - array( - 'class' => 'LimitExceededException', - ), - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RequestCancelWorkflowExecution' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Records a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId, and runId. This logically requests the cancellation of the workflow execution as a whole. It is up to the decider to take appropriate actions when it receives an execution history with this event.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RequestCancelWorkflowExecution', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the workflow execution to cancel.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowId' => array( - 'required' => true, - 'description' => 'The workflowId of the workflow execution to cancel.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'description' => 'The runId of the workflow execution to cancel.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RespondActivityTaskCanceled' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by workers to tell the service that the ActivityTask identified by the taskToken was successfully canceled. Additional details can be optionally provided using the details argument.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RespondActivityTaskCanceled', - ), - 'taskToken' => array( - 'required' => true, - 'description' => 'The taskToken of the ActivityTask.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'details' => array( - 'description' => 'Optional information about the cancellation.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RespondActivityTaskCompleted' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided). The result appears in the ActivityTaskCompleted event in the workflow history.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RespondActivityTaskCompleted', - ), - 'taskToken' => array( - 'required' => true, - 'description' => 'The taskToken of the ActivityTask.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'result' => array( - 'description' => 'The result of the activity task. It is a free form string that is implementation specific.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RespondActivityTaskFailed' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified). The reason and details appear in the ActivityTaskFailed event added to the workflow history.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RespondActivityTaskFailed', - ), - 'taskToken' => array( - 'required' => true, - 'description' => 'The taskToken of the ActivityTask.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'reason' => array( - 'description' => 'Description of the error that may assist in diagnostics.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 256, - ), - 'details' => array( - 'description' => 'Optional detailed information about the failure.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'RespondDecisionTaskCompleted' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Used by deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed. The decisions argument specifies the list of decisions made while processing the task.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.RespondDecisionTaskCompleted', - ), - 'taskToken' => array( - 'required' => true, - 'description' => 'The taskToken from the DecisionTask.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 1024, - ), - 'decisions' => array( - 'description' => 'The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.', - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'Decision', - 'type' => 'object', - 'properties' => array( - 'decisionType' => array( - 'required' => true, - 'type' => 'string', - 'enum' => array( - 'ScheduleActivityTask', - 'RequestCancelActivityTask', - 'CompleteWorkflowExecution', - 'FailWorkflowExecution', - 'CancelWorkflowExecution', - 'ContinueAsNewWorkflowExecution', - 'RecordMarker', - 'StartTimer', - 'CancelTimer', - 'SignalExternalWorkflowExecution', - 'RequestCancelExternalWorkflowExecution', - 'StartChildWorkflowExecution', - ), - ), - 'scheduleActivityTaskDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityType' => array( - 'required' => true, - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'activityId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'control' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'input' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'scheduleToCloseTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'scheduleToStartTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'startToCloseTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'heartbeatTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - ), - ), - 'requestCancelActivityTaskDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'completeWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'result' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - ), - ), - 'failWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - 'maxLength' => 256, - ), - 'details' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - ), - ), - 'cancelWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'details' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - ), - ), - 'continueAsNewWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'input' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'childPolicy' => array( - 'type' => 'string', - 'enum' => array( - 'TERMINATE', - 'REQUEST_CANCEL', - 'ABANDON', - ), - ), - 'tagList' => array( - 'type' => 'array', - 'maxItems' => 5, - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - 'workflowTypeVersion' => array( - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'recordMarkerDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'markerName' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'details' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - ), - ), - 'startTimerDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'control' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'startToFireTimeout' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 8, - ), - ), - ), - 'cancelTimerDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'signalExternalWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'type' => 'string', - 'maxLength' => 64, - ), - 'signalName' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'input' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'control' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - ), - ), - 'requestCancelExternalWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'type' => 'string', - 'maxLength' => 64, - ), - 'control' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - ), - ), - 'startChildWorkflowExecutionDecisionAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowType' => array( - 'required' => true, - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'workflowId' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'control' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'input' => array( - 'type' => 'string', - 'maxLength' => 32768, - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - 'maxLength' => 8, - ), - 'childPolicy' => array( - 'type' => 'string', - 'enum' => array( - 'TERMINATE', - 'REQUEST_CANCEL', - 'ABANDON', - ), - ), - 'tagList' => array( - 'type' => 'array', - 'maxItems' => 5, - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - ), - ), - ), - ), - 'executionContext' => array( - 'description' => 'User defined context to add to workflow execution.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'SignalWorkflowExecution' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Records a WorkflowExecutionSignaled event in the workflow execution history and creates a decision task for the workflow execution identified by the given domain, workflowId and runId. The event is recorded with the specified user defined signalName and input (if provided).', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.SignalWorkflowExecution', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain containing the workflow execution to signal.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowId' => array( - 'required' => true, - 'description' => 'The workflowId of the workflow execution to signal.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'description' => 'The runId of the workflow execution to signal.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 64, - ), - 'signalName' => array( - 'required' => true, - 'description' => 'The name of the signal. This name must be meaningful to the target workflow.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'input' => array( - 'description' => 'Data to attach to the WorkflowExecutionSignaled event in the target workflow execution\'s history.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - 'StartWorkflowExecution' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'Run', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Starts an execution of the workflow type in the specified domain using the provided workflowId and input data.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.StartWorkflowExecution', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The name of the domain in which the workflow execution is created.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowId' => array( - 'required' => true, - 'description' => 'The user defined identifier associated with the workflow execution. You can use this to associate a custom identifier with the workflow execution. You may specify the same identifier if a workflow execution is logically a restart of a previous execution. You cannot have two open workflow executions with the same workflowId at the same time.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowType' => array( - 'required' => true, - 'description' => 'The type of the workflow to start.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'version' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - ), - 'taskList' => array( - 'description' => 'The task list to use for the decision tasks generated for this workflow execution. This overrides the defaultTaskList specified when registering the workflow type.', - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - ), - 'input' => array( - 'description' => 'The input for the workflow execution. This is a free form string which should be meaningful to the workflow you are starting. This input is made available to the new workflow execution in the WorkflowExecutionStarted history event.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - 'executionStartToCloseTimeout' => array( - 'description' => 'The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'tagList' => array( - 'description' => 'The list of tags to associate with the workflow execution. You can specify a maximum of 5 tags. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.', - 'type' => 'array', - 'location' => 'json', - 'maxItems' => 5, - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - ), - 'taskStartToCloseTimeout' => array( - 'description' => 'Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 8, - ), - 'childPolicy' => array( - 'description' => 'If set, specifies the policy to use for the child workflow executions of this workflow execution if it is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are:', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'TERMINATE', - 'REQUEST_CANCEL', - 'ABANDON', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'TypeDeprecatedException', - ), - array( - 'class' => 'WorkflowExecutionAlreadyStartedException', - ), - array( - 'class' => 'LimitExceededException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - array( - 'class' => 'DefaultUndefinedException', - ), - ), - ), - 'TerminateWorkflowExecution' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'responseNotes' => 'Returns a json_decoded array of the response body', - 'summary' => 'Records a WorkflowExecutionTerminated event and forces closure of the workflow execution identified by the given domain, runId, and workflowId. The child policy, registered with the workflow type or specified when starting this execution, is applied to any open child workflow executions of this workflow execution.', - 'parameters' => array( - 'Content-Type' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'application/x-amz-json-1.0', - ), - 'command.expects' => array( - 'static' => true, - 'default' => 'application/json', - ), - 'X-Amz-Target' => array( - 'static' => true, - 'location' => 'header', - 'default' => 'SimpleWorkflowService.TerminateWorkflowExecution', - ), - 'domain' => array( - 'required' => true, - 'description' => 'The domain of the workflow execution to terminate.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'workflowId' => array( - 'required' => true, - 'description' => 'The workflowId of the workflow execution to terminate.', - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'runId' => array( - 'description' => 'The runId of the workflow execution to terminate.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 64, - ), - 'reason' => array( - 'description' => 'An optional descriptive reason for terminating the workflow execution.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 256, - ), - 'details' => array( - 'description' => 'Optional details for terminating the workflow execution.', - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 32768, - ), - 'childPolicy' => array( - 'description' => 'If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution. The supported child policies are:', - 'type' => 'string', - 'location' => 'json', - 'enum' => array( - 'TERMINATE', - 'REQUEST_CANCEL', - 'ABANDON', - ), - ), - ), - 'errorResponses' => array( - array( - 'class' => 'UnknownResourceException', - ), - array( - 'class' => 'OperationNotPermittedException', - ), - ), - ), - ), - 'models' => array( - 'WorkflowExecutionCount' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'count' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'truncated' => array( - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'PendingTaskCount' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'count' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'truncated' => array( - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'ActivityTypeDetail' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'typeInfo' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'activityType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'status' => array( - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - 'creationDate' => array( - 'type' => 'string', - ), - 'deprecationDate' => array( - 'type' => 'string', - ), - ), - ), - 'configuration' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'defaultTaskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'defaultTaskHeartbeatTimeout' => array( - 'type' => 'string', - ), - 'defaultTaskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'defaultTaskScheduleToStartTimeout' => array( - 'type' => 'string', - ), - 'defaultTaskScheduleToCloseTimeout' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'DomainDetail' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'domainInfo' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'status' => array( - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - ), - ), - 'configuration' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowExecutionRetentionPeriodInDays' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'WorkflowExecutionDetail' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'executionInfo' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'execution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'startTimestamp' => array( - 'type' => 'string', - ), - 'closeTimestamp' => array( - 'type' => 'string', - ), - 'executionStatus' => array( - 'type' => 'string', - ), - 'closeStatus' => array( - 'type' => 'string', - ), - 'parent' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - 'cancelRequested' => array( - 'type' => 'boolean', - ), - ), - ), - 'executionConfiguration' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'childPolicy' => array( - 'type' => 'string', - ), - ), - ), - 'openCounts' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'openActivityTasks' => array( - 'type' => 'numeric', - ), - 'openDecisionTasks' => array( - 'type' => 'numeric', - ), - 'openTimers' => array( - 'type' => 'numeric', - ), - 'openChildWorkflowExecutions' => array( - 'type' => 'numeric', - ), - ), - ), - 'latestActivityTaskTimestamp' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'latestExecutionContext' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'WorkflowTypeDetail' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'typeInfo' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'status' => array( - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - 'creationDate' => array( - 'type' => 'string', - ), - 'deprecationDate' => array( - 'type' => 'string', - ), - ), - ), - 'configuration' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'defaultTaskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'defaultExecutionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'defaultTaskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'defaultChildPolicy' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'History' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'events' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'HistoryEvent', - 'type' => 'object', - 'properties' => array( - 'eventTimestamp' => array( - 'type' => 'string', - ), - 'eventType' => array( - 'type' => 'string', - ), - 'eventId' => array( - 'type' => 'numeric', - ), - 'workflowExecutionStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'input' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - 'continuedExecutionRunId' => array( - 'type' => 'string', - ), - 'parentWorkflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'parentInitiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'result' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'completeWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'failWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timeoutType' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - ), - ), - 'workflowExecutionCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'details' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'cancelWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionContinuedAsNewEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'input' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'newExecutionRunId' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'continueAsNewWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionTerminatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - ), - ), - 'workflowExecutionCancelRequestedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'externalWorkflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'externalInitiatedEventId' => array( - 'type' => 'numeric', - ), - 'cause' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskScheduledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'startToCloseTimeout' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'identity' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'decisionTaskCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'executionContext' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'decisionTaskTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timeoutType' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskScheduledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'activityId' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'control' => array( - 'type' => 'string', - ), - 'scheduleToStartTimeout' => array( - 'type' => 'string', - ), - 'scheduleToCloseTimeout' => array( - 'type' => 'string', - ), - 'startToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'heartbeatTimeout' => array( - 'type' => 'string', - ), - ), - ), - 'activityTaskStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'identity' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'result' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timeoutType' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - 'details' => array( - 'type' => 'string', - ), - ), - ), - 'activityTaskCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'details' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - 'latestCancelRequestedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskCancelRequestedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'activityId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowExecutionSignaledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'signalName' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'externalWorkflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'externalInitiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'markerRecordedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'markerName' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'recordMarkerFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'markerName' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'timerStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'control' => array( - 'type' => 'string', - ), - 'startToFireTimeout' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'timerFiredEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'timerCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'startChildWorkflowExecutionInitiatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'control' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - ), - ), - 'childWorkflowExecutionStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'result' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'timeoutType' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'details' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionTerminatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'signalExternalWorkflowExecutionInitiatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'signalName' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'externalWorkflowExecutionSignaledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'signalExternalWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'externalWorkflowExecutionCancelRequestedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'requestCancelExternalWorkflowExecutionInitiatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'requestCancelExternalWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'scheduleActivityTaskFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'activityId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'requestCancelActivityTaskFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'startTimerFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'cancelTimerFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'startChildWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'cause' => array( - 'type' => 'string', - ), - 'workflowId' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'nextPageToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ActivityTypeInfos' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'typeInfos' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'ActivityTypeInfo', - 'type' => 'object', - 'properties' => array( - 'activityType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'status' => array( - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - 'creationDate' => array( - 'type' => 'string', - ), - 'deprecationDate' => array( - 'type' => 'string', - ), - ), - ), - ), - 'nextPageToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'WorkflowExecutionInfos' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'executionInfos' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'WorkflowExecutionInfo', - 'type' => 'object', - 'properties' => array( - 'execution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'startTimestamp' => array( - 'type' => 'string', - ), - 'closeTimestamp' => array( - 'type' => 'string', - ), - 'executionStatus' => array( - 'type' => 'string', - ), - 'closeStatus' => array( - 'type' => 'string', - ), - 'parent' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - 'cancelRequested' => array( - 'type' => 'boolean', - ), - ), - ), - ), - 'nextPageToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DomainInfos' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'domainInfos' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'DomainInfo', - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'status' => array( - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - ), - ), - ), - 'nextPageToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'WorkflowTypeInfos' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'typeInfos' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'WorkflowTypeInfo', - 'type' => 'object', - 'properties' => array( - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'status' => array( - 'type' => 'string', - ), - 'description' => array( - 'type' => 'string', - ), - 'creationDate' => array( - 'type' => 'string', - ), - 'deprecationDate' => array( - 'type' => 'string', - ), - ), - ), - ), - 'nextPageToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'ActivityTask' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'taskToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'activityId' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'startedEventId' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'workflowExecution' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'activityType' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'input' => array( - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - 'DecisionTask' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'taskToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'startedEventId' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - 'workflowExecution' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'events' => array( - 'type' => 'array', - 'location' => 'json', - 'items' => array( - 'name' => 'HistoryEvent', - 'type' => 'object', - 'properties' => array( - 'eventTimestamp' => array( - 'type' => 'string', - ), - 'eventType' => array( - 'type' => 'string', - ), - 'eventId' => array( - 'type' => 'numeric', - ), - 'workflowExecutionStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'input' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - 'continuedExecutionRunId' => array( - 'type' => 'string', - ), - 'parentWorkflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'parentInitiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'result' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'completeWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'failWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timeoutType' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - ), - ), - 'workflowExecutionCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'details' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'cancelWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionContinuedAsNewEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'input' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'newExecutionRunId' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'continueAsNewWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'workflowExecutionTerminatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - ), - ), - 'workflowExecutionCancelRequestedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'externalWorkflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'externalInitiatedEventId' => array( - 'type' => 'numeric', - ), - 'cause' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskScheduledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'startToCloseTimeout' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'identity' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'decisionTaskCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'executionContext' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'decisionTaskTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timeoutType' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskScheduledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'activityId' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'control' => array( - 'type' => 'string', - ), - 'scheduleToStartTimeout' => array( - 'type' => 'string', - ), - 'scheduleToCloseTimeout' => array( - 'type' => 'string', - ), - 'startToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'heartbeatTimeout' => array( - 'type' => 'string', - ), - ), - ), - 'activityTaskStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'identity' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'result' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timeoutType' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - 'details' => array( - 'type' => 'string', - ), - ), - ), - 'activityTaskCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'details' => array( - 'type' => 'string', - ), - 'scheduledEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - 'latestCancelRequestedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'activityTaskCancelRequestedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'activityId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowExecutionSignaledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'signalName' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'externalWorkflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'externalInitiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'markerRecordedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'markerName' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'recordMarkerFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'markerName' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'timerStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'control' => array( - 'type' => 'string', - ), - 'startToFireTimeout' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'timerFiredEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'timerCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'startChildWorkflowExecutionInitiatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'control' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'executionStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'taskList' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - ), - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'childPolicy' => array( - 'type' => 'string', - ), - 'taskStartToCloseTimeout' => array( - 'type' => 'string', - ), - 'tagList' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'Tag', - 'type' => 'string', - ), - ), - ), - ), - 'childWorkflowExecutionStartedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionCompletedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'result' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'reason' => array( - 'type' => 'string', - ), - 'details' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionTimedOutEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'timeoutType' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionCanceledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'details' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'childWorkflowExecutionTerminatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'startedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'signalExternalWorkflowExecutionInitiatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'signalName' => array( - 'type' => 'string', - ), - 'input' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'externalWorkflowExecutionSignaledEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'signalExternalWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'externalWorkflowExecutionCancelRequestedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowExecution' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - ), - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'requestCancelExternalWorkflowExecutionInitiatedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'requestCancelExternalWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowId' => array( - 'type' => 'string', - ), - 'runId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - 'scheduleActivityTaskFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'activityId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'requestCancelActivityTaskFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'activityId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'startTimerFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'cancelTimerFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'timerId' => array( - 'type' => 'string', - ), - 'cause' => array( - 'type' => 'string', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - ), - ), - 'startChildWorkflowExecutionFailedEventAttributes' => array( - 'type' => 'object', - 'properties' => array( - 'workflowType' => array( - 'type' => 'object', - 'properties' => array( - 'name' => array( - 'type' => 'string', - ), - 'version' => array( - 'type' => 'string', - ), - ), - ), - 'cause' => array( - 'type' => 'string', - ), - 'workflowId' => array( - 'type' => 'string', - ), - 'initiatedEventId' => array( - 'type' => 'numeric', - ), - 'decisionTaskCompletedEventId' => array( - 'type' => 'numeric', - ), - 'control' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'nextPageToken' => array( - 'type' => 'string', - 'location' => 'json', - ), - 'previousStartedEventId' => array( - 'type' => 'numeric', - 'location' => 'json', - ), - ), - ), - 'ActivityTaskStatus' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'cancelRequested' => array( - 'type' => 'boolean', - 'location' => 'json', - ), - ), - ), - 'Run' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'runId' => array( - 'description' => 'The runId of a workflow execution. This Id is generated by the service and can be used to uniquely identify the workflow execution within a domain.', - 'type' => 'string', - 'location' => 'json', - ), - ), - ), - ), - 'iterators' => array( - 'operations' => array( - 'GetWorkflowExecutionHistory' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'events', - ), - 'ListActivityTypes' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'typeInfos', - ), - 'ListClosedWorkflowExecutions' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'executionInfos', - ), - 'ListDomains' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'domainInfos', - ), - 'ListOpenWorkflowExecutions' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'executionInfos', - ), - 'ListWorkflowTypes' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'typeInfos', - ), - 'PollForDecisionTask' => array( - 'token_param' => 'nextPageToken', - 'token_key' => 'nextPageToken', - 'limit_key' => 'maximumPageSize', - 'result_key' => 'events', - ), - ), - ), -); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Swf/SwfClient.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Swf/SwfClient.php deleted file mode 100644 index 767e650..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/src/Aws/Swf/SwfClient.php +++ /dev/null @@ -1,113 +0,0 @@ -setConfig($config) - ->setConfigDefaults(array( - Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/swf-2012-01-25.php' - )) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/test_services.json.dist b/in-development/check_awsiops/vendor/aws/aws-sdk-php/test_services.json.dist deleted file mode 100644 index 5a2778d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/test_services.json.dist +++ /dev/null @@ -1,20 +0,0 @@ -{ - "includes": ["_aws"], - "services": { - "default_settings": { - "params": { - "key": "change_me", - "secret": "change_me", - "region": "us-east-1", - "ssl.certificate_authority": true - } - }, - "cloudfront": { - "extends": "cloudfront", - "params": { - "private_key": "change_me", - "key_pair_id": "change_me" - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/AutoScaling/AutoScalingClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/AutoScaling/AutoScalingClientTest.php deleted file mode 100644 index 71c97ac..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/AutoScaling/AutoScalingClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://autoscaling.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/AutoScaling/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/AutoScaling/Integration/IntegrationTest.php deleted file mode 100644 index 0c7bf86..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/AutoScaling/Integration/IntegrationTest.php +++ /dev/null @@ -1,73 +0,0 @@ -autoscaling = $this->getServiceBuilder()->get('autoscaling'); - } - - public function testBasicOperations() - { - $launchConfigName = 'php-integ-as-launch-config'; - - self::log('Create a launch configuration.'); - $this->autoscaling->createLaunchConfiguration(array( - 'LaunchConfigurationName' => $launchConfigName, - 'ImageId' => self::TEST_AMI, - 'InstanceType' => InstanceType::M1_SMALL, - )); - - self::log('Make sure error handling works by trying to recreate the same launch configuration.'); - try { - $this->autoscaling->createLaunchConfiguration(array( - 'LaunchConfigurationName' => $launchConfigName, - 'ImageId' => self::TEST_AMI, - 'InstanceType' => InstanceType::M1_SMALL, - )); - $this->fail('An exception should have been thrown'); - } catch (AlreadyExistsException $e) { - $this->assertInstanceOf('Aws\AutoScaling\Exception\AlreadyExistsException', $e); - } - - self::log('Make sure iterators work by iterating launch configurations.'); - $launchConfigs = $this->autoscaling->getIterator('DescribeLaunchConfigurations')->toArray(); - $this->assertGreaterThanOrEqual(1, count($launchConfigs)); - $this->assertArrayHasKey('LaunchConfigurationName', $launchConfigs[0]); - - self::log('Delete the launch configuration.'); - $this->autoscaling->deleteLaunchConfiguration(array( - 'LaunchConfigurationName' => $launchConfigName, - )); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/CloudFormationClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/CloudFormationClientTest.php deleted file mode 100644 index dd10cc9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/CloudFormationClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://cloudformation.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/Integration/IntegrationTest.php deleted file mode 100644 index f831a28..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/Integration/IntegrationTest.php +++ /dev/null @@ -1,58 +0,0 @@ -client = $this->getServiceBuilder()->get('cloudformation'); - } - - public function testEstimatingTemplateCostMarshalsDataCorrectly() - { - self::log('Estimate a template\'s cost.'); - $result = $this->client->estimateTemplateCost(array( - 'TemplateBody' => file_get_contents(__DIR__ . '/template.json'), - 'Parameters' => array( - array('ParameterKey' => 'KeyName', 'ParameterValue' => 'keypair-name'), - ), - )); - $url = Url::factory($result->get('Url')); - $this->assertEquals('calculator.s3.amazonaws.com', $url->getHost()); - } - - public function testListStacksCommandAndIterator() - { - self::log('Execute a ListJobs command and iterator and verify that the results are the same.'); - $commandResults = $this->client->listStacks()->toArray(); - $this->assertArrayHasKey('StackSummaries', $commandResults); - - $iteratorResults = $this->client->getIterator('ListStacks')->toArray(); - $this->assertEquals($commandResults['StackSummaries'], $iteratorResults); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/Integration/template.json b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/Integration/template.json deleted file mode 100644 index 2bc5414..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFormation/Integration/template.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "AWSTemplateFormatVersion" : "2010-09-09", - - "Description" : "Create a multi-az, load balanced, Auto Scaled sample web site. The Auto Scaling trigger is based on the CPU utilization of the web servers. The AMI is chosen based on the region in which the stack is run. This example creates a web service running across all availability zones in a region. The instances are load balanced with a simple health check. The web site is available on port 80, however, the instances can be configured to listen on any port (8888 by default). **WARNING** This template creates one or more Amazon EC2 instances. You will be billed for the AWS resources used if you create a stack from this template.", - - "Parameters" : { - "InstanceType" : { - "Description" : "Type of EC2 instance to launch", - "Type" : "String", - "Default" : "m1.small" - }, - "WebServerPort" : { - "Description" : "The TCP port for the Web Server", - "Type" : "String", - "Default" : "8888" - }, - "KeyName" : { - "Description" : "The EC2 Key Pair to allow SSH access to the instances", - "Type" : "String" - } - }, - - "Mappings" : { - "AWSInstanceType2Arch" : { - "t1.micro" : { "Arch" : "64" }, - "m1.small" : { "Arch" : "32" }, - "m1.large" : { "Arch" : "64" }, - "m1.xlarge" : { "Arch" : "64" }, - "m2.xlarge" : { "Arch" : "64" }, - "m2.2xlarge" : { "Arch" : "64" }, - "m2.4xlarge" : { "Arch" : "64" }, - "c1.medium" : { "Arch" : "32" }, - "c1.xlarge" : { "Arch" : "64" }, - "cc1.4xlarge" : { "Arch" : "64" } - }, - "AWSRegionArch2AMI" : { - "us-east-1" : { "32" : "ami-6411e20d", "64" : "ami-7a11e213" }, - "us-west-1" : { "32" : "ami-c9c7978c", "64" : "ami-cfc7978a" }, - "eu-west-1" : { "32" : "ami-37c2f643", "64" : "ami-31c2f645" }, - "ap-southeast-1" : { "32" : "ami-66f28c34", "64" : "ami-60f28c32" }, - "ap-northeast-1" : { "32" : "ami-9c03a89d", "64" : "ami-a003a8a1" } - } - }, - - "Resources" : { - "WebServerGroup" : { - "Type" : "AWS::AutoScaling::AutoScalingGroup", - "Properties" : { - "AvailabilityZones" : { "Fn::GetAZs" : ""}, - "LaunchConfigurationName" : { "Ref" : "LaunchConfig" }, - "MinSize" : "1", - "MaxSize" : "3", - "LoadBalancerNames" : [ { "Ref" : "ElasticLoadBalancer" } ] - } - }, - - "LaunchConfig" : { - "Type" : "AWS::AutoScaling::LaunchConfiguration", - "Properties" : { - "KeyName" : { "Ref" : "KeyName" }, - "ImageId" : { "Fn::FindInMap" : [ "AWSRegionArch2AMI", { "Ref" : "AWS::Region" }, - { "Fn::FindInMap" : [ "AWSInstanceType2Arch", { "Ref" : "InstanceType" }, - "Arch" ] } ] }, - "UserData" : { "Fn::Base64" : { "Ref" : "WebServerPort" }}, - "SecurityGroups" : [ { "Ref" : "InstanceSecurityGroup" } ], - "InstanceType" : { "Ref" : "InstanceType" } - } - }, - - "WebServerScaleUpPolicy" : { - "Type" : "AWS::AutoScaling::ScalingPolicy", - "Properties" : { - "AdjustmentType" : "ChangeInCapacity", - "AutoScalingGroupName" : { "Ref" : "WebServerGroup" }, - "Cooldown" : "60", - "ScalingAdjustment" : "1" - } - }, - "WebServerScaleDownPolicy" : { - "Type" : "AWS::AutoScaling::ScalingPolicy", - "Properties" : { - "AdjustmentType" : "ChangeInCapacity", - "AutoScalingGroupName" : { "Ref" : "WebServerGroup" }, - "Cooldown" : "60", - "ScalingAdjustment" : "-1" - } - }, - - "CPUAlarmHigh": { - "Type": "AWS::CloudWatch::Alarm", - "Properties": { - "AlarmDescription": "Scale-up if CPU > 90% for 10 minutes", - "MetricName": "CPUUtilization", - "Namespace": "AWS/EC2", - "Statistic": "Average", - "Period": "300", - "EvaluationPeriods": "2", - "Threshold": "90", - "AlarmActions": [ { "Ref": "WebServerScaleUpPolicy" } ], - "Dimensions": [ - { - "Name": "AutoScalingGroupName", - "Value": { "Ref": "WebServerGroup" } - } - ], - "ComparisonOperator": "GreaterThanThreshold" - } - }, - "CPUAlarmLow": { - "Type": "AWS::CloudWatch::Alarm", - "Properties": { - "AlarmDescription": "Scale-down if CPU < 70% for 10 minutes", - "MetricName": "CPUUtilization", - "Namespace": "AWS/EC2", - "Statistic": "Average", - "Period": "300", - "EvaluationPeriods": "2", - "Threshold": "70", - "AlarmActions": [ { "Ref": "WebServerScaleDownPolicy" } ], - "Dimensions": [ - { - "Name": "AutoScalingGroupName", - "Value": { "Ref": "WebServerGroup" } - } - ], - "ComparisonOperator": "LessThanThreshold" - } - }, - - "ElasticLoadBalancer" : { - "Type" : "AWS::ElasticLoadBalancing::LoadBalancer", - "Properties" : { - "AvailabilityZones" : { "Fn::GetAZs" : "" }, - "Listeners" : [ { - "LoadBalancerPort" : "80", - "InstancePort" : { "Ref" : "WebServerPort" }, - "Protocol" : "HTTP" - } ], - "HealthCheck" : { - "Target" : { "Fn::Join" : [ "", ["HTTP:", { "Ref" : "WebServerPort" }, "/"]]}, - "HealthyThreshold" : "3", - "UnhealthyThreshold" : "5", - "Interval" : "30", - "Timeout" : "5" - } - } - }, - - "InstanceSecurityGroup" : { - "Type" : "AWS::EC2::SecurityGroup", - "Properties" : { - "GroupDescription" : "Enable SSH access and HTTP access on the inbound port", - "SecurityGroupIngress" : [ { - "IpProtocol" : "tcp", - "FromPort" : "22", - "ToPort" : "22", - "CidrIp" : "0.0.0.0/0" - }, - { - "IpProtocol" : "tcp", - "FromPort" : { "Ref" : "WebServerPort" }, - "ToPort" : { "Ref" : "WebServerPort" }, - "SourceSecurityGroupOwnerId" : {"Fn::GetAtt" : ["ElasticLoadBalancer", "SourceSecurityGroup.OwnerAlias"]}, - "SourceSecurityGroupName" : {"Fn::GetAtt" : ["ElasticLoadBalancer", "SourceSecurityGroup.GroupName"]} - } ] - } - } - }, - - "Outputs" : { - "URL" : { - "Description" : "The URL of the website", - "Value" : { "Fn::Join" : [ "", [ "http://", { "Fn::GetAtt" : [ "ElasticLoadBalancer", "DNSName" ]}]]} - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/CloudFrontClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/CloudFrontClientTest.php deleted file mode 100644 index 53af0fd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/CloudFrontClientTest.php +++ /dev/null @@ -1,135 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - $this->assertInstanceOf('Aws\CloudFront\CloudFrontSignature', $client->getSignature()); - } - - public function testCreatesSignedUrlsForHttp() - { - $ts = time() + 1000; - $client = $this->getServiceBuilder()->get('cloudfront'); - - if ($client->getConfig('private_key') == 'change_me') { - $this->markTestSkipped('CloudFront private_key not set'); - } - - /** @var $client \Aws\CloudFront\CloudFrontClient */ - $url = $client->getSignedUrl(array( - 'url' => 'http://abc.cloudfront.net/images/image.jpg?color=red', - 'expires' => $ts - )); - $urlObject = Url::factory($url); - $kp = $client->getConfig('key_pair_id'); - $this->assertStringStartsWith( - "http://abc.cloudfront.net/images/image.jpg?color=red&Expires={$ts}&Signature=", - $url - ); - $signature = $urlObject->getQuery('Signature'); - $this->assertNotContains('?', $signature); - $this->assertNotContains('=', $signature); - $this->assertNotContains('/', $signature); - $this->assertNotContains('&', $signature); - $this->assertNotContains('+', $signature); - } - - public function testCreatesSignedUrlsForRtmp() - { - $ts = time() + 1000; - $client = $this->getServiceBuilder()->get('cloudfront'); - if ($client->getConfig('private_key') == 'change_me') { - $this->markTestSkipped('CloudFront private_key not set'); - } - /** @var $client \Aws\CloudFront\CloudFrontClient */ - $url = $client->getSignedUrl(array( - 'url' => 'rtmp://foo.cloudfront.net/test.mp4', - 'expires' => $ts - )); - $kp = $client->getConfig('key_pair_id'); - $this->assertStringStartsWith("test.mp4%3FExpires%3D{$ts}%26Signature%3D", $url); - $this->assertContains("Key-Pair-Id%3D{$kp}", $url); - } - - public function testCreatesCannedSignedUrlsForRtmpWhileStrippingFileExtension() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $m = new \ReflectionMethod($client, 'createCannedPolicy'); - $m->setAccessible(true); - $ts = time() + 1000; - // Try with no leading path - $result = $m->invoke($client, 'rtmp', 'rtmp://foo.cloudfront.net/test.mp4', $ts); - $this->assertEquals( - '{"Statement":[{"Resource":"test","Condition":{"DateLessThan":{"AWS:EpochTime":' . $ts . '}}}]}', - $result - ); - $this->assertInternalType('array', json_decode($result, true)); - // Try with nested path - $result = $m->invoke($client, 'rtmp', 'rtmp://foo.cloudfront.net/videos/test.mp4', $ts); - $this->assertEquals( - '{"Statement":[{"Resource":"videos/test","Condition":{"DateLessThan":{"AWS:EpochTime":' . $ts . '}}}]}', - $result - ); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage An expires option is required - */ - public function testEnsuresExpiresIsSetWhenUsingCannedPolicy() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $url = $client->getSignedUrl(array('url' => 'http://abc.cloudfront.net/images/image.jpg?color=red')); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Invalid URI scheme - */ - public function testEnsuresUriSchemeIsValid() - { - $this->getServiceBuilder()->get('cloudfront')->getSignedUrl(array( - 'url' => 'foo://bar.com', - 'expires' => time() + 100 - )); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage An Amazon CloudFront keypair ID - */ - public function testEnsuresKeyPairsAreSet() - { - $client = $this->getServiceBuilder()->get('cloudfront', true); - $client->getConfig()->remove('key_pair_id'); - $client->getSignedUrl(array('url' => 'foo://bar.com')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/CloudFrontSignatureTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/CloudFrontSignatureTest.php deleted file mode 100644 index ae8aca4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/CloudFrontSignatureTest.php +++ /dev/null @@ -1,54 +0,0 @@ - 'Thu, 17 May 2012 17:08:48 GMT')); - $credentials = new Credentials('foo', 'bar'); - $signature = new CloudFrontSignature(); - $signature->signRequest($request, $credentials); - $this->assertEquals('AWS foo:H/oAmf/UKMC13D986NHtWlcWeqg=', (string) $request->getHeader('Authorization')); - } - - public function testSignsWithXAmzDateHeader() - { - $request = new Request('GET', 'http://www.foo.com', array('x-amz-date' => 'Thu, 17 May 2012 17:08:48 GMT')); - $credentials = new Credentials('foo', 'bar'); - $signature = new CloudFrontSignature(); - $signature->signRequest($request, $credentials); - $this->assertEquals('AWS foo:H/oAmf/UKMC13D986NHtWlcWeqg=', (string) $request->getHeader('Authorization')); - } - - public function testSignsWithInjectedDateHeader() - { - $request = new Request('GET', 'http://www.foo.com'); - $credentials = new Credentials('foo', 'bar'); - $signature = new CloudFrontSignature(); - $signature->signRequest($request, $credentials); - $this->assertTrue($request->hasHeader('Date')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Integration/BasicOperationsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Integration/BasicOperationsTest.php deleted file mode 100644 index abd76ae..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Integration/BasicOperationsTest.php +++ /dev/null @@ -1,216 +0,0 @@ -get('s3'); - self::$bucketName = crc32(gethostname()) . 'cftest'; - - // Create the test bucket - self::log('Creating bucket for testing distributions: ' . self::$bucketName); - $s3->createBucket(array('Bucket' => self::$bucketName)); - $s3->waitUntil('bucket_exists', array('Bucket' => self::$bucketName)); - - // Add the test object - self::log('Bucket created, adding test object...'); - $s3->putObject(array( - 'Bucket' => self::$bucketName, - 'Key' => 'foo.txt', - 'ACL' => 'public-read', - 'Body' => 'hello!' - )); - $s3->waitUntil('object_exists', array('Bucket' => self::$bucketName, 'Key' => 'foo.txt')); - } - - public static function tearDownAfterClass() - { - $s3 = self::getServiceBuilder()->get('s3'); - self::log('Deleting test object'); - $s3->deleteObject(array( - 'Bucket' => self::$bucketName, - 'Key' => 'foo.txt' - )); - sleep(1); - self::log('Deleting test bucket'); - $s3->deleteBucket(array('Bucket' => self::$bucketName)); - - $cf = self::getServiceBuilder()->get('cloudfront'); - if (self::$originId) { - self::log('Deleting origin access identity'); - $cf->deleteCloudFrontOriginAccessIdentity(array('Id' => self::$originId)); - } - if (self::$distributionId) { - self::log('Deleting distribution'); - $cf->deleteDistribution(array('Id' => self::$distributionId)); - } - } - - public function setUp() - { - $this->client = self::getServiceBuilder()->get('cloudfront'); - } - - public function testCreatesOrigins() - { - $command = $this->client->getCommand('CreateCloudFrontOriginAccessIdentity', array( - 'CallerReference' => 'foo', - 'Comment' => 'Hello!' - )); - $result = $command->getResult(); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - $result = $result->toArray(); - $this->assertArrayHasKey('Id', $result); - self::$originId = $result['Id']; - $this->assertArrayHasKey('S3CanonicalUserId', $result); - $this->assertArrayHasKey('CloudFrontOriginAccessIdentityConfig', $result); - $this->assertEquals(array( - 'CallerReference' => 'foo', - 'Comment' => 'Hello!' - ), $result['CloudFrontOriginAccessIdentityConfig']); - $this->assertArrayHasKey('Location', $result); - $this->assertArrayHasKey('ETag', $result); - $this->assertEquals($result['Location'], (string) $command->getResponse()->getHeader('Location')); - $this->assertEquals($result['ETag'], (string) $command->getResponse()->getHeader('ETag')); - - // Ensure that the RequestId model value is being populated correctly - $this->assertEquals((string) $command->getResponse()->getHeader('x-amz-request-id'), $result['RequestId']); - - // Grant CF to read from the bucket - $s3 = $this->getServiceBuilder()->get('s3'); - $s3->putObjectAcl(array( - 'Bucket' => self::$bucketName, - 'Key' => 'foo.txt', - 'GrantRead' => 'id="' . $result['S3CanonicalUserId'] . '"' - )); - } - - /** - * @depends testCreatesOrigins - */ - public function testCreatesDistribution() - { - if (!self::$originId) { - $this->fail('No originId was set'); - } - - self::log("Creating a distribution"); - - $result = $this->client->createDistribution(array( - 'Aliases' => array('Quantity' => 0), - 'CacheBehaviors' => array('Quantity' => 0), - 'Comment' => 'Testing... 123', - 'Enabled' => true, - 'CallerReference' => 'BazBar-' . time(), - 'DefaultCacheBehavior' => array( - 'MinTTL' => 3600, - 'ViewerProtocolPolicy' => 'allow-all', - 'TargetOriginId' => self::$originId, - 'TrustedSigners' => array( - 'Enabled' => true, - 'Quantity' => 1, - 'Items' => array('self') - ), - 'ForwardedValues' => array( - 'QueryString' => false - ) - ), - 'DefaultRootObject' => 'foo.txt', - 'Logging' => array( - 'Enabled' => false, - 'Bucket' => '', - 'Prefix' => '' - ), - 'Origins' => array( - 'Quantity' => 1, - 'Items' => array( - array( - 'Id' => self::$originId, - 'DomainName' => self::$bucketName . '.s3.amazonaws.com', - 'S3OriginConfig' => array( - 'OriginAccessIdentity' => 'origin-access-identity/cloudfront/' . self::$originId - ) - ) - ) - ) - )); - - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - $result = $result->toArray(); - $this->assertArrayHasKey('Id', $result); - self::$distributionId = $result['Id']; - $this->assertArrayHasKey('Status', $result); - $this->assertArrayHasKey('Location', $result); - self::$distributionUrl = $result['DomainName']; - $this->assertArrayHasKey('ETag', $result); - $this->assertEquals(1, $result['DistributionConfig']['Origins']['Quantity']); - $this->assertArrayHasKey(0, $result['DistributionConfig']['Origins']['Items']); - $this->assertEquals(self::$bucketName . '.s3.amazonaws.com', $result['DistributionConfig']['Origins']['Items'][0]['DomainName']); - $id = $result['Id']; - - $result = $this->client->listDistributions(); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - $result = $result->toArray(); - $this->assertGreaterThan(0, $result['Quantity']); - $found = false; - foreach ($result['Items'] as $item) { - if ($item['Id'] == $id) { - $found = true; - break; - } - } - $this->assertTrue($found); - } - - /** - * @depends testCreatesDistribution - */ - public function testCreatesSignedUrls() - { - self::log('Waiting until the distribution becomes active'); - $client = $this->getServiceBuilder()->get('cloudfront'); - $client->waitUntil('DistributionDeployed', array('Id' => self::$distributionId)); - $url = $client->getSignedUrl(array( - 'url' => 'https://' . self::$distributionUrl . '/foo.txt', - 'expires' => time() + 10000 - )); - self::log('URL: ' . $url); - try { - $c = new HttpClient(); - $this->assertEquals('hello!', $c->get($url)->send()->getBody(true)); - } catch (\Exception $e) { - $this->fail($e->getMessage()); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Integration/IteratorsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Integration/IteratorsTest.php deleted file mode 100644 index d7dd658..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Integration/IteratorsTest.php +++ /dev/null @@ -1,55 +0,0 @@ -getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array( - 'cloudfront/ListDistributions_page_1', - 'cloudfront/ListDistributions_page_2' - )); - $iterator = $client->getIterator('ListDistributions'); - $this->assertInstanceOf('Aws\Common\Iterator\AwsResourceIterator', $iterator); - $result = iterator_to_array($iterator); - $this->assertEquals(3, count($result)); - $this->assertEquals('EXAMPLE1', $result[0]['Id']); - $this->assertEquals('EXAMPLE2', $result[1]['Id']); - $this->assertEquals('EXAMPLE3', $result[2]['Id']); - } - - public function testListStreamingDistributionsIterator() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array( - 'cloudfront/ListStreamingDistributions_page_1', - 'cloudfront/ListStreamingDistributions_page_2' - )); - $iterator = $client->getIterator('ListStreamingDistributions'); - $this->assertInstanceOf('Aws\Common\Iterator\AwsResourceIterator', $iterator); - $result = iterator_to_array($iterator); - $this->assertEquals(3, count($result)); - $this->assertEquals('EXAMPLE1', $result[0]['Id']); - $this->assertEquals('EXAMPLE2', $result[1]['Id']); - $this->assertEquals('EXAMPLE3', $result[2]['Id']); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/DistributionDeployedTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/DistributionDeployedTest.php deleted file mode 100644 index 9a0bd6d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/DistributionDeployedTest.php +++ /dev/null @@ -1,42 +0,0 @@ -getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array( - 'cloudfront/GetDistribution_InProgress', - 'cloudfront/GetDistribution_Deployed' - )); - $client->waitUntil('distribution_deployed', array('Id' => 'bar', 'waiter.interval' => 0)); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBufferOtherExceptions() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array(new Response(404))); - $client->waitUntil('distribution_deployed', array('Id' => 'bar')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/InvalidationCompletedTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/InvalidationCompletedTest.php deleted file mode 100644 index 767a88e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/InvalidationCompletedTest.php +++ /dev/null @@ -1,57 +0,0 @@ -getServiceBuilder()->get('cloudfront'); - $client->waitUntil('InvalidationCompleted', array('Id' => 'foo')); - } - - public function testReturnsTrueIfDeployed() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array( - 'cloudfront/GetInvalidation_InProgress', - 'cloudfront/GetInvalidation_Completed' - )); - $client->waitUntil( - 'InvalidationCompleted', - array('DistributionId' => 'foo', 'Id' => 'bar', 'waiter.interval' => 0) - ); - $requests = $this->getMockedRequests(); - $this->assertEquals(2, count($requests)); - $this->assertContains('/distribution/foo/invalidation/bar', $requests[0]->getUrl()); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBufferOtherExceptions() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array(new Response(404))); - $client->waitUntil('invalidation_completed', array('DistributionId' => 'foo', 'Id' => 'bar')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/StreamingDistributionDeployedTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/StreamingDistributionDeployedTest.php deleted file mode 100644 index b489f09..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudFront/Waiter/StreamingDistributionDeployedTest.php +++ /dev/null @@ -1,42 +0,0 @@ -getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array( - 'cloudfront/GetStreamingDistribution_InProgress', - 'cloudfront/GetStreamingDistribution_Deployed' - )); - $client->waitUntil('streaming_distribution_deployed', array('Id' => 'foo', 'waiter.interval' => 0)); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBufferOtherExceptions() - { - $client = $this->getServiceBuilder()->get('cloudfront'); - $this->setMockResponse($client, array(new Response(404))); - $client->waitUntil('streaming_distribution_deployed', array('Id' => 'foo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudSearch/CloudSearchClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudSearch/CloudSearchClientTest.php deleted file mode 100644 index 7a737ba..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudSearch/CloudSearchClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $this->readAttribute($client, 'signature')); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://cloudsearch.us-east-1.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudSearch/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudSearch/Integration/IntegrationTest.php deleted file mode 100644 index b67e869..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudSearch/Integration/IntegrationTest.php +++ /dev/null @@ -1,73 +0,0 @@ -client = $this->getServiceBuilder()->get('cloudsearch'); - } - - public static function tearDownAfterClass() - { - self::log('Cleaning up'); - $client = self::getServiceBuilder()->get('cloudsearch'); - try { - $client->deleteDomain(array('DomainName' => self::DOMAIN)); - } catch (\Exception $e) {} - } - - public function testCreatesDomains() - { - self::log('Creating test domain'); - $result = $this->client->createDomain(array( - 'DomainName' => self::DOMAIN - ))->toArray(); - $this->assertArrayHasKey('DomainStatus', $result); - $this->assertArrayHasKey('DomainId', $result['DomainStatus']); - $this->assertArrayHasKey('DomainName', $result['DomainStatus']); - $this->assertTrue($result['DomainStatus']['Created']); - } - - public function testListsDomains() - { - self::log('Listing domains'); - $found = false; - foreach ($this->client->getIterator('DescribeDomains') as $domain) { - if ($domain['DomainName'] == self::DOMAIN) { - $found = true; - break; - } - } - if (!$found) { - $this->fail('Did not find the domain ' . self::DOMAIN); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudWatch/CloudWatchClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudWatch/CloudWatchClientTest.php deleted file mode 100644 index 2722ff6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudWatch/CloudWatchClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://monitoring.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudWatch/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudWatch/Integration/IntegrationTest.php deleted file mode 100644 index 3e1256c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/CloudWatch/Integration/IntegrationTest.php +++ /dev/null @@ -1,87 +0,0 @@ -cloudwatch = $this->getServiceBuilder()->get('cloudwatch'); - } - - public function testMetricOperations() - { - $namespace = 'AWSSDKPHP'; - $metricName = 'CloudWatchTests'; - $dimensions = array( - array('Name' => 'Prefix', 'Value' => $this->getResourcePrefix()), - ); - - self::log('Put some data to a metric.'); - $this->cloudwatch->putMetricData(array( - 'Namespace' => $namespace, - 'MetricData' => array( - array( - 'MetricName' => $metricName, - 'Timestamp' => time(), - 'Value' => rand(1, 20) + rand(1, 59) / 100, - 'Unit' => Unit::KILOBYTES, - 'Dimensions' => $dimensions, - ), - ), - )); - - self::log('Make sure the metric exists.'); - $found = false; - foreach ($this->cloudwatch->getIterator('ListMetrics', array('Namespace' => $namespace)) as $metric) { - if ($found = ($metric['MetricName'] == $metricName && $metric['Dimensions'] == $dimensions)) { - break; - } - } - if (!$found) { - $this->markTestSkipped('The CloudWatch metric you created has not yet been picked up by CloudWatch. This ' - . 'can take up to 15 minutes to occur. Please run this test again later.'); - } - - self::log('Verify the statistics of the data that has been put.'); - $result = $this->cloudwatch->getMetricStatistics(array( - 'Namespace' => $namespace, - 'MetricName' => $metricName, - 'Dimensions' => $dimensions, - 'StartTime' => strtotime('-1 days'), - 'EndTime' => strtotime('now'), - 'Period' => 3000, - 'Statistics' => array(Statistic::MAXIMUM, Statistic::MINIMUM), - )); - $min = min($result->getPath('Datapoints/*/Minimum')); - $max = max($result->getPath('Datapoints/*/Maximum')); - $this->assertGreaterThan(1, $min); - $this->assertLessThan(22, $max); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/AwsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/AwsTest.php deleted file mode 100644 index 55ea413..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/AwsTest.php +++ /dev/null @@ -1,49 +0,0 @@ -assertTrue($builder->offsetExists('dynamodb')); - $this->assertTrue($builder->offsetExists('sts')); - } - - public function testTreatsArrayInFirstArgAsGlobalParametersUsingDefaultConfigFile() - { - $builder = Aws::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertEquals('foo', $builder->get('dynamodb')->getConfig('key')); - $this->assertEquals('bar', $builder->get('dynamodb')->getConfig('secret')); - } - - public function testReturnsDefaultConfigPath() - { - $this->assertContains('aws-config.php', Aws::getDefaultServiceDefinition()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/AbstractClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/AbstractClientTest.php deleted file mode 100644 index 477c27b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/AbstractClientTest.php +++ /dev/null @@ -1,240 +0,0 @@ -getMockBuilder('Aws\Common\Client\AbstractClient') - ->setConstructorArgs(array($credentials, $signature, $config)) - ->getMockForAbstractClass(); - - $this->assertSame($signature, $client->getSignature()); - $this->assertSame($credentials, $client->getCredentials()); - $this->assertSame($config, $client->getConfig()); - - // Ensure a signature event dispatcher was added - $this->assertGreaterThan(0, array_filter( - $client->getEventDispatcher()->getListeners('request.before_send'), - function($e) { - return $e[0] instanceof SignatureListener; - } - )); - - // Ensure that the user agent string is correct - $expectedUserAgent = 'aws-sdk-php2/' . Aws::VERSION; - $actualUserAgent = $this->readAttribute($client, 'userAgent'); - $this->assertRegExp("@^{$expectedUserAgent}@", $actualUserAgent); - } - - public function testUsesDefaultWaiterFactory() - { - $client = $this->getMockBuilder('Aws\Common\Client\AbstractClient') - ->disableOriginalConstructor() - ->getMockForAbstractClass(); - - try { - $client->waitUntil('foo', array('baz' => 'bar')); - } catch (\Exception $e) {} - - try { - $client->getWaiter('foo', array('baz' => 'bar')); - } catch (\Exception $e) {} - } - - public function testAllowsWaiterFactoryInjection() - { - $client = $this->getMockBuilder('Aws\Common\Client\AbstractClient') - ->disableOriginalConstructor() - ->getMockForAbstractClass(); - - $waiter = $this->getMockBuilder('Aws\Common\Waiter\ResourceWaiterInterface') - ->setMethods(array('wait', 'setResource', 'setConfig', 'setClient')) - ->getMockForAbstractClass(); - - $waiter->expects($this->once()) - ->method('wait') - ->will($this->returnValue($client)); - - $waiter->expects($this->once()) - ->method('setConfig') - ->will($this->returnValue($waiter)); - - $waiter->expects($this->once()) - ->method('setClient') - ->will($this->returnValue($waiter)); - - $factory = $this->getMockBuilder('Aws\Common\Waiter\WaiterFactoryInterface') - ->setMethods(array('build', 'canBuild')) - ->getMock(); - - $factory->expects($this->once()) - ->method('build') - ->will($this->returnValue($waiter)); - - $client->setWaiterFactory($factory); - $this->assertSame($factory, $client->getWaiterFactory()); - - $this->assertSame($client, $client->waitUntil('foo', array('baz' => 'bar'))); - } - - public function testClientUpperCasesMagicMethodCallsToCommands() - { - $client = $this->getMockBuilder('Aws\Common\Client\AbstractClient') - ->disableOriginalConstructor() - ->getMockForAbstractClass(); - - $factory = $this->getMockBuilder('Guzzle\Service\Command\Factory\FactoryInterface') - ->getMock(); - - $factory->expects($this->once()) - ->method('factory') - ->with('FooBar') - ->will($this->returnValue(null)); - - $client->setCommandFactory($factory); - - try { - $client->fooBar(); - } catch (\Exception $e) {} - } - - public function testSetRegionUpdatesBaseUrlAndSignature() - { - /** @var $client AwsClientInterface */ - $client = $this->getServiceBuilder()->get('dynamodb', true); - - foreach (array_keys($client->getRegions()) as $region) { - $client->setRegion($region); - $this->assertEquals("https://dynamodb.{$region}.amazonaws.com", (string) $client->getBaseUrl()); - $this->assertEquals("https://dynamodb.{$region}.amazonaws.com", $client->getConfig('base_url')); - $this->assertEquals($region, $client->getRegion()); - $this->assertEquals($region, $this->readAttribute($client->getSignature(), 'regionName')); - } - } - - public function testAllowsMagicWaiters() - { - /** @var $client AbstractClient */ - $client = $this->getMockBuilder('Aws\Common\Client\AbstractClient') - ->setConstructorArgs(array( - new Credentials('test', '123'), - new SignatureV4(), - new Collection() - )) - ->setMethods(array('waitUntil')) - ->getMockForAbstractClass(); - $client->expects($this->once()) - ->method('waitUntil') - ->with('Foo', array('baz' => 'bar')); - $client->waitUntilFoo(array('baz' => 'bar')); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage No regions - */ - public function testEnsuresRegionsAreSetWhenCreatingEndpoints() - { - AbstractClient::getEndpoint(ServiceDescription::factory(array()), 'foo', 'baz'); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage foo is not a valid region - */ - public function testEnsuresRegionIsValidWhenCreatingEndpoints() - { - AbstractClient::getEndpoint(ServiceDescription::factory(array( - 'regions' => array( - 'baz' => array() - ) - )), 'foo', 'baz'); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage http is not a valid URI scheme for - */ - public function testEnsuresSchemeIsValidWhenCreatingEndpoints() - { - AbstractClient::getEndpoint(ServiceDescription::factory(array( - 'regions' => array( - 'baz' => array( - 'http' => false - ) - ) - )), 'baz', 'http'); - } - - public function testCreatesEndpoints() - { - $this->assertEquals('http://test.com', AbstractClient::getEndpoint(ServiceDescription::factory(array( - 'regions' => array( - 'baz' => array( - 'http' => true, - 'hostname' => 'test.com' - ) - ) - )), 'baz', 'http')); - } - - public function testChangeRegionAndCredentialsEvents() - { - /** @var $client \Aws\Common\Client\AbstractClient */ - $client = $this->getServiceBuilder()->get('dynamodb', true); - - $this->assertContains('client.region_changed', $client::getAllEvents()); - $this->assertContains('client.credentials_changed', $client::getAllEvents()); - - $regionChanged = false; - $client->getEventDispatcher()->addListener('client.region_changed', function () use (&$regionChanged) { - $regionChanged = true; - }); - - $credentialsChanged = false; - $client->getEventDispatcher()->addListener('client.credentials_changed', function () use (&$credentialsChanged) { - $credentialsChanged = true; - }); - - $this->assertFalse($regionChanged); - $client->setRegion('us-west-1'); - $this->assertTrue($regionChanged); - - $this->assertFalse($credentialsChanged); - $client->setCredentials(new Credentials('foo', 'bar')); - $this->assertTrue($credentialsChanged); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/ClientBuilderTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/ClientBuilderTest.php deleted file mode 100644 index ff5fe78..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/ClientBuilderTest.php +++ /dev/null @@ -1,294 +0,0 @@ -dynamoDbDescription = __DIR__ . '/../../../../../src/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php'; - $this->stsDescription = __DIR__ . '/../../../../../src/Aws/Sts/Resources/sts-2011-06-15.php'; - } - - public function testBuild() - { - $client = ClientBuilder::factory('Aws\\DynamoDb') - ->setConfig(array()) - ->setConfigDefaults(array( - 'scheme' => 'https', - 'region' => 'us-east-1', - 'service' => 'dynamodb', - 'service.description' => $this->dynamoDbDescription - )) - ->setConfigRequirements(array('scheme')) - ->setExceptionParser(new JsonQueryExceptionParser()) - ->setIteratorsConfig(array('token_param' => 'foo')) - ->build(); - - $this->assertInstanceOf('Aws\DynamoDb\DynamoDbClient', $client); - } - - public function testUsesGlobalEndpoint() - { - $client = ClientBuilder::factory('Aws\\Sts') - ->setConfig(array()) - ->setConfigDefaults(array( - 'service' => 'sts', - 'service.description' => $this->stsDescription - )) - ->build(); - - $this->assertInstanceOf('Aws\Sts\StsClient', $client); - } - - public function testBuildAlternate() - { - $client = ClientBuilder::factory('Aws\\DynamoDb') - ->setConfigDefaults(array( - 'scheme' => 'https', - 'region' => 'us-west-1', - 'service' => 'dynamodb', - 'service.description' => $this->dynamoDbDescription, - 'credentials' => Credentials::factory(array('key' => 'foo', 'secret' => 'bar')), - 'client.backoff' => BackoffPLugin::getExponentialBackoff() - )) - ->build(); - - $this->assertInstanceOf('Aws\DynamoDb\DynamoDbClient', $client); - } - - public function getDataForProcessArrayTest() - { - return array( - array( - array('foo' => 'bar', 'bar' => 'baz'), - array('foo' => 'bar', 'bar' => 'baz'), - ), - array( - new Collection(array('foo' => 'bar', 'bar' => 'baz')), - array('foo' => 'bar', 'bar' => 'baz'), - ), - array( - 'foo', - null - ) - ); - } - - /** - * @dataProvider getDataForProcessArrayTest - */ - public function testProcessArrayProcessesCorrectly($input, $expected) - { - $builder = ClientBuilder::factory('Aws\\DynamoDb'); - - try { - $builder->setConfig($input); - $actual = $this->readAttribute($builder, 'config'); - } catch (\InvalidArgumentException $e) { - $actual = null; - } - - $this->assertEquals($expected, $actual); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage No regions found in the - */ - public function testEnsuresDescriptionsContainRegions() - { - ClientBuilder::factory('Aws\\DynamoDb') - ->setConfig(array('service.description' => array('signatureVersion' => 'v2'))) - ->build(); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage does not specify a valid signatureVersion - */ - public function testEnsuresSignatureIsProvided() - { - ClientBuilder::factory('Aws\\DynamoDb') - ->setConfig(array( - 'region' => 'us-west-1', - 'service' => 'dynamodb', - 'scheme' => 'http', - 'service.description' => array( - 'regions' => array('us-west-1' => array('hostname' => 'foo', 'http' => true)) - ) - )) - ->build(); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage A region is required - */ - public function testEnsuresExceptionIsThrownWhenMissingRequiredRegion() - { - ClientBuilder::factory('Aws\\DynamoDb') - ->setConfig(array( - 'service' => 'dynamodb', - 'service.description' => array( - 'signatureVersion' => 'v2', - 'regions' => array('us-east-1' => array()) - ) - )) - ->build(); - } - - public function testAddsDefaultCredentials() - { - $creds = Credentials::factory(array('key' => 'foo', 'secret' => 'bar')); - $config = array( - 'service' => 'dynamodb', - 'region' => 'us-east-1', - 'credentials' => $creds, - 'service.description' => array( - 'signatureVersion' => 'v2', - 'regions' => array('us-east-1' => array('https' => true, 'hostname' => 'foo.com')) - ) - ); - - // Ensure that specific credentials can be used - $client1 = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $this->assertSame($creds, $client1->getCredentials()); - unset($config['credentials']); - - // Ensure that the instance metadata service is called when no credentials are supplied - $client2 = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - try { - $client2->getCredentials()->getAccessKeyId(); - $this->fail('An InstanceProfileCredentialsException should have been thrown.'); - } catch (\Exception $e) { - $this->assertInstanceOf('Aws\Common\Exception\InstanceProfileCredentialsException', $e); - } - - // Ensure that environment credentials are picked up if supplied via putenv - $_SERVER[Credentials::ENV_KEY] = 'server-key'; - $_SERVER[Credentials::ENV_SECRET] = 'server-secret'; - $client3 = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $this->assertEquals('server-key', $client3->getCredentials()->getAccessKeyId()); - $this->assertEquals('server-secret', $client3->getCredentials()->getSecretKey()); - unset($_SERVER[Credentials::ENV_KEY], $_SERVER[Credentials::ENV_SECRET]); - - // Ensure that environment credentials are picked up if supplied via putenv - putenv(Credentials::ENV_KEY . '=env-key'); - putenv(Credentials::ENV_SECRET . '=env-secret'); - $client4 = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $this->assertEquals('env-key', $client4->getCredentials()->getAccessKeyId()); - $this->assertEquals('env-secret', $client4->getCredentials()->getSecretKey()); - putenv(Credentials::ENV_KEY); putenv(Credentials::ENV_SECRET); - } - - public function testAddsDefaultBackoffPluginIfNeeded() - { - $config = array( - 'service' => 'dynamodb', - 'region' => 'us-east-1', - 'service.description' => array( - 'signatureVersion' => 'v2', - 'regions' => array('us-east-1' => array('https' => true, 'hostname' => 'foo.com')) - ) - ); - - // Ensure that a default plugin is set - $client = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\BackoffPlugin', $client->getConfig(Options::BACKOFF)); - // Ensure that the plugin is set - $this->assertTrue($this->hasSubscriber($client, $client->getConfig(Options::BACKOFF))); - - // Ensure that a specific plugin can be used - $plugin = BackoffPlugin::getExponentialBackoff(); - $config[Options::BACKOFF] = $plugin; - $client = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $this->assertSame($plugin, $client->getConfig(Options::BACKOFF)); - // Ensure that the plugin is set - $this->assertTrue($this->hasSubscriber($client, $plugin)); - } - - public function testUsesBackoffLoggerWithDebug() - { - $config = array( - 'service' => 'dynamodb', - 'region' => 'us-east-1', - 'service.description' => array( - 'signatureVersion' => 'v2', - 'regions' => array('us-east-1' => array('https' => true, 'hostname' => 'foo.com')) - ), - Options::BACKOFF_LOGGER => 'debug', - Options::BACKOFF_LOGGER_TEMPLATE => '[{ts}] {url}' - ); - $client = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $plugin = $client->getConfig(Options::BACKOFF); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\BackoffPlugin', $plugin); - $subscribers = $plugin->getEventDispatcher()->getListeners('plugins.backoff.retry'); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\BackoffLogger', $subscribers[0][0]); - $logger = $subscribers[0][0]; - $formatter = $this->readAttribute($logger, 'formatter'); - $this->assertEquals('[{ts}] {url}', $this->readAttribute($formatter, 'template')); - } - - public function testAllowsValidationToBeDisabled() - { - $config = array( - 'service' => 'dynamodb', - 'region' => 'us-east-1', - 'service.description' => array( - 'signatureVersion' => 'v2', - 'regions' => array('us-east-1' => array('https' => true, 'hostname' => 'foo.com')) - ), - 'validation' => false - ); - - $client = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $params = $client->getConfig('command.params'); - $this->assertTrue($params['command.disable_validation']); - } - - public function testAllowsBackoffDisabling() - { - $config = array( - 'service' => 'dynamodb', - 'region' => 'us-east-1', - 'service.description' => array( - 'signatureVersion' => 'v2', - 'regions' => array('us-east-1' => array('https' => true, 'hostname' => 'foo.com')) - ), - 'client.backoff' => false - ); - - $client = ClientBuilder::factory('Aws\\DynamoDb')->setConfig($config)->build(); - $this->assertFalse($client->getConfig('client.backoff')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/DefaultClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/DefaultClientTest.php deleted file mode 100644 index 5cd7d4a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/DefaultClientTest.php +++ /dev/null @@ -1,40 +0,0 @@ -getMock('Aws\Common\Credentials\CredentialsInterface'); - $client = DefaultClient::factory(array( - Options::CREDENTIALS => $credentials, - Options::SERVICE_DESCRIPTION => __DIR__ . '/../../../../../src/Aws/Sts/Resources/sts-2011-06-15.php' - )); - $this->assertInstanceOf('Aws\Common\Signature\SignatureInterface', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\CredentialsInterface', $client->getCredentials()); - $this->assertSame($credentials, $client->getCredentials()); - $this->assertEquals('https://sts.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/UploadBodyListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/UploadBodyListenerTest.php deleted file mode 100644 index 3fee9c4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/UploadBodyListenerTest.php +++ /dev/null @@ -1,56 +0,0 @@ -assertInternalType('array', UploadBodyListener::getSubscribedEvents()); - - $client = $this->getServiceBuilder()->get('s3'); - $command = $client->getCommand('PutObject', array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'SourceFile' => __FILE__ - )); - - $command->prepare(); - - $this->assertInstanceOf('Guzzle\Http\EntityBody', $command->get('Body')); - $this->assertNull($command->get('Source')); - } - - public function testFileHandlesGetConvertedToBodies() - { - $client = $this->getServiceBuilder()->get('s3'); - $command = $client->getCommand('PutObject', array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'Body' => fopen(__FILE__, 'r') - )); - - $command->prepare(); - $this->assertInstanceOf('Guzzle\Http\EntityBody', $command->get('Body')); - $this->assertEquals('text/x-php', $command->get('ContentType')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/UserAgentListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/UserAgentListenerTest.php deleted file mode 100644 index 5fa68d5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Client/UserAgentListenerTest.php +++ /dev/null @@ -1,52 +0,0 @@ -assertInternalType('array', UserAgentListener::getSubscribedEvents()); - - $listener = new UserAgentListener(); - $request = RequestFactory::getInstance()->create('GET', 'http://www.foo.com', array( - 'User-Agent' => 'Aws/Foo Baz/Bar' - )); - - $command = $this->getMockBuilder('Aws\Common\Command\JsonCommand') - ->setMethods(array('getRequest')) - ->getMock(); - - $command->expects($this->any()) - ->method('getRequest') - ->will($this->returnValue($request)); - - $command->add(UserAgentListener::OPTION, 'Test/123') - ->add(UserAgentListener::OPTION, 'Other/456'); - - $event = new Event(array('command' => $command)); - $listener->onBeforeSend($event); - $this->assertEquals('Aws/Foo Baz/Bar Test/123 Other/456', (string) $request->getHeader('User-Agent')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/AwsQueryVisitorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/AwsQueryVisitorTest.php deleted file mode 100644 index 5af8950..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/AwsQueryVisitorTest.php +++ /dev/null @@ -1,217 +0,0 @@ -visit($command, $request, $param, $value); - - $fields = $request->getPostFields()->getAll(); - asort($fields); - - $this->assertEquals($result, $fields); - } - - public function testAppliesTopLevelScalarParams() - { - $operation = new Operation(array( - 'parameters' => array( - 'Foo' => array( - 'location' => 'aws.query', - 'type' => 'string', - ) - ) - )); - $command = new QueryCommand(array('Foo' => 'test'), $operation); - $command->setClient(new Client()); - $request = $command->prepare(); - $fields = $request->getPostFields()->getAll(); - $this->assertEquals(array('Foo' => 'test'), $fields); - } - - public function dataForQueryNormalization() - { - $data = array(); - - // Use Case 1 - $data[0] = array(); - // Parameter - $data[0][0] = new Parameter(array( - 'name' => 'IpPermissions', - 'location' => 'aws.query', - 'data' => array('offset' => 1), - 'type' => 'array', - 'items' => array( - 'data' => array('offset' => 1), - 'type' => 'object', - 'properties' => array( - 'IpProtocol' => array('type' => 'string'), - 'FromPort' => array('type' => 'numeric'), - 'ToPort' => array('type' => 'numeric'), - 'Groups' => array( - 'type' => 'array', - 'data' => array('offset' => 1), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'UserId' => array('type' => 'string'), - 'GroupName' => array('type' => 'string'), - 'GroupId' => array('type' => 'string') - ) - ) - ), - 'IpRanges' => array( - 'type' => 'array', - 'data' => array('offset' => 1), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'CidrIp' => array('type' => 'string') - ) - ) - ), - 'Foo' => array( - 'type' => 'array', - 'sentAs' => 'Foo.member', - 'data' => array('offset' => 10), - 'items' => array('type' => 'string') - ) - ) - ) - )); - // Value - $data[0][1] = array( - array( - 'IpProtocol' => 'tcp', - 'FromPort' => 20, - 'Groups' => array( - array('UserId' => '123', 'GroupName' => 'Foo', 'GroupId' => 'Bar'), - array('UserId' => '456', 'GroupName' => 'Oof', 'GroupId' => 'Rab') - ), - 'IpRanges' => array( - array('CidrIp' => 'test'), - array('CidrIp' => 'other') - ), - 'Foo' => array('test', 'other') - ) - ); - // Result - $data[0][2] = array( - 'IpPermissions.1.FromPort' => 20, - 'IpPermissions.1.Groups.1.UserId' => '123', - 'IpPermissions.1.Groups.2.UserId' => '456', - 'IpPermissions.1.Groups.1.GroupId' => 'Bar', - 'IpPermissions.1.Groups.1.GroupName' => 'Foo', - 'IpPermissions.1.Groups.2.GroupName' => 'Oof', - 'IpPermissions.1.Groups.2.GroupId' => 'Rab', - 'IpPermissions.1.Foo.member.11' => 'other', - 'IpPermissions.1.IpRanges.2.CidrIp' => 'other', - 'IpPermissions.1.IpProtocol' => 'tcp', - 'IpPermissions.1.IpRanges.1.CidrIp' => 'test', - 'IpPermissions.1.Foo.member.10' => 'test', - ); - - // Use Case 2 - $data[1] = array(); - // Parameter - $data[1][0] = new Parameter(array( - 'name' => 'Attributes', - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'Attribute', - 'additionalProperties' => array( - 'type' => 'string', - ), - )); - // Value - $data[1][1] = array( - 'ReceiveMessageWaitTimeSeconds' => 50, - 'DelaySeconds' => 25, - ); - // Result - $data[1][2] = array( - 'Attribute.1.Name' => 'ReceiveMessageWaitTimeSeconds', - 'Attribute.1.Value' => 50, - 'Attribute.2.Name' => 'DelaySeconds', - 'Attribute.2.Value' => 25, - ); - - // Use Case 3 - $data[2] = array(); - // Parameter - $data[2][0] = new Parameter(array( - 'name' => 'Attributes', - 'type' => 'object', - 'location' => 'aws.query', - 'sentAs' => 'Attribute', - 'additionalProperties' => array( - 'type' => 'object', - 'properties' => array( - 'Foo' => array('type' => 'string'), - 'Bar' => array('type' => 'string'), - 'Baz' => array('type' => 'string'), - ) - ), - )); - // Value - $data[2][1] = array( - 'Param1' => array( - 'Foo' => 'foo1', - 'Bar' => 'bar1', - 'Baz' => 'baz1', - ), - 'Param2' => array( - 'Foo' => 'foo2', - 'Bar' => 'bar2', - 'Baz' => 'baz2', - ), - ); - // Result - $data[2][2] = array( - 'Attribute.1.Name' => 'Param1', - 'Attribute.1.Value.Foo' => 'foo1', - 'Attribute.1.Value.Bar' => 'bar1', - 'Attribute.1.Value.Baz' => 'baz1', - 'Attribute.2.Name' => 'Param2', - 'Attribute.2.Value.Foo' => 'foo2', - 'Attribute.2.Value.Bar' => 'bar2', - 'Attribute.2.Value.Baz' => 'baz2', - ); - - return $data; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/JsonCommandTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/JsonCommandTest.php deleted file mode 100644 index d0671d9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/JsonCommandTest.php +++ /dev/null @@ -1,92 +0,0 @@ - 'foobar', - 'httpMethod' => 'POST', - 'parameters' => array( - 'test' => array('location' => 'json'), - 'named' => array('location' => 'json', 'sentAs' => 'Foo'), - 'ignore_me' => array('location' => 'header') - ) - )); - - $command = new JsonCommand(array('test' => '123', 'named' => 'abc'), $api); - $command->setClient(new Client()); - $request = $command->prepare(); - $json = json_decode((string) $request->getBody(), true); - $this->assertEquals('123', $json['test']); - $this->assertEquals('abc', $json['Foo']); - } - - public function testAllowsToArrayParameters() - { - $api = new Operation(array( - 'name' => 'foo', - 'httpMethod' => 'POST', - 'parameters' => array( - 'test' => array('location' => 'json'), - 'foo' => array( - 'location' => 'json', - 'type' => 'object', - 'properties' => array( - 'baz' => array( - 'type' => 'string' - ) - ) - ) - ) - )); - - $command = new JsonCommand(array( - 'test' => 'hello', - 'foo' => $this - ), $api); - - $command->setClient(new Client()); - $request = $command->prepare(); - $json = json_decode((string) $request->getBody(), true); - $this->assertEquals('hello', $json['test']); - $this->assertEquals(array('baz' => 'bar'), $json['foo']); - } - - public function testEnsuresThatBodyIsAlwaysSet() - { - $command = new JsonCommand(); - $command->setClient(new Client()); - $request = $command->prepare(); - $this->assertEquals('{}', (string) $request->getBody()); - } - - public function toArray() - { - return array('baz' => 'bar'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/XmlResponseLocationVisitorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/XmlResponseLocationVisitorTest.php deleted file mode 100644 index 50d0bd8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Command/XmlResponseLocationVisitorTest.php +++ /dev/null @@ -1,55 +0,0 @@ -markTestIncomplete(); - } - - public function testHandlesWrappedMembers() - { - $this->markTestIncomplete(); - } - - public function testHandlesXmlMaps() - { - $result = XmlResponseLocationVisitor::xmlMap(array( - array('key' => 'a', 'value' => 1), - array('key' => 'b', 'value' => 2), - array('key' => 'c', 'value' => 3) - ), 'item', 'key', 'value'); - $this->assertEquals(array( - 'a' => '1', - 'b' => '2', - 'c' => '3' - ), $result); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/AbstractCredentialsDecoratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/AbstractCredentialsDecoratorTest.php deleted file mode 100644 index f3ed621..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/AbstractCredentialsDecoratorTest.php +++ /dev/null @@ -1,53 +0,0 @@ -assertEquals('a', $c->getAccessKeyId()); - $this->assertEquals('b', $c->getSecretKey()); - $this->assertEquals('c', $c->getSecurityToken()); - $this->assertEquals(1000, $c->getExpiration()); - - $this->assertSame($c, $c->setAccessKeyId('foo')); - $this->assertSame($c, $c->setSecretKey('baz')); - $this->assertSame($c, $c->setSecurityToken('bar')); - $this->assertSame($c, $c->setExpiration(500)); - - $this->assertEquals('foo', $c->getAccessKeyId()); - $this->assertEquals('baz', $c->getSecretKey()); - $this->assertEquals('bar', $c->getSecurityToken()); - $this->assertEquals(500, $c->getExpiration()); - - $this->assertTrue($c->isExpired()); - - $this->assertSame($c->serialize(), $credentials->serialize()); - $this->assertEquals(unserialize(serialize($c)), $c); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/AbstractRefreshableCredentialsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/AbstractRefreshableCredentialsTest.php deleted file mode 100644 index 19af136..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/AbstractRefreshableCredentialsTest.php +++ /dev/null @@ -1,44 +0,0 @@ -getMockBuilder('Aws\\Common\\Credentials\\AbstractRefreshableCredentials') - ->setConstructorArgs(array($c)) - ->setMethods(array('refresh')) - ->getMock(); - - $mock->expects($this->exactly(4)) - ->method('refresh'); - - /** @var $mock \Aws\Common\Credentials\AbstractRefreshableCredentials */ - $mock->getAccessKeyId(); - $mock->getSecretKey(); - $mock->getSecurityToken(); - $mock->serialize(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/CacheableCredentialsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/CacheableCredentialsTest.php deleted file mode 100644 index 3434629..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/CacheableCredentialsTest.php +++ /dev/null @@ -1,97 +0,0 @@ -getCache(); - - // Seed the cache with some credentials - $c = new Credentials('a', 'b', 'c', time() + 100000); - $cache->save('foo', $c, 10000); - - // Create expired credentials - $c = new Credentials('', '', '', 1); - $creds = new CacheableCredentials($c, $cache, 'foo'); - - // Should get a cache hit - $this->assertEquals('a', $creds->getAccessKeyId()); - $this->assertEquals('b', $creds->getSecretKey()); - $this->assertEquals('c', $creds->getSecurityToken()); - } - - public function testDiscardsExpiredCachedData() - { - $cache = $this->getCache(); - - // Seed the cache with some credentials - $c = new Credentials('a', 'b', 'c', 1); - $cache->save('foo', $c, 10000); - - // Create more expired credentials - $c = new Credentials('foo', 'baz', 'bar', 1); - $creds = new CacheableCredentials($c, $cache, 'foo'); - - // should ignore the expired cached data - $this->assertEquals('foo', $creds->getAccessKeyId()); - $this->assertEquals('baz', $creds->getSecretKey()); - $this->assertEquals('bar', $creds->getSecurityToken()); - } - - public function testSavesCredentialsToCache() - { - $cache = $this->getCache(); - - $mock = $this->getMockBuilder('Aws\\Common\\Credentials\\Credentials') - ->setConstructorArgs(array('foo', 'baz', 'bar', 1)) - ->setMethods(array('isExpired')) - ->getMock(); - - $count = 0; - $callback = function () use (&$count) { - return ++$count == 1; - }; - - // First return true, then false - $mock->expects($this->any()) - ->method('isExpired') - ->will($this->returnCallback($callback)); - - $creds = new CacheableCredentials($mock, $cache, 'foo'); - - // should ignore the expired cached data - $this->assertEquals('foo', $creds->getAccessKeyId()); - - // Ensure that the credentials were cached - $this->assertTrue($cache->contains('foo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/CredentialsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/CredentialsTest.php deleted file mode 100644 index faa3b7b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/CredentialsTest.php +++ /dev/null @@ -1,174 +0,0 @@ -assertEquals('abc', $c->getAccessKeyId()); - $this->assertEquals('123', $c->getSecretKey()); - $this->assertNull($c->getSecurityToken()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::factory - * @covers Aws\Common\Credentials\Credentials::__construct - * @covers Aws\Common\Credentials\Credentials::getExpiration - */ - public function testOwnsTokenAndExpiration() - { - $c = new Credentials('1', '2', 'a', 123); - $this->assertEquals('a', $c->getSecurityToken()); - $this->assertEquals(123, $c->getExpiration()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::isExpired - */ - public function testCredentialsDoNotExpireByDefault() - { - $c = new Credentials('abc', '123'); - $this->assertFalse($c->isExpired()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::getExpiration - */ - public function testCredentialProvideExpirationDetails() - { - $c = new Credentials('abc', '123'); - $this->assertEquals('abc', $c->getAccessKeyId()); - $this->assertEquals('123', $c->getSecretKey()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::serialize - * @covers Aws\Common\Credentials\Credentials::unserialize - */ - public function testCredentialsCanBeSerialized() - { - $c = new Credentials('a', 'b', 'c'); - - $json = json_decode($c->serialize(), true); - $this->assertEquals('a', $json['key']); - $this->assertEquals('b', $json['secret']); - $this->assertEquals('c', $json['token']); - $this->assertArrayHasKey('token.ttd', $json); - - $c2 = clone $c; - $c2->unserialize($c->serialize()); - $this->assertEquals('a', $c2->getAccessKeyId()); - $this->assertEquals('b', $c2->getSecretKey()); - $this->assertEquals('c', $c2->getSecurityToken()); - } - - public function testCanSetNewValues() - { - $c = new Credentials('', ''); - $c->setAccessKeyId('foo')->setSecretKey('baz')->setSecurityToken('bar')->setExpiration(123); - $this->assertEquals('foo', $c->getAccessKeyId()); - $this->assertEquals('baz', $c->getSecretKey()); - $this->assertEquals(123, $c->getExpiration()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::getConfigDefaults - */ - public function testProvidesListOfCredentialsOptions() - { - $this->assertInternalType('array', Credentials::getConfigDefaults()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::factory - */ - public function testFactoryCreatesBasicCredentials() - { - $credentials = Credentials::factory(array( - 'key' => 'foo', - 'secret' => 'baz', - 'token' => 'bar', - 'token.ttd' => 123 - )); - - $this->assertInstanceOf('Aws\\Common\\Credentials\\Credentials', $credentials); - $this->assertEquals('foo', $credentials->getAccessKeyId()); - $this->assertEquals('baz', $credentials->getSecretKey()); - $this->assertEquals('bar', $credentials->getSecurityToken()); - $this->assertEquals(123, $credentials->getExpiration()); - } - - /** - * @covers Aws\Common\Credentials\Credentials::factory - */ - public function testFactoryCreatesInstanceProfileWhenNoKeysAreProvided() - { - $credentials = Credentials::factory(); - $this->assertInstanceOf('Aws\Common\Credentials\RefreshableInstanceProfileCredentials', $credentials); - } - - /** - * @covers Aws\Common\Credentials\Credentials::factory - */ - public function testFactoryCreatesCacheWhenSetToTrue() - { - $credentials = Credentials::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - 'credentials.cache' => true - )); - - $this->assertInstanceOf('Aws\Common\Credentials\CacheableCredentials', $credentials); - $this->assertInstanceOf('Guzzle\Cache\DoctrineCacheAdapter', $this->readAttribute($credentials, 'cache')); - $this->assertEquals('credentials_foo', $this->readAttribute($credentials, 'cacheKey')); - } - - /** - * @covers Aws\Common\Credentials\Credentials::factory - */ - public function testFactoryUsesExplicitlyProvidedCache() - { - $cache = new DoctrineCacheAdapter(new ArrayCache()); - $credentials = Credentials::factory(array( - 'credentials.cache' => $cache - )); - $this->assertInstanceOf('Aws\Common\Credentials\CacheableCredentials', $credentials); - $this->assertInstanceOf('Guzzle\Cache\DoctrineCacheAdapter', $this->readAttribute($credentials, 'cache')); - } - - /** - * @covers Aws\Common\Credentials\Credentials::factory - * @expectedException Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Unable to utilize caching with the specified options - */ - public function testFactoryBailsWhenCacheCannotBeDetermined() - { - Credentials::factory(array('credentials.cache' => 'foo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/RefreshableInstanceProfileCredentialsIntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/RefreshableInstanceProfileCredentialsIntegrationTest.php deleted file mode 100644 index dd7f974..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/RefreshableInstanceProfileCredentialsIntegrationTest.php +++ /dev/null @@ -1,133 +0,0 @@ - $client - )); - - $this->assertInstanceOf('Aws\Common\Credentials\RefreshableInstanceProfileCredentials', $credentials); - $this->assertSame($client, $this->readAttribute($credentials, 'client')); - - return array($credentials, $client); - } - - /** - * Ensures that instance profile credentials are refreshed when they expire - * - * @depends testUsesInstanceProfileCredentialsByDefault - */ - public function testRefreshesExpiredCredentials(array $creds) - { - $this->skipIfNotEc2(); - - list($credentials, $client) = $creds; - - // Expire the credentials - $credentials->setExpiration(0); - - if ($this->useMocks()) { - $this->setMockResponse($client, array('metadata/iam_security_credentials', 'metadata/iam_security_credentials_webapp')); - } - - $this->assertNotEmpty($credentials->getAccessKeyId()); - - if ($this->useMocks()) { - $this->assertEquals(2, count($this->getMockedRequests())); - } - } - - /** - * Ensures that clients use instance profile credentials by default - */ - public function testClientsUseInstanceProfileCredentialsByDefault() - { - $client = DynamoDbClient::factory(array( - 'region' => 'us-east-1' - )); - $this->assertInstanceOf('Aws\Common\Credentials\RefreshableInstanceProfileCredentials', $client->getCredentials()); - } - - /** - * @depends testUsesInstanceProfileCredentialsByDefault - */ - public function testClientsUseInstanceProfileCredentials(array $creds) - { - $this->skipIfNotEc2(); - - list($credentials, $client) = $creds; - - $dynamo = DynamoDbClient::factory(array( - 'credentials' => $credentials - )); - - // Ensure that the correct credentials object and client are being used - $this->assertSame($credentials, $dynamo->getCredentials()); - - if ($this->useMocks()) { - $this->setMockResponse($client, array('metadata/iam_security_credentials', 'metadata/iam_security_credentials_webapp')); - $this->setMockResponse($dynamo, 'dynamodb/list_tables_final'); - } - - // Expire the credentials - $credentials->setExpiration(0); - // List a table, causing a credential refresh and list table request - $this->assertInternalType('array', $dynamo->listTables()); - } - - public function testCredentialsUsesApcCacheWhenCacheIsTrue() - { - $client = InstanceMetadataClient::factory(); - $credentials = Credentials::factory(array( - 'credentials.client' => $client, - 'credentials.cache' => true - )); - - $this->assertInstanceOf('Aws\Common\Credentials\CacheableCredentials', $credentials); - $this->assertInstanceOf('Guzzle\Cache\DoctrineCacheAdapter', $this->readAttribute($credentials, 'cache')); - } - - public function testCredentialsCanInjectCacheAndUsesHostnameBasedKey() - { - $cache = new DoctrineCacheAdapter(new ArrayCache()); - $cache->save('credentials_' . crc32(gethostname()), new Credentials('ABC', '123', 'Listen to me', time() + 10000)); - $credentials = Credentials::factory(array( - 'credentials.cache' => $cache - )); - - $this->assertInstanceOf('Aws\Common\Credentials\CacheableCredentials', $credentials); - $this->assertSame($cache, $this->readAttribute($credentials, 'cache')); - $this->assertEquals('ABC', $credentials->getAccessKeyId()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/RefreshableInstanceProfileCredentialsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/RefreshableInstanceProfileCredentialsTest.php deleted file mode 100644 index c80adfb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Credentials/RefreshableInstanceProfileCredentialsTest.php +++ /dev/null @@ -1,84 +0,0 @@ -assertInstanceOf('Aws\\Common\\InstanceMetadata\\InstanceMetadataClient', $this->readAttribute($credentials, 'client')); - } - - public function testMetadataCredentialsCanBeRefreshed() - { - list($client, $credentials) = $this->getMetadataCredentials(); - $mock = $this->setMockResponse($client, array( - 'metadata/iam_security_credentials', - 'metadata/iam_security_credentials_webapp' - )); - - $credentials->getSecurityToken(); - - $mockedRequests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($mockedRequests)); - $this->assertContains('/webapp', (string) $mockedRequests[1]->getUrl()); - } - - /** - * @expectedException \Aws\Common\Exception\InstanceProfileCredentialsException - * @expectedExceptionMessage Error retrieving credentials from the instance profile metadata server - */ - public function testExceptionsAreWrapped() - { - list($client, $credentials) = $this->getMetadataCredentials(); - $mock = new MockPlugin(array( - new Response(400) - )); - $client->getEventDispatcher()->addSubscriber($mock); - $credentials->getSecurityToken(); - } - - /** - * @expectedException \Aws\Common\Exception\InstanceProfileCredentialsException - * @expectedExceptionMessage Unexpected response code: InstanceProfileNotFound - */ - public function testEnsuresResponseCodeIsSuccess() - { - list($client, $credentials) = $this->getMetadataCredentials(); - $mock = new MockPlugin(array( - $this->getMockResponse('metadata/iam_security_credentials'), - new Response(200, null, '{ "Code": "InstanceProfileNotFound" }') - )); - $client->getEventDispatcher()->addSubscriber($mock); - $credentials->getSecurityToken(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/EnumTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/EnumTest.php deleted file mode 100644 index 1571302..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/EnumTest.php +++ /dev/null @@ -1,69 +0,0 @@ -assertEquals(array(), Enum::values()); - } - - /** - * @covers Aws\Common\Enum - */ - public function testAbstractEnumKeysShouldBeEmpty() - { - $this->assertEquals(array(), Enum::keys()); - } - - /** - * @covers Aws\Common\Enum - */ - public function testConcreteEnumValuesAreCorrect() - { - $expected = array( - 'A' => 1, - 'B' => 2, - 'C' => 3, - ); - - $this->assertSame($expected, ConcreteEnum::values()); - } - - /** - * @covers Aws\Common\Enum - */ - public function testConcreteEnumConstantNamesAreCorrect() - { - $expected = array('A', 'B', 'C'); - - $this->assertSame($expected, ConcreteEnum::keys()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/ExceptionListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/ExceptionListenerTest.php deleted file mode 100644 index 2202b4e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/ExceptionListenerTest.php +++ /dev/null @@ -1,61 +0,0 @@ -assertArrayHasKey('request.error', ExceptionListener::getSubscribedEvents()); - } - - public function testThrowsServiceSpecificExceptions() - { - $e = new ServiceResponseException('Foo'); - $response = new Response(200); - - $factory = $this->getMockBuilder('Aws\Common\Exception\ExceptionFactoryInterface') - ->setMethods(array('fromResponse')) - ->getMock(); - - $factory->expects($this->once()) - ->method('fromResponse') - ->with($response) - ->will($this->returnValue($e)); - - $listener = new ExceptionListener($factory); - - $event = new Event(array( - 'response' => $response - )); - - try { - $listener->onRequestError($event); - $this->fail('Did not throw expected exception'); - } catch (ServiceResponseException $thrown) { - $this->assertSame($e, $thrown); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/InstanceProfileCredentialsExceptionTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/InstanceProfileCredentialsExceptionTest.php deleted file mode 100644 index 635b771..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/InstanceProfileCredentialsExceptionTest.php +++ /dev/null @@ -1,34 +0,0 @@ -assertNull($e->getStatusCode()); - $e->setStatusCode('Bar'); - $this->assertEquals('Bar', $e->getStatusCode()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/NamespaceExceptionFactoryTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/NamespaceExceptionFactoryTest.php deleted file mode 100644 index 96200d5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/NamespaceExceptionFactoryTest.php +++ /dev/null @@ -1,51 +0,0 @@ -assertInstanceOf('Aws\Common\Exception\ServiceResponseException', $factory->fromResponse($response)); - } - - public function testThrowsNamespacedExceptionsThatAreNotServiceExceptions() - { - $response = new Response(200, array(), '{ "__type": "runtimeException", "code": "foo", "message": "bar" }'); - $factory = new NamespaceExceptionFactory(new JsonQueryExceptionParser(), 'Aws\Common\Exception'); - $this->assertInstanceOf('Aws\Common\Exception\RuntimeException', $factory->fromResponse($response)); - } - - public function testThrowsNamespacedServiceResponseExceptions() - { - $response = new Response(400, array(), '{ "__type": "abc#ServiceResponse", "message": "bar" }'); - $factory = new NamespaceExceptionFactory(new JsonQueryExceptionParser(), 'Aws\Common\Exception'); - $exception = $factory->fromResponse($response); - $this->assertInstanceOf('Aws\Common\Exception\ServiceResponseException', $exception); - $this->assertEquals('ServiceResponse', $exception->getExceptionCode()); - $this->assertEquals('client', $exception->getExceptionType()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/DefaultXmlExceptionParserTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/DefaultXmlExceptionParserTest.php deleted file mode 100644 index 283182c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/DefaultXmlExceptionParserTest.php +++ /dev/null @@ -1,100 +0,0 @@ -' . "\n" . - '' . - ' ' . - ' ' . - ' Error code text' . - ' Error message' . - ' ' . - ' ' . - ' xyz' . - '' - ), - array( - '' . "\n" . - '' . - ' Error code text' . - ' Error message' . - ' Foo' . - ' xyz' . - '' - ), - array( - '' . - ' ' . - ' Error code text' . - ' Error code text' . - ' Error message' . - ' ' . - ' xyz' . - '' - ) - ); - } - - /** - * @dataProvider xmlDataProvider - */ - public function testParsesResponses($xml) - { - $response = Response::fromMessage("HTTP/1.1 400 Bad Request\r\n\r\n{$xml}"); - $parser = new DefaultXmlExceptionParser(); - $result = $parser->parse($response); - $this->assertInternalType('array', $result); - $this->assertEquals('client', $result['type']); - $this->assertEquals('Error code text', $result['code']); - $this->assertEquals('Error message', $result['message']); - $this->assertEquals('xyz', $result['request_id']); - $this->assertInstanceOf('SimpleXMLElement', $result['parsed']); - } - - public function testParsesResponsesWithNoBodyAndNoRequestId() - { - $response = Response::fromMessage("HTTP/1.1 400 Bad Request\r\n\r\n"); - $parser = new DefaultXmlExceptionParser(); - $result = $parser->parse($response); - $this->assertEquals('400 Bad Request', $result['message']); - $this->assertNull($result['parsed']); - } - - public function testParsesResponsesWithNoBody() - { - $response = Response::fromMessage("HTTP/1.1 400 Bad Request\r\nX-Amz-Request-ID: Foo\r\n\r\n"); - $parser = new DefaultXmlExceptionParser(); - $result = $parser->parse($response); - $this->assertEquals('400 Bad Request (Request-ID: Foo)', $result['message']); - $this->assertEquals('Foo', $result['request_id']); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/JsonQueryExceptionParserTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/JsonQueryExceptionParserTest.php deleted file mode 100644 index e516989..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/JsonQueryExceptionParserTest.php +++ /dev/null @@ -1,69 +0,0 @@ -assertEquals(array( - 'code' => 'foo', - 'message' => 'lorem ipsum', - 'type' => 'client', - 'request_id' => 'xyz', - 'parsed' => array( - '__type' => 'foo', - 'message' => 'lorem ipsum' - ) - ), $parser->parse($response)); - } - - public function testParsesServerErrorResponsesWithMixedCasing() - { - $response = Response::fromMessage( - "HTTP/1.1 500 Internal Server Error\r\n" . - "x-amzn-requestid: 123\r\n\r\n" . - '{ "__Type": "abc#bazFault", "Message": "dolor" }' - ); - - $parser = new JsonQueryExceptionParser(); - $this->assertEquals(array( - 'code' => 'baz', - 'message' => 'dolor', - 'type' => 'server', - 'request_id' => '123', - 'parsed' => array( - '__type' => 'abc#bazFault', - 'message' => 'dolor' - ) - ), $parser->parse($response)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/JsonRestExceptionParserTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/JsonRestExceptionParserTest.php deleted file mode 100644 index beb33ff..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/Parser/JsonRestExceptionParserTest.php +++ /dev/null @@ -1,69 +0,0 @@ -assertEquals(array( - 'code' => 'foo', - 'message' => 'lorem ipsum', - 'type' => 'client', - 'request_id' => 'xyz', - 'parsed' => array( - 'type' => 'client', - 'message' => 'lorem ipsum', - 'code' => 'foo' - ) - ), $parser->parse($response)); - } - - public function testParsesClientErrorResponseWithCodeInHeader() - { - $response = Response::fromMessage( - "HTTP/1.1 400 Bad Request\r\n" . - "x-amzn-RequestId: xyz\r\n" . - "x-amzn-ErrorType: foo:bar\r\n\r\n" . - '{ "message": "lorem ipsum"}' - ); - - $parser = new JsonRestExceptionParser(); - $this->assertEquals(array( - 'code' => 'foo', - 'message' => 'lorem ipsum', - 'type' => 'client', - 'request_id' => 'xyz', - 'parsed' => array( - 'message' => 'lorem ipsum', - ) - ), $parser->parse($response)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/ServiceResponseExceptionTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/ServiceResponseExceptionTest.php deleted file mode 100644 index c92d498..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Exception/ServiceResponseExceptionTest.php +++ /dev/null @@ -1,56 +0,0 @@ -setExceptionCode('foo'); - $this->assertEquals('foo', $e->getExceptionCode()); - $e->setExceptionType('client'); - $this->assertEquals('client', $e->getExceptionType()); - $e->setRequestId('xyz'); - $this->assertEquals('xyz', $e->getRequestId()); - - $response = new Response(200); - $e->setResponse($response); - $this->assertSame($response, $e->getResponse()); - - $this->assertEquals('Aws\Common\Exception\ServiceResponseException: AWS Error Code: foo, Status Code: 200, AWS Request ID: xyz, AWS Error Type: client, AWS Error Message: Foo!', (string) $e); - } - - public function testAddsUserAgentIfAvailable() - { - $response = new Response(200); - $response->setRequest(new Request('GET', 'http://www.foo.com', array('User-Agent' => 'Foo/Bar'))); - $e = new ServiceResponseException('Foo!'); - $e->setExceptionCode('foo'); - $e->setExceptionType('client'); - $e->setRequestId('xyz'); - $e->setResponse($response); - $this->assertEquals('Aws\Common\Exception\ServiceResponseException: AWS Error Code: foo, Status Code: 200, AWS Request ID: xyz, AWS Error Type: client, AWS Error Message: Foo!, User-Agent: Foo/Bar', (string) $e); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/ChunkHashTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/ChunkHashTest.php deleted file mode 100644 index 37a79a1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/ChunkHashTest.php +++ /dev/null @@ -1,77 +0,0 @@ -assertTrue(is_resource($this->readAttribute($chunkHash, 'context'))); - } - - public function testHashingIsHappeningCorrectly() - { - $content = 'foo'; - $hashHex = hash('sha256', $content); - $hashBin = hash('sha256', $content, true); - - $chunkHash = new ChunkHash('sha256'); - $chunkHash->addData($content); - - $this->assertEquals($hashHex, $chunkHash->getHash()); - $this->assertEquals($hashBin, $chunkHash->getHash(true)); - } - - /** - * @expectedException \LogicException - */ - public function testCannotAddDataAfterHashCalculation() - { - $chunkHash = new ChunkHash('sha256'); - $chunkHash->addData('foo'); - $chunkHash->getHash(); - - $chunkHash->addData('bar'); - } - - public function testCloneMakesCopyOfHashContext() - { - $chunkHash1 = new ChunkHash('sha256'); - $chunkHash1->addData('foo'); - - $chunkHash2 = clone $chunkHash1; - - $this->assertEquals(hash('sha256', 'foo'), $chunkHash1->getHash()); - - $chunkHash2->addData('bar'); - $this->assertEquals(hash('sha256', 'foobar'), $chunkHash2->getHash()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/HashUtilsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/HashUtilsTest.php deleted file mode 100644 index 1a5e5ea..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/HashUtilsTest.php +++ /dev/null @@ -1,47 +0,0 @@ -assertEquals($hex, HashUtils::binToHex($bin)); - $this->assertEquals($bin, HashUtils::hexToBin($hex)); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionForInvalidAlgorithm() - { - HashUtils::validateAlgorithm('foobar'); - } - - public function testReturnsTrueForValidAlgorithm() - { - $this->assertTrue(HashUtils::validateAlgorithm('md5')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/TreeHashTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/TreeHashTest.php deleted file mode 100644 index 937dc34..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Hash/TreeHashTest.php +++ /dev/null @@ -1,132 +0,0 @@ -chunks = array(str_repeat('x', Size::MB), 'foobar'); - $data->content = join('', $data->chunks); - $data->binHashes = $getHashedChunks($data->chunks, true); - $data->hexHashes = $getHashedChunks($data->chunks, false); - $data->checksum = hash('sha256', join('', $data->binHashes)); - $data->binChecksum = hash('sha256', join('', $data->binHashes), true); - - return $data; - } - - /** - * @covers Aws\Common\Hash\TreeHash::fromChecksums - */ - public function testTreeHashingChecksumsWorksCorrectly() - { - $d = $this->getTestData(); - $this->assertEquals($d->checksum, TreeHash::fromChecksums($d->binHashes, true)->getHash()); - $this->assertEquals($d->checksum, TreeHash::fromChecksums($d->hexHashes)->getHash()); - } - - /** - * @covers Aws\Common\Hash\TreeHash::fromContent - */ - public function testTreeHashingContentWorksCorrectly() - { - $d = $this->getTestData(); - $this->assertEquals($d->checksum, TreeHash::fromContent($d->content)->getHash()); - } - - /** - * @covers Aws\Common\Hash\TreeHash::validateChecksum - */ - public function testValidatingChecksumWorksCorrectly() - { - $d = $this->getTestData(); - $this->assertTrue(TreeHash::validateChecksum($d->content, $d->checksum)); - } - - /** - * @expectedException \InvalidArgumentException - * @covers Aws\Common\Hash\TreeHash::__construct - */ - public function testThrowsExceptionForInvalidAlgorithm() - { - $chunkHash = new TreeHash('foobar'); - } - - /** - * @covers Aws\Common\Hash\TreeHash::__construct - * @covers Aws\Common\Hash\TreeHash::addData - * @covers Aws\Common\Hash\TreeHash::addChecksum - * @covers Aws\Common\Hash\TreeHash::getHash - */ - public function testHashingIsHappeningCorrectly() - { - $d = $this->getTestData(); - $treeHash = new TreeHash('sha256'); - $treeHash->addData($d->chunks[0]); - $treeHash->addChecksum($d->hexHashes[1]); - - $this->assertEquals($d->checksum, $treeHash->getHash()); - $this->assertEquals($d->binChecksum, $treeHash->getHash(true)); - } - - /** - * @expectedException \LogicException - * @covers Aws\Common\Hash\TreeHash::addData - */ - public function testCannotAddDataAfterHashCalculation() - { - $chunkHash = new TreeHash('sha256'); - $chunkHash->addData('foo'); - $chunkHash->getHash(); - - $chunkHash->addData('bar'); - } - - /** - * @expectedException \InvalidArgumentException - * @covers Aws\Common\Hash\TreeHash::addData - */ - public function testCannotAddDataChunksLargerThanOneMegabyte() - { - $chunkHash = new TreeHash('sha256'); - $chunkHash->addData(str_repeat('foo', 1.2 * Size::MB)); - } - - /** - * @expectedException \LogicException - * @covers Aws\Common\Hash\TreeHash::addChecksum - */ - public function testCannotAddChecksumsAfterHashCalculation() - { - $chunkHash = new TreeHash('sha256'); - $chunkHash->addData('foo'); - $chunkHash->getHash(); - - $chunkHash->addChecksum('bar'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/HostNameUtilsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/HostNameUtilsTest.php deleted file mode 100644 index 3602e15..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/HostNameUtilsTest.php +++ /dev/null @@ -1,78 +0,0 @@ -assertEquals($service, HostNameUtils::parseServiceName($url), 'Service name mismatch'); - $this->assertEquals($region, HostNameUtils::parseRegionName($url), 'Region mismatch'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/InstanceMetadata/InstanceMetadataClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/InstanceMetadata/InstanceMetadataClientTest.php deleted file mode 100644 index 6a9fa0f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/InstanceMetadata/InstanceMetadataClientTest.php +++ /dev/null @@ -1,89 +0,0 @@ - 'foo' - )); - - $this->assertEquals('http://169.254.169.254/foo/', $client->getBaseUrl()); - } - - /** - * @covers Aws\Common\InstanceMetadata\InstanceMetadataClient::getCredentials - */ - public function testCredentialsAreNull() - { - $client = InstanceMetadataClient::factory(); - $this->assertNull($client->getCredentials()); - } - - public function testRetrievesMetadataCredentials() - { - $client = InstanceMetadataClient::factory(); - $mock = $this->setMockResponse($client, array( - 'metadata/iam_security_credentials', - 'metadata/iam_security_credentials_webapp' - )); - $credentials = $client->getInstanceProfileCredentials(); - $this->assertEquals('AKIAIEXAMPLEEXAMPLEA', $credentials->getAccessKeyId()); - $this->assertEquals('EXAMPLErUcddCyEXAMPLEnG3vwyGTnFZ4EXAMPLE', $credentials->getSecretKey()); - $this->assertEquals('AxCusEXAMPLEFooBarBaz...', $credentials->getSecurityToken()); - $this->assertEquals(2535752140, $credentials->getExpiration()); - $mockedRequests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($mockedRequests)); - $this->assertContains('/webapp', (string) $mockedRequests[1]->getUrl()); - } - - /** - * @expectedException \Aws\Common\Exception\InstanceProfileCredentialsException - * @expectedExceptionMessage Error retrieving credentials from the instance profile metadata server - */ - public function testExceptionsAreWrapped() - { - $client = InstanceMetadataClient::factory(); - $mock = new MockPlugin(array(new Response(400))); - $client->getEventDispatcher()->addSubscriber($mock); - $client->getInstanceProfileCredentials(); - } - - /** - * @expectedException \Aws\Common\Exception\InstanceProfileCredentialsException - * @expectedExceptionMessage Unexpected response code: InstanceProfileNotFound - */ - public function testEnsuresResponseCodeIsSuccess() - { - $client = InstanceMetadataClient::factory(); - $mock = new MockPlugin(array( - $this->getMockResponse('metadata/iam_security_credentials'), - new Response(200, null, '{ "Code": "InstanceProfileNotFound" }') - )); - $client->getEventDispatcher()->addSubscriber($mock); - $client->getInstanceProfileCredentials(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Integration/ClientIntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Integration/ClientIntegrationTest.php deleted file mode 100644 index a8dc865..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Integration/ClientIntegrationTest.php +++ /dev/null @@ -1,89 +0,0 @@ -getServiceBuilder()->get('dynamodb', true); - $credentials = $dynamodb->getCredentials(); - $dynamodb = new \ReflectionClass('Aws\DynamoDb\DynamoDbClient'); - $description = require dirname($dynamodb->getFileName()) . '/Resources/dynamodb-2011-12-05.php'; - - /** @var $client DefaultClient */ - $client = DefaultClient::factory(array( - 'credentials' => $credentials, - 'signature' => new SignatureV4(), - 'service.description' => $description, - 'service' => 'dynamodb', - 'region' => 'us-east-1', - )); - - $command = $client->getCommand('ListTables'); - $command->execute(); - - $this->assertEquals(200, $command->getResponse()->getStatusCode()); - } - - public function testCanChangeRegions() - { - /** @var $s3 \Aws\S3\S3Client */ - $s3 = $this->getServiceBuilder()->get('s3', true); - $scheme = $s3->getConfig(Options::SCHEME); - - // Switch to 3 different regions and validate that each switch worked - foreach (array(Region::US_EAST_1, Region::EU_WEST_1, Region::AP_NORTHEAST_1) as $region) { - $s3->setRegion($region); - $endpoint = Url::factory(AbstractClient::getEndpoint($s3->getDescription(), $region, 'https')); - $command = $s3->getCommand('ListBuckets'); - $request = $command->prepare(); - $this->assertEquals((string) $endpoint, $request->getScheme() . '://' . $request->getHost()); - $this->assertEquals((string) $endpoint, $s3->getConfig(Options::BASE_URL)); - $this->assertEquals($region, $s3->getConfig(Options::REGION)); - $this->assertEquals(200, $command->getResponse()->getStatusCode()); - } - } - - public function testCanInstantiateRegionlessClientsWithoutParameters() - { - $config = array('key' => 'foo', 'secret' => 'bar'); - - try { - // Instantiate all of the clients that do not require a region - \Aws\S3\S3Client::factory($config); - \Aws\CloudFront\CloudFrontClient::factory($config); - \Aws\Route53\Route53Client::factory($config); - \Aws\Sts\StsClient::factory($config); - } catch (\InvalidArgumentException $e) { - $this->fail('All of the above clients should have been instantiated without errors: ' . $e->getMessage()); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Integration/SignatureV2IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Integration/SignatureV2IntegrationTest.php deleted file mode 100644 index 25927b5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Integration/SignatureV2IntegrationTest.php +++ /dev/null @@ -1,50 +0,0 @@ -getServiceBuilder()->serialize(), true); - $default = $data['default_settings']['params']; - $credentials = new Credentials($default['key'], $default['secret']); - - return array($client, $signature, $credentials); - } - - public function testSignsGet2Requests() - { - list($client, $signature, $credentials) = $this->getClasses(); - $request = $client->get('https://sdb.amazonaws.com/?Action=ListDomains&Version=2009-04-15'); - $signature->signRequest($request, $credentials); - $request->send(); - $this->assertNotNull($request->getQuery()->get('Signature')); - $this->assertNotNull($request->getQuery()->get('Timestamp')); - $this->assertInstanceOf('SimpleXMLElement', $request->getResponse()->xml()); - } - - public function testSignsPostRequests() - { - list($client, $signature, $credentials) = $this->getClasses(); - $request = $client->post('https://sdb.amazonaws.com'); - $request->addPostFields(array( - 'Action' => 'ListDomains', - 'Version' => '2009-04-15' - )); - $signature->signRequest($request, $credentials); - $request->send(); - $this->assertNotNull($request->getPostField('Signature')); - $this->assertNotNull($request->getPostField('Timestamp')); - $this->assertInstanceOf('SimpleXMLElement', $request->getResponse()->xml()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Iterator/AwsResourceIteratorFactoryTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Iterator/AwsResourceIteratorFactoryTest.php deleted file mode 100644 index 3ccde2b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Iterator/AwsResourceIteratorFactoryTest.php +++ /dev/null @@ -1,115 +0,0 @@ - array('foo')), - array('foo' => array()) - ), - array( - array('operations' => array('foo' => array('bar'))), - array('foo' => array('bar')) - ), - array( - array('operations' => array(1)), - '[EXCEPTION]' - ), - array( - array('operations' => array('foo' => 'bar')), - '[EXCEPTION]' - ), - ); - } - - /** - * @dataProvider getDataForOperationsTest - */ - public function testOperationsAreDiscoveredInConstructor(array $config, $expectedResult) - { - try { - $factory = new AwsResourceIteratorFactory($config); - $actualResult = $this->readAttribute($factory, 'operations')->getAll(); - } catch (\InvalidArgumentException $e) { - $actualResult = self::EXCEPTION; - } - - $this->assertEquals($expectedResult, $actualResult); - } - - public function getDataForBuildTest() - { - $command = $this->getMockBuilder('Guzzle\Service\Command\CommandInterface') - ->disableOriginalConstructor() - ->getMock(); - $command->expects($this->any()) - ->method('getName') - ->will($this->returnValue('FooBar')); - - $iterator = $this->getMockBuilder('Aws\Common\Iterator\AwsResourceIterator') - ->disableOriginalConstructor() - ->getMock(); - - $primaryFactory = $this->getMockBuilder('Guzzle\Service\Resource\ResourceIteratorFactoryInterface') - ->disableOriginalConstructor() - ->getMock(); - $primaryFactory->expects($this->any()) - ->method('build') - ->will($this->returnValue($iterator)); - $primaryFactory->expects($this->any()) - ->method('canBuild') - ->will($this->returnValue(true)); - - return array( - array($command, array('FooBar'), null, true), - array($command, array(), null, false), - array($command, array(), $primaryFactory, true), - ); - } - - /** - * @dataProvider getDataForBuildTest - */ - public function testBuildCreatesIterator($command, array $operations, $otherFactory, $successExpected) - { - $success = false; - - try { - $factory = new AwsResourceIteratorFactory(array('operations' => $operations), $otherFactory); - $iterator = $factory->build($command); - $success = $iterator instanceof AwsResourceIterator; - } catch (\InvalidArgumentException $e) { - if (!$successExpected) { - $success = true; - } - } - - $this->assertTrue($success); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Iterator/AwsResourceIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Iterator/AwsResourceIteratorTest.php deleted file mode 100644 index 0e78e73..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Iterator/AwsResourceIteratorTest.php +++ /dev/null @@ -1,254 +0,0 @@ -getMockedCommand(); - if ($limit) { - $command->set($limitParam, $limit); - } - - $iterator = new AwsResourceIterator($command, array('limit_param' => $limitParam)); - if ($pageSize) { - $iterator->setPageSize($pageSize); - } - - $property = new \ReflectionProperty($iterator, 'command'); - $property->setAccessible(true); - $property->setValue($iterator, $command); - - $prepareRequest = new \ReflectionMethod($iterator, 'prepareRequest'); - $prepareRequest->setAccessible(true); - $prepareRequest->invoke($iterator); - - $this->assertEquals($resultingLimit, $command->get($limitParam)); - } - - public function getDataForApplyNextTokenTest() - { - return array( - array(null, null, null, false), - array(null, '[MARKER]', null, false), - array('Marker', '[MARKER]', '[MARKER]', false), - array('Marker', array('value1', 'value2'), array('value1', 'value2'), false), - array(array('marker1', 'marker2'), array('value1', 'value2'), array('value1', 'value2'), false), - array(array('marker1', 'marker2', 'marker3'), array('value1', 'value2'), self::EXCEPTION, true), - ); - } - - /** - * @dataProvider getDataForApplyNextTokenTest - */ - public function testApplyNextTokenSetsTokenCorrectly($tokenParam, $nextToken, $resultingToken, $expectException) - { - $command = $this->getMockedCommand(); - $iterator = new AwsResourceIterator($command, array('token_param' => $tokenParam)); - - $property = new \ReflectionProperty($iterator, 'command'); - $property->setAccessible(true); - $property->setValue($iterator, $command); - - $property = new \ReflectionProperty($iterator, 'nextToken'); - $property->setAccessible(true); - $property->setValue($iterator, $nextToken); - - $applyNextToken = new \ReflectionMethod($iterator, 'applyNextToken'); - $applyNextToken->setAccessible(true); - - try { - $applyNextToken->invoke($iterator); - - // Get results - if (is_array($tokenParam)) { - $result = array(); - foreach ($tokenParam as $token) { - $result[] = $command->get($token); - } - } else { - $result = $command->get($tokenParam); - } - } catch (\RuntimeException $e) { - if ($expectException) { - $result = self::EXCEPTION; - } else { - throw $e; - } - } - - $this->assertEquals($resultingToken, $result); - } - - public function getDataForHandleResultsTest() - { - return array( - array(null, '*', 0), - array('Foo', array(1, 2, 3), 3), - array('Foo', null, 0), - ); - } - - /** - * @dataProvider getDataForHandleResultsTest - */ - public function testResultsAreHandledCorrectly($resultKey, $resultValue, $expectedCount) - { - $model = new Model(array($resultKey => $resultValue)); - $command = $this->getMockedCommand(); - $iterator = new AwsResourceIterator($command, array('result_key' => $resultKey)); - - $handleResults = new \ReflectionMethod($iterator, 'handleResults'); - $handleResults->setAccessible(true); - $this->assertCount($expectedCount, $handleResults->invoke($iterator, $model)); - } - - public function getDataForDetermineNextTokenTest() - { - return array( - array(null, null, null, array()), - array(null, 'NextToken', '[TOKEN]', array( - 'NextToken' => '[TOKEN]' - )), - array('HasMore', 'NextToken', null, array( - 'HasMore' => null, - 'NextToken' => '[TOKEN]' - )), - array('HasMore', 'NextToken', '[TOKEN]', array( - 'HasMore' => '[MORE]', - 'NextToken' => '[TOKEN]' - )), - array('HasMore', null, null, array( - 'HasMore' => '[MORE]' - )), - array('HasMore', array('NextToken1', 'NextToken2'), array('[TOKEN1]', '[TOKEN2]'), array( - 'HasMore' => '[MORE]', - 'NextToken1' => '[TOKEN1]', - 'NextToken2' => '[TOKEN2]' - )) - ); - } - - /** - * @dataProvider getDataForDetermineNextTokenTest - */ - public function testCanDetermineNextTokenCorrectly( - $moreKey, - $tokenKey, - $nextToken, - array $data - ) { - $model = new Model($data); - $command = $this->getMockedCommand(); - $iterator = new AwsResourceIterator($command, array( - 'more_key' => $moreKey, - 'token_key' => $tokenKey, - )); - - $method = new \ReflectionMethod($iterator, 'determineNextToken'); - $method->setAccessible(true); - $method->invoke($iterator, $model); - - $this->assertEquals($nextToken, $this->readAttribute($iterator, 'nextToken')); - } - - public function testSendRequest() - { - $model1 = new Model(array('NextToken' => 'token')); - $model2 = new Model(array()); - $command = $this->getMockedCommand(); - $command->expects($this->any()) - ->method('getResult') - ->will($this->onConsecutiveCalls($model1, $model2)); - - $iterator = new AwsResourceIterator($command, array( - 'token_key' => 'NextToken', - 'result_key' => 'Results' - )); - - // Setup state - $property = new \ReflectionProperty($iterator, 'nextToken'); - $property->setAccessible(true); - $property->setValue($iterator, 'foo'); - - $property = new \ReflectionProperty($iterator, 'originalCommand'); - $property->setAccessible(true); - $property->setValue($iterator, $command); - - $property = new \ReflectionProperty($iterator, 'command'); - $property->setAccessible(true); - $property->setValue($iterator, $command); - - // Execute method under test - $sendRequest = new \ReflectionMethod($iterator, 'sendRequest'); - $sendRequest->setAccessible(true); - $result = $sendRequest->invoke($iterator); - - $this->assertEquals(array(), $result); - $this->assertSame($model2, $iterator->getLastResult()); - } - - /** - * @return AbstractCommand - */ - protected function getMockedCommand() - { - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->disableOriginalConstructor() - ->setMethods(array('getResult', 'getName', '__clone')) - ->getMock(); - - $command->expects($this->any()) - ->method('getName') - ->will($this->returnValue('FooBar')); - $command->expects($this->any()) - ->method('__clone') - ->will($this->returnSelf()); - - $command->set('foo', 'bar'); - - return $command; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractTransferStateTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractTransferStateTest.php deleted file mode 100644 index fd009f3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractTransferStateTest.php +++ /dev/null @@ -1,128 +0,0 @@ -mockUploadId = $this->getMockBuilder('Aws\Common\Model\MultipartUpload\AbstractUploadId') - ->setMethods(array('toParams')) - ->getMock(); - $this->mockUploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'accountId' => '-', - 'vaultName' => 'foo', - 'uploadId' => 'bar' - ) - )); - } - - protected function getMockedPart($number) - { - $part = $this->getMockForAbstractClass('Aws\Common\Model\MultipartUpload\AbstractUploadPart'); - $r = new \ReflectionClass('Aws\Common\Model\MultipartUpload\AbstractUploadPart'); - $p = $r->getProperty('partNumber'); - $p->setAccessible(true); - $p->setValue($part, $number); - - return $part; - } - - public function testConstructorInitializesState() - { - $state = $this->getMockForAbstractClass('Aws\Common\Model\MultipartUpload\AbstractTransferState', - array($this->mockUploadId) - ); - - $this->assertSame($this->mockUploadId, $state->getUploadId()); - } - - public function testHandlesParts() - { - $state = $this->getMockForAbstractClass('Aws\Common\Model\MultipartUpload\AbstractTransferState', - array($this->mockUploadId) - ); - - $part1 = $this->getMockedPart(1); - $part2 = $this->getMockedPart(2); - $this->assertSame($state, $state->addPart($part1)); - $this->assertSame($state, $state->addPart($part2)); - $this->assertTrue($state->hasPart(1)); - $this->assertTrue($state->hasPart(2)); - $this->assertSame($part1, $state->getPart(1)); - $this->assertSame($part2, $state->getPart(2)); - $this->assertEquals(2, count($state)); - $this->assertEquals(array(1, 2), $state->getPartNumbers()); - $this->assertInstanceOf('ArrayIterator', $state->getIterator()); - } - - public function testCanMarkStateAsAborted() - { - $state = $this->getMockForAbstractClass('Aws\Common\Model\MultipartUpload\AbstractTransferState', - array($this->mockUploadId) - ); - - $this->assertSame($state, $state->setAborted(true)); - $this->assertTrue($state->isAborted()); - $this->assertSame($state, $state->setAborted(false)); - $this->assertFalse($state->isAborted()); - } - - public function testSerializationWorks() - { - $state1 = $this->getMockForAbstractClass('Aws\Common\Model\MultipartUpload\AbstractTransferState', - array($this->mockUploadId) - ); - - $this->assertInstanceOf('Aws\Common\Model\MultipartUpload\AbstractUploadId', $state1->getUploadId()); - $this->assertEquals(array(), $state1->getPartNumbers()); - $this->assertFalse($state1->isAborted()); - - $serialized = serialize($state1); - $state2 = unserialize($serialized); - - $this->assertInstanceOf('Aws\Common\Model\MultipartUpload\AbstractUploadId', $state2->getUploadId()); - $this->assertEquals(array(), $state2->getPartNumbers()); - $this->assertFalse($state2->isAborted()); - } - - /** - * @expectedException \RuntimeException - */ - public function testSerializationFailsWhenPropertyIsMissing() - { - $state1 = $this->getMockForAbstractClass('Aws\Common\Model\MultipartUpload\AbstractTransferState', - array($this->mockUploadId) - ); - - $serialized = str_replace('uploadId', 'xxxxxxxx', serialize($state1)); - unserialize($serialized); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractTransferTest.php deleted file mode 100644 index ae28d3c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractTransferTest.php +++ /dev/null @@ -1,141 +0,0 @@ -getMockBuilder('Aws\Common\Model\MultipartUpload\AbstractTransferState') - ->disableOriginalConstructor() - ->getMockForAbstractClass(); - $transfer = $this->getMockBuilder('Aws\Common\Model\MultipartUpload\AbstractTransfer') - ->setConstructorArgs(array( - $this->getMockBuilder('Aws\Common\Client\AbstractClient') - ->disableOriginalConstructor() - ->getMockForAbstractClass(), - $state, - EntityBody::factory(), - array('foo' => 'bar') - )) - ->getMockForAbstractClass(); - - if ($closure) { - $closure($transfer, $state); - } - - return $transfer; - } - - public function testHasEvents() - { - $this->assertInternalType('array', AbstractTransfer::getAllEvents()); - } - - public function testHasGetters() - { - $transfer = $this->getMockedTransfer(); - - $this->assertInstanceOf('Aws\Common\Model\MultipartUpload\AbstractTransferState', $transfer->getState()); - $this->assertInternalType('array', $transfer->getOptions()); - $this->assertArrayHasKey('foo', $transfer->getOptions()); - } - - public function testCanAbortUpload() - { - - $transfer = $this->getMockedTransfer(); - $model = $this->getMockBuilder('Guzzle\Service\Resource\Model') - ->disableOriginalConstructor() - ->getMock(); - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->disableOriginalConstructor() - ->getMock(); - $command->expects($this->any()) - ->method('getResult') - ->will($this->returnValue($model)); - $transfer->expects($this->any()) - ->method('getAbortCommand') - ->will($this->returnValue($command)); - - $transfer->abort(); - $this->assertTrue($this->readAttribute($transfer, 'stopped')); - } - - /** - * @expectedException Aws\Common\Exception\RuntimeException - * @expectedExceptionMessage The transfer has been aborted and cannot be uploaded - */ - public function testThrowsExceptionWhenAttemptingToUploadAbortedTransfer() - { - $transfer = $this->getMockedTransfer(function ($transfer, $state) { - $state->setAborted(true); - }); - - $transfer->upload(); - } - - /** - * @expectedException Aws\Common\Exception\MultipartUploadException - */ - public function testWrapsExceptionsThrownDuringUpload() - { - $transfer = $this->getMockedTransfer(); - $e = new \Exception('foo'); - $transfer->expects($this->once()) - ->method('transfer') - ->will($this->throwException($e)); - - $transfer->upload(); - } - - public function testCompletesUploadAndDispatchesEvents() - { - $transfer = $this->getMockedTransfer(); - $model = $this->getMockBuilder('Guzzle\Service\Resource\Model') - ->disableOriginalConstructor() - ->getMock(); - $transfer->expects($this->once()) - ->method('complete') - ->will($this->returnValue($model)); - - $observer = $this->getWildcardObserver($transfer); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $transfer->upload()); - $this->assertEquals(array( - $transfer::AFTER_UPLOAD, - $transfer::AFTER_COMPLETE - ), array_keys($observer->getGrouped())); - } - - public function testStoppingReturnsState() - { - $transfer = $this->getMockedTransfer(); - $state = null; - $transfer->getEventDispatcher()->addListener($transfer::BEFORE_UPLOAD, function ($event) use (&$state) { - $state = $event['transfer']->stop(); - }); - $transfer->upload(); - $this->assertInstanceOf('Aws\Common\Model\MultipartUpload\AbstractTransferState', $state); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadBuilderTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadBuilderTest.php deleted file mode 100644 index b0b6fa7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadBuilderTest.php +++ /dev/null @@ -1,82 +0,0 @@ -className = 'Aws\Common\Model\MultipartUpload\AbstractUploadBuilder'; - $this->mockBuilder = $this->getMockForAbstractClass($this->className); - } - - public function testHasChainableMethodToInstantiate() - { - $uploadBuilder = $this->mockBuilder; - $this->assertInstanceOf($this->className, $uploadBuilder::newInstance()); - } - - public function testCanUploadFromFilename() - { - $b = $this->mockBuilder->setSource(__FILE__); - $this->assertEquals(__FILE__, $this->readAttribute($b, 'source')->getUri()); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage File does not exist - */ - public function testEnsuresFilesExistsWhenSettingSource() - { - $this->mockBuilder->setSource('/path/to/missing/file/yall'); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Empty body provided to upload builder - */ - public function testEnsuresFileIsNotEmptyWhenSettingSource() - { - $this->mockBuilder->setSource(EntityBody::factory('')); - } - - public function testHasChainableSetterMethods() - { - $client = $this->getServiceBuilder()->get('s3'); - $body = EntityBody::factory('foo'); - $b = $this->mockBuilder - ->resumeFrom('foo') - ->setClient($client) - ->setSource($body) - ->setHeaders(array( - 'Foo' => 'Bar' - )); - - $this->assertEquals('foo', $this->readAttribute($b, 'state')); - $this->assertSame($client, $this->readAttribute($b, 'client')); - $this->assertSame($body, $this->readAttribute($b, 'source')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadIdTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadIdTest.php deleted file mode 100644 index 479d359..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadIdTest.php +++ /dev/null @@ -1,52 +0,0 @@ - null, 'bar' => null); -} - -/** - * @covers Aws\Common\Model\MultipartUpload\AbstractUploadId - */ -class AbstractUploadIdTest extends \Guzzle\Tests\GuzzleTestCase -{ - public function testUploadIdCorrectlyManagesData() - { - $startingParams = array('foo' => 1, 'bar' => 2); - $uploadId = UploadId::fromParams($startingParams); - $serialized = serialize($uploadId); - $unserialized = unserialize($serialized); - $endingParams = $unserialized->toParams(); - - $this->assertEquals($startingParams, $endingParams); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionWhenMissingData() - { - UploadId::fromParams(array('wrongKey' => 'dummyData')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadPartTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadPartTest.php deleted file mode 100644 index 4b79a4d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Model/MultipartUpload/AbstractUploadPartTest.php +++ /dev/null @@ -1,54 +0,0 @@ - 'partNumber', 'fOObAR' => 'fooBar'); - protected $fooBar; -} - -/** - * @covers Aws\Common\Model\MultipartUpload\AbstractUploadPart - */ -class AbstractUploadPartTest extends \Guzzle\Tests\GuzzleTestCase -{ - public function testUploadPartCorrectlyManagesData() - { - $startingData = array('PARTNUMBER' => 5, 'fOObAR' => 10); - $uploadPart = UploadPart::fromArray($startingData); - $this->assertEquals(5, $uploadPart->getPartNumber()); - $serialized = serialize($uploadPart); - $unserialized = unserialize($serialized); - $endingData = $unserialized->toArray(); - - $this->assertEquals($startingData, $endingData); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionWhenMissingData() - { - UploadPart::fromArray(array('wrongKey' => 'dummyData')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/AbstractSignatureTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/AbstractSignatureTest.php deleted file mode 100644 index 790eb2f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/AbstractSignatureTest.php +++ /dev/null @@ -1,99 +0,0 @@ -signature = $this->getMockBuilder('Aws\Common\Signature\AbstractSignature') - ->getMockForAbstractClass(); - } - - /** - * @covers Aws\Common\Signature\AbstractSignature::getTimestamp - */ - public function testGetTimestampReturnsConsistentTimestamp() - { - $method = new \ReflectionMethod('Aws\Common\Signature\AbstractSignature', 'getTimestamp'); - $method->setAccessible(true); - - // Ensure that the timestamp is the same when cached - $t = $method->invoke($this->signature); - $this->assertEquals($t, $method->invoke($this->signature)); - } - - /** - * @covers Aws\Common\Signature\AbstractSignature::getDateTime - */ - public function testGetDatetimeUsesInternalTimestamp() - { - $method = new \ReflectionMethod('Aws\Common\Signature\AbstractSignature', 'getDateTime'); - $method->setAccessible(true); - - $d = gmdate('F, Y'); - $this->assertEquals($d, $method->invoke($this->signature, 'F, Y')); - } - - public function queryStringProvider() - { - return array( - - array(array(), ''), - - array(array( - 'X-Amz-Signature' => 'foo' - ), ''), - - array(array( - 'Foo' => '123', - 'Bar' => '456' - ), 'Bar=456&Foo=123'), - - array(array( - 'Foo' => array('b', 'a'), - 'a' => 'bc' - ), 'Foo=a&Foo=b&a=bc'), - - array(array( - 'Foo' => '', - 'a' => 'b' - ), 'Foo=&a=b') - ); - } - - /** - * @covers Aws\Common\Signature\AbstractSignature::getCanonicalizedQueryString - * @dataProvider queryStringProvider - */ - public function testCreatesCanonicalizedQueryString($headers, $string) - { - // Make the method publicly callable - $method = new \ReflectionMethod('Aws\Common\Signature\AbstractSignature', 'getCanonicalizedQueryString'); - $method->setAccessible(true); - - // Create a request and replace the headers with the test headers - $request = new Request('GET', 'http://www.example.com'); - $request->getQuery()->replace($headers); - - $this->assertEquals($string, $method->invoke($this->signature, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureListenerTest.php deleted file mode 100644 index 793ad23..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureListenerTest.php +++ /dev/null @@ -1,58 +0,0 @@ -getEventDispatcher(); - $credentials = new Credentials('a', 'b'); - $signature = $this->getMock('Aws\Common\Signature\SignatureV4'); - - // Ensure that signing the request occurred once with the correct args - $signature->expects($this->once()) - ->method('signRequest') - ->with($this->equalTo($request), $this->equalTo($credentials)); - - $listener = new SignatureListener($credentials, $signature); - - // Create a mock event - $event = new Event(array( - 'request' => $request - )); - - $listener->onRequestBeforeSend($event); - } - - /** - * @covers Aws\Common\Signature\SignatureListener::getSubscribedEvents - */ - public function testSubscribesToEvents() - { - $this->assertArrayHasKey('request.before_send', SignatureListener::getSubscribedEvents()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV2Test.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV2Test.php deleted file mode 100644 index 2a6fce7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV2Test.php +++ /dev/null @@ -1,121 +0,0 @@ -getMock('Aws\Common\Signature\SignatureV2', array('getTimestamp')); - - // Hack the shared timestamp - $signature->expects($this->any()) - ->method('getTimestamp') - ->will($this->returnValue(strtotime(self::DEFAULT_DATETIME))); - - return $signature; - } - - public function testSignsRequestsWithSecurityToken() - { - $request = RequestFactory::getInstance()->create('POST', 'http://foo.com'); - $request->addPostFields(array('Test' => '123')); - $request->removeHeader('User-Agent')->removeHeader('Content-Length'); - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET, 'foo'); - $signature = $this->getSignature(); - $signature->signRequest($request, $credentials); - $this->assertEquals( - "POST\nfoo.com\n/\nAWSAccessKeyId=AKIDEXAMPLE&SecurityToken=foo&SignatureMethod=HmacSHA256&SignatureVersion=2&Test=123&Timestamp=2011-09-09T23%3A36%3A00%2B00%3A00", - $request->getParams()->get('aws.string_to_sign') - ); - } - - /** - * @dataProvider testSuiteProvider - * @covers Aws\Common\Signature\SignatureV2 - */ - public function testSignsRequestsProperly($request, $stringToSign, $postFields, $mocksignature) - { - // Create a request based on the request - $request = RequestFactory::getInstance()->fromMessage($request); - if (!empty($postFields)) { - $request->addPostFields($postFields); - } - - // Sanitize the request - $request->removeHeader('User-Agent')->removeHeader('Content-Length'); - - // Sign the request using the test credentials - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET); - // Get a mock signature object - $signature = $this->getSignature(); - - // Sign the request - $signature->signRequest($request, $credentials); - - // Test that the string to sign is correct - $this->assertEquals($stringToSign, $request->getParams()->get('aws.string_to_sign')); - - // Test that the signature is correct - if (!empty($postFields)) { - $this->assertEquals($mocksignature, $request->getPostField('Signature')); - } else { - $this->assertEquals($mocksignature, $request->getQuery()->get('Signature')); - } - } - - /** - * @return array - */ - public function testSuiteProvider() - { - $date = self::DEFAULT_DATETIME; - $timestamp = rawurlencode(gmdate('c', strtotime($date))); - $key = self::DEFAULT_KEY; - - return array( - array( - "POST / HTTP/1.1\r\nHost: sdb.us-west-2.amazonaws.com\r\nContent-Length: 155\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\nSignatureVersion=2&AWSAccessKeyId=$key&Action=ListDomains&Version=2009-04-15&SignatureMethod=HmacSHA256&Timestamp=$timestamp", - "POST\nsdb.us-west-2.amazonaws.com\n/\nAWSAccessKeyId=$key&Action=ListDomains&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=$timestamp&Version=2009-04-15", - array( - 'Version' => '2009-04-15', - 'Action' => 'ListDomains' - ), - "f69jqJCuCMIhB8TiQhWGsEVxa8cs4Yrxw4IhK/yZa68=" - ), - array( - "GET /?SignatureVersion=2&AWSAccessKeyId=$key&Action=ListDomains&Version=2009-04-15&SignatureMethod=HmacSHA256&Timestamp=$timestamp HTTP/1.1\r\nHost: sdb.us-west-2.amazonaws.com", - "GET\nsdb.us-west-2.amazonaws.com\n/\nAWSAccessKeyId=$key&Action=ListDomains&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=$timestamp&Version=2009-04-15", - array(), - "74xJjWQP2QHN4C7c+NoYqGaBQEfjm3FEzAJXJMh78HI=" - ) - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV3HttpsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV3HttpsTest.php deleted file mode 100644 index 1f12f89..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV3HttpsTest.php +++ /dev/null @@ -1,103 +0,0 @@ -getMock('Aws\Common\Signature\SignatureV3Https', array('getTimestamp')); - - // Hack the shared timestamp - $signature->expects($this->any()) - ->method('getTimestamp') - ->will($this->returnValue(strtotime(self::DEFAULT_DATETIME))); - - return $signature; - } - - /** - * @dataProvider testSuiteProvider - * @covers Aws\Common\Signature\SignatureV3Https - */ - public function testSignsRequestsProperly($request) - { - // Create a request based on the request - $request = RequestFactory::getInstance()->fromMessage($request); - - // Sanitize the request - $request->removeHeader('User-Agent')->removeHeader('Content-Length'); - - // Sign the request using the test credentials - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET); - - // Get a mock signature object - $signature = $this->getSignature(); - - // Sign the request - $signature->signRequest($request, $credentials); - - // Test that the string to sign is correct - $stringToSign = self::DEFAULT_DATETIME; - $this->assertEquals($stringToSign, $request->getParams()->get('aws.string_to_sign')); - - // Test that the signature is correct - $expectedHeader = 'AWS3-HTTPS AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,Signature=2xkne78+c4e7JzUxDAADvn9vECImgCcEaBDkYw3Wk+w='; - $this->assertEquals($expectedHeader, $request->getHeader('x-amzn-authorization', true)); - } - - /** - * @return array - */ - public function testSuiteProvider() - { - $date = self::DEFAULT_DATETIME; - return array( - array("GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"), - array("GET / HTTP/1.1\r\nHost: example.com\r\nDate: {$date}\r\n\r\n"), - array("GET / HTTP/1.1\r\nHost: example.com\r\nx-amz-date: {$date}\r\n\r\n"), - ); - } - - /** - * @covers Aws\Common\Signature\SignatureV3Https::signRequest - */ - public function testUsesSecurityTokensWhenAvailable() - { - $signature = $this->getSignature(); - $request = new Request('GET', 'http://www.example.com'); - - // Create a credentials object with a token - $credentials = new Credentials('a', 'b', 'c', time() + 10000); - - $signature->signRequest($request, $credentials); - $this->assertEquals('c', $request->getHeader('x-amz-security-token', true)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV3Test.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV3Test.php deleted file mode 100644 index 14124cd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV3Test.php +++ /dev/null @@ -1,147 +0,0 @@ -getMock('Aws\Common\Signature\SignatureV3', array('getTimestamp')); - - // Hack the shared timestamp - $signature->expects($this->any()) - ->method('getTimestamp') - ->will($this->returnValue(strtotime(self::DEFAULT_DATETIME))); - - return $signature; - } - - /** - * @covers Aws\Common\Signature\SignatureV3::getHeadersToSign - */ - public function testDeterminesWhichHeadersToSign() - { - $signature = $this->getSignature(); - $method = new \ReflectionMethod('Aws\Common\Signature\SignatureV3', 'getHeadersToSign'); - $method->setAccessible(true); - - $request = new Request('GET', 'http://www.example.com', array( - 'foo' => 'bar', - 'x-amz-test' => '123', - 'host' => 'www.example.com' - )); - - $this->assertEquals(array( - 'host' => 'www.example.com', - 'x-amz-test' => '123' - ), $method->invoke($signature, $request)); - } - - /** - * @dataProvider testSuiteProvider - * @covers Aws\Common\Signature\SignatureV3 - */ - public function testSignsRequestsProperly($request, $stringToSign, $header) - { - // Create a request based on the request - $request = RequestFactory::getInstance()->fromMessage($request); - - // Sanitize the request - $request->removeHeader('User-Agent')->removeHeader('Content-Length'); - - // Sign the request using the test credentials - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET); - // Get a mock signature object - $signature = $this->getSignature(); - - // Sign the request - $signature->signRequest($request, $credentials); - - // Test that the string to sign is correct - $this->assertEquals($stringToSign, $request->getParams()->get('aws.string_to_sign')); - - // Test that the signature is correct - $this->assertEquals($header, (string) $request->getHeader('x-amzn-authorization')); - } - - /** - * @return array - */ - public function testSuiteProvider() - { - $date = self::DEFAULT_DATETIME; - - return array( - array( - "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n", - "GET\n/\n\nhost:example.com\nx-amz-date:$date\n\n", - 'AWS3 AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,SignedHeaders=host;x-amz-date,Signature=JYuvj/5tDFCVa6NL6VotEwj6H7FKXieTjzJubf6cMxo=' - ), - array( - "DELETE / HTTP/1.1\r\nHost: example.com\r\nx-amz-test: foo\r\n\r\n", - "DELETE\n/\n\nhost:example.com\nx-amz-date:$date\nx-amz-test:foo\n\n", - 'AWS3 AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,SignedHeaders=host;x-amz-date;x-amz-test,Signature=BraQr8lRdmItH6kGoqer5GSaQ5iYhY5jnpWsHfAVEPk=' - ), - array( - "POST / HTTP/1.1\r\nHost: example.com\r\nx-amz-date: Foo\r\n\r\n", - "POST\n/\n\nhost:example.com\nx-amz-date:$date\n\n", - 'AWS3 AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,SignedHeaders=host;x-amz-date,Signature=jT4obXRVmgObtLBxqOmddPNW/eiMTFexs7EzudIAq20=' - ), - array( - "GET /./foo/.. HTTP/1.1\r\nHost: example.com\r\n\r\n", - "GET\n/\n\nhost:example.com\nx-amz-date:$date\n\n", - 'AWS3 AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,SignedHeaders=host;x-amz-date,Signature=JYuvj/5tDFCVa6NL6VotEwj6H7FKXieTjzJubf6cMxo=' - ), - array( - "POST /path HTTP/1.1\r\nHost: example.com\r\n\r\nbody", - "POST\n/path\n\nhost:example.com\nx-amz-date:$date\n\nbody", - 'AWS3 AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,SignedHeaders=host;x-amz-date,Signature=G5PSou/CPa/UzLKoIjHrxdy1xpxqYQw8TQXmmIXtbuw=' - ), - array( - "POST /path?a=b&c=d&e HTTP/1.1\r\nHost: example.com\r\n\r\nbody", - "POST\n/path\na=b&c=d&e=\nhost:example.com\nx-amz-date:$date\n\nbody", - 'AWS3 AWSAccessKeyId=AKIDEXAMPLE,Algorithm=HmacSHA256,SignedHeaders=host;x-amz-date,Signature=ie+l5ggZCUqJcCp6PKN9h7RrM5LnCwr8xyMmptaHXL4=' - ) - ); - } - - /** - * @covers Aws\Common\Signature\SignatureV3::signRequest - */ - public function testUsesSecurityTokensWhenAvailable() - { - $signature = $this->getSignature(); - $request = new Request('GET', 'http://www.example.com'); - // Create a credentials object with a token - $credentials = new Credentials('a', 'b', 'c', time() + 10000); - $signature->signRequest($request, $credentials); - $this->assertEquals('c', (string) $request->getHeader('x-amz-security-token')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV4Test.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV4Test.php deleted file mode 100644 index d95a786..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/SignatureV4Test.php +++ /dev/null @@ -1,207 +0,0 @@ -getMock('Aws\Common\Signature\SignatureV4', array('getTimestamp', 'getDateTime')); - - // Hack the shared timestamp - $signature->expects($this->any()) - ->method('getTimestamp') - ->will($this->returnValue(strtotime(self::DEFAULT_DATETIME))); - - // Hack the date time to deal with the wrong date in the example files - $signature->expects($this->any()) - ->method('getDateTime') - ->will($this->returnValueMap(array( - array(DateFormat::RFC1123, 'Mon, 09 Sep 2011 23:36:00 GMT'), - array(DateFormat::ISO8601, '20110909T233600Z'), - array(DateFormat::SHORT, '20110909') - ))); - - return $signature; - } - - /** - * @dataProvider testSuiteProvider - * @covers Aws\Common\Signature\SignatureV4 - * @covers Aws\Common\Signature\AbstractSignature - */ - public function testSignsRequestsProperly($group) - { - ParserRegistry::get('url')->setUtf8Support(true); - - // Create a request based on the '.req' file - $requestString = file_get_contents($group['req']); - $request = RequestFactory::getInstance()->fromMessage($requestString); - - // Sanitize the request - $request->removeHeader('User-Agent'); - $request->removeHeader('Content-Length'); - - // Sign the request using the test credentials - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET); - // Get a mock signature object - $signature = $this->getSignature(); - - // Sign the request - $signature->signRequest($request, $credentials); - - // Get debug signature information - $context = $request->getParams()->get('aws.signature'); - - // Test that the canonical request is correct - $this->assertEquals(str_replace("\r", '', file_get_contents($group['creq'])), $context['canonical_request']); - - // Test that the string to sign is correct - $this->assertEquals(str_replace("\r", '', file_get_contents($group['sts'])), $context['string_to_sign']); - - // Test that the authorization header is correct - $this->assertEquals(str_replace("\r", '', file_get_contents($group['authz'])), $request->getHeader('Authorization')); - - ParserRegistry::get('url')->setUtf8Support(false); - } - - /** - * @return array - */ - public function testSuiteProvider() - { - // Gather a list of files sorted by name - $files = glob(__DIR__ . DIRECTORY_SEPARATOR . 'aws4_testsuite' . DIRECTORY_SEPARATOR . '*'); - sort($files); - - $groups = array(); - - // Break the files up into groups of five for each test case - $group = array(); - for ($i = 0, $c = count($files); $i < $c; $i++) { - $types = explode('.', $files[$i]); - $type = end($types); - $group[$type] = $files[$i]; - if (count($group) == 5) { - $groups[] = array($group); - $group = array(); - } - } - - return $groups; - } - - /** - * @covers Aws\Common\Signature\SignatureV4::signRequest - * @covers Aws\Common\Signature\SignatureV4::createCanonicalRequest - */ - public function testSignsRequestsWithContentHashCorrectly() - { - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET); - $signature = $this->getSignature(); - $request = RequestFactory::getInstance()->fromMessage("GET / HTTP/1.1\r\nx-amz-date: Mon, 09 Sep 2011 23:36:00 GMT\r\nHost: foo.com\r\n\r\n"); - - $contentHash = hash('sha256', 'foobar'); - $request->setHeader('x-amz-content-sha256', $contentHash); - - $signature->signRequest($request, $credentials); - $context = $request->getParams()->get('aws.signature'); - $this->assertContains($contentHash, $context['canonical_request']); - } - - /** - * @covers Aws\Common\Signature\SignatureV4::signRequest - */ - public function testSignsRequestsThatUseXamzdateHeaders() - { - $credentials = new Credentials(self::DEFAULT_KEY, self::DEFAULT_SECRET); - $signature = $this->getSignature(); - $request = RequestFactory::getInstance()->fromMessage("GET / HTTP/1.1\r\nx-amz-date: Mon, 09 Sep 2011 23:36:00 GMT\r\nHost: foo.com\r\n\r\n"); - - $signature->signRequest($request, $credentials); - $context = $request->getParams()->get('aws.signature'); - $this->assertContains("\nx-amz-date:20110909T233600Z", $context['canonical_request']); - $this->assertNotContains("\ndate:20110909T233600Z", $context['canonical_request']); - } - - /** - * @covers Aws\Common\Signature\SignatureV4::signRequest - */ - public function testUsesSecurityTokensWhenAvailable() - { - $signature = $this->getSignature(); - $request = new Request('GET', 'http://www.example.com'); - // Create a credentials object with a token - $credentials = new Credentials('a', 'b', 'c', time() + 10000); - $signature->signRequest($request, $credentials); - $this->assertEquals('c', (string) $request->getHeader('x-amz-security-token')); - } - - /** - * @covers Aws\Common\Signature\SignatureV4::setServiceName - * @covers Aws\Common\Signature\SignatureV4::setRegionName - */ - public function testCanExplicitlySetServiceAndRegionName() - { - $signature = $this->getSignature(); - $signature->setServiceName('foo'); - $signature->setRegionName('bar'); - $request = new Request('GET', 'http://www.example.com'); - $credentials = new Credentials('fizz', 'buzz'); - $signature->signRequest($request, $credentials); - $context = $request->getParams()->get('aws.signature'); - $this->assertContains('/foo/aws4_request', $context['string_to_sign']); - } - - /** - * @covers Aws\Common\Signature\SignatureV4::setMaxCacheSize - * @covers Aws\Common\Signature\SignatureV4::signRequest - */ - public function testMaintainsCappedCache() - { - $signature = $this->getSignature(); - $signature->setMaxCacheSize(8); - $request = new Request('GET', 'http://www.example.com'); - - $credentials = new Credentials('fizz', 'buzz'); - $signature->signRequest($request, $credentials); - $this->assertEquals(1, count($this->readAttribute($signature, 'hashCache'))); - - $credentials = new Credentials('fizz', 'baz'); - $signature->signRequest($request, $credentials); - $this->assertEquals(2, count($this->readAttribute($signature, 'hashCache'))); - - $credentials = new Credentials('fizz', 'paz'); - $signature->signRequest($request, $credentials); - $this->assertEquals(3, count($this->readAttribute($signature, 'hashCache'))); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.authz deleted file mode 100755 index ac05e35..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=54afcaaf45b331f81cd2edb974f7b824ff4dd594cbbaa945ed636b48477368ed \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.creq deleted file mode 100755 index 57e0862..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -zoo:foobar,zoobar,zoobar - -date;host;zoo -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.req deleted file mode 100755 index eb3a429..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.req +++ /dev/null @@ -1,7 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -ZOO:zoobar -zoo:foobar -zoo:zoobar - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.sreq deleted file mode 100755 index 5c464f3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.sreq +++ /dev/null @@ -1,8 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -ZOO:zoobar -zoo:foobar -zoo:zoobar -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=54afcaaf45b331f81cd2edb974f7b824ff4dd594cbbaa945ed636b48477368ed - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.sts deleted file mode 100755 index 7b11b51..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-key-duplicate.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -3c52f0eaae2b61329c0a332e3fa15842a37bc5812cf4d80eb64784308850e313 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.authz deleted file mode 100755 index c80262a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;p, Signature=d2973954263943b11624a11d1c963ca81fb274169c7868b2858c04f083199e3d \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.creq deleted file mode 100755 index 9b61ef5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -p:a,a,p,z - -date;host;p -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.req deleted file mode 100755 index ea30500..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.req +++ /dev/null @@ -1,8 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -p:z -p:a -p:p -p:a - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.sreq deleted file mode 100755 index 536ab04..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.sreq +++ /dev/null @@ -1,9 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -p:z -p:a -p:p -p:a -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;p, Signature=d2973954263943b11624a11d1c963ca81fb274169c7868b2858c04f083199e3d - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.sts deleted file mode 100755 index d80190a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-order.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -94c0389fefe0988cbbedc8606f0ca0b485b48da010d09fc844b45b697c8924fe \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.authz deleted file mode 100755 index 2d870cc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;p, Signature=debf546796015d6f6ded8626f5ce98597c33b47b9164cf6b17b4642036fcb592 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.creq deleted file mode 100755 index 43b4a85..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -p:phfft - -date;host;p -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.req deleted file mode 100755 index e148363..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.req +++ /dev/null @@ -1,5 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -p: phfft - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.sreq deleted file mode 100755 index ab33a91..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.sreq +++ /dev/null @@ -1,6 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -p: phfft -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;p, Signature=debf546796015d6f6ded8626f5ce98597c33b47b9164cf6b17b4642036fcb592 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.sts deleted file mode 100755 index 7b7ead8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-header-value-trim.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -dddd1902add08da1ac94782b05f9278c08dc7468db178a84f8950d93b30b1f35 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.authz deleted file mode 100755 index 06bd813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.creq deleted file mode 100755 index 8519923..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.req deleted file mode 100755 index dab95bb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /foo/bar/../.. http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.sreq deleted file mode 100755 index b0d1c56..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /foo/bar/../.. http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.sts deleted file mode 100755 index c7bcc67..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative-relative.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -366b91fb121d72a00f46bbe8d395f53a102b06dfb7e79636515208ed3fa606b1 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.authz deleted file mode 100755 index 06bd813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.creq deleted file mode 100755 index 8519923..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.req deleted file mode 100755 index 18344ee..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /foo/.. http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.sreq deleted file mode 100755 index 2fc7620..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /foo/.. http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.sts deleted file mode 100755 index c7bcc67..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-relative.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -366b91fb121d72a00f46bbe8d395f53a102b06dfb7e79636515208ed3fa606b1 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.authz deleted file mode 100755 index 06bd813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.creq deleted file mode 100755 index 8519923..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.req deleted file mode 100755 index 00ffac6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /./ http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.sreq deleted file mode 100755 index 4b0e285..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /./ http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.sts deleted file mode 100755 index c7bcc67..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-dot-slash.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -366b91fb121d72a00f46bbe8d395f53a102b06dfb7e79636515208ed3fa606b1 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.authz deleted file mode 100755 index ffa78cf..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=910e4d6c9abafaf87898e1eb4c929135782ea25bb0279703146455745391e63a \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.creq deleted file mode 100755 index 280cc1e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/foo - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.req deleted file mode 100755 index 0953f61..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /./foo http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.sreq deleted file mode 100755 index aae53b3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /./foo http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=910e4d6c9abafaf87898e1eb4c929135782ea25bb0279703146455745391e63a - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.sts deleted file mode 100755 index 0c3394b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash-pointless-dot.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -8021a97572ee460f87ca67f4e8c0db763216d84715f5424a843a5312a3321e2d \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.authz deleted file mode 100755 index 06bd813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.creq deleted file mode 100755 index 8519923..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.req deleted file mode 100755 index 2dcd49c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.req +++ /dev/null @@ -1,4 +0,0 @@ -GET // http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.sreq deleted file mode 100755 index 85dfc71..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET // http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.sts deleted file mode 100755 index c7bcc67..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slash.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -366b91fb121d72a00f46bbe8d395f53a102b06dfb7e79636515208ed3fa606b1 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.authz deleted file mode 100755 index 9c720f3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b00392262853cfe3201e47ccf945601079e9b8a7f51ee4c3d9ee4f187aa9bf19 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.creq deleted file mode 100755 index 759b0c3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/foo/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.req deleted file mode 100755 index e326c43..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.req +++ /dev/null @@ -1,4 +0,0 @@ -GET //foo// http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.sreq deleted file mode 100755 index f2c5eef..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET //foo// http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b00392262853cfe3201e47ccf945601079e9b8a7f51ee4c3d9ee4f187aa9bf19 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.sts deleted file mode 100755 index e6c6f14..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-slashes.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -6bb4476ee8745730c9cb79f33a0c70baa6d8af29c0077fa12e4e8f1dd17e7098 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.authz deleted file mode 100755 index 4f8ec5e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=f309cfbd10197a230c42dd17dbf5cca8a0722564cb40a872d25623cfa758e374 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.creq deleted file mode 100755 index e34ff1a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/%20/foo - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.req deleted file mode 100755 index 0c64446..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /%20/foo http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.sreq deleted file mode 100755 index 3fde5d2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /%20/foo http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=f309cfbd10197a230c42dd17dbf5cca8a0722564cb40a872d25623cfa758e374 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.sts deleted file mode 100755 index 48b7200..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-space.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -69c45fb9fe3fd76442b5086e50b2e9fec8298358da957b293ef26e506fdfb54b \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.authz deleted file mode 100755 index 99d2016..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=830cc36d03f0f84e6ee4953fbe701c1c8b71a0372c63af9255aa364dd183281e \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.creq deleted file mode 100755 index a0c0c2b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.req deleted file mode 100755 index d88a5d7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.sreq deleted file mode 100755 index 8e9280b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=830cc36d03f0f84e6ee4953fbe701c1c8b71a0372c63af9255aa364dd183281e - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.sts deleted file mode 100755 index c02109b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-unreserved.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -df63ee3247c0356c696a3b21f8d8490b01fa9cd5bc6550ef5ef5f4636b7b8901 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.authz deleted file mode 100755 index a8b8492..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=8d6634c189aa8c75c2e51e106b6b5121bed103fdb351f7d7d4381c738823af74 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.creq deleted file mode 100755 index 65946cb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/%E1%88%B4 - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.req deleted file mode 100755 index 83291e8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /%E1%88%B4 http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.sreq deleted file mode 100755 index 1d69c23..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /%E1%88%B4 http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=8d6634c189aa8c75c2e51e106b6b5121bed103fdb351f7d7d4381c738823af74 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.sts deleted file mode 100755 index 63871e5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-utf8.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -27ba31df5dbc6e063d8f87d62eb07143f7f271c5330a917840586ac1c85b6f6b \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.authz deleted file mode 100755 index cb7a1cc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=56c054473fd260c13e4e7393eb203662195f5d4a1fada5314b8b52b23f985e9f \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.creq deleted file mode 100755 index 1efbecf..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ -foo=bar -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.req deleted file mode 100755 index fac3491..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /?foo=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.sreq deleted file mode 100755 index 71d5463..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /?foo=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=56c054473fd260c13e4e7393eb203662195f5d4a1fada5314b8b52b23f985e9f - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.sts deleted file mode 100755 index 785c7e5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-empty-query-key.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -0846c2945b0832deb7a463c66af5c4f8bd54ec28c438e67a214445b157c9ddf8 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.authz deleted file mode 100755 index 10fe960..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=be7148d34ebccdc6423b19085378aa0bee970bdc61d144bd1a8c48c33079ab09 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.creq deleted file mode 100755 index f1e99d1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ -foo=Zoo&foo=aha -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.req deleted file mode 100755 index d5e81df..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /?foo=Zoo&foo=aha http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.sreq deleted file mode 100755 index a438d93..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /?foo=Zoo&foo=aha http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=be7148d34ebccdc6423b19085378aa0bee970bdc61d144bd1a8c48c33079ab09 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.sts deleted file mode 100755 index 4d255cc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key-case.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -e25f777ba161a0f1baf778a87faf057187cf5987f17953320e3ca399feb5f00d \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.authz deleted file mode 100755 index bc5463e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=0dc122f3b28b831ab48ba65cb47300de53fbe91b577fe113edac383730254a3b \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.creq deleted file mode 100755 index 46b1c0f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ -a=foo&b=foo -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.req deleted file mode 100755 index f1b75b1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /?a=foo&b=foo http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.sreq deleted file mode 100755 index 7cb2519..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /?a=foo&b=foo http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=0dc122f3b28b831ab48ba65cb47300de53fbe91b577fe113edac383730254a3b - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.sts deleted file mode 100755 index e791351..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-key.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -2f23d14fe13caebf6dfda346285c6d9c14f49eaca8f5ec55c627dd7404f7a727 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.authz deleted file mode 100755 index 9b96017..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=feb926e49e382bec75c9d7dcb2a1b6dc8aa50ca43c25d2bc51143768c0875acc \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.creq deleted file mode 100755 index 3c0d516..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ -foo=a&foo=b -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.req deleted file mode 100755 index 004f153..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /?foo=b&foo=a http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.sreq deleted file mode 100755 index 61bd549..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /?foo=b&foo=a http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=feb926e49e382bec75c9d7dcb2a1b6dc8aa50ca43c25d2bc51143768c0875acc - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.sts deleted file mode 100755 index 95becb2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-order-value.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -33dffc220e89131f8f6157a35c40903daa658608d9129ff9489e5cf5bbd9b11b \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.authz deleted file mode 100755 index bc28668..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=f1498ddb4d6dae767d97c466fb92f1b59a2c71ca29ac954692663f9db03426fb \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.creq deleted file mode 100755 index 4a43670..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ --._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.req deleted file mode 100755 index 72f6173..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /?-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.sreq deleted file mode 100755 index a18d653..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /?-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=f1498ddb4d6dae767d97c466fb92f1b59a2c71ca29ac954692663f9db03426fb - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.sts deleted file mode 100755 index b454387..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query-unreserved.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -d2578f3156d4c9d180713d1ff20601d8a3eed0dd35447d24603d7d67414bd6b5 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.authz deleted file mode 100755 index 06bd813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.creq deleted file mode 100755 index 8519923..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.req deleted file mode 100755 index 77b339a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.req +++ /dev/null @@ -1,4 +0,0 @@ -GET / http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.sreq deleted file mode 100755 index bd1f8f2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET / http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.sts deleted file mode 100755 index c7bcc67..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-query.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -366b91fb121d72a00f46bbe8d395f53a102b06dfb7e79636515208ed3fa606b1 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.authz deleted file mode 100755 index 8e925e3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=6fb359e9a05394cc7074e0feb42573a2601abc0c869a953e8c5c12e4e01f1a8c \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.creq deleted file mode 100755 index 9e4be3c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ -%E1%88%B4=bar -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.req deleted file mode 100755 index 581e335..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.req +++ /dev/null @@ -1,4 +0,0 @@ -GET /?ሴ=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.sreq deleted file mode 100755 index 4f108da..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET /?ሴ=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=6fb359e9a05394cc7074e0feb42573a2601abc0c869a953e8c5c12e4e01f1a8c - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.sts deleted file mode 100755 index d14eedf..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla-ut8-query.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -de5065ff39c131e6c2e2bd19cd9345a794bf3b561eab20b8d97b2093fc2a979e \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.authz deleted file mode 100755 index 06bd813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.creq deleted file mode 100755 index 8519923..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.creq +++ /dev/null @@ -1,8 +0,0 @@ -GET -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.req deleted file mode 100755 index 77b339a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.req +++ /dev/null @@ -1,4 +0,0 @@ -GET / http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.sreq deleted file mode 100755 index bd1f8f2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.sreq +++ /dev/null @@ -1,5 +0,0 @@ -GET / http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b27ccfbfa7df52a200ff74193ca6e32d4b48b8856fab7ebf1c595d0670a7e470 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.sts deleted file mode 100755 index c7bcc67..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/get-vanilla.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -366b91fb121d72a00f46bbe8d395f53a102b06dfb7e79636515208ed3fa606b1 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.authz deleted file mode 100755 index a6a7cbb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=22902d79e148b64e7571c3565769328423fe276eae4b26f83afceda9e767f726 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.creq deleted file mode 100755 index a1c8480..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.creq +++ /dev/null @@ -1,8 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.req deleted file mode 100755 index 67d74a3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.req +++ /dev/null @@ -1,4 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.sreq deleted file mode 100755 index 97875f9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.sreq +++ /dev/null @@ -1,5 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=22902d79e148b64e7571c3565769328423fe276eae4b26f83afceda9e767f726 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.sts deleted file mode 100755 index 30fb98a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-case.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -05da62cee468d24ae84faff3c39f1b85540de60243c1bcaace39c0a2acc7b2c4 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.authz deleted file mode 100755 index fdcbdd9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=b7a95a52518abbca0964a999a880429ab734f35ebbf1235bd79a5de87756dc4a \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.creq deleted file mode 100755 index 7cea8ea..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -zoo:zoobar - -date;host;zoo -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.req deleted file mode 100755 index 61c73de..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.req +++ /dev/null @@ -1,5 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -ZOO:zoobar - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.sreq deleted file mode 100755 index a645b45..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.sreq +++ /dev/null @@ -1,6 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -ZOO:zoobar -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=b7a95a52518abbca0964a999a880429ab734f35ebbf1235bd79a5de87756dc4a - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.sts deleted file mode 100755 index 3cf1dd7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-key-sort.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -34e1bddeb99e76ee01d63b5e28656111e210529efeec6cdfd46a48e4c734545d \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.authz deleted file mode 100755 index 651c954..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=273313af9d0c265c531e11db70bbd653f3ba074c1009239e8559d3987039cad7 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.creq deleted file mode 100755 index e97491d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -zoo:ZOOBAR - -date;host;zoo -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.req deleted file mode 100755 index f687230..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.req +++ /dev/null @@ -1,5 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -zoo:ZOOBAR - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.sreq deleted file mode 100755 index 5f95618..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.sreq +++ /dev/null @@ -1,6 +0,0 @@ -POST / http/1.1 -DATE:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com -zoo:ZOOBAR -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host;zoo, Signature=273313af9d0c265c531e11db70bbd653f3ba074c1009239e8559d3987039cad7 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.sts deleted file mode 100755 index e67301c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-header-value-case.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -3aae6d8274b8c03e2cc96fc7d6bda4b9bd7a0a184309344470b2c96953e124aa \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.authz deleted file mode 100755 index acfa0fe..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.creq deleted file mode 100755 index f46634d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.creq +++ /dev/null @@ -1,8 +0,0 @@ -POST -/ -foo=bar -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.req deleted file mode 100755 index 1351de5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.req +++ /dev/null @@ -1,4 +0,0 @@ -POST /?foo=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.sreq deleted file mode 100755 index 662dd6b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.sreq +++ /dev/null @@ -1,5 +0,0 @@ -POST /?foo=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.sts deleted file mode 100755 index fddcbb7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-empty-query-value.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -cd4f39132d8e60bb388831d734230460872b564871c47f5de62e62d1a68dbe1e \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.authz deleted file mode 100755 index acfa0fe..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.creq deleted file mode 100755 index f46634d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.creq +++ /dev/null @@ -1,8 +0,0 @@ -POST -/ -foo=bar -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.req deleted file mode 100755 index 1351de5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.req +++ /dev/null @@ -1,4 +0,0 @@ -POST /?foo=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.sreq deleted file mode 100755 index 662dd6b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.sreq +++ /dev/null @@ -1,5 +0,0 @@ -POST /?foo=bar http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=b6e3b79003ce0743a491606ba1035a804593b0efb1e20a11cba83f8c25a57a92 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.sts deleted file mode 100755 index fddcbb7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla-query.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -cd4f39132d8e60bb388831d734230460872b564871c47f5de62e62d1a68dbe1e \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.authz deleted file mode 100755 index a6a7cbb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=22902d79e148b64e7571c3565769328423fe276eae4b26f83afceda9e767f726 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.creq deleted file mode 100755 index a1c8480..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.creq +++ /dev/null @@ -1,8 +0,0 @@ -POST -/ - -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -date;host -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.req deleted file mode 100755 index b072b83..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.req +++ /dev/null @@ -1,4 +0,0 @@ -POST / http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.sreq deleted file mode 100755 index f2f199a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.sreq +++ /dev/null @@ -1,5 +0,0 @@ -POST / http/1.1 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=date;host, Signature=22902d79e148b64e7571c3565769328423fe276eae4b26f83afceda9e767f726 - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.sts deleted file mode 100755 index 30fb98a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-vanilla.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -05da62cee468d24ae84faff3c39f1b85540de60243c1bcaace39c0a2acc7b2c4 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.authz deleted file mode 100755 index 438b01c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.creq deleted file mode 100755 index 56a9b26..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -content-type:application/x-www-form-urlencoded; charset=utf8 -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -content-type;date;host -3ba8907e7a252327488df390ed517c45b96dead033600219bdca7107d1d3f88a \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.req deleted file mode 100755 index b537b64..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.req +++ /dev/null @@ -1,6 +0,0 @@ -POST / http/1.1 -Content-Type:application/x-www-form-urlencoded; charset=utf8 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - -foo=bar \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.sreq deleted file mode 100755 index 4c351dd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.sreq +++ /dev/null @@ -1,7 +0,0 @@ -POST / http/1.1 -Content-Type:application/x-www-form-urlencoded; charset=utf8 -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=b105eb10c6d318d2294de9d49dd8b031b55e3c3fe139f2e637da70511e9e7b71 - -foo=bar \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.sts deleted file mode 100755 index df165ed..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded-parameters.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -c4115f9e54b5cecf192b1eaa23b8e88ed8dc5391bd4fde7b3fff3d9c9fe0af1f \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.authz b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.authz deleted file mode 100755 index 73b6478..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.authz +++ /dev/null @@ -1 +0,0 @@ -AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=5a15b22cf462f047318703b92e6f4f38884e4a7ab7b1d6426ca46a8bd1c26cbc \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.creq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.creq deleted file mode 100755 index e4c5127..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.creq +++ /dev/null @@ -1,9 +0,0 @@ -POST -/ - -content-type:application/x-www-form-urlencoded -date:Mon, 09 Sep 2011 23:36:00 GMT -host:host.foo.com - -content-type;date;host -3ba8907e7a252327488df390ed517c45b96dead033600219bdca7107d1d3f88a \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.req b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.req deleted file mode 100755 index fd58d79..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.req +++ /dev/null @@ -1,6 +0,0 @@ -POST / http/1.1 -Content-Type:application/x-www-form-urlencoded -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com - -foo=bar \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.sreq b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.sreq deleted file mode 100755 index 3c66800..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.sreq +++ /dev/null @@ -1,7 +0,0 @@ -POST / http/1.1 -Content-Type:application/x-www-form-urlencoded -Date:Mon, 09 Sep 2011 23:36:00 GMT -Host:host.foo.com -Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/aws4_request, SignedHeaders=content-type;date;host, Signature=5a15b22cf462f047318703b92e6f4f38884e4a7ab7b1d6426ca46a8bd1c26cbc - -foo=bar \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.sts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.sts deleted file mode 100755 index b6661a3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Signature/aws4_testsuite/post-x-www-form-urlencoded.sts +++ /dev/null @@ -1,4 +0,0 @@ -AWS4-HMAC-SHA256 -20110909T233600Z -20110909/us-east-1/host/aws4_request -4c5c6e4b52fb5fb947a8733982a8a5a61b14f04345cbfe6e739236c76dd48f74 \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/AbstractResourceWaiterTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/AbstractResourceWaiterTest.php deleted file mode 100644 index 4d0bd7c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/AbstractResourceWaiterTest.php +++ /dev/null @@ -1,59 +0,0 @@ -getMockBuilder('Aws\Common\Waiter\AbstractResourceWaiter') - ->getMockForAbstractClass(); - $waiter->wait(); - } - - public function testCanWait() - { - $waiter = $this->getMockBuilder('Aws\Common\Waiter\AbstractResourceWaiter') - ->setMethods(array('wait')) - ->getMockForAbstractClass(); - - $client = InstanceMetadataClient::factory(); - $waiter->setClient($client); - $this->assertSame($client, $this->readAttribute($waiter, 'client')); - - $config = array('baz' => 'bar'); - $waiter->setConfig($config); - $this->assertSame($config, $this->readAttribute($waiter, 'config')); - - $resource = array('foo' => 'bar'); - $waiter->setConfig($resource); - $this->assertSame($resource, $this->readAttribute($waiter, 'config')); - - try { - $waiter->wait(); - } catch (\Exception $e) {} - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/AbstractWaiterTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/AbstractWaiterTest.php deleted file mode 100644 index b92800b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/AbstractWaiterTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder('Aws\Common\Waiter\AbstractWaiter') - ->getMockForAbstractClass(); - - $waiter->setInterval(10); - $this->assertEquals(10, $waiter->getInterval()); - - $waiter->setMaxAttempts(5); - $this->assertEquals(5, $waiter->getMaxAttempts()); - } - - public function testPerformsWait() - { - $waiter = $this->getMockBuilder('Aws\Common\Waiter\AbstractWaiter') - ->setMethods(array('doWait')) - ->getMockForAbstractClass(); - - $count = 0; - $waiter->expects($this->exactly(2)) - ->method('doWait') - ->will($this->returnCallback(function () use (&$count) { - return ++$count == 2; - })); - - $waiter->wait(); - } - - public function testPerformsWaitWithInterval() - { - $waiter = $this->getMockBuilder('Aws\Common\Waiter\AbstractWaiter') - ->setMethods(array('doWait')) - ->getMockForAbstractClass(); - - $waiter->setInterval(0.001); - - $count = 0; - $waiter->expects($this->exactly(2)) - ->method('doWait') - ->will($this->returnCallback(function () use (&$count) { - return ++$count == 2; - })); - - $waiter->wait(); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - * @expectedExceptionMessage Wait method never resolved to true after 1 attempts - */ - public function testPerformsWaitUntilMaxAttempts() - { - $waiter = $this->getMockBuilder('Aws\Common\Waiter\AbstractWaiter') - ->setMethods(array('doWait')) - ->getMockForAbstractClass(); - - $waiter->setMaxAttempts(1); - - $waiter->expects($this->exactly(1)) - ->method('doWait') - ->will($this->returnValue(false)); - - $waiter->wait(); - } - - public function testAllowsConfigOverrides() - { - $waiter = $this->getMockBuilder('Aws\Common\Waiter\AbstractWaiter') - ->getMockForAbstractClass(); - $waiter->setConfig(array('waiter.interval' => 100, 'waiter.max_attempts' => 50)); - $this->assertEquals(100, $waiter->getInterval()); - $this->assertEquals(50, $waiter->getMaxAttempts()); - } - - public function testPerformsWaitWithEvents() - { - $result = ''; - - $waiter = $this->getMockBuilder('Aws\Common\Waiter\AbstractWaiter') - ->setMethods(array('doWait')) - ->getMockForAbstractClass(); - $waiter->getEventDispatcher()->addListener('waiter.before_attempt', function () use (&$result) { - $result .= 'a'; - }); - $waiter->getEventDispatcher()->addListener('waiter.before_wait', function () use (&$result) { - $result .= 'c'; - }); - - $count = 0; - $waiter->expects($this->exactly(3)) - ->method('doWait') - ->will($this->returnCallback(function () use (&$count, &$result) { - $result .= 'b'; - return ++$count == 3; - })); - - $waiter->wait(); - - $this->assertEquals('abcabcab', $result); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/CallableWaiterTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/CallableWaiterTest.php deleted file mode 100644 index 69bd724..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/CallableWaiterTest.php +++ /dev/null @@ -1,63 +0,0 @@ -setCallable('foo'); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testEnsureCallableIsSetBeforeWaiting() - { - $w = new CallableWaiter(); - $w->wait(); - } - - public function testUsesCallbackForWaiter() - { - $total = 0; - $f = function ($attempts, $data) use (&$total) { - $data['object']->value = 2; - return ++$total == 3; - }; - - $o = new \StdClass(); - $o->value = 1; - $c = array('object' => $o); - - $w = new CallableWaiter(); - $w->setCallable($f); - $w->setContext($c); - $w->wait(); - $this->assertEquals(3, $total); - $this->assertEquals(2, $o->value); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/CompositeWaiterFactoryTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/CompositeWaiterFactoryTest.php deleted file mode 100644 index 7488dd6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/CompositeWaiterFactoryTest.php +++ /dev/null @@ -1,35 +0,0 @@ -assertFalse($factory->canBuild('foo')); - $factory->build('foo'); - } - - public function testBuildsWaiters() - { - $f1 = new WaiterConfigFactory(array('Boo' => array('test'))); - $f2 = new WaiterConfigFactory(array('foo' => array('max_attempts' => 10))); - $factory = new CompositeWaiterFactory(array($f1)); - $factory->addFactory($f2); - $this->assertInstanceOf('Aws\Common\Waiter\ConfigResourceWaiter', $factory->build('foo')); - $this->assertInstanceOf('Aws\Common\Waiter\ConfigResourceWaiter', $factory->build('Boo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/ConfigResourceWaiterTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/ConfigResourceWaiterTest.php deleted file mode 100644 index 1efc6df..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/ConfigResourceWaiterTest.php +++ /dev/null @@ -1,108 +0,0 @@ - 3, - 'interval' => 5 - )); - $w = new ConfigResourceWaiter($c); - $this->assertSame($c, $w->getWaiterConfig()); - $this->assertEquals(3, $w->getMaxAttempts()); - $this->assertEquals(5, $w->getInterval()); - } - - public function testWaiterConfigsCanBeSetInSetConfig() - { - $c = new WaiterConfig(); - $w = new ConfigResourceWaiter($c); - $w->setConfig(array( - 'waiter.foo' => 'baz', - 'waiter.success.path' => 'test/*' - )); - $this->assertEquals('baz', $c->get('foo')); - $this->assertEquals('test/*', $c->get('success.path')); - } - - public function testWaiterCanIgnoreExceptions() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array('s3/head_failure', 's3/head_success')); - $client->waitUntil('bucket_exists', array('Bucket' => 'foo', 'waiter.interval' => 0)); - $this->assertEquals(2, count($this->getMockedRequests())); - } - - /** - * @expectedException \Aws\S3\Exception\S3Exception - */ - public function testWaiterDoesNotIgnoreAllExceptions() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array(new Response(409))); - $client->waitUntil('bucket_not_exists', array('Bucket' => 'foo', 'waiter.interval' => 0)); - } - - public function testWaiterCanSucceedOnException() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array('s3/head_failure')); - $client->waitUntil('bucket_not_exists', array('Bucket' => 'foo')); - } - - public function testWaiterCanSucceedOnOutput() - { - $client = $this->getServiceBuilder()->get('ec2', true); - $this->setMockResponse($client, array( - 'ec2/describe_instances_no_reservations', - 'ec2/describe_instances_two_instances_different_state', - 'ec2/describe_instances_two_instances_same_state' - )); - $client->waitUntil('instance_running', array('InstanceIds' => array('i-xxxxxxx1'), 'waiter.interval' => 0)); - } - - /** - * @expectedException \RuntimeException - * @expectedExceptionMessage A resource entered into an invalid state of "pending" while waiting with the "InstanceStopped" waiter. - */ - public function testWaiterCanFastFailOnOutputResult() - { - $client = $this->getServiceBuilder()->get('ec2', true); - $this->setMockResponse($client, array('ec2/describe_instances_two_instances_different_state')); - $client->waitUntil('instance_stopped', array('InstanceIds' => array('i-xxxxxxx1'), 'waiter.interval' => 0)); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage InstanceStopped waiter validation failed: Validation errors: [InstanceIds] must be of type array - */ - public function testWaiterProvidesHelpfulMessageWhenValidationFails() - { - $client = $this->getServiceBuilder()->get('ec2', true); - $client->waitUntil('instance_stopped', array('InstanceIds' => 'i-xxxxxxx1')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterClassFactoryTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterClassFactoryTest.php deleted file mode 100644 index 883cbd1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterClassFactoryTest.php +++ /dev/null @@ -1,47 +0,0 @@ -registerNamespace('Foo'); - $factory->build('bar'); - } - - public function testCreatesWaiter() - { - $factory = new WaiterClassFactory(); - $factory->registerNamespace('Aws\Common\InstanceMetadata\Waiter'); - $factory->registerNamespace('Foo\Bar'); - - $expectedClass = 'Aws\Common\InstanceMetadata\Waiter\ServiceAvailable'; - $this->assertTrue($factory->canBuild('service_available')); - $this->assertInstanceOf($expectedClass, $factory->build('service_available')); - $this->assertInstanceOf($expectedClass, $factory->build('ServiceAvailable')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterConfigFactoryTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterConfigFactoryTest.php deleted file mode 100644 index 3bc0fb0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterConfigFactoryTest.php +++ /dev/null @@ -1,97 +0,0 @@ - array( - 'acceptor.path' => 'Foo/Baz', - 'acceptor.type' => 'output', - 'max_attempts' => 10 - ), - 'Test' => array( - 'success.value' => 'foo', - 'ignore_errors' => array('1', '2') - ), - 'Extending' => array( - 'extends' => 'Test', - 'failure.value' => 'fail' - ), - 'Overwrite' => array( - 'extends' => 'Extending', - 'max_attempts' => 20, - 'success.value' => 'abc', - 'failure.type' => 'baz' - ) - ); - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testEnsuresConfigExists() - { - $factory = new WaiterConfigFactory(array()); - $factory->build('bar'); - } - - public function testUsesDefaultValuesToo() - { - $factory = new WaiterConfigFactory($this->data); - $config = $factory->build('Test')->getWaiterConfig(); - $this->assertEquals('Foo/Baz', $config['success.path']); - $this->assertEquals('Foo/Baz', $config['failure.path']); - $this->assertEquals('output', $config['success.type']); - $this->assertEquals('output', $config['failure.type']); - $this->assertEquals(10, $config['max_attempts']); - $this->assertEquals('foo', $config['success.value']); - $this->assertEquals(array('1', '2'), $config['ignore_errors']); - } - - public function testAllowsExtending() - { - $factory = new WaiterConfigFactory($this->data); - $config = $factory->build('Extending')->getWaiterConfig(); - $this->assertEquals('Foo/Baz', $config['success.path']); - $this->assertEquals('Foo/Baz', $config['failure.path']); - $this->assertEquals('output', $config['success.type']); - $this->assertEquals('output', $config['failure.type']); - $this->assertEquals(10, $config['max_attempts']); - $this->assertEquals('foo', $config['success.value']); - $this->assertEquals('fail', $config['failure.value']); - $this->assertEquals(array('1', '2'), $config['ignore_errors']); - } - - public function testAllowsExtendingToOverwrite() - { - $factory = new WaiterConfigFactory($this->data); - $config = $factory->build('Overwrite')->getWaiterConfig(); - $this->assertEquals('Foo/Baz', $config['success.path']); - $this->assertEquals('Foo/Baz', $config['failure.path']); - $this->assertEquals('output', $config['success.type']); - $this->assertEquals('baz', $config['failure.type']); - $this->assertEquals(20, $config['max_attempts']); - $this->assertEquals('abc', $config['success.value']); - $this->assertEquals('fail', $config['failure.value']); - $this->assertEquals(array('1', '2'), $config['ignore_errors']); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterConfigTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterConfigTest.php deleted file mode 100644 index be21d6a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Common/Waiter/WaiterConfigTest.php +++ /dev/null @@ -1,42 +0,0 @@ - 'baz', - 'acceptor.bar' => 'baz', - 'success.foo' => 'bar', - 'failure.test' => 'bam' - )); - $this->assertEquals(array( - 'success.foo' => 'bar', - 'failure.test' => 'bam', - 'failure.foo' => 'baz', - 'success.bar' => 'baz', - 'failure.bar' => 'baz' - ), $config->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DataPipeline/DataPipelineClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DataPipeline/DataPipelineClientTest.php deleted file mode 100644 index 9cb4dae..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DataPipeline/DataPipelineClientTest.php +++ /dev/null @@ -1,54 +0,0 @@ - 'foo', - ClientOptions::SECRET => 'bar', - ClientOptions::REGION => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://datapipeline.us-east-1.amazonaws.com', $client->getBaseUrl()); - } - - public function testLongPollingEnabledForPollForWorkOperation() - { - $client = DataPipelineClient::factory(array( - ClientOptions::KEY => 'foo', - ClientOptions::SECRET => 'bar', - ClientOptions::REGION => 'us-east-1' - )); - - $command = $client->getCommand('PollForTask'); - $curlopts = $command->get('curl.options') ?: array(); - - $this->assertArrayHasKey('CURLOPT_TIMEOUT', $curlopts); - $this->assertEquals($curlopts['CURLOPT_TIMEOUT'], 90); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DataPipeline/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DataPipeline/Integration/IntegrationTest.php deleted file mode 100644 index 1f369e3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DataPipeline/Integration/IntegrationTest.php +++ /dev/null @@ -1,166 +0,0 @@ -get('datapipeline'); - foreach ($dp->getIterator('ListPipelines') as $pipeline) { - if (strpos($pipeline['name'], 'php-test-pipeline') === 0) { - $dp->getCommand('DeletePipeline', array('pipelineId' => $pipeline['id']))->execute(); - } - } - sleep(3); - } - - public function setUp() - { - $this->dataPipeline = self::getServiceBuilder()->get('datapipeline'); - } - - public function testCrudOperationsForPipelines() - { - self::log('Create 3 pipelines.'); - $pipelineIds = array(); - foreach (range(1, 3) as $index) { - $name = "php-test-pipeline-{$index}"; - $result = $this->dataPipeline->getCommand('CreatePipeline', array( - 'name' => $name, - 'uniqueId' => $name, - ))->getResult(); - $pipelineIds[] = $result['pipelineId']; - } - - self::log('List the pipelines and make sure the ones we added are there.'); - foreach ($this->dataPipeline->getIterator('ListPipelines') as $pipeline) { - if (strpos($pipeline['name'], 'php-test-pipeline') === 0) { - $this->assertContains($pipeline['id'], $pipelineIds); - } - } - - self::log('Describe the pipelines and make sure the ones we added are still there.'); - $result = $this->dataPipeline->getCommand('DescribePipelines', array( - 'pipelineIds' => $pipelineIds, - ))->getResult(); - $this->assertCount(3, $result['pipelineDescriptionList']); - foreach ($result['pipelineDescriptionList'] as $pipeline) { - $this->assertContains($pipeline['pipelineId'], $pipelineIds); - } - - self::log('Test putting a pipeline definition.'); - $definition = array( - 'pipelineId' => $pipelineIds[0], - 'pipelineObjects' => array( - array( - 'id' => 'Default', - 'name' => 'Default', - 'fields' => array( - array( - 'key' => 'workerGroup', - 'stringValue' => 'workerGroup' - ) - ) - ), - array( - 'id' => 'Schedule', - 'name' => 'Schedule', - 'fields' => array( - array( - 'key' => 'startDateTime', - 'stringValue' => '2012-12-12T00:00:00' - ), - array( - 'key' => 'type', - 'stringValue' => 'Schedule' - ), - array( - 'key' => 'period', - 'stringValue' => '1 hour' - ), - array( - 'key' => 'endDateTime', - 'stringValue' => '2012-12-21T18:00:00' - ), - ) - ), - array( - 'id' => 'SayHello', - 'name' => 'SayHello', - 'fields' => array( - array( - 'key' => 'type', - 'stringValue' => 'ShellCommandActivity' - ), - array( - 'key' => 'command', - 'stringValue' => 'echo hello' - ), - array( - 'key' => 'parent', - 'refValue' => 'Default' - ), - array( - 'key' => 'schedule', - 'refValue' => 'Schedule' - ) - ) - ) - ) - ); - $result = $this->dataPipeline->getCommand('ValidatePipelineDefinition', $definition)->getResult(); - $this->assertFalse($result->get('errored')); - $result = $this->dataPipeline->getCommand('PutPipelineDefinition', $definition)->getResult(); - $this->assertFalse($result->get('errored')); - - self::log('Get a pipeline definition.'); - $response = $this->dataPipeline->getCommand('GetPipelineDefinition', array( - 'pipelineId' => $pipelineIds[0], - ))->getResponse(); - $this->assertEquals(200, $response->getStatusCode()); - - self::log('Delete the pipelines we created.'); - foreach ($pipelineIds as $pipelineId) { - $response = $this->dataPipeline->getCommand('DeletePipeline', array( - 'pipelineId' => $pipelineId, - ))->getResponse(); - $this->assertEquals(200, $response->getStatusCode()); - } - - self::log('Sleep to let delete calls propagate.'); - sleep(5); - - self::log('List the pipelines and make sure the ones we deleted are gone.'); - foreach ($this->dataPipeline->getIterator('ListPipelines') as $pipeline) { - if (strpos($pipeline['name'], 'php-test-pipeline') === 0) { - $this->fail("The pipeline {$pipeline['name']} was not deleted."); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DirectConnect/DirectConnectClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DirectConnect/DirectConnectClientTest.php deleted file mode 100644 index ddc2f98..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DirectConnect/DirectConnectClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://directconnect.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DirectConnect/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DirectConnect/Integration/IntegrationTest.php deleted file mode 100644 index 26a8818..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DirectConnect/Integration/IntegrationTest.php +++ /dev/null @@ -1,66 +0,0 @@ -client = $this->getServiceBuilder()->get('directconnect'); - } - - public function testBasicOperations() - { - self::log('Get an offering ID and region to use.'); - $offerings = $this->client->describeOfferings()->get('offerings'); - $offering = $offerings[array_rand($offerings)]; - $this->client->setRegion($offering['region']); - - self::log('Create a connection and make sure it is in the requested state.'); - $result = $this->client->createConnection(array( - 'connectionName' => 'PHP Integ Test Connection', - 'offeringId' => $offering['offeringId'], - )); - $connectionId = $result->get('connectionId'); - $this->assertEquals(ConnectionState::REQUESTED, $result->get('connectionState')); - - self::log('Iterate through the connections and make sure the new one is there.'); - $found = false; - foreach ($this->client->getIterator('DescribeConnections') as $connection) { - if ($connection['connectionId'] == $connectionId) { - $found = true; - break; - } - } - $this->assertTrue($found); - - self::log('Delete the connection and make sure it is in the deleted state.'); - $result = $this->client->deleteConnection(array('connectionId' => $connectionId)); - $this->assertEquals(ConnectionState::DELETED, $result->get('connectionState')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Crc32ErrorCheckerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Crc32ErrorCheckerTest.php deleted file mode 100644 index 423147b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Crc32ErrorCheckerTest.php +++ /dev/null @@ -1,62 +0,0 @@ -assertFalse($checker->getBackoffPeriod(0, $request, $response)); - } - - public function testOnlyListensForCompletedRequests() - { - $request = new Request('GET', 'http://example.com'); - $checker = new Crc32ErrorChecker(); - $this->assertFalse($checker->getBackoffPeriod(0, $request)); - } - - public function testReturnsTrueForMismatchedChecksums() - { - $request = new Request('GET', 'http://example.com'); - $response = new Response(200, array( - 'content-type' => 'application/x-amz-json-1.0', - 'x-amz-crc32' => 123 - ), '{"foo":"bar"}' - ); - $checker = new Crc32ErrorChecker(); - $this->assertSame(0, $checker->getBackoffPeriod(1, $request, $response)); - } - - public function testReturnsFalseWhenCrc32Matches() - { - $request = new Request('GET', 'http://example.com'); - $response = new Response(200, array('x-amz-crc32' => '3632233996'), 'test'); - $checker = new Crc32ErrorChecker(); - $this->assertFalse($checker->getBackoffPeriod(1, $request, $response)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/DynamoDbClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/DynamoDbClientTest.php deleted file mode 100644 index 0076f4e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/DynamoDbClientTest.php +++ /dev/null @@ -1,138 +0,0 @@ -getServiceBuilder()->get('dynamodb', true); - $expected = array(Type::NUMBER => '100'); - $actual = $client->formatValue(100); - - $this->assertSame($expected, $actual); - } - - /** - * @covers Aws\DynamoDb\DynamoDbClient::formatAttributes - */ - public function testFormatAttributesProducesCorrectArrayStructure() - { - $client = $this->getServiceBuilder()->get('dynamodb', true); - $expected = array( - 'number' => array(Type::NUMBER => '100'), - 'string' => array(Type::STRING => 'foo'), - ); - - $actual = $client->formatAttributes(array( - 'number' => 100, - 'string' => 'foo', - )); - - $this->assertSame($expected, $actual); - } - - /** - * This was an issue in earlier DynamoDB clients from several programming - * languages - * - * @covers Aws\DynamoDb\DynamoDbClient::formatAttributes - */ - public function testFormatAttributesWorksWithTypesAsKeys() - { - $client = $this->getServiceBuilder()->get('dynamodb', true); - $expected = array( - 'N' => array('N' => '1'), - 'S' => array('S' => 'S'), - 'NS' => array('NS' => array('1', '2', '3', '4')), - 'SS' => array('SS' => array('N', 'S', 'NS', 'SS')), - ); - - $actual = $client->formatAttributes(array( - 'N' => 1, - 'S' => 'S', - 'NS' => array(1, 2, 3, 4), - 'SS' => array('N', 'S', 'NS', 'SS'), - )); - - $this->assertSame($expected, $actual); - } - - /** - * @covers Aws\DynamoDb\DynamoDbClient::factory - */ - public function testFactoryInitializesClient() - { - $client = DynamoDbClient::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://dynamodb.us-east-1.amazonaws.com', $client->getBaseUrl()); - } - - /** - * @covers Aws\DynamoDb\DynamoDbClient::calculateRetryDelay - */ - public function testHasCustomRetryDelay() - { - $client = DynamoDbClient::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - 'region' => 'us-west-1' - )); - - $this->assertEquals(0, $client->calculateRetryDelay(0)); - $this->assertEquals(0.05, $client->calculateRetryDelay(1)); - $this->assertEquals(0.1, $client->calculateRetryDelay(2)); - $this->assertEquals(0.2, $client->calculateRetryDelay(3)); - $this->assertEquals(0.4, $client->calculateRetryDelay(4)); - $this->assertEquals(0.8, $client->calculateRetryDelay(5)); - $this->assertEquals(1.6, $client->calculateRetryDelay(6)); - $this->assertEquals(3.2, $client->calculateRetryDelay(7)); - $this->assertEquals(6.4, $client->calculateRetryDelay(8)); - $this->assertEquals(12.8, $client->calculateRetryDelay(9)); - $this->assertEquals(25.6, $client->calculateRetryDelay(10)); - $this->assertEquals(51.2, $client->calculateRetryDelay(11)); - } - - /** - * @covers Aws\DynamoDb\DynamoDbClient::registerSessionHandler - */ - public function testCanRegisterSessionHandlerFromClient() - { - $client = DynamoDbClient::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - 'region' => 'us-west-1' - )); - - $this->assertInstanceOf('Aws\DynamoDb\Session\SessionHandler', $client->registerSessionHandler()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Exception/UnprocessedWriteRequestsExceptionTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Exception/UnprocessedWriteRequestsExceptionTest.php deleted file mode 100644 index f8f569d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Exception/UnprocessedWriteRequestsExceptionTest.php +++ /dev/null @@ -1,45 +0,0 @@ -getMock($interface); - $unprocessed2 = $this->getMock($interface); - - $exception - ->addItem($unprocessed1) - ->addItem($unprocessed2); - - try { - throw $exception; - } catch (UnprocessedWriteRequestsException $e) { - $this->assertEquals(2, count($e)); - $this->assertInstanceOf('\ArrayIterator', $e->getIterator()); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/BatchRequestIntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/BatchRequestIntegrationTest.php deleted file mode 100644 index 499afbb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/BatchRequestIntegrationTest.php +++ /dev/null @@ -1,126 +0,0 @@ -get('dynamodb', true); - $table = self::getResourcePrefix() . '-php-test-batch-write'; - - try { - $result = $client->describeTable(array('TableName' => $table)); - self::log('Table exists. Waiting until the status is ACTIVE'); - // Wait until the table is active - $client->waitUntil('table_exists', array('TableName' => $table)); - } catch (ResourceNotFoundException $e) { - self::log("Creating table {$table}..."); - $client->createTable(array( - 'TableName' => $table, - 'KeySchema' => array( - 'HashKeyElement' => array( - 'AttributeName' => 'foo', - 'AttributeType' => 'S' - ), - ), - 'ProvisionedThroughput' => array( - 'ReadCapacityUnits' => 20, - 'WriteCapacityUnits' => 20 - ) - )); - - $client->waitUntil('table_exists', array('TableName' => $table)); - self::log("Table created."); - } - - $numItems = 55; - self::log("Testing the WriteRequestBatch with {$numItems} items."); - - self::log("Put {$numItems} items into the table."); - $writeBatch = WriteRequestBatch::factory($client, 50); - for ($i = 1; $i <= $numItems; $i++) { - $writeBatch->add(new PutRequest(Item::fromArray(array( - 'foo' => "example_{$i}", - 'time' => time() - )), $table)); - } - $writeBatch->flush(); - - self::log("Assert that all {$numItems} items made it into the table."); - $scanner = $client->getIterator('Scan', array('TableName' => $table)); - $this->assertGreaterThanOrEqual($numItems, iterator_count($scanner), 'Not all of the items were inserted.'); - - self::log("Remove {$numItems} items from the table"); - $deleteBatch = WriteRequestBatch::factory($client); - for ($i = 1; $i <= $numItems; $i++) { - $deleteBatch->add(new DeleteRequest(array( - 'HashKeyElement' => array('S' => "example_{$i}") - ), $table)); - } - $deleteBatch->flush(); - - self::log("Assert that all {$numItems} items are deleted from the table"); - $scanner = $client->getIterator('Scan', array('TableName' => $table)); - $this->assertEquals(0, iterator_count($scanner), 'Not all of the items were deleted.'); - } - - /** - * @depends testWriteRequestBatchProcessWorksAsExpected - */ - public function testWriteRequestBatchCanHandleLargeBatches() - { - // Set up - /** @var $client DynamoDbClient */ - $client = self::getServiceBuilder()->get('dynamodb'); - $table = self::getResourcePrefix() . '-php-test-batch-write'; - - // Test - $numItems = 30; - self::log("Testing the WriteRequestBatch with {$numItems} HUGE items."); - - self::log("Put {$numItems} items into the table."); - $writeBatch = WriteRequestBatch::factory($client); - for ($i = 1; $i <= $numItems; $i++) { - $writeBatch->add(new PutRequest(Item::fromArray(array( - 'foo' => (string) $i, - 'data' => str_repeat('X', 50000) - )), $table)); - } - $writeBatch->flush(); - - self::log("Assert that all {$numItems} items made it into the table."); - $scanner = $client->getIterator('Scan', array('TableName' => $table)); - $this->assertEquals($numItems, iterator_count($scanner), 'Not all of the items were inserted.'); - - // Tear down - self::log("Deleting table {$table}..."); - $client->deleteTable(array('TableName' => $table)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/IntegrationTest.php deleted file mode 100644 index f3427ef..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/IntegrationTest.php +++ /dev/null @@ -1,472 +0,0 @@ -get('dynamodb'); - - self::log("# Attempting to delete {$table}"); - - try { - $result = $client->describeTable(array('TableName' => $table)); - self::log('Table exists. Waiting until the status is ACTIVE'); - // Wait until the table is active - $client->waitUntil('TableExists', array('TableName' => $table)); - self::log('Deleting the table'); - // Delete the table to clear out its contents - $client->deleteTable(array('TableName' => $table)); - self::log('Waiting until the table does not exist'); - // Wait until the table does not exist - $client->waitUntil('TableNotExists', array('TableName' => $table)); - } catch (ResourceNotFoundException $e) { - // The table does not exist so we are good - } - - self::log("{$table} does not exist"); - } - - public static function setUpBeforeClass() - { - self::deleteTable(); - } - - public static function tearDownAfterClass() - { - self::deleteTable(); - } - - public function setUp() - { - $this->table = self::getResourcePrefix() . 'phptest'; - $this->client = self::getServiceBuilder()->get('dynamodb'); - } - - /** - * Ensures that a DynamoDB table can be created - */ - public function testCreatesTable() - { - self::log("Waiting until {$this->table} does not exist"); - $this->client->waitUntil('TableNotExists', array('TableName' => $this->table)); - - self::log("Attempting to create {$this->table}"); - - $this->client->createTable(array( - 'TableName' => $this->table, - 'KeySchema' => array( - 'HashKeyElement' => array( - 'AttributeName' => 'foo', - 'AttributeType' => 'S' - ), - 'RangeKeyElement' => array( - 'AttributeName' => 'bar', - 'AttributeType' => 'N' - ) - ), - 'ProvisionedThroughput' => array( - 'ReadCapacityUnits' => 10, - 'WriteCapacityUnits' => 10 - ) - )); - - // Check/wait until the table exists - self::log("Table created. Waiting until it exists."); - $this->client->waitUntil('TableExists', array('TableName' => $this->table)); - self::log("Table exists"); - - // Ensure that the fields were set properly - $result = $this->client->describeTable(array('TableName' => $this->table)); - - self::log("Ensuring the table was created with the proper values"); - $this->assertEquals($this->table, $result['Table']['TableName']); - $this->assertEquals('foo', $result['Table']['KeySchema']['HashKeyElement']['AttributeName']); - $this->assertEquals('S', $result['Table']['KeySchema']['HashKeyElement']['AttributeType']); - $this->assertEquals('bar', $result['Table']['KeySchema']['RangeKeyElement']['AttributeName']); - $this->assertEquals('N', $result['Table']['KeySchema']['RangeKeyElement']['AttributeType']); - $this->assertEquals(10, $result['Table']['ProvisionedThroughput']['ReadCapacityUnits']); - $this->assertEquals(10, $result['Table']['ProvisionedThroughput']['WriteCapacityUnits']); - } - - /** - * @depends testCreatesTable - */ - public function testListsTables() - { - $result = $this->client->listTables(); - $this->assertContains($this->table, $result['TableNames']); - } - - /** - * @depends testCreatesTable - */ - public function testIteratesOverListTables() - { - self::log('Iterating over all tables'); - - $foundTables = array(); - $iterator = $this->client->getIterator('ListTables', array('Limit' => 5)); - - foreach ($iterator as $table) { - $foundTables[] = $table; - self::log("Found {$table} in tables"); - } - - $this->assertContains($this->table, $foundTables); - } - - /** - * @depends testCreatesTable - */ - public function testUpdatesTable() - { - self::log('Updating table'); - - // Need to wait until the table is active - $this->client->waitUntil('TableExists', array('TableName' => $this->table)); - - $this->client->updateTable(array( - 'TableName' => $this->table, - 'ProvisionedThroughput' => array( - 'ReadCapacityUnits' => 20, - 'WriteCapacityUnits' => 20 - ) - )); - - // Wait until the table is active - self::log('Waiting for the table to become active after updating'); - $this->client->waitUntil('table_exists', array('TableName' => $this->table)); - - // Ensure the table is updated - $result = $this->client->describeTable(array('TableName' => $this->table)); - - // Ensure that the updates took effect - $this->assertEquals(20, $result['Table']['ProvisionedThroughput']['ReadCapacityUnits']); - $this->assertEquals(20, $result['Table']['ProvisionedThroughput']['WriteCapacityUnits']); - } - - /** - * @depends testCreatesTable - */ - public function testAddsGetsAndDeletesItems() - { - $attributes = $this->client->formatAttributes(array( - 'foo' => 'Test', - 'bar' => 10, - 'baz' => 'abc' - )); - - self::log('Adding an item to the table: ' . var_export($attributes, true)); - $result = $this->client->putItem(array( - 'TableName' => $this->table, - 'Item' => $attributes - )); - - $this->assertTrue(isset($result['ConsumedCapacityUnits'])); - - self::log('Getting the item'); - // Get the item using the formatAttributes helper - $result = $this->client->getItem(array( - 'TableName' => $this->table, - 'Key' => $this->client->formatAttributes(array( - 'HashKeyElement' => 'Test', - 'RangeKeyElement' => 10 - )), - 'ConsistentRead' => true - )); - - $this->assertEquals('Test', $result['Item']['foo']['S']); - $this->assertEquals(10, $result['Item']['bar']['N']); - $this->assertEquals('abc', $result['Item']['baz']['S']); - - self::log('Deleting the item'); - $result = $this->client->deleteItem(array( - 'TableName' => $this->table, - 'Key' => $this->client->formatAttributes(array( - 'HashKeyElement' => 'Test', - 'RangeKeyElement' => 10 - )), - )); - - $this->assertTrue(isset($result['ConsumedCapacityUnits'])); - } - - /** - * @depends testCreatesTable - */ - public function testBase64EncodesBinaryData() - { - self::log("Checking to ensure binary data is base64 encoded before being sent over the wire"); - $cmd = $this->client->getCommand('PutItem', array( - 'TableName' => $this->table, - 'Item' => array( - 'foo' => array('S' => 'f'), - 'bar' => array('N' => '1'), - 'v' => array('B' => 'a'), - 'd' => array('BS' => array('a', 'b')) - ) - )); - - try { - $cmd->execute(); - } catch (\Aws\Common\Exception\ServiceResponseException $e) { - echo $e->getResponse()->getRequest() . "\n" . $e->getResponse() . "\n"; - die(); - } - $this->assertContains( - '"Item":{"foo":{"S":"f"},"bar":{"N":"1"},"v":{"B":"YQ=="},"d":{"BS":["YQ==","Yg=="]}}}', - (string) $cmd->getRequest()->getBody() - ); - } - - /** - * @depends testCreatesTable - */ - public function testIteratesOverScan() - { - self::log('Adding 3 items to the table'); - - $this->client->putItem(array( - 'TableName' => $this->table, - 'Item' => Item::fromArray(array( - 'foo' => 'Bar', - 'bar' => 10 - )) - )); - self::log('Added 1 item'); - - $this->client->putItem(array( - 'TableName' => $this->table, - 'Item' => Item::fromArray(array( - 'foo' => 'Bar', - 'bar' => 20 - )) - )); - self::log('Added 2 items'); - - $this->client->putItem(array( - 'TableName' => $this->table, - 'Item' => Item::fromArray(array( - 'foo' => 'Bar', - 'bar' => 30 - )) - )); - self::log('Added 3 items'); - - self::log('Waiting until at least 3 items are in the table'); - $client = $this->client; - $table = $this->table; - $waiter = new CallableWaiter(); - $waiter->setCallable(function () use ($client, $table) { - $result = $client->scan(array( - 'TableName' => $table - )); - return count($result['Items']) >= 3; - }) - ->setMaxAttempts(10) - ->setInterval(1); - - $iterator = $client->getIterator('Scan', array( - 'TableName' => $this->table, - 'Limit' => 2, - 'ScanFilter' => array( - 'bar' => array( - 'AttributeValueList' => array( - array('N' => '5') - ), - 'ComparisonOperator' => 'GT' - ) - ) - )); - - $items = $iterator->toArray(); - $this->assertTrue(count($items) >= 3, 'Expected 3 items, got ' . count($items)); - $this->assertTrue($iterator->getRequestCount() >= 2); - - $mustMatch = $this->rangeKeyValues; - foreach ($items as $item) { - if (false !== $pos = array_search($item['bar']['N'], $mustMatch)) { - unset($mustMatch[$pos]); - if (empty($mustMatch)) { - break; - } - } - } - - if (!empty($mustMatch)) { - $this->fail('All known items were not found in scan: ' . var_export($mustMatch, true) . ' - found: ' . var_export($items, true)); - } - - return $mustMatch; - } - - /** - * @depends testIteratesOverScan - */ - public function testIteratesOverQuery() - { - self::log('Querying data'); - - $iterator = $this->client->getIterator('Query', array( - 'TableName' => $this->table, - 'Limit' => 2, - 'ConsistentRead' => true, - 'HashKeyValue' => array('S' => 'Bar'), - 'RangeKeyCondition' => array( - 'AttributeValueList' => array( - array('N' => '5') - ), - 'ComparisonOperator' => 'GT' - ) - )); - - $items = $iterator->toArray(); - $this->assertTrue(count($items) >= 3); - $this->assertTrue($iterator->getRequestCount() >= 2); - - $mustMatch = $this->rangeKeyValues; - foreach ($items as $item) { - if (false !== $pos = array_search($item['bar']['N'], $mustMatch)) { - unset($mustMatch[$pos]); - if (empty($mustMatch)) { - break; - } - } - } - - if (!empty($mustMatch)) { - $this->fail('All known items were not found in scan: ' . var_export($mustMatch, true) . ' - found: ' . var_export($items, true)); - } - } - - /** - * @depends testIteratesOverScan - */ - public function testIteratesOverBatchGetItem() - { - self::log('Running BatchGetItem'); - - $history = new HistoryPlugin(); - $this->client->addSubscriber($history); - - $iterator = $this->client->getIterator('BatchGetItem', array( - 'RequestItems' => array( - $this->table => array( - 'Keys' => array( - array( - 'HashKeyElement' => array('S' => 'Bar'), - 'RangeKeyElement' => array('N' => '10') - ), - array( - 'HashKeyElement' => array('S' => 'Bar'), - 'RangeKeyElement' => array('N' => '20') - ), - array( - 'HashKeyElement' => array('S' => 'Bar'), - 'RangeKeyElement' => array('N' => '30') - ) - ), - 'ConsistentRead' => true - ) - ) - )); - - $items = $iterator->toArray(); - $this->client->getEventDispatcher()->removeSubscriber($history); - // Ensure that the request was sent using consistent read - $this->assertContains('"ConsistentRead":"true"', (string) $history->getLastRequest()->getBody()); - - $this->assertTrue(count($items) >= 3); - $this->assertTrue($iterator->getRequestCount() >= 1); - - $mustMatch = $this->rangeKeyValues; - foreach ($items as $item) { - if (false !== $pos = array_search($item['bar']['N'], $mustMatch)) { - unset($mustMatch[$pos]); - if (empty($mustMatch)) { - break; - } - } - } - - if (!empty($mustMatch)) { - $this->fail('All known items were not found in scan: ' . var_export($mustMatch, true) . ' - found: ' . var_export($items, true)); - } - } - - /** - * @depends testIteratesOverScan - */ - public function testImplementsCustomExponentialBackoffStrategy() - { - self::log('Getting an item a bunch of times in parallel'); - $batch = BatchBuilder::factory()->transferCommands(100)->build(); - $s = microtime(true); - - $total = 300; - for ($i = 0; $i < $total; $i++) { - $command = $this->client->getCommand('GetItem', array( - 'TableName' => $this->table, - 'Key' => $this->client->formatAttributes(array( - 'HashKeyElement' => 'Test', - 'RangeKeyElement' => 10 - )) - )); - $batch->add($command); - } - - $retries = 0; - foreach ($batch->flush() as $command) { - $retries += $command->getRequest()->getParams()->get(BackoffPlugin::RETRY_PARAM); - } - - $elapsed = microtime(true) - $s; - self::log("Got the item {$total} times with {$retries} retries in {$elapsed} seconds"); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/IteratorsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/IteratorsTest.php deleted file mode 100644 index b1abc1c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/IteratorsTest.php +++ /dev/null @@ -1,135 +0,0 @@ -getServiceBuilder()->get('dynamodb'); - $mock = $this->setMockResponse($client, array( - 'dynamodb/batch_get_item_has_more', - 'dynamodb/batch_get_item_empty_has_more', - 'dynamodb/batch_get_item_final' - )); - - $iterator = $client->getIterator('BatchGetItem', array( - 'RequestItems' => array( - 'Table1' => array( - 'Keys' => array( - array( - 'HashKeyElement' => array('S' => 'KeyValue1'), - 'RangeKeyElement' => array('N' => '2') - ), - array( - 'HashKeyElement' => array('S' => 'KeyValue3'), - 'RangeKeyElement' => array('N' => '4') - ), - array( - 'HashKeyElement' => array('S' => 'KeyValue5'), - 'RangeKeyElement' => array('N' => '6') - ) - ), - 'AttributesToGet' => array('AttributeName1', 'AttributeName2', 'AttributeName3') - ), - 'Table2' => array( - 'Keys' => array( - array('HashKeyElement' => array('S' => 'KeyValue4')), - array('HashKeyElement' => array('S' => 'KeyValue5')) - ), - 'AttributesToGet' => array('AttributeName4', 'AttributeName5', 'AttributeName6') - ) - ) - )); - - foreach ($iterator as $item) { - $this->assertInternalType('array', $item); - } - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(3, count($requests)); - } - - public function testIteratesListTableCommand() - { - $client = $this->getServiceBuilder()->get('dynamodb'); - $mock = $this->setMockResponse($client, array( - 'dynamodb/list_tables_has_more', - 'dynamodb/list_tables_final' - )); - - $iterator = $client->getIterator('ListTables'); - - $this->assertEquals(array('Table1', 'Table2', 'Table3', 'Table4', 'Table5'), $iterator->toArray()); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($requests)); - $json = json_decode((string) $requests[1]->getBody(), true); - $this->assertEquals('Table3', $json['ExclusiveStartTableName']); - } - - public function testIteratesQueryCommand() - { - $client = $this->getServiceBuilder()->get('dynamodb'); - $mock = $this->setMockResponse($client, array( - 'dynamodb/query_has_more', - 'dynamodb/query_final', - )); - - $iterator = $client->getIterator('Query', array( - 'TableName' => 'foo', - 'HashKeyValue' => array( - 'S' => 'AttributeValue1' - ) - )); - - $data = $iterator->toArray(); - $this->assertEquals(3, count($data)); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($requests)); - $json = json_decode((string) $requests[1]->getBody(), true); - $this->assertArrayHasKey('ExclusiveStartKey', $json); - } - - public function testIteratesScanCommand() - { - $client = $this->getServiceBuilder()->get('dynamodb'); - $mock = $this->setMockResponse($client, array( - 'dynamodb/scan_has_more', - 'dynamodb/scan_empty_has_more', - 'dynamodb/scan_final', - )); - - $iterator = $client->getIterator('Scan', array( - 'TableName' => 'foo' - )); - - $data = $iterator->toArray(); - $this->assertEquals(3, count($data)); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(3, count($requests)); - $json = json_decode((string) $requests[1]->getBody(), true); - $this->assertArrayHasKey('ExclusiveStartKey', $json); - - $this->assertEquals(207, $iterator->getScannedCount()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/PerformanceTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/PerformanceTest.php deleted file mode 100644 index aac1af2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Integration/PerformanceTest.php +++ /dev/null @@ -1,157 +0,0 @@ -get('dynamodb'); - - // Get a list of tables in your account - self::log('Checking if the ' . self::getTableName() . ' table exists'); - $tables = $client->getIterator('ListTables')->toArray(); - - // If the table does not exist, then create it - if (!in_array(self::getTableName(), $tables)) { - self::log('Table does not exist. Creating now.'); - $client->createTable(array( - 'TableName' => self::getTableName(), - 'KeySchema' => array( - 'HashKeyElement' => array( - 'AttributeName' => 'foo', - 'AttributeType' => 'S' - ), - 'RangeKeyElement' => array( - 'AttributeName' => 'bar', - 'AttributeType' => 'N' - ) - ), - 'ProvisionedThroughput' => array( - 'ReadCapacityUnits' => self::READ_CAPACITY, - 'WriteCapacityUnits' => 5 - ) - )); - } - - // Wait until the table is created and active - $client->waitUntil('TableExists', array('TableName' => self::getTableName())); - sleep(5); - - try { - self::log('Creating the test item'); - $client->putItem(array( - 'TableName' => self::getTableName(), - 'Item' => $client->formatAttributes(array( - 'foo' => 'fizz', - 'bar' => 1, - 'attr1' => 42, - 'attr2' => array('a', 'b', 'c', 'd') - )) - )); - } catch (DynamoDbException $e) { - echo $e->getResponse()->getRequest(); - echo $e->getResponse(); - echo $e->getMessage(); - throw $e; - } - - self::log('Initialization process completed'); - } - - /** - * @return array - */ - public function perfDataProvider() - { - $client = self::getServiceBuilder()->get('dynamodb'); - - return array( - array( - self::TOTAL_REQUESTS, - $client->getCommand('PutItem', array( - 'TableName' => self::getTableName(), - 'Item' => $client->formatAttributes(array( - 'foo' => 'fizz', - 'bar' => 1, - 'attr1' => 42, - 'attr2' => array('a', 'b', 'c', 'd') - )) - ) - )), - array( - self::TOTAL_REQUESTS, - $client->getCommand('GetItem', array( - 'TableName' => self::getTableName(), - 'Key' => array( - 'HashKeyElement' => array( - 'S' => 'abcdefghijklm' . implode('-', range('a', 'z')), - ), - 'RangeKeyElement' => array( - 'N' => '1' - ) - ) - )) - ) - ); - } - - /** - * @dataProvider perfDataProvider - */ - public function testIssuesMultipleOperationsSerially($totalRequests, $command) - { - $retries = 0; - $this->log('Beginning ' . $command->getName() . ' performance test'); - $s = microtime(true); - - for ($i = 0; $i < $totalRequests; $i++) { - try { - $command->execute(); - } catch (\Exception $e) { - echo $command->getRequest(); - echo $command->getResponse(); - throw $e; - } - $params = $command->getRequest()->getParams(); - $retries += $params->get('plugins.exponential_backoff.retry_count'); - $params->set('plugins.exponential_backoff.retry_count', 0); - } - - $elapsed = microtime(true) - $s; - - $speed = $totalRequests / $elapsed; - $perRequest = $elapsed / $totalRequests; - $this->log( - "Executed {$totalRequests} " . $command->getName() . " requests in {$elapsed} seconds from a " - . self::READ_CAPACITY . " table with {$retries} retries ({$perRequest}/request, {$speed}/second)" - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Iterator/BatchGetItemIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Iterator/BatchGetItemIteratorTest.php deleted file mode 100644 index c46f023..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Iterator/BatchGetItemIteratorTest.php +++ /dev/null @@ -1,46 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new BatchGetItemIterator($command); - $model = new Model(array( - 'Responses' => array( - 'Table1' => array( - 'Items' => array(1, 2, 3) - ) - ) - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - $this->assertCount(3, $items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Iterator/ScanIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Iterator/ScanIteratorTest.php deleted file mode 100644 index 987b03e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Iterator/ScanIteratorTest.php +++ /dev/null @@ -1,44 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new ScanIterator($command, array('result_key' => 'Items')); - $model = new Model(array( - 'Items' => array(1, 2, 3), - 'ScannedCount' => 4 - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - $this->assertEquals(4, $iterator->getScannedCount()); - $this->assertCount(3, $items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/AttributeTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/AttributeTest.php deleted file mode 100644 index 10017f3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/AttributeTest.php +++ /dev/null @@ -1,172 +0,0 @@ -setExpectedException('\\Aws\\Common\\Exception\\InvalidArgumentException'); - } - - $attribute = Attribute::factory($value); - - $this->assertSame($expected, json_encode($attribute->getFormatted())); - } - - public function testFactoryUsesValueIfAlreadyAttribute() - { - $a = Attribute::factory(array( - 'foo' => 'bar' - )); - - $this->assertSame($a, Attribute::factory($a)); - } - - public function testSettersAndGettersWorkAsExpected() - { - /** @var $attribute \Aws\DynamoDb\Model\Attribute */ - $attribute = $this->getMockForAbstractClass('Aws\DynamoDb\Model\Attribute', array('foo')); - $this->assertSame($attribute, $attribute->setValue('100')); - $this->assertSame($attribute, $attribute->setType(Type::NUMBER)); - $this->assertSame('100', $attribute->getValue()); - $this->assertSame(Type::NUMBER, $attribute->getType()); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testSetValueFailsOnBadValue() - { - /** @var $attribute \Aws\DynamoDb\Model\Attribute */ - $attribute = $this->getMockForAbstractClass('Aws\DynamoDb\Model\Attribute', array('foo')); - $attribute->setValue(100); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testSetTypeFailsOnBadType() - { - /** @var $attribute \Aws\DynamoDb\Model\Attribute */ - $attribute = $this->getMockForAbstractClass('Aws\DynamoDb\Model\Attribute', array('foo')); - $attribute->setType('foo'); - } - - public function testGetFormattedProducesCorrectArrayStructure() - { - /** @var $attribute \Aws\DynamoDb\Model\Attribute */ - $attribute = $this->getMockForAbstractClass('Aws\DynamoDb\Model\Attribute', array('foo')); - $attribute->setValue('100'); - $attribute->setType(Type::NUMBER); - - $putArray = array(Type::NUMBER => '100'); - $updateArray = array('Value' => array(Type::NUMBER => '100')); - - $this->assertSame($putArray, $attribute->getFormatted()); - $this->assertSame($putArray, $attribute->getFormatted(Attribute::FORMAT_PUT)); - $this->assertSame($updateArray, $attribute->getFormatted(Attribute::FORMAT_UPDATE)); - $this->assertSame($updateArray, $attribute->getFormatted(Attribute::FORMAT_EXPECTED)); - } - - public function testCanBeCastToString() - { - /** @var $attribute \Aws\DynamoDb\Model\Attribute */ - $attribute = $this->getMockForAbstractClass('Aws\DynamoDb\Model\Attribute', array('foo')); - $attribute->setValue(array('baz', 'bar')); - $attribute->setType(Type::STRING_SET); - - $this->assertEquals('baz, bar', (string) $attribute); - } - - public function testCanBeCastToArray() - { - /** @var $attribute \Aws\DynamoDb\Model\Attribute */ - $attribute = $this->getMockForAbstractClass('Aws\DynamoDb\Model\Attribute', array('foo')); - $attribute->setValue(array('baz', 'bar')); - $attribute->setType(Type::STRING_SET); - $this->assertEquals(array('SS' => array('baz', 'bar')), $attribute->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/AbstractWriteRequestTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/AbstractWriteRequestTest.php deleted file mode 100644 index 798ed32..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/AbstractWriteRequestTest.php +++ /dev/null @@ -1,35 +0,0 @@ -getMockForAbstractClass('Aws\DynamoDb\Model\BatchRequest\AbstractWriteRequest'); - $reflected = new \ReflectionProperty('Aws\DynamoDb\Model\BatchRequest\AbstractWriteRequest', 'tableName'); - $reflected->setAccessible(true); - $reflected->setValue($writeRequest, 'table'); - - $this->assertSame('table', $writeRequest->getTableName()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/DeleteRequestTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/DeleteRequestTest.php deleted file mode 100644 index 08ccefd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/DeleteRequestTest.php +++ /dev/null @@ -1,87 +0,0 @@ - array('S' => 'foo')); - - $deleteRequest = new DeleteRequest($key, 'table'); - - $this->assertSame($key, $deleteRequest->getKey()); - } - - public function testCanConvertToArray() - { - $key = array( - 'HashKeyElement' => Attribute::factory('foo'), - 'RangeKeyElement' => Attribute::factory(123) - ); - - $deleteRequest = new DeleteRequest($key, 'table'); - $this->assertEquals(array( - 'DeleteRequest' => array( - 'Key' => array( - 'HashKeyElement' => array('S' => 'foo'), - 'RangeKeyElement' => array('N' => '123') - ) - ) - ), $deleteRequest->toArray()); - } - - public function getTestCasesForCreateFromCommandTest() - { - /** @var $client \Aws\DynamoDb\DynamoDbClient */ - $client = self::getServiceBuilder()->get('dynamodb'); - - return array( - array( - $client->getCommand('ListTables'), - 'Aws\Common\Exception\InvalidArgumentException' - ), - array( - $client->getCommand('DeleteItem', array( - 'TableName' => 'foo', - 'Key' => array('HashKeyElement' => array('S' => 'foo')) - )), - 'Aws\DynamoDb\Model\BatchRequest\DeleteRequest' - ) - ); - } - - /** - * @dataProvider getTestCasesForCreateFromCommandTest - */ - public function testCanCreateFromCommand($command, $expectedObjectType) - { - try { - $result = DeleteRequest::fromCommand($command); - } catch (\InvalidArgumentException $e) { - $result = $e; - } - - $this->assertEquals($expectedObjectType, get_class($result)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php deleted file mode 100644 index dadc73e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/PutRequestTest.php +++ /dev/null @@ -1,108 +0,0 @@ -getMock('Aws\DynamoDb\Model\Item'); - - $putRequest = new PutRequest($item, 'table'); - - $this->assertSame($item, $putRequest->getItem()); - } - - public function testConstructorSetsValuesWhenItemContainsTable() - { - $item = $this->getMock('Aws\DynamoDb\Model\Item'); - $item->expects($this->any()) - ->method('getTableName') - ->will($this->returnValue('table')); - - $putRequest = new PutRequest($item); - - $this->assertSame($item, $putRequest->getItem()); - } - - /** - * @expectedException Aws\Common\Exception\InvalidArgumentException - */ - public function testConstructorThrowsExceptionWithoutTable() - { - $item = $this->getMock('Aws\DynamoDb\Model\Item'); - - $putRequest = new PutRequest($item);; - } - - public function testCanConvertToArray() - { - $putRequest = new PutRequest(Item::fromArray(array( - 'foo' => 'bar', - 'baz' => 123, - )), 'table'); - - $this->assertEquals(array( - 'PutRequest' => array( - 'Item' => array( - 'foo' => array('S' => 'bar'), - 'baz' => array('N' => '123') - ) - ) - ), $putRequest->toArray()); - } - - public function getTestCasesForCreateFromCommandTest() - { - /** @var $client \Aws\DynamoDb\DynamoDbClient */ - $client = self::getServiceBuilder()->get('dynamodb'); - - return array( - array( - $client->getCommand('ListTables'), - 'Aws\Common\Exception\InvalidArgumentException' - ), - array( - $client->getCommand('PutItem', array( - 'TableName' => 'foo', - 'Item' => array('foo' => array('S' => 'bar')) - )), - 'Aws\DynamoDb\Model\BatchRequest\PutRequest' - ) - ); - } - - /** - * @dataProvider getTestCasesForCreateFromCommandTest - */ - public function testCanCreateFromCommand($command, $expectedObjectType) - { - try { - $result = PutRequest::fromCommand($command); - } catch (\InvalidArgumentException $e) { - $result = $e; - } - - $this->assertEquals($expectedObjectType, get_class($result)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/UnprocessedRequestTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/UnprocessedRequestTest.php deleted file mode 100644 index 337c998..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/UnprocessedRequestTest.php +++ /dev/null @@ -1,34 +0,0 @@ - 'bar'); - $unprocessedRequest = new UnprocessedRequest($data, 'table'); - - $this->assertSame($data, $unprocessedRequest->toArray()); - $this->assertSame('table', $unprocessedRequest->getTableName()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/WriteRequestBatchTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/WriteRequestBatchTest.php deleted file mode 100644 index 39202b5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/WriteRequestBatchTest.php +++ /dev/null @@ -1,175 +0,0 @@ -getMockBuilder('Aws\DynamoDb\DynamoDbClient') - ->disableOriginalConstructor() - ->getMock(); - } - - /** - * @param \PHPUnit_Framework_MockObject_Stub_Return $will - * - * @return FlushingBatch - */ - protected function getWriteRequestBatchWithMockedBatch($will) - { - $batch = $this->getMock('Guzzle\Batch\BatchInterface'); - $batch->expects($this->any()) - ->method('isEmpty') - ->will($this->onConsecutiveCalls(false, true)); - $batch->expects($this->any()) - ->method('flush') - ->will($will); - $batch = new FlushingBatch(new WriteRequestBatch($batch), 5); - - return $batch; - } - - public function testFactoryCreatesCorrectBatch() - { - $batch = WriteRequestBatch::factory($this->getMockedClient()); - $decorators = array(); - foreach ($batch->getDecorators() as $decorator) { - $decorators[] = get_class($decorator); - } - - $this->assertEquals(array( - 'Guzzle\Batch\FlushingBatch', - 'Aws\DynamoDb\Model\BatchRequest\WriteRequestBatch', - ), $decorators); - } - - public function testFactoryCanAddNotifyingBatchDecorator() - { - $batch = WriteRequestBatch::factory($this->getMockedClient(), 10, function () {}); - $decorators = array_map('get_class', $batch->getDecorators()); - $this->assertContains('Guzzle\Batch\NotifyingBatch', $decorators); - } - - public function getAddItemData() - { - $client = $this->getServiceBuilder()->get('dynamodb'); - $data = array(); - - // Exception when not a write request or command - $data[] = array(null, true); - - // Works with a delete_item command - $data[] = array( - $client->getCommand('DeleteItem') - ->set('TableName', 'foo') - ->set('Key', array( - 'HashKeyElement' => array('S' => 'bar') - )), - false - ); - - // Works with a put_item command - $data[] = array( - $client->getCommand('PutItem') - ->set('TableName', 'foo') - ->set('Item', array( - 'id' => array('S' => 'bar') - )), - false - ); - - // Exception with a arbitrary command - $data[] = array($client->getCommand('ListTables'), true); - - // Works with a write request - $data[] = array($this->getMock('Aws\DynamoDb\Model\BatchRequest\WriteRequestInterface'), false); - - return $data; - } - - /** - * @dataProvider getAddItemData - */ - public function testAddItem($item, $isEmpty) - { - $batch = WriteRequestBatch::factory($this->getMockedClient()); - - try { - $batch->add($item); - } catch (\Aws\Common\Exception\InvalidArgumentException $e) { - // Silently fail - } - - $this->assertSame($isEmpty, $batch->isEmpty()); - } - - public function testFlush() - { - $batch = $this->getWriteRequestBatchWithMockedBatch($this->returnValue(array())); - - $this->assertEquals(array(), $batch->flush()); - } - - public function testFlushUnprocessedItems() - { - // Prepare the unprocessed items exception - $item = new UnprocessedRequest(array('foo'), 'foo'); - $exceptionUnprocessed = new UnprocessedWriteRequestsException; - $exceptionUnprocessed->addItem($item); - $exceptionBatchTransfer = new BatchTransferException( - array($item), - array(), - $exceptionUnprocessed, - $this->getMock('Guzzle\Batch\BatchTransferInterface'), - $this->getMock('Guzzle\Batch\BatchDivisorInterface') - ); - - $batch = $this->getWriteRequestBatchWithMockedBatch($this->throwException($exceptionBatchTransfer)); - - $this->assertEquals(array(), $batch->flush()); - } - - /** - * @expectedException \Guzzle\Batch\Exception\BatchTransferException - */ - public function testFlushRandomExceptionFails() - { - $exceptionBatchTransfer = new \Guzzle\Batch\Exception\BatchTransferException( - array($this->getMock('Aws\DynamoDb\Model\BatchRequest\WriteRequestInterface')), - array(), - $this->getMock('\Exception'), - $this->getMock('Guzzle\Batch\BatchTransferInterface'), - $this->getMock('Guzzle\Batch\BatchDivisorInterface') - ); - - $batch = $this->getWriteRequestBatchWithMockedBatch($this->throwException($exceptionBatchTransfer)); - $batch->flush(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/WriteRequestBatchTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/WriteRequestBatchTransferTest.php deleted file mode 100644 index ae99b46..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/BatchRequest/WriteRequestBatchTransferTest.php +++ /dev/null @@ -1,158 +0,0 @@ -getMockBuilder('Aws\DynamoDb\DynamoDbClient') - ->disableOriginalConstructor() - ->getMock(); - } - - public function testDoesNotTransfersEmptyBatches() - { - $client = $this->getMockedClient(); - $batch = new WriteRequestBatchTransfer($client); - $batch->transfer(array()); - } - - /** - * @return array Data for testTransfersBatches - */ - public function getTransferBatchesData() - { - // Mock objects for 3rd test case - $mockRequest = $this->getMockBuilder('Guzzle\Http\Message\EntityEnclosingRequestInterface') - ->disableOriginalConstructor() - ->getMock(); - $mockRequest->expects($this->any()) - ->method('getBody') - ->will($this->onConsecutiveCalls( - '{"RequestItems":{"foo":[{"PutRequest":{}},{"PutRequest":{}}]}}', - '{"RequestItems":{}}', - '{"RequestItems":{}}' - )); - $mockResponse = $this->getMockBuilder('Guzzle\Http\Message\Response') - ->disableOriginalConstructor() - ->getMock(); - $mockResponse->expects($this->any()) - ->method('getRequest') - ->will($this->returnValue($mockRequest)); - $mockResponse->expects($this->any()) - ->method('getStatusCode') - ->will($this->returnValue(413)); - $tooBigException = new DynamoDbException(); - $tooBigException->setResponse($mockResponse); - $exceptionCollection = new ExceptionCollection(); - $exceptionCollection->add($tooBigException); - - // Mock objects for 4th use case - $exceptionCollectionWithDummy = new ExceptionCollection(); - $exceptionCollectionWithDummy->add(new \RuntimeException); - - return array( - // No unprocessed items - array( - array('UnprocessedItems' => array()), - null, - 'all-items-transferred' - ), - // Some unprocessed items - array( - array('UnprocessedItems' => array('foo' => array(array('foo')))), - null, - 'some-unprocessed-items' - ), - array( - array('UnprocessedItems' => array()), - $this->throwException($exceptionCollection), - 'all-items-transferred' - ), - array( - array('UnprocessedItems' => array()), - $this->throwException($exceptionCollectionWithDummy), - 'exceptions-thrown' - ), - ); - } - - /** - * @dataProvider getTransferBatchesData - */ - public function testTransfersBatches($commandResult, $executeResult, $expectedMessage) - { - // Prep mock DeleteRequests - $requests = array( - $this->getMockBuilder('Aws\DynamoDb\Model\BatchRequest\DeleteRequest') - ->disableOriginalConstructor() - ->getMock() - ); - $requests[0]->expects($this->any()) - ->method('getTableName') - ->will($this->returnValue('foo')); - $requests[0]->expects($this->any()) - ->method('toArray') - ->will($this->returnValue(array('foo'))); - - // Prep the mock command execution and results - $command = $this->getMock('Aws\Common\Command\JsonCommand', array(), array(array())); - $command->expects($this->any()) - ->method('set') - ->will($this->returnValue($command)); - $command->expects($this->any()) - ->method('isExecuted') - ->will($this->returnValue(true)); - $command->expects($this->any()) - ->method('getResult') - ->will($this->returnValue($commandResult)); - - // Add the mocked command into the mock client - $client = $this->getMockedClient(); - $client->expects($this->any()) - ->method('getCommand') - ->will($this->returnValue($command)); - $client->expects($this->any()) - ->method('execute') - ->will($executeResult ?: $this->returnValue(array($command))); - - // Do transfer and decide the message - try { - $batch = new WriteRequestBatchTransfer($client); - $batch->transfer($requests); - $actualMessage = 'all-items-transferred'; - } catch (UnprocessedWriteRequestsException $e) { - $actualMessage = 'some-unprocessed-items'; - } catch (ExceptionCollection $e) { - $actualMessage = 'exceptions-thrown'; - } - - $this->assertEquals($expectedMessage, $actualMessage); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/Foo.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/Foo.php deleted file mode 100644 index 55e97e4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Model/Foo.php +++ /dev/null @@ -1,25 +0,0 @@ - array('S' => 'bar'), - 'baz' => array('SS' => array('yo', 'to')) - )); - } - - /** - * @covers Aws\DynamoDb\Model\Item::__construct - * @covers Aws\DynamoDb\Model\Item::replace - * @covers Aws\DynamoDb\Model\Item::add - * @covers Aws\DynamoDb\Model\Item::toArray - */ - public function testConstructorInitializesAttributes() - { - $item = $this->getItem(); - - $this->assertEquals(array( - 'foo' => array( - 'S' => 'bar' - ), - 'baz' => array( - 'SS' => array('yo', 'to') - ) - ), $item->toArray()); - } - - /** - * @covers Aws\DynamoDb\Model\Item::fromArray - */ - public function testCanCreateFromArray() - { - $item = Item::fromArray(array( - 'foo' => 'bar', - 'baz' => array(1, 2, 3), - 'list' => array('foo', 'bar'), - 'test' => 2 - )); - - $this->assertEquals('S', $item->get('foo')->getType()); - $this->assertEquals('bar', $item['foo']); - - $this->assertEquals('NS', $item->get('baz')->getType()); - $this->assertEquals(array(1, 2, 3), $item['baz']->getValue()); - - $this->assertEquals('SS', $item->get('list')->getType()); - $this->assertEquals(array('foo', 'bar'), $item['list']->getValue()); - - $this->assertEquals('N', $item->get('test')->getType()); - $this->assertEquals(2, $item['test']->getValue()); - } - - /** - * @covers Aws\DynamoDb\Model\Item::count - * @covers Aws\DynamoDb\Model\Item::getIterator - * @covers Aws\DynamoDb\Model\Item::offsetExists - * @covers Aws\DynamoDb\Model\Item::offsetSet - * @covers Aws\DynamoDb\Model\Item::offsetUnset - * @covers Aws\DynamoDb\Model\Item::offsetGet - */ - public function testItemCanBeUsedAsAnArray() - { - $item = $this->getItem(); - $this->assertEquals(2, count($item)); - $this->assertEquals(2, count($item->getIterator())); - $this->assertEquals('bar', $item['foo']); - $this->assertEquals(array('yo', 'to'), $item['baz']->getValue()); - $this->assertFalse($item->offsetExists('dingo')); - - $item->offsetSet('test', 'Cool'); - $this->assertEquals('Cool', $item['test']); - - $item->offsetUnset('foo'); - $this->assertNull($item['foo']); - } - - /** - * @covers Aws\DynamoDb\Model\Item::getTableName - * @covers Aws\DynamoDb\Model\Item::setTableName - */ - public function testItemOwnsTable() - { - $item = $this->getItem(); - $this->assertNull($item->getTableName()); - $this->assertSame($item, $item->setTableName('foo')); - $this->assertEquals('foo', $item->getTableName()); - } - - /** - * @covers Aws\DynamoDb\Model\Item::get - * @covers Aws\DynamoDb\Model\Item::has - * @covers Aws\DynamoDb\Model\Item::add - * @covers Aws\DynamoDb\Model\Item::all - * @covers Aws\DynamoDb\Model\Item::remove - * @covers Aws\DynamoDb\Model\Item::keys - */ - public function testCanAccessAttributes() - { - $item = $this->getItem(); - $this->assertEquals(array('foo', 'baz'), $item->keys()); - - $this->assertInstanceOf('Aws\\DynamoDb\\Model\\Attribute', $item->get('foo')); - $this->assertTrue($item->has('foo')); - $this->assertFalse($item->has('fooooooo')); - $this->assertNull($item->get('fooooo')); - - $all = $item->all(); - foreach ($all as $k => $v) { - $this->assertInternalType('string', $k); - $this->assertInstanceOf('Aws\\DynamoDb\\Model\\Attribute', $v); - } - - $this->assertSame($item, $item->remove('foo')); - $this->assertFalse($item->has('foo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/AbstractSessionTestCase.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/AbstractSessionTestCase.php deleted file mode 100644 index 36dc4e3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/AbstractSessionTestCase.php +++ /dev/null @@ -1,60 +0,0 @@ -getMockBuilder('Aws\DynamoDb\DynamoDbClient') - ->disableOriginalConstructor() - ->getMock(); - - return $client; - } - - /** - * @return \Aws\DynamoDb\Session\SessionHandlerConfig - */ - public function getMockedConfig() - { - $config = $this->getMockBuilder('Aws\DynamoDb\Session\SessionHandlerConfig') - ->disableOriginalConstructor() - ->getMock(); - - return $config; - } - - /** - * @return \Aws\Common\Command\JsonCommand - */ - public function getMockedCommand(DynamoDbClient $client) - { - $command = $this->getMock('Aws\Common\Command\JsonCommand'); - $client->expects($this->any()) - ->method('getCommand') - ->will($this->returnValue($command)); - - return $command; - } - -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/Integration/IntegrationTest.php deleted file mode 100644 index 3a9830b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/Integration/IntegrationTest.php +++ /dev/null @@ -1,285 +0,0 @@ -table = self::getResourcePrefix() . 'php-sessions-test'; - $this->client = self::getServiceBuilder()->get('dynamodb'); - } - - /** - * Ensures that a DynamoDB table for sessions can be created - */ - public function testCreatesTable() - { - $sh = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table, - )); - - self::log("Creating sessions table {$this->table}"); - $sh->createSessionsTable(25, 25); - - self::log("Ensuring the table {$this->table} was created"); - $result = $this->client->describeTable(array('TableName' => $this->table)); - $this->assertEquals($this->table, $result['Table']['TableName']); - } - - /** - * Ensures that session storage is working properly - */ - public function testGeneralSessionStorage() - { - session_id('example'); - $sh = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table, - )); - - self::log('Start with an empty session, add data, and commit'); - $this->simulateSessionStart($sh); - $this->assertEquals(array(), $_SESSION, '[1] The session was not empty.'); - $_SESSION['foo'] = 'bar'; - $this->simulateSessionCommit($sh); - $this->assertEquals(array('foo' => 'bar'), $_SESSION, '[2] The data was not stored in $_SESSION.'); - $_SESSION = array(); - - self::log('Check if session data made it into DynamoDB'); - $result = $this->client->getCommand('GetItem', array( - 'TableName' => $this->table, - 'Key' => array( - 'HashKeyElement' => array( - 'S' => 'test_example' - ) - ) - ))->execute(); - $data = unserialize($result['Item']['data']['S']); - $this->assertArrayHasKey('foo', $data, '[3] The session data was not saved in DynamoDB.'); - - self::log('Check if the data was preserved, then destroy the session'); - $this->simulateSessionStart($sh); - $this->assertEquals(array('foo' => 'bar'), $_SESSION, '[4] The session data was not retrieved.'); - $this->simulateSessionDestroy($sh); - - self::log('Check if session data was deleted in DynamoDB'); - try - { - $result = $this->client->getCommand('GetItem', array( - 'TableName' => $this->table, - 'Key' => array( - 'HashKeyElement' => array( - 'S' => 'test_example' - ) - ) - ))->execute(); - $result = isset($result['Item']); - } catch (\Exception $e) { - $result = false; - } - $this->assertFalse($result, '[5] The session data was not deleted from DynamoDB.'); - - self::log('Make sure the data does not return after destroying'); - $this->simulateSessionStart($sh); - $this->assertEquals(array(), $_SESSION, '[6] The session was not properly destroyed.'); - - // Clean up - $this->simulateSessionDestroy($sh); - } - - /** - * Ensures that pessimistic locking is really happening correctly - */ - public function testLockingStrategyDifferences() - { - session_id('example'); - - self::log('Create 4 instances of the session handler'); - $shNull1 = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table - )); - - $shNull2 = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table - )); - - $shPessimistic1 = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table, - 'locking_strategy' => 'pessimistic', - 'max_lock_wait_time' => 6, - )); - - $shPessimistic2 = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table, - 'locking_strategy' => 'pessimistic', - 'max_lock_wait_time' => 6, - )); - - self::log('Store some session data for reading'); - $this->simulateSessionStart($shNull1); - $_SESSION['foo'] = 'bar'; - $this->simulateSessionCommit($shNull1); - - self::log('Non-locking, simultaneous reads should happen fast'); - $shNullTime = microtime(true); - $this->simulateSessionStart($shNull1); - $this->simulateSessionStart($shNull2); - $this->simulateSessionCommit($shNull1); - $shNullTime = microtime(true) - $shNullTime; - $this->assertLessThan(2, $shNullTime, 'Null locking strategy took longer than expected.'); - - self::log('Locking, simultaneous reads should block and timeout'); - $shPessimisticTime = microtime(true); - $this->simulateSessionStart($shPessimistic1); - $this->simulateSessionStart($shPessimistic2); - $this->simulateSessionCommit($shPessimistic1); - $shPessimisticTime = microtime(true) - $shPessimisticTime; - $this->assertGreaterThan(5, $shPessimisticTime, 'Pessimistic locking strategy operated faster than expected. Locking may not be occurring.'); - - // Clean up - $this->simulateSessionStart($shNull1); - $this->simulateSessionDestroy($shNull1); - } - - /** - * Ensures that garbage collection functionality is working correctly - */ - public function testGarbageCollection() - { - $currentCount = iterator_count($this->client->getIterator('Scan', array( - 'TableName' => $this->table - ))); - - self::log('Put 10 expired items into the sessions table'); - $writeBatch = WriteRequestBatch::factory($this->client); - for ($i = 1; $i <= 10; $i++) { - $writeBatch->add(new PutRequest(Item::fromArray(array( - 'id' => "example_{$i}", - 'expires' => time() - 5 * Time::SECONDS - )), $this->table)); - } - $writeBatch->flush(); - - self::log('Assert that all 10 items made it into the sessions table'); - $result = $this->client->getCommand('Scan', array( - 'TableName' => $this->table - ))->execute(); - $this->assertEquals(10 + $currentCount, $result['Count'], 'Not all of the items were inserted.'); - - self::log('Create a session handler to use with a lower batch size'); - $sh = SessionHandler::factory(array( - 'dynamodb_client' => $this->client, - 'table_name' => $this->table, - 'gc_batch_size' => 3 // Smaller batches to test batching works - )); - - self::log('Run the garbage collection'); - $sh->garbageCollect(); - - self::log('Assert that all 10 items were deleted from the sessions table'); - $result = $this->client->getCommand('Scan', array( - 'TableName' => $this->table - ))->execute(); - $this->assertEquals(0, $result['Count'], 'Not all of the items were removed.'); - } - - protected function simulateSessionStart(SessionHandler $handler) - { - $handler->open('dummy', 'test'); - $data = $handler->read('example'); - $_SESSION = unserialize($data) ?: array(); // Instead of session_decode - } - - protected function simulateSessionCommit(SessionHandler $handler) - { - $data = serialize($_SESSION); // Instead of session_encode - $handler->write('example', $data); - $handler->close(); - } - - protected function simulateSessionDestroy(SessionHandler $handler) - { - $handler->destroy('example'); - $handler->close(); - } - - protected static function deleteSessionsTable() - { - $table = self::getResourcePrefix() . 'php-sessions-test'; - $client = self::getServiceBuilder()->get('dynamodb'); - - self::log("# Attempting to delete {$table}"); - - try { - $client->describeTable(array('TableName' => $table)); - // Wait until the table is active - self::log('Table exists. Waiting until the status is ACTIVE'); - $client->waitUntil('table_exists', array('TableName' => $table)); - // Delete the table to clear out its contents - self::log('Deleting the table'); - $client->deleteTable(array('TableName' => $table)); - $client->waitUntil('table_not_exists', array('TableName' => $table)); - } catch (ResourceNotFoundException $e) { - // The table does not exist so we are good - } - - self::log("{$table} has been deleted."); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/AbstractLockingStrategyTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/AbstractLockingStrategyTest.php deleted file mode 100644 index ae10891..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/AbstractLockingStrategyTest.php +++ /dev/null @@ -1,94 +0,0 @@ -getMockedClient(); - $config = $this->getMockedConfig(); - $command = $this->getMockedCommand($client); - - if ($commandResult instanceof \Exception) { - $will = $this->throwException($commandResult); - } else { - $will = $this->returnValue($commandResult); - } - $command->expects($this->any()) - ->method('execute') - ->will($will); - - // Test the doRead method - $strategy = $this->getMockForAbstractClass( - 'Aws\DynamoDb\Session\LockingStrategy\AbstractLockingStrategy', - array($client, $config) - ); - $item = $strategy->doDestroy('test'); - $this->assertSame($expectedItem, $item); - } - - /** - * @covers Aws\DynamoDb\Session\LockingStrategy\AbstractLockingStrategy::doWrite - * @dataProvider getTestCases - */ - public function testDoWriteWorksCorrectly($commandResult, $expectedItem) - { - // Prepare mocks - $client = $this->getMockedClient(); - $config = $this->getMockedConfig(); - $command = $this->getMockedCommand($client); - - if ($commandResult instanceof \Exception) { - $will = $this->throwException($commandResult); - } else { - $will = $this->returnValue($commandResult); - } - $command->expects($this->any()) - ->method('execute') - ->will($will); - - // Test the doRead method - $strategy = $this->getMockForAbstractClass( - 'Aws\DynamoDb\Session\LockingStrategy\AbstractLockingStrategy', - array($client, $config) - ); - $strategy->expects($this->any()) - ->method('getExtraAttributes') - ->will($this->returnValue(array())); - - $item = $strategy->doWrite('test', 'ANYTHING', true); - $this->assertSame($expectedItem, $item); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryTest.php deleted file mode 100644 index 96a0e2d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryTest.php +++ /dev/null @@ -1,62 +0,0 @@ -getMockedConfig(); - $client = $this->getMockedClient(); - $config->expects($this->any()) - ->method('get') - ->will($this->returnCallback(function ($key) use ($client) { - return ($key === 'dynamodb_client') ? $client : null; - })); - - $factory = new LockingStrategyFactory('Aws\DynamoDb\Session\LockingStrategy'); - - try { - $strategy = $factory->factory($strategyName, $config); - } catch (\Aws\Common\Exception\InvalidArgumentException $e) { - $strategy = $e; - } - - $this->assertInstanceOf($class, $strategy); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/NullLockingStrategyTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/NullLockingStrategyTest.php deleted file mode 100644 index efaf81b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/NullLockingStrategyTest.php +++ /dev/null @@ -1,73 +0,0 @@ - array( - 'foo' => array( - 'S' => 'bar' - ) - ), - ), - array( - 'foo' => 'bar' - ) - ), - // Test case 2 - array( - new \Aws\DynamoDb\Exception\DynamoDbException, - array() - ) - ); - } - - /** - * @covers Aws\DynamoDb\Session\LockingStrategy\NullLockingStrategy::doRead - * @dataProvider getDoReadTestCases - */ - public function testDoReadWorksCorrectly($commandResult, $expectedItem) - { - // Prepare mocks - $client = $this->getMockedClient(); - $config = $this->getMockedConfig(); - $command = $this->getMockedCommand($client); - - if ($commandResult instanceof \Exception) { - $will = $this->throwException($commandResult); - } else { - $will = $this->returnValue($commandResult); - } - $command->expects($this->any()) - ->method('execute') - ->will($will); - - // Test the doRead method - $strategy = new NullLockingStrategy($client, $config); - $item = $strategy->doRead('test'); - $this->assertSame($expectedItem, $item); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategyTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategyTest.php deleted file mode 100644 index 5fdc503..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategyTest.php +++ /dev/null @@ -1,84 +0,0 @@ -getMockedClient(); - $config = $this->getMockedConfig(); - $command = $this->getMockedCommand($client); - - $config->expects($this->any()) - ->method('get') - ->will($this->returnCallback(function ($key) { - return ($key === 'max_lock_wait_time') ? 10 : null; - })); - - $command->expects($this->any()) - ->method('execute') - ->will($this->returnCallback(function () { - static $calls = 0; - - // Simulate lock acquisition failures - if ($calls++ < 5) { - throw new \Aws\DynamoDb\Exception\ConditionalCheckFailedException; - } else { - return array( - 'Attributes' => array( - 'foo' => array( - 'S' => 'bar' - ) - ), - ); - } - })); - - // Test the doRead method - $strategy = new PessimisticLockingStrategy($client, $config); - $item = $strategy->doRead('test'); - $this->assertSame(array('foo' => 'bar'), $item); - } - - /** - * @covers Aws\DynamoDb\Session\LockingStrategy\PessimisticLockingStrategy::doRead - * @expectedException Aws\DynamoDb\Exception/AccessDeniedException - */ - public function testReadFailsForOther400Errors() - { - // Prepare mocks - $client = $this->getMockedClient(); - $config = $this->getMockedConfig(); - $command = $this->getMockedCommand($client); - $command->expects($this->any()) - ->method('execute') - ->will($this->throwException(new \Aws\DynamoDb\Exception\AccessDeniedException())); - - // Test the doRead method - $strategy = new PessimisticLockingStrategy($client, $config); - $strategy->doRead('test'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/SessionHandlerConfigTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/SessionHandlerConfigTest.php deleted file mode 100644 index a19b5b9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/SessionHandlerConfigTest.php +++ /dev/null @@ -1,69 +0,0 @@ - $this->getMockedClient() - ), - 'Aws\DynamoDb\Session\SessionHandlerConfig' - ), - array( - array(), - 'Aws\Common\Exception\InvalidArgumentException' - ) - ); - } - - /** - * @dataProvider getConstructorTestCases - */ - public function testConstructorProperlyCreatesConfig(array $data, $expectedClass) - { - try { - $config = new SessionHandlerConfig($data); - } catch (\Aws\Common\Exception\InvalidArgumentException $e) { - $config = $e; - } - - $this->assertInstanceOf($expectedClass, $config); - } - - public function testAddDefaultsPerformsMergeProperly() - { - $config = new SessionHandlerConfig(array( - 'dynamodb_client' => $this->getMockedClient() - )); - - $this->assertNull($config->get('foo_bar')); - $config->addDefaults(array('foo_bar' => 'baz')); - $this->assertEquals('baz', $config->get('foo_bar')); - $config->addDefaults(array('foo_bar' => 'CHANGED')); - $this->assertEquals('baz', $config->get('foo_bar')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/SessionHandlerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/SessionHandlerTest.php deleted file mode 100644 index d152261..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Session/SessionHandlerTest.php +++ /dev/null @@ -1,142 +0,0 @@ -getMockedClient(); - $strategy = $this->getMock('Aws\DynamoDb\Session\LockingStrategy\LockingStrategyInterface'); - $this->handler = SessionHandler::factory(array( - 'dynamodb_client' => $client, - 'locking_strategy' => $strategy, - )); - - $command = $this->getMockedCommand($client); - $command->expects($this->any()) - ->method('execute') - ->will($this->returnValue(array('foo' => 'bar'))); - - $client->expects($this->any()) - ->method('getIterator') - ->will($this->returnValue(array())); - - $strategy->expects($this->any()) - ->method('doRead') - ->will($this->returnValue(array( - 'expires' => time() - 5, - 'data' => 'ANYTHING' - ))); - $strategy->expects($this->any()) - ->method('doWrite') - ->will($this->returnValue(true)); - $strategy->expects($this->any()) - ->method('doDestroy') - ->will($this->returnValue(true)); - } - - public function testFactoryCreatesInstanceCorrectly() - { - $client = $this->getMockedClient(); - $strategy = $this->getMock('Aws\DynamoDb\Session\LockingStrategy\LockingStrategyInterface'); - - $sh1 = SessionHandler::factory(array( - 'dynamodb_client' => $client - )); - $this->assertInstanceOf('Aws\DynamoDb\Session\SessionHandler', $sh1); - - $sh2 = SessionHandler::factory(array( - 'dynamodb_client' => $client, - 'locking_strategy' => $strategy - )); - $this->assertInstanceOf('Aws\DynamoDb\Session\SessionHandler', $sh2); - } - - public function testRegisterSetsSessionSaveHandlerAndIniSettings() - { - ini_set('session.gc_probability', '0'); - - $handler = SessionHandler::factory(array( - 'dynamodb_client' => $this->getMockedClient(), - 'automatic_gc' => true - )); - - $this->assertTrue($handler->register()); - $this->assertEquals('1', ini_get('session.gc_probability')); - - ini_set('session.gc_probability', '0'); - } - - public function testCreateSessionsTable() - { - // For code coverage's sake. See integration test. - $result = $this->handler->createSessionsTable(10, 5); - $this->assertEquals(array('foo' => 'bar'), $result); - } - - public function testSessionOpenAndCloseAreSuccessful() - { - session_id('test'); - $this->assertFalse($this->handler->isSessionOpen()); - $this->assertTrue($this->handler->open('test', 'example')); - $this->assertTrue($this->handler->isSessionOpen()); - $this->assertTrue($this->handler->close()); - $this->assertFalse($this->handler->isSessionOpen()); - } - - public function testSessionReadAndDeleteExpiredItem() - { - $this->assertTrue($this->handler->open('test', 'example')); - $this->assertSame('', $this->handler->read('test')); - } - - public function testSessionWriteData() - { - $this->assertTrue($this->handler->open('test', 'example')); - $this->assertTrue($this->handler->write('test', 'ANYTHING')); - } - - public function testSessionGarbageCollection() - { - $this->assertTrue($this->handler->gc('ANYTHING')); - } - - public function testSessionGarbageCollectionReturnsFalseOnException() - { - $handler = $this->getMockBuilder('Aws\DynamoDb\Session\SessionHandler') - ->disableOriginalConstructor() - ->setMethods(array('garbageCollect')) - ->getMock(); - $handler->expects($this->any()) - ->method('garbageCollect') - ->will($this->throwException(new \Exception)); - - $this->assertFalse($handler->gc('ANYTHING')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/ThrottlingErrorCheckerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/ThrottlingErrorCheckerTest.php deleted file mode 100644 index 37f73dc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/ThrottlingErrorCheckerTest.php +++ /dev/null @@ -1,67 +0,0 @@ -assertFalse($checker->getBackoffPeriod(0, $request, $response)); - } - - public function testOnlyListensForCompletedRequests() - { - $request = new Request('GET', 'http://example.com'); - $checker = new ThrottlingErrorChecker(); - $this->assertFalse($checker->getBackoffPeriod(0, $request)); - } - - public function testReturnsTrueForRetryableErrors() - { - $request = new Request('GET', 'http://example.com'); - $response = new Response(400, array( - 'content-type' => 'application/x-amz-json-1.0' - ), '{"__type":"com.amazonaws.dynamodb.v20111205#ProvisionedThroughputExceededException",' - . '"message":"The level of configured provisioned throughput for the table was exceeded.' - . 'Consider increasing your provisioning level with the UpdateTable API"}' - ); - $checker = new ThrottlingErrorChecker(); - $this->assertEquals(0, $checker->getBackoffPeriod(1, $request, $response)); - // Ensure it plays well with the chain - $checker->setNext(new ExponentialBackoffStrategy()); - $this->assertEquals(8, $checker->getBackoffPeriod(3, $request, $response)); - } - - public function testBehavesProperlyAsChainLink() - { - $s = new ExponentialBackoffStrategy(); - $checker = new ThrottlingErrorChecker($s); - $this->assertTrue($checker->makesDecision()); - $this->assertSame($s, $checker->getNext()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/AbstractWaiter.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/AbstractWaiter.php deleted file mode 100644 index bb323af..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/AbstractWaiter.php +++ /dev/null @@ -1,30 +0,0 @@ -getServiceBuilder()->get('dynamodb', true); - $client->getCredentials() - ->setSecurityToken('foo') - ->setExpiration(time() + 1000); - - return $client; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/TableExistsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/TableExistsTest.php deleted file mode 100644 index f8ef2bf..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/TableExistsTest.php +++ /dev/null @@ -1,58 +0,0 @@ -getClient(); - $this->setMockResponse($client, 'dynamodb/describe_table'); - $client->waitUntil('table_exists', array('TableName' => 'foo')); - } - - public function testReturnsTrueIfTableExistsAndHasStatusMatching() - { - $client = $this->getClient(); - $this->setMockResponse($client, 'dynamodb/describe_table'); - $client->waitUntil('table_exists', array('TableName' => 'foo')); - } - - public function testBuffersResourceNotFoundExceptions() - { - $client = $this->getClient(); - $this->setMockResponse($client, array('dynamodb/describe_table_not_found', 'dynamodb/describe_table')); - $client->waitUntil('table_exists', array('TableName' => 'foobazbar', 'waiter.interval' => 0)); - $this->assertEquals(2, count($this->getMockedRequests())); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBufferOtherExceptions() - { - $client = $this->getClient(); - $mock = new MockPlugin(array( - new Response(404) - )); - $client->getEventDispatcher()->addSubscriber($mock); - $client->waitUntil('table_exists', array('TableName' => 'foo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/TableNotExistsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/TableNotExistsTest.php deleted file mode 100644 index 11e84e5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/DynamoDb/Waiter/TableNotExistsTest.php +++ /dev/null @@ -1,43 +0,0 @@ -getClient(); - $this->setMockResponse($client, array('dynamodb/describe_table', 'dynamodb/describe_table_not_found')); - $client->waitUntil('table_not_exists', array('TableName' => 'foo', 'waiter.interval' => 0)); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBufferExceptions() - { - $client = $this->getClient(); - $mock = new MockPlugin(array( - new Response(404) - )); - $client->getEventDispatcher()->addSubscriber($mock); - $client->waitUntil('table_not_exists', array('TableName' => 'foo')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Ec2ClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Ec2ClientTest.php deleted file mode 100644 index aa50c30..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Ec2ClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'ap-southeast-1' - )); - - $this->assertEquals('https://ec2.ap-southeast-1.amazonaws.com', $client->getBaseUrl()); - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Integration/BasicOperationsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Integration/BasicOperationsTest.php deleted file mode 100644 index 2281be8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Integration/BasicOperationsTest.php +++ /dev/null @@ -1,216 +0,0 @@ -client = self::getServiceBuilder()->get('ec2', true); - } - - public function testBasicDescribeIteratorWithFilters() - { - self::log("\n[#1] Test a basic iterator and make sure deep structures like filters are marshaled correctly."); - - self::log('Set the region to US-WEST-2.'); - $this->client->setRegion(Region::US_WEST_2); - - self::log('Call DescribeImages via the iterator with some filters and a limit of 5.'); - $images = $this->client->getIterator('DescribeImages', array( - 'Owners' => array('amazon'), - 'Filters' => array( - array('Name' => 'architecture', 'Values' => array('x86_64')), - array('Name' => 'image-type', 'Values' => array('machine')), - ) - ), array( - 'limit' => 5 - )); - - self::log('Verify that the iterator returns only 5.'); - $this->assertEquals(5, iterator_count($images)); - - self::log('Verify that the AMI IDs are in the right place and that items actually match the filters.'); - foreach ($images as $ami) { - $this->assertEquals('x86_64', $ami['Architecture']); - $this->assertRegExp('/^ami\-[a-f0-9]{8}/', $ami['ImageId']); - } - } - - public function testBasicInstanceOperations() - { - self::log("\n[#2] Test basic run and terminate operations of instances, including waiting for state changes."); - - self::log('Launch two instances.'); - $result = $this->client->getCommand('RunInstances', array( - 'ImageId' => self::TEST_AMI, - 'MinCount' => 2, - 'MaxCount' => 2, - 'InstanceType' => InstanceType::T1_MICRO, - ))->getResult(); - - self::log('Get the IDs of those two instances.'); - $instanceIds = array(); - foreach ($result['Instances'] as $instance) { - $this->assertRegExp('/^i\-[a-f0-9]{8}/', $instance['InstanceId']); - $instanceIds[] = $instance['InstanceId']; - } - $this->assertCount(2, $instanceIds); - - self::log('Wait until they are running.'); - $this->client->waitUntilInstanceRunning(array('InstanceIds' => $instanceIds)); - - self::log('Terminate the instances and verify that they are shutting-down.'); - $result = $this->client->getCommand('TerminateInstances', array( - 'InstanceIds' => $instanceIds, - ))->getResult(); - $this->assertEquals(InstanceStateName::SHUTTING_DOWN, $result->getPath('TerminatingInstances/0/CurrentState/Name')); - $this->assertEquals(InstanceStateName::SHUTTING_DOWN, $result->getPath('TerminatingInstances/1/CurrentState/Name')); - - self::log('Wait until they are terminated.'); - $this->client->waitUntilInstanceTerminated(array('InstanceIds' => $instanceIds)); - - self::log('Verify that the instances are terminated using the DescribeInstances iterator.'); - $instances = $this->client->getIterator('DescribeInstances', array( - 'InstanceIds' => $instanceIds, - )); - foreach ($instances as $instance) { - $this->assertEquals(InstanceStateName::TERMINATED, $instance['State']['Name']); - } - } - - public function testBasicAddressOperations() - { - self::log("\n[#3] Test basic operations for address."); - - $instanceId = $this->runAnInstance(); - - self::log('Allocate a new Elastic IP address.'); - $result = $this->client->getCommand('AllocateAddress')->getResult(); - $publicIp = $result->get('PublicIp'); - - self::log('Associate the address with the instance.'); - $this->client->getCommand('AssociateAddress', array( - 'PublicIp' => $publicIp, - 'InstanceId' => $instanceId, - ))->execute(); - - self::log('Make sure the address and instance are associated.'); - $result = $this->client->getCommand('DescribeAddresses')->getResult(); - $publicIps = $result->getPath('Addresses/*/PublicIp'); - $instanceIds = $result->getPath('Addresses/*/InstanceId'); - $this->assertContains($publicIp, $publicIps); - $this->assertContains($instanceId, $instanceIds); - - self::log('Disassociate the address with from instance.'); - $this->client->getCommand('DisassociateAddress', array( - 'PublicIp' => $publicIp, - ))->execute(); - - self::log('Release the Elastic IP address.'); - $this->client->getCommand('ReleaseAddress', array( - 'PublicIp' => $publicIp, - ))->execute(); - - $this->terminateAnInstance($instanceId); - } - - public function testModifyingAnInstanceAttribute() - { - self::log("\n[#4] Modify the attributes of an instance."); - - $instanceId = $this->runAnInstance(); - - self::log('Stop the instance.'); - $this->client->getCommand('StopInstances', array( - 'InstanceIds' => array($instanceId), - ))->execute(); - - self::log('Wait until the instance is stopped.'); - $this->client->waitUntilInstanceStopped(array( - 'InstanceIds' => array($instanceId), - )); - - self::log('Change the stopped instance from a micro to a small.'); - $this->client->getCommand('ModifyInstanceAttribute', array( - 'InstanceId' => $instanceId, - 'Attribute' => 'instanceType', - 'Value' => InstanceType::M1_SMALL - ))->execute(); - - self::log('Start the instance back up.'); - $this->client->getCommand('StartInstances', array( - 'InstanceIds' => array($instanceId), - ))->execute(); - - self::log('Wait until the instance is running.'); - $this->client->waitUntilInstanceRunning(array( - 'InstanceIds' => array($instanceId), - )); - - $this->terminateAnInstance($instanceId); - } - - /** - * @return string The ID of a running instance - */ - protected function runAnInstance() - { - self::log('Launch an instance.'); - $result = $this->client->getCommand('RunInstances', array( - 'ImageId' => self::TEST_AMI, - 'MinCount' => 1, - 'MaxCount' => 1, - 'InstanceType' => InstanceType::T1_MICRO, - ))->getResult(); - $instanceId = current($result->getPath('Instances/*/InstanceId')); - - self::log('Wait until the instance is running.'); - $this->client->waitUntilInstanceRunning(array('InstanceIds' => array($instanceId))); - - return $instanceId; - } - - /** - * @param string $instanceId The ID of a running instance to terminate - */ - protected function terminateAnInstance($instanceId) - { - self::log('Terminate the instance.'); - $this->client->getCommand('TerminateInstances', array( - 'InstanceIds' => array($instanceId), - ))->execute(); - - self::log('Wait until the instance is terminated.'); - $this->client->waitUntilInstanceTerminated(array('InstanceIds' => array($instanceId))); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Integration/IteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Integration/IteratorTest.php deleted file mode 100644 index bc352ab..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Integration/IteratorTest.php +++ /dev/null @@ -1,113 +0,0 @@ -client = self::getServiceBuilder()->get('ec2', true); - } - - public function testBasicDescribeInstanceStatusWithFilters() - { - $statuses = $this->client->getIterator('DescribeInstanceStatus', array( - 'Owners' => array('amazon'), - 'Filters' => array( - array('Name' => 'system-status.reachability', 'Values' => array('passed')), - array('Name' => 'instance-status.status', 'Values' => array('ok')), - ) - ), array( - 'limit' => 5 - )); - - self::log('Verify that the iterator returns less than or equal to 5.'); - $this->assertLessThanOrEqual(5, iterator_count($statuses)); - - self::log('Verify that the status is in the right place and filters applied.'); - foreach ($statuses as $status) { - $this->assertEquals('passed', $status['InstanceStatus']['Details'][0]['Status']); - } - } - - /** - * This test is not with the other similar tests to ensure that some basic response parsing is correct - */ - public function testDescribeReservedInstancesOfferings() - { - $result = $this->client->getIterator('DescribeReservedInstancesOfferings', null, array('limit' => 25)); - $this->assertLessThanOrEqual(25, iterator_count($result)); - foreach ($result as $offering) { - $this->assertArrayHasKey('ReservedInstancesOfferingId', $offering); - $this->assertArrayHasKey('InstanceType', $offering); - $this->assertInternalType('array', $offering['RecurringCharges']); - $this->assertInternalType('array', $offering['PricingDetails']); - } - } - - public function iteratorProvider() - { - $iterators = array(); - $c = self::getServiceBuilder()->get('ec2', true); - foreach ($c->getDescription()->getOperations() as $o) { - if (strpos($o->getName(), 'Describe') !== false) { - if ($o->hasParam('NextToken')) { - continue; - } - foreach ($o->getParams() as $p) { - if ($p->getType() == 'array' && $p->getItems() && !in_array($o, $iterators, true)) { - $iterators[] = $o; - } - } - } - } - - return array_map(function ($a) { return array($a); }, $iterators); - } - - /** - * @dataProvider iteratorProvider - */ - public function testDescribeIteratorTest(Operation $operation) - { - switch ($operation->getName()) { - case 'DescribeImages': - case 'DescribeReservedInstancesListings': - case 'DescribeLicenses': - self::log('Not running ' . $operation->getName()); - return; - } - - self::log('Testing iterator: ' . $operation->getName()); - $iterator = $this->client->getIterator($operation->getName(), null, array('limit' => 25)); - $this->assertLessThanOrEqual(25, iterator_count($iterator)); - foreach ($iterator as $result) { - $this->assertInternalType('array', $result); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Iterator/DescribeInstancesIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Iterator/DescribeInstancesIteratorTest.php deleted file mode 100644 index 38ac49a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/Iterator/DescribeInstancesIteratorTest.php +++ /dev/null @@ -1,76 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new DescribeInstancesIterator($command); - $model = new Model(array( - 'Reservations' => array( - array( - 'ReservationId' => 'R1', - 'Instances' => array( - array('InstanceId' => 'R1I1'), - array('InstanceId' => 'R1I2'), - ) - ), - array( - 'ReservationId' => 'R2', - 'Instances' => array( - array('InstanceId' => 'R2I1'), - array('InstanceId' => 'R2I2'), - ) - ) - ) - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - // We should get an inverted structure based on how the concrete handles the results - $this->assertSame(array( - array( - 'InstanceId' => 'R1I1', - 'Reservation' => array('ReservationId' => 'R1'), - ), - array( - 'InstanceId' => 'R1I2', - 'Reservation' => array('ReservationId' => 'R1'), - ), - array( - 'InstanceId' => 'R2I1', - 'Reservation' => array('ReservationId' => 'R2'), - ), - array( - 'InstanceId' => 'R2I2', - 'Reservation' => array('ReservationId' => 'R2'), - ), - ), $items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/WaiterTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/WaiterTest.php deleted file mode 100644 index d584f14..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ec2/WaiterTest.php +++ /dev/null @@ -1,63 +0,0 @@ -client = self::getServiceBuilder()->get('ec2', true); - } - - public function testIteratesUntilInSpecifiedState() - { - $this->client = $this->getServiceBuilder()->get('ec2', true); - $this->setMockResponse($this->client, array( - 'ec2/describe_instances_no_reservations', - 'ec2/describe_instances_two_instances_different_state', - 'ec2/describe_instances_two_instances_same_state' - )); - $this->client->waitUntil('__InstanceState', array( - 'InstanceIds' => array('i-xxxxxxx1', 'i-xxxxxxx2'), - 'waiter.success.value' => InstanceStateName::RUNNING, - 'waiter.interval' => 0 - )); - $this->assertEquals(3, count($this->getMockedRequests())); - } - - public function testWaitsForSnapshots() - { - $this->setMockResponse($this->client, array( - 'ec2/describe_snapshots_pending', - 'ec2/describe_snapshots_completed', - 'ec2/describe_instances_two_instances_same_state' - )); - $this->client->waitUntil('SnapshotCompleted', array( - 'SnapshotIds' => array('snap-1a2b3c4d'), - 'waiter.interval' => 0 - )); - $this->assertEquals(2, count($this->getMockedRequests())); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElastiCache/ElastiCacheClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElastiCache/ElastiCacheClientTest.php deleted file mode 100644 index c634f00..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElastiCache/ElastiCacheClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://elasticache.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElastiCache/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElastiCache/Integration/IntegrationTest.php deleted file mode 100644 index a5b31c2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElastiCache/Integration/IntegrationTest.php +++ /dev/null @@ -1,104 +0,0 @@ -get('elasticache'); - try { - $client->deleteCacheSecurityGroup(array('CacheSecurityGroupName' => self::SECURITY_GROUP_NAME)); - } catch (\Exception $e) { - // Ignore - } - } - - /** - * @var ElastiCacheClient - */ - protected $client; - - public function setUp() - { - $this->client = $this->getServiceBuilder()->get('elasticache'); - } - - public function testEnsuresListsAreParsedCorrectly() - { - $results = $this->client->getIterator('DescribeEvents'); - foreach ($results as $result) { - $this->assertArrayHasKey('Message', $result); - } - } - - /** - * @expectedException \Aws\ElastiCache\Exception\CacheClusterNotFoundException - */ - public function testParsesErrors() - { - $this->client->deleteCacheCluster(array( - 'CacheClusterId' => 'notarealcachecluster' - )); - } - - public function testCreatesSecurityGroup() - { - self::log('Create a cache security group'); - $result = $this->client->createCacheSecurityGroup(array( - 'CacheSecurityGroupName' => self::SECURITY_GROUP_NAME, - 'Description' => 'PHP Integ Test Cache Security Group', - )); - $this->assertTrue($result->hasKey('OwnerId')); - $this->assertTrue($result->hasKey('EC2SecurityGroups')); - $this->assertTrue($result->hasKey('ResponseMetadata')); - } - - /** - * @depends testCreatesSecurityGroup - */ - public function testListsSecurityGroups() - { - self::log('List cache security groups'); - $found = false; - foreach ($this->client->getIterator('DescribeCacheSecurityGroups') as $group) { - if ($group['CacheSecurityGroupName'] == self::SECURITY_GROUP_NAME) { - $found = true; - break; - } - } - $this->assertTrue($found, 'Did not find cache security group ' . self::SECURITY_GROUP_NAME); - } - - /** - * @depends testListsSecurityGroups - */ - public function testDeletesSecurityGroups() - { - self::log('Delete cache security group'); - $this->client->deleteCacheSecurityGroup(array('CacheSecurityGroupName' => self::SECURITY_GROUP_NAME)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticBeanstalk/ElasticBeanstalkClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticBeanstalk/ElasticBeanstalkClientTest.php deleted file mode 100644 index b7bf9b2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticBeanstalk/ElasticBeanstalkClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://elasticbeanstalk.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticBeanstalk/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticBeanstalk/Integration/IntegrationTest.php deleted file mode 100644 index 5a9d915..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticBeanstalk/Integration/IntegrationTest.php +++ /dev/null @@ -1,75 +0,0 @@ -client = $this->getServiceBuilder()->get('elasticbeanstalk'); - } - - public function testListsApplications() - { - $command = $this->client->getCommand('DescribeApplications'); - $result = $command->execute(); - $this->assertNotNull($result->getPath('ResponseMetadata/RequestId')); - $this->assertInternalType('array', $result['Applications']); - - // Gather a list of IDs and pass them to testAllowsMemberedListsInInputs - $ids = array(); - - if (count($result['Applications'])) { - foreach ($result['Applications'] as $app) { - // Ensure that versions is an enumerated array and not a hash - $this->assertInternalType('array', $app['Versions']); - $this->assertArrayHasKey(0, $app['Versions']); - $this->assertInternalType('string', $app['Versions'][0]); - $this->assertInternalType('string', $app['ApplicationName']); - $this->assertInternalType('array', $app['ConfigurationTemplates']); - $ids[] = $app['ApplicationName']; - } - } - - return $ids; - } - - /** - * @depends testListsApplications - */ - public function testAllowsMemberedListsInInputs(array $ids = array()) - { - if (!count($ids)) { - $this->markTestSkipped('No applications found on your account'); - return; - } - - $command = $this->client->getCommand('DescribeApplications', array( - 'ApplicationNames' => $ids - )); - $result = $command->execute(); - $this->assertEquals(count($ids), count($result['Applications'])); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticLoadBalancing/ElasticLoadBalancingClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticLoadBalancing/ElasticLoadBalancingClientTest.php deleted file mode 100644 index a29dbde..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticLoadBalancing/ElasticLoadBalancingClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://elasticloadbalancing.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticLoadBalancing/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticLoadBalancing/Integration/IntegrationTest.php deleted file mode 100644 index c234372..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticLoadBalancing/Integration/IntegrationTest.php +++ /dev/null @@ -1,98 +0,0 @@ -client = $this->getServiceBuilder()->get('elasticloadbalancing'); - } - - public function testDescribesLoadBalancers() - { - $command = $this->client->getCommand('DescribeLoadBalancers'); - $result = $command->execute(); - $this->assertNotNull($result->getPath('ResponseMetadata/RequestId')); - $this->assertInternalType('array', $result['LoadBalancerDescriptions']); - - // Gather a list of IDs and pass them to the next test - $ids = array(); - - if (count($result['LoadBalancerDescriptions'])) { - foreach ($result['LoadBalancerDescriptions'] as $i => $app) { - // Ensure that the list is enumerated - $this->assertInternalType('integer', $i); - $this->assertInternalType('array', $app['SecurityGroups']); - $this->assertArrayHasKey(0, $app['AvailabilityZones']); - $this->assertInternalType('string', $app['AvailabilityZones'][0]); - $this->assertInternalType('string', $app['Scheme']); - $this->assertInternalType('array', $app['Policies']); - $ids[] = $app['LoadBalancerName']; - } - } - - return $ids; - } - - /** - * @depends testDescribesLoadBalancers - */ - public function testAllowsMemberedListsInInputs(array $ids = array()) - { - if (!count($ids)) { - $this->markTestSkipped('No load balancers were found on your account'); - return; - } - - $command = $this->client->getCommand('DescribeLoadBalancers', array('LoadBalancerNames' => $ids)); - $result = $command->execute(); - - if ($result['NextMarker']) { - $this->assertGreaterThan(0, count($result['LoadBalancerDescriptions'])); - } else { - $this->assertEquals(count($ids), count($result['LoadBalancerDescriptions'])); - } - } - - public function testDescribesLoadBalancerPolicyTypes() - { - $command = $this->client->getCommand('DescribeLoadBalancerPolicies'); - $result = $command->execute(); - $this->assertNotNull($result->getPath('ResponseMetadata/RequestId')); - $this->assertInternalType('array', $result['PolicyDescriptions']); - - if (count($result['PolicyDescriptions'])) { - foreach ($result['PolicyDescriptions'] as $i => $p) { - // Ensure that the list is enumerated - $this->assertInternalType('integer', $i); - $this->assertInternalType('string', $p['PolicyName']); - $this->assertInternalType('string', $p['PolicyTypeName']); - $this->assertInternalType('array', $p['PolicyAttributeDescriptions']); - $this->assertArrayHasKey(0, $p['PolicyAttributeDescriptions']); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticTranscoder/ElasticTranscoderClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticTranscoder/ElasticTranscoderClientTest.php deleted file mode 100644 index 378e83d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticTranscoder/ElasticTranscoderClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://elastictranscoder.us-east-1.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticTranscoder/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticTranscoder/Integration/IntegrationTest.php deleted file mode 100644 index 8fbd429..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ElasticTranscoder/Integration/IntegrationTest.php +++ /dev/null @@ -1,162 +0,0 @@ -transcoder = $this->getServiceBuilder()->get('ElasticTranscoder'); - $this->iam = $this->getServiceBuilder()->get('Iam'); - $this->s3 = $this->getServiceBuilder()->get('S3'); - } - - public function testBasicOperations() - { - $inputBucket = 'php-integ-transcoder-test-bucket-input'; - $outputBucket = 'php-integ-transcoder-test-bucket-output'; - $roleName = 'php-integ-transcoder-test-role'; - $policyName = 'php-integ-transcoder-test-policy'; - $pipelineName = 'php-integ-transcoder-test-pipeline'; - - self::log('Create input and output buckets for the Elastic Transcoder pipeline.'); - $commands = array(); - $commands[] = $this->s3->getCommand('CreateBucket', array( - 'Bucket' => $inputBucket, - )); - $commands[] = $this->s3->getCommand('CreateBucket', array( - 'Bucket' => $outputBucket, - )); - $this->s3->execute($commands); - - self::log('Create an IAM Role for the Elastic Transcoder pipeline.'); - $result = $this->iam->getCommand('CreateRole', array( - 'RoleName' => $roleName, - 'AssumeRolePolicyDocument' => self::DUMMY_IAM_POLICY_ASSUME_ROLE, - ))->getResult(); - $roleArn = $result->getPath('Role/Arn'); - - self::log('Put a policy on the IAM Role for the Elastic Transcoder pipeline.'); - $result = $this->iam->getCommand('PutRolePolicy', array( - 'PolicyName' => $policyName, - 'RoleName' => $roleName, - 'PolicyDocument' => self::DUMMY_IAM_POLICY_ALLOW_S3, - ))->getResult(); - - self::log('Use TestRole to validate our pipeline inputs. NOTE: Ours are not valid on purpose.'); - $result = $this->transcoder->getCommand('TestRole', array( - 'InputBucket' => $inputBucket, - 'OutputBucket' => $outputBucket, - 'Role' => $roleArn, - 'Topics' => array(), - ))->getResult(); - $this->assertEquals('false', $result['Success']); - - self::log('Create an Elastic Transcoder pipeline.'); - $result = $this->transcoder->getCommand('CreatePipeline', array( - 'Name' => $pipelineName, - 'InputBucket' => $inputBucket, - 'OutputBucket' => $outputBucket, - 'Role' => $roleArn, - 'Notifications' => array_fill_keys(array('Progressing', 'Completed', 'Warning', 'Error'), ''), - ))->getResult(); - $pipelineId = $result->getPath('Pipeline/Id'); - - self::log('Make sure created Elastic Transcoder pipeline is in the list of pipelines.'); - $result = $this->transcoder->getCommand('ListPipelines')->getResult(); - $pipelineNames = $result->getPath('Pipelines/*/Name'); - $this->assertContains($pipelineName, $pipelineNames); - - self::log('Make sure ListPipelines iterator works.'); - $found = false; - foreach ($this->transcoder->getIterator('ListPipelines') as $pipeline) { - if ($pipeline['Name'] == $pipelineName) { - $found = true; - break; - } - } - if (!$found) { - $this->fail('Did not find the pipeline in the iterator results.'); - } - - self::log('Make sure created Elastic Transcoder pipeline can be read.'); - $result = $this->transcoder->getCommand('ReadPipeline', array( - 'Id' => $pipelineId, - ))->getResult();; - $this->assertEquals($pipelineName, $result->getPath('Pipeline/Name')); - - self::log('Delete the Elastic Transcoder pipeline.'); - $response = $this->transcoder->getCommand('DeletePipeline', array( - 'Id' => $pipelineId, - ))->getResponse(); - $this->assertEquals(202, $response->getStatusCode()); - - self::log('Delete the policy from the IAM Role for the Elastic Transcoder pipeline.'); - $result = $this->iam->getCommand('DeleteRolePolicy', array( - 'PolicyName' => $policyName, - 'RoleName' => $roleName, - ))->getResult(); - - self::log('Delete the IAM Role for the Elastic Transcoder pipeline.'); - $result = $this->iam->getCommand('DeleteRole', array( - 'RoleName' => $roleName, - ))->getResult(); - - self::log('Delete the input and output buckets for the Elastic Transcoder pipeline.'); - $commands = array(); - $commands[] = $this->s3->getCommand('DeleteBucket', array( - 'Bucket' => $inputBucket - )); - $commands[] = $this->s3->getCommand('DeleteBucket', array( - 'Bucket' => $outputBucket - )); - $this->s3->execute($commands); - } - - /** - * @expectedException \Aws\ElasticTranscoder\Exception\ResourceNotFoundException - */ - public function testErrorParsing() - { - $this->transcoder->cancelJob(array('Id' => '1111111111111-abcdef')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Emr/EmrClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Emr/EmrClientTest.php deleted file mode 100644 index 1f6d29d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Emr/EmrClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://elasticmapreduce.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Emr/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Emr/Integration/IntegrationTest.php deleted file mode 100644 index 74f4540..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Emr/Integration/IntegrationTest.php +++ /dev/null @@ -1,72 +0,0 @@ -client = $this->getServiceBuilder()->get('emr'); - } - - public function testCreateAndDeleteJobFlow() - { - self::log('Create a job flow'); - $jobFlowName = 'php-integ-test-job-flow'; - $result = $this->client->getCommand('RunJobFlow', array( - 'Name' => $jobFlowName, - 'Instances' => array( - 'InstanceCount' => 2, - 'KeepJobFlowAliveWhenNoSteps' => true, - 'MasterInstanceType' => InstanceType::M1_SMALL, - 'SlaveInstanceType' => InstanceType::M1_SMALL, - ), - ))->getResult(); - $jobFlowId = $result->get('JobFlowId'); - - self::log('Describe the job flows and make sure the job flow is there'); - $found = false; - foreach ($this->client->getIterator('DescribeJobFlows') as $jobFlow) { - if ($jobFlow['Name'] === $jobFlowName) { - $found = true; - break; - } - } - $this->assertTrue($found); - - self::log('Delete the job flow'); - $this->client->getCommand('TerminateJobFlows', array( - 'JobFlowIds' => array($jobFlowId) - ))->execute(); - - self::log('Describe the job flows again and make sure the job flow is no longer there'); - $state = $this->client->getCommand('DescribeJobFlows')->getResult()->getPath('JobFlows/0/ExecutionStatusDetail/State'); - $this->assertContains($state, array(JobFlowExecutionState::SHUTTING_DOWN, JobFlowExecutionState::TERMINATED)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/GlacierClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/GlacierClientTest.php deleted file mode 100644 index 600610e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/GlacierClientTest.php +++ /dev/null @@ -1,39 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://glacier.us-west-2.amazonaws.com', $client->getBaseUrl()); - $this->assertEquals('-', $client->getCommand('ListVaults')->get('accountId')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/GlacierUploadListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/GlacierUploadListenerTest.php deleted file mode 100644 index 479981e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/GlacierUploadListenerTest.php +++ /dev/null @@ -1,73 +0,0 @@ -getServiceBuilder()->get('glacier'); - $command = $client->getCommand('UploadArchive', array_merge(array( - 'vaultName' => 'foo', - 'body' => EntityBody::factory(fopen(__FILE__, 'r')) - ), $params)); - $command->prepare(); - - $listener = new GlacierUploadListener(); - $event = new Event(array('command' => $command)); - $listener->onCommandBeforeSend($event); - - return $command; - } - - public function testContentHashGetsAddedToRequestHeaders() - { - // Make sure the subscriber returns its subscriptions - $this->assertInternalType('array', GlacierUploadListener::getSubscribedEvents()); - - // Get an upload archive command, prepare it, and execute the upload listener - $command = $this->prepareUploadArchiveCommand(array( - 'ContentSHA256' => hash('sha256', 'foo') - )); - $request = $command->getRequest(); - - // Content hash should be set, but tree hash should be empty because the content hash was explicit - $this->assertNotEmpty($request->getHeader('x-amz-content-sha256', true)); - $this->assertEmpty($request->getHeader('x-amz-sha256-tree-hash', true)); - } - - public function testBothHashesGetGeneratedAndAddedToRequestHeaders() - { - // Get an upload archive command, prepare it, and execute the upload listener - $request = $this->prepareUploadArchiveCommand()->getRequest(); - - // Both the content and tree hash should be set since we did not provide anything - $this->assertNotEmpty($request->getHeader('x-amz-content-sha256', true)); - $this->assertNotEmpty($request->getHeader('x-amz-sha256-tree-hash', true)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php deleted file mode 100644 index 614d8ec..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php +++ /dev/null @@ -1,196 +0,0 @@ -get('glacier'); - $glacier->createVault(array('vaultName' => self::TEST_VAULT)); - } - - public function setUp() - { - $this->client = $this->getServiceBuilder()->get('glacier'); - } - - public function testCrudVaults() - { - // Create vault names - $vaultPrefix = self::getResourcePrefix() . '-php-glacier-test-'; - $vaults = array(); - for ($i = 1; $i <= 5; $i++) { - $vaults[] = $vaultPrefix . $i; - } - - // Establish vault filter - $getVaultList = function ($vault) use ($vaultPrefix) { - return (strpos($vault['VaultName'], $vaultPrefix) === 0); - }; - - // Create vaults and verify existence - foreach ($vaults as $vault) { - $this->client->createVault(array('vaultName' => $vault)); - $this->client->waitUntil('VaultExists', array('vaultName' => $vault, 'waiter.max_attempts' => 3)); - } - $listVaults = $this->client->getIterator('ListVaults', array('limit' => '5')); - $vaultList = array_filter(iterator_to_array($listVaults), $getVaultList); - $this->assertCount(5, $vaultList); - - // Delete vaults and verify deletion - foreach ($vaults as $vault) { - $this->client->deleteVault(array('vaultName' => $vault)); - $this->client->waitUntil('VaultNotExists', array('vaultName' => $vault)); - } - $listVaults = $this->client->getIterator('ListVaults'); - $vaultList = array_filter(iterator_to_array($listVaults), $getVaultList); - $this->assertCount(0, $vaultList); - } - - public function testUploadAndDeleteArchives() - { - self::log('Create a 6MB+ string of test data to upload.'); - $length = 6 * Size::MB + 425; - $content = EntityBody::factory(str_repeat('x', $length)); - $partSize = 4 * Size::MB; - - self::log('Perform a single upload.'); - $archiveId = $this->client->uploadArchive(array( - 'vaultName' => self::TEST_VAULT, - 'archiveDescription' => 'Foo bar', - 'body' => $content - ))->get('archiveId'); - $this->assertNotEmpty($archiveId); - - self::log('Delete the archive that was just uploaded.'); - $this->client->deleteArchive(array( - 'vaultName' => self::TEST_VAULT, - 'archiveId' => $archiveId - )); - - sleep(3); - - self::log('Initiate a multipart upload with a part size of ' . $partSize . ' bytes.'); - $generator = UploadPartGenerator::factory($content, $partSize); - $this->assertEquals($length, $generator->getArchiveSize()); - $uploadId = $this->client->initiateMultipartUpload(array( - 'vaultName' => self::TEST_VAULT, - 'partSize' => $partSize - ))->get('uploadId'); - /** @var $part UploadPart */ - foreach ($generator as $part) { - self::log('Upload bytes ' . join('-', $part->getRange()) . '.'); - $this->client->uploadMultipartPart(array( - 'vaultName' => self::TEST_VAULT, - 'uploadId' => $uploadId, - 'range' => $part->getFormattedRange(), - 'checksum' => $part->getChecksum(), - 'ContentSHA256' => $part->getContentHash(), - 'body' => new ReadLimitEntityBody($content, $part->getSize(), $part->getOffset()), - )); - sleep(3); - } - self::log('Complete the multipart upload.'); - $archiveId = $this->client->completeMultipartUpload(array( - 'vaultName' => self::TEST_VAULT, - 'uploadId' => $uploadId, - 'archiveSize' => $generator->getArchiveSize(), - 'checksum' => $generator->getRootChecksum() - ))->get('archiveId'); - $this->assertNotEmpty($archiveId); - - self::log('Delete the archive that was just uploaded in parts.'); - $this->client->deleteArchive(array( - 'vaultName' => self::TEST_VAULT, - 'archiveId' => $archiveId - )); - } - - public function testMultipartUploadAbstractions() - { - $source = EntityBody::factory(str_repeat('x', 6 * Size::MB + 425)); - - /** @var $transfer Transfer */ - $transfer = UploadBuilder::newInstance() - ->setClient($this->client) - ->setSource($source) - ->setVaultName(self::TEST_VAULT) - ->setPartSize(Size::MB) - ->setArchiveDescription('Foo bar') - ->build(); - - $transfer->getEventDispatcher()->addListener($transfer::BEFORE_PART_UPLOAD, function ($event) { - static $count = 0; - if ($count > 2) { - throw new \Exception; - } - $count++; - }); - - try { - $transfer->upload(); - $serializedState = null; - $this->fail('Unexpected code execution - exit point 1'); - } catch (MultipartUploadException $e) { - $serializedState = serialize($e->getState()); - } - - $state = unserialize($serializedState); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\TransferState', $state); - - /** @var $transfer Transfer */ - $transfer = UploadBuilder::newInstance() - ->setClient($this->client) - ->setSource($source) - ->setVaultName(self::TEST_VAULT) - ->resumeFrom($state) - ->build(); - - try { - $result = $transfer->upload(); - } catch (MultipartUploadException $e) { - $result = null; - $this->fail('Unexpected code execution - exit point 2'); - } - - $this->assertNotEmpty($result['archiveId']); - $this->assertEquals($result['checksum'], $transfer->getState()->getPartGenerator()->getRootChecksum()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/AbstractTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/AbstractTransferTest.php deleted file mode 100644 index 154edbc..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/AbstractTransferTest.php +++ /dev/null @@ -1,145 +0,0 @@ -getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'accountId' => '-', - 'vaultName' => 'foo', - 'uploadId' => 'bar' - ) - )); - - $generator = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadPartGenerator') - ->disableOriginalConstructor() - ->getMock(); - $generator->expects($this->any()) - ->method('getPartSize') - ->will($this->returnValue(1024 * 1024)); - - $body = EntityBody::factory(fopen(__FILE__, 'r')); - - if ($useRealClient) { - $client = $this->getServiceBuilder()->get('glacier', true); - } else { - $client = $this->getMockBuilder('Aws\Glacier\GlacierClient') - ->disableOriginalConstructor() - ->getMock(); - } - - $state = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\TransferState') - ->disableOriginalConstructor() - ->getMock(); - $state->expects($this->any()) - ->method('getUploadId') - ->will($this->returnValue($uploadId)); - $state->expects($this->any()) - ->method('getPartGenerator') - ->will($this->returnValue($generator)); - - $this->client = $client; - $this->transfer = $this->getMockForAbstractClass('Aws\Glacier\Model\MultipartUpload\AbstractTransfer', array( - $client, $state, $body - )); - } - - protected function callProtectedMethod($object, $method, array $args = array()) - { - $reflectedObject = new \ReflectionObject($object); - $reflectedMethod = $reflectedObject->getMethod($method); - $reflectedMethod->setAccessible(true); - - return $reflectedMethod->invokeArgs($object, $args); - } - - public function testCanGetPartSize() - { - $this->prepareTransfer(); - $this->assertEquals(1024 * 1024, $this->callProtectedMethod($this->transfer, 'calculatePartSize')); - } - - public function testCanCompleteMultipartUpload() - { - $this->prepareTransfer(); - - $model = $this->getMockBuilder('Guzzle\Service\Resource\Model') - ->disableOriginalConstructor() - ->getMock(); - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->disableOriginalConstructor() - ->getMock(); - $command->expects($this->any()) - ->method('getResult') - ->will($this->returnValue($model)); - $this->client->expects($this->any()) - ->method('getCommand') - ->will($this->returnValue($command)); - - $this->assertInstanceOf( - 'Guzzle\Service\Resource\Model', - $this->callProtectedMethod($this->transfer, 'complete') - ); - } - - public function testCanGetAbortCommand() - { - $this->prepareTransfer(true); - - $abortCommand = $this->callProtectedMethod($this->transfer, 'getAbortCommand'); - $this->assertInstanceOf('Guzzle\Service\Command\OperationCommand', $abortCommand); - $this->assertEquals('foo', $abortCommand->get('vaultName')); - } - - public function testCanGetCommandForUploadPart() - { - $this->prepareTransfer(true); - - $part = UploadPart::fromArray(array( - 'partNumber' => 1, - 'checksum' => 'foo', - 'contentHash' => 'bar', - 'size' => 10, - 'offset' => 5 - )); - - $command = $this->callProtectedMethod($this->transfer, 'getCommandForPart', array($part, true)); - $this->assertInstanceOf('Guzzle\Service\Command\OperationCommand', $command); - $this->assertEquals('foo', $command->get('checksum')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/ParallelTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/ParallelTransferTest.php deleted file mode 100644 index b6c6fd3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/ParallelTransferTest.php +++ /dev/null @@ -1,127 +0,0 @@ -partSize = 1024; - parent::generateUploadParts($body); - } -} - -/** - * @covers Aws\Glacier\Model\MultipartUpload\ParallelTransfer - */ -class ParallelTransferTest extends \Guzzle\Tests\GuzzleTestCase -{ - protected function getMockUploadId() - { - $uploadId = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'accountId' => '-', - 'vaultName' => 'foo', - 'uploadId' => 'bar' - ) - )); - - return $uploadId; - } - - protected function prepComponents() - { - $uploadId = $this->getMockUploadId(); - $body = EntityBody::factory(fopen(__FILE__, 'r')); - - $generator = SpecialUploadPartGenerator::factory($body, 1024 * 1024); - $client = $this->getServiceBuilder()->get('glacier', true); - $state = new TransferState($uploadId); - $state->setPartGenerator($generator); - $transfer = new ParallelTransfer($client, $state, $body, array('concurrency' => 2)); - - return array($transfer, $client, $state); - } - - public function testSuccessfulTransfer() - { - list($transfer, $client) = $this->prepComponents(); - - $mocks = array(); - for ($i = 0; $i < intval(ceil(filesize(__FILE__) / 1024)); $i++) { - $mocks[] = 'glacier/upload_part'; - } - $mocks[] = 'glacier/complete_multipart_upload'; - $mock = $this->setMockResponse($client, $mocks); - - $result = $transfer->upload(); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals($i + 1, count($requests)); - for ($j = 0; $j < $i; $j++) { - $this->assertEquals('PUT', $requests[$j]->getMethod()); - } - $this->assertEquals('PUT', $requests[4]->getMethod()); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - } - - public function testStoppingWillStopTransfer() - { - list($transfer) = $this->prepComponents(); - - $transfer->getEventDispatcher()->addListener(ParallelTransfer::BEFORE_PART_UPLOAD, function($event) { - $event['transfer']->stop(); - }); - - $result = $transfer->upload(); - - $this->assertNull($result); - } - - /** - * @expectedException Aws\Common\Exception\RuntimeException - */ - public function testEnsuresTheFileIsLocalAndSeekable() - { - $transfer = new ParallelTransfer( - $this->getServiceBuilder()->get('glacier'), - new TransferState($this->getMockUploadId()), - EntityBody::factory('foo') - ); - } - - /** - * @expectedException Aws\Common\Exception\RuntimeException - */ - public function testEnsuresConcurrencyIsSpecified() - { - $transfer = new ParallelTransfer( - $this->getServiceBuilder()->get('glacier'), - new TransferState($this->getMockUploadId()), - EntityBody::factory(fopen(__FILE__, 'r')) - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/SerialTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/SerialTransferTest.php deleted file mode 100644 index 1558020..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/SerialTransferTest.php +++ /dev/null @@ -1,85 +0,0 @@ -getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'accountId' => '-', - 'vaultName' => 'foo', - 'uploadId' => 'bar' - ) - )); - - $body = EntityBody::factory(str_repeat('x', 1024 * 1024 + 1024)); - $generator = UploadPartGenerator::factory($body, 1024 * 1024); - $client = $this->getServiceBuilder()->get('glacier', true); - $state = new TransferState($uploadId); - $state->setPartGenerator($generator); - $transfer = new SerialTransfer($client, $state, $body); - - return array($transfer, $client, $state); - } - - public function testSuccessfulTransfer() - { - list($transfer, $client) = $this->prepComponents(); - - $mock = $this->setMockResponse($client, array( - 'glacier/upload_part', - 'glacier/upload_part', - 'glacier/complete_multipart_upload' - )); - - $result = $transfer->upload(); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(3, count($requests)); - $this->assertEquals('PUT', $requests[0]->getMethod()); - $this->assertEquals('PUT', $requests[1]->getMethod()); - $this->assertEquals('POST', $requests[2]->getMethod()); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - } - - public function testStoppingWillStopTransfer() - { - list($transfer) = $this->prepComponents(); - - $transfer->getEventDispatcher()->addListener(SerialTransfer::BEFORE_PART_UPLOAD, function($event) { - $event['transfer']->stop(); - }); - - $result = $transfer->upload(); - - $this->assertNull($result); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/TransferStateTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/TransferStateTest.php deleted file mode 100644 index f3c9cc3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/TransferStateTest.php +++ /dev/null @@ -1,60 +0,0 @@ -getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'accountId' => '-', - 'vaultName' => 'foo', - 'uploadId' => 'bar' - ) - )); - - $client = $this->getServiceBuilder()->get('glacier'); - $mock = $this->setMockResponse($client, array('glacier/list_parts')); - - $state = TransferState::fromUploadId($client, $uploadId); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\TransferState', $state); - $this->assertEquals(1, count($mock->getReceivedRequests())); - } - - public function testGettersAndSetters() - { - $uploadId = $this->getMock('Aws\Glacier\Model\MultipartUpload\UploadId'); - $generator = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadPartGenerator') - ->disableOriginalConstructor() - ->getMock(); - - $state = new TransferState($uploadId); - $state->setPartGenerator($generator); - $this->assertSame($generator, $state->getPartGenerator()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadBuilderTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadBuilderTest.php deleted file mode 100644 index 35719cb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadBuilderTest.php +++ /dev/null @@ -1,170 +0,0 @@ -assertInstanceOf('Aws\Glacier\Model\MultipartUpload\UploadBuilder', UploadBuilder::newInstance()); - } - - public function testHasChainableSetterMethods() - { - /** @var $builder UploadBuilder */ - $builder = UploadBuilder::newInstance(); - $builder->setAccountId('foo') - ->setVaultName('bar') - ->setPartGenerator(UploadPartGenerator::factory(EntityBody::factory(), 1024 * 1024)) - ->setConcurrency(1) - ->setPartSize(1024 * 1024) - ->setArchiveDescription('abc'); - - $this->assertEquals('foo', $this->readAttribute($builder, 'accountId')); - $this->assertEquals('bar', $this->readAttribute($builder, 'vaultName')); - $this->assertEquals('abc', $this->readAttribute($builder, 'archiveDescription')); - $this->assertEquals(1, $this->readAttribute($builder, 'concurrency')); - $this->assertEquals(1024 * 1024, $this->readAttribute($builder, 'partSize')); - $this->assertInstanceOf( - 'Aws\Glacier\Model\MultipartUpload\UploadPartGenerator', - $this->readAttribute($builder, 'partGenerator') - ); - } - - /** - * @expectedException Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage You must specify a vault name, client, and source. - */ - public function testValidatesThatRequiredFieldsAreSet() - { - UploadBuilder::newInstance()->build(); - } - - /** - * @expectedException Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage You cannot upload from a non-seekable source. - */ - public function testValidatesThatNonSeekableStreamsCannotBeResumed() - { - $source = $this->getMockBuilder('Guzzle\Http\EntityBody') - ->setMethods(array('isSeekable')) - ->disableOriginalConstructor() - ->getMock(); - - $source->expects($this->any()) - ->method('isSeekable') - ->will($this->returnValue(false)); - - UploadBuilder::newInstance() - ->setVaultName('foo') - ->setSource($source) - ->resumeFrom('abc') - ->setClient($this->getServiceBuilder()->get('glacier')) - ->build(); - } - - public function testCanResumeStateByLoadingFromGlacier() - { - $generator = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadPartGenerator') - ->disableOriginalConstructor() - ->getMock(); - - $client = $this->getServiceBuilder()->get('glacier'); - $mock = $this->setMockResponse($client, array('glacier/list_parts')); - - $transfer = UploadBuilder::newInstance() - ->setVaultName('foo') - ->resumeFrom('abc') - ->setClient($client) - ->setSource(EntityBody::factory('foo')) - ->setPartGenerator($generator) - ->build(); - - $this->assertEquals(1, count($mock->getReceivedRequests())); - $this->assertEquals(2, count($transfer->getState())); - } - - /** - * @expectedException Aws\Common\Exception\InvalidArgumentException - */ - public function testResumeThrowsExceptionIfNoPartGenerator() - { - $client = $this->getServiceBuilder()->get('glacier'); - $transfer = UploadBuilder::newInstance() - ->setVaultName('foo') - ->resumeFrom('abc') - ->setClient($client) - ->setSource(EntityBody::factory('foo')) - ->build(); - } - - public function testCanCreateNewStateByInitiatingMultipartUpload() - { - $generator = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadPartGenerator') - ->disableOriginalConstructor() - ->getMock(); - - $client = $this->getServiceBuilder()->get('glacier'); - $mock = $this->setMockResponse($client, array('glacier/initiate_multipart_upload')); - $transfer = UploadBuilder::newInstance() - ->setVaultName('foo') - ->setClient($client) - ->setSource(EntityBody::factory('foo')) - ->setPartGenerator($generator) - ->build(); - $requests = $mock->getReceivedRequests(); - $this->assertEquals(1, count($requests)); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\TransferState', $transfer->getState()); - } - - public function testBuildsDifferentUploaderBasedOnConcurrency() - { - $generator = $this->getMockBuilder('Aws\Glacier\Model\MultipartUpload\UploadPartGenerator') - ->setMethods(array('getPartSize')) - ->disableOriginalConstructor() - ->getMock(); - $generator->expects($this->any()) - ->method('getPartSize') - ->will($this->returnValue(1024 * 1024)); - $state = new TransferState(UploadId::fromParams(array( - 'accountId' => 'foo', - 'vaultName' => 'baz', - 'uploadId' => 'bar' - ))); - $state->setPartGenerator($generator); - - $b = UploadBuilder::newInstance() - ->setVaultName('foo') - ->setPartGenerator($generator) - ->setClient($this->getServiceBuilder()->get('glacier')) - ->resumeFrom($state) - ->setSource(EntityBody::factory(fopen(__FILE__, 'r'))); - - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\SerialTransfer', $b->build()); - $b->setConcurrency(2); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\ParallelTransfer', $b->build()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartContextTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartContextTest.php deleted file mode 100644 index 1ed0085..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartContextTest.php +++ /dev/null @@ -1,175 +0,0 @@ -assertEquals(10, $this->readAttribute($context, 'maxSize')); - $this->assertEquals(5, $this->readAttribute($context, 'offset')); - $this->assertEquals(0, $this->readAttribute($context, 'size')); - $this->assertInstanceOf('Aws\Common\Hash\TreeHash', $this->readAttribute($context, 'treeHash')); - $this->assertInstanceOf('Aws\Common\Hash\ChunkHash', $this->readAttribute($context, 'chunkHash')); - } - - /** - * @covers Aws\Glacier\Model\MultipartUpload\UploadPartContext::isEmpty - * @covers Aws\Glacier\Model\MultipartUpload\UploadPartContext::isFull - */ - public function testIsEmptyAndFullAsExpected() - { - $context = new UploadPartContext(10); - - $this->assertTrue($context->isEmpty()); - $this->assertFalse($context->isFull()); - $this->assertEquals(0, $this->readAttribute($context, 'size')); - - $context->addData('abcde'); - - $this->assertFalse($context->isEmpty()); - $this->assertFalse($context->isFull()); - $this->assertEquals(5, $this->readAttribute($context, 'size')); - - $context->addData('fghij'); - - $this->assertFalse($context->isEmpty()); - $this->assertTrue($context->isFull()); - $this->assertEquals(10, $this->readAttribute($context, 'size')); - } - - public function testCanCreateUploadPart() - { - $context = new UploadPartContext(10); - $context->addData('abcdefghij'); - $part = $context->generatePart(); - - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\UploadPart', $part); - } - -// /** -// * @covers Aws\Glacier\Model\UploadPartContext::addData -// * @covers Aws\Glacier\Model\UploadPartContext::finalize -// * @covers Aws\Glacier\Model\UploadPartContext::getChecksum -// * @covers Aws\Glacier\Model\UploadPartContext::getContentHash -// * @covers Aws\Glacier\Model\UploadPartContext::getRange -// * @covers Aws\Glacier\Model\UploadPartContext::getSize -// */ -// public function testCanRetrieveFinalHashes() -// { -// $context = new UploadContext(6); -// $context->addData('foobar'); -// $context->finalize(); -// -// $this->assertInternalType('string', $context->getChecksum()); -// $this->assertInternalType('string', $context->getContentHash()); -// $this->assertEquals(array(0, 5), $context->getRange()); -// $this->assertEquals(6, $context->getSize()); -// } -// -// /** -// * @covers Aws\Glacier\Model\UploadPartContext::serialize -// * @covers Aws\Glacier\Model\UploadPartContext::unserialize -// */ -// public function testCanSerializeAndUnserialize() -// { -// $getArray = function (UploadContext $context) { -// return array( -// $context->getChecksum(), -// $context->getContentHash(), -// $context->getSize(), -// $context->getOffset(), -// $context->getRange() -// ); -// }; -// -// $context1 = new UploadContext(3); -// $context1->addData('foo'); -// $context1->finalize(); -// $array1 = $getArray($context1); -// -// $context2 = unserialize(serialize($context1)); -// $array2 = $getArray($context2); -// -// $this->assertEquals($array1, $array2); -// } - - /** - * @expectedException \LogicException - * @covers Aws\Glacier\Model\MultipartUpload\UploadPartContext::addData - */ - public function testCannotAddDataAfterFinalized() - { - $context = new UploadPartContext(6); - $context->addData('foo'); - $context->generatePart(); - - $context->addData('bar'); - } - - /** - * @expectedException \LogicException - * @covers Aws\Glacier\Model\MultipartUpload\UploadPartContext::addData - */ - public function testCannotAddTooMuchData() - { - $context = new UploadPartContext(3); - $context->addData('foo'); - $context->addData('bar'); - } - -// /** -// * @expectedException \LogicException -// * @covers Aws\Glacier\Model\UploadPartContext::getChecksum -// */ -// public function testCannotGetChecksumBeforeItIsCalculated() -// { -// $context = new UploadContext(3); -// $context->getChecksum(); -// } -// -// /** -// * @expectedException \LogicException -// * @covers Aws\Glacier\Model\UploadPartContext::getContentHash -// */ -// public function testCannotGetContextHashBeforeItIsCalculated() -// { -// $context = new UploadContext(3); -// $context->getContentHash(); -// } -// -// /** -// * @covers Aws\Glacier\Model\UploadPartContext::serialize -// */ -// public function testCannotSerializeUntilItsFinalized() -// { -// $context = new UploadContext(3); -// try { -// serialize($context); -// $this->fail(); -// } catch (\Exception $e) { -// // Success! -// } -// } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartGeneratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartGeneratorTest.php deleted file mode 100644 index c0433a0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartGeneratorTest.php +++ /dev/null @@ -1,117 +0,0 @@ -bodySize = intval(1.25 * Size::MB); - $this->bodyContent = str_repeat('x', $this->bodySize); - } - - public function testCanGenerateUploadPartData() - { - $generator = UploadPartGenerator::factory($this->bodyContent, Size::MB); - $parts = $generator->getAllParts(); - - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\UploadPartGenerator', $generator); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\UploadPart', $generator->getUploadPart(1)); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\UploadPart', $parts[0]); - $this->assertSame($parts[0], $generator->getUploadPart(1)); - $this->assertCount(2, $parts); - $this->assertCount(2, $generator); - $this->assertCount(2, $generator->getIterator()); - $this->assertInternalType('string', $generator->getRootChecksum()); - $this->assertEquals($this->bodySize, $generator->getArchiveSize()); - $this->assertEquals(Size::MB, $generator->getPartSize()); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testExceptionWhenPartSizeInvalid() - { - $generator = UploadPartGenerator::factory($this->bodyContent, 13.2 * Size::MB); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testExceptionWhenBodyIsNotSeekable() - { - $stream = fopen('php://temp', 'r+'); - fwrite($stream, $this->bodyContent); - rewind($stream); - - $body = $this->getMock('Guzzle\Http\EntityBody', array('isSeekable'), array($stream)); - $body->expects($this->any()) - ->method('isSeekable') - ->will($this->returnValue(false)); - - UploadPartGenerator::factory($body, Size::MB); - } - - /** - * @expectedException \RuntimeException - */ - public function testExceptionUnserializationIsUnsuccessful() - { - $generator = UploadPartGenerator::factory($this->bodyContent, Size::MB); - $serialized = str_replace('partSize', 'xxxxxxxx', serialize($generator)); - unserialize($serialized); - } - - /** - * @expectedException \OutOfBoundsException - */ - public function testExceptionWhenUploadIndexDoesntExist() - { - $generator = UploadPartGenerator::factory($this->bodyContent, Size::MB); - $generator->getUploadPart(10); - } - - public function testCanCreateSinglePart() - { - $part = UploadPartGenerator::createSingleUploadPart($this->bodyContent); - $this->assertInstanceOf('Aws\Glacier\Model\MultipartUpload\UploadPart', $part); - $this->assertEquals($this->bodySize, $part->getSize()); - } - - public function testSerializationAndUnserializationWorks() - { - $generator = UploadPartGenerator::factory($this->bodyContent, Size::MB); - $startingSize = $generator->getArchiveSize(); - - $serialized = serialize($generator); - - $newGenerator = unserialize($serialized); - $endingSize = $newGenerator->getArchiveSize(); - - $this->assertEquals($startingSize, $endingSize); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartTest.php deleted file mode 100644 index a4656ec..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Model/MultipartUpload/UploadPartTest.php +++ /dev/null @@ -1,45 +0,0 @@ - 3, - 'checksum' => 'aaa', - 'contentHash' => 'bbb', - 'size' => 5, - 'offset' => 2 - )); - - $this->assertEquals(3, $part->getPartNumber()); - $this->assertEquals('aaa', $part->getChecksum()); - $this->assertEquals('bbb', $part->getContentHash()); - $this->assertEquals(5, $part->getSize()); - $this->assertEquals(2, $part->getOffset()); - $this->assertEquals(array(2, 6), $part->getRange()); - $this->assertEquals('bytes 2-6/*', $part->getFormattedRange()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Waiter/VaultExistsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Waiter/VaultExistsTest.php deleted file mode 100644 index 4a33309..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Waiter/VaultExistsTest.php +++ /dev/null @@ -1,36 +0,0 @@ -getServiceBuilder()->get('glacier', true); - $this->setMockResponse($client, 'glacier/describe_vault'); - $client->waitUntil('VaultExists', array('vaultName' => 'foo')); - $this->assertEquals(1, count($this->getMockedRequests())); - } - - public function testRetriesUntilVaultExists() - { - $client = $this->getServiceBuilder()->get('glacier', true); - $this->setMockResponse($client, array('glacier/describe_vault_error', 'glacier/describe_vault_error', 'glacier/describe_vault')); - $client->waitUntil('VaultExists', array('vaultName' => 'foo', 'waiter.interval' => 0)); - $this->assertEquals(3, count($this->getMockedRequests())); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Waiter/VaultNotExistsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Waiter/VaultNotExistsTest.php deleted file mode 100644 index e1c8d45..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Glacier/Waiter/VaultNotExistsTest.php +++ /dev/null @@ -1,36 +0,0 @@ -getServiceBuilder()->get('glacier', true); - $this->setMockResponse($client, 'glacier/describe_vault_error'); - $client->waitUntil('VaultNotExists', array('vaultName' => 'foo')); - $this->assertEquals(1, count($this->getMockedRequests())); - } - - public function testRetriesUntilVaultNotExists() - { - $client = $this->getServiceBuilder()->get('glacier', true); - $this->setMockResponse($client, array('glacier/describe_vault', 'glacier/describe_vault', 'glacier/describe_vault_error')); - $client->waitUntil('VaultNotExists', array('vaultName' => 'foo', 'waiter.interval' => 0)); - $this->assertEquals(3, count($this->getMockedRequests())); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Iam/IamClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Iam/IamClientTest.php deleted file mode 100644 index 3cec788..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Iam/IamClientTest.php +++ /dev/null @@ -1,35 +0,0 @@ - 'foo', - 'secret' => 'bar' - )); - $this->assertEquals('https://iam.amazonaws.com', $c->getBaseUrl()); - $this->assertNotNull($c->getDescription()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Iam/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Iam/Integration/IntegrationTest.php deleted file mode 100644 index 3bf8549..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Iam/Integration/IntegrationTest.php +++ /dev/null @@ -1,124 +0,0 @@ -iam = $this->getServiceBuilder()->get('iam'); - } - - public static function cleanUp() - { - $iam = self::getServiceBuilder()->get('iam'); - foreach (self::$policies as $policy) { - try { - $iam->deleteRolePolicy(array( - 'PolicyName' => $policy, - 'RoleName' => self::$roleName, - )); - } catch (\Exception $e) {} - } - - try { - $iam->deleteRole(array('RoleName' => self::$roleName)); - } catch (\Exception $e) {} - } - - public static function setUpBeforeClass() - { - self::cleanUp(); - } - - public static function tearDownAfterClass() - { - self::cleanUp(); - } - - public function testGetsAccountSummary() - { - $result = $this->iam->getAccountSummary(); - // Ensure that the XML map was converted correctly - $this->assertArrayHasKey('SummaryMap', $result->toArray()); - } - - public function testWorkingWithRoles() - { - $roleName = 'php-integ-iam-test-role'; - - self::log('Create an IAM Role.'); - $result = $this->iam->getCommand('CreateRole', array( - 'RoleName' => $roleName, - 'AssumeRolePolicyDocument' => self::IAM_POLICY_ASSUME_ROLE, - ))->getResult(); - $roleArn = $result->getPath('Role/Arn'); - - self::log('Put a policy on the IAM Role.'); - $result = $this->iam->getCommand('PutRolePolicy', array( - 'PolicyName' => self::$policies[0], - 'RoleName' => $roleName, - 'PolicyDocument' => self::IAM_POLICY_ALLOW_S3, - ))->getResult(); - - self::log('Put another policy on the IAM Role.'); - $result = $this->iam->getCommand('PutRolePolicy', array( - 'PolicyName' => self::$policies[1], - 'RoleName' => $roleName, - 'PolicyDocument' => self::IAM_POLICY_ALLOW_S3, - ))->getResult(); - - self::log('make sure the IAM Role exists.'); - // @TODO do a ListRoles-related assertion - - self::log('Make sure the policies are there.'); - //print_r($this->iam->listRolePolicies(array('RoleName' => $roleName))->toArray()); - $policies = $this->iam->getIterator('ListRolePolicies', array('RoleName' => $roleName)); - $this->assertEquals(self::$policies, iterator_to_array($policies)); - - self::log('Delete the policies from the IAM Role.'); - $commands = array(); - foreach (self::$policies as $policy) { - $commands[] = $this->iam->getCommand('DeleteRolePolicy', array( - 'PolicyName' => $policy, - 'RoleName' => $roleName, - )); - } - $this->iam->execute($commands); - - self::log('Delete the IAM Role.'); - $result = $this->iam->getCommand('DeleteRole', array( - 'RoleName' => $roleName, - ))->getResult(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/ImportExportClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/ImportExportClientTest.php deleted file mode 100644 index e7718ea..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/ImportExportClientTest.php +++ /dev/null @@ -1,37 +0,0 @@ - 'foo', - 'secret' => 'bar', - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://importexport.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/Integration/IntegrationTest.php deleted file mode 100644 index 20af847..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/Integration/IntegrationTest.php +++ /dev/null @@ -1,72 +0,0 @@ -client = $this->getServiceBuilder()->get('importexport'); - } - - /** - * @expectedException \Aws\ImportExport\Exception\MissingManifestFieldException - */ - public function testCreateJobFailsWithIncompleteManifest() - { - $this->client->createJob(array( - 'JobType' => JobType::IMPORT, - 'Manifest' => 'foo: bar', - 'ValidateOnly' => true, - )); - } - - /** - * @expectedException \Aws\ImportExport\Exception\MissingManifestFieldException - */ - public function testCreateJobFailsWithIncompleteArrayFormattedManifest() - { - if (!class_exists('Symfony\Component\Yaml\Yaml')) { - $this->markTestSkipped('You must have the the Symfony YAML component installed to run this test.'); - } - - $this->client->createJob(array( - 'JobType' => JobType::IMPORT, - 'Manifest' => array('foo' => 'bar'), - 'ValidateOnly' => true, - )); - } - - public function testListJobsCommandAndIterator() - { - $commandResults = $this->client->listJobs()->toArray(); - $this->assertArrayHasKey('Jobs', $commandResults); - - $iteratorResults = $this->client->getIterator('ListJobs')->toArray(); - $this->assertEquals($commandResults['Jobs'], $iteratorResults); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/Iterator/ListJobsIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/Iterator/ListJobsIteratorTest.php deleted file mode 100644 index ec679be..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/Iterator/ListJobsIteratorTest.php +++ /dev/null @@ -1,64 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new ListJobsIterator($command, array( - 'result_key' => 'Jobs', - 'more_key' => 'IsTruncated', - )); - $model = new Model(array( - 'Jobs' => array( - array('JobId' => 1), - array('JobId' => 2), - array('JobId' => 3), - array('JobId' => 4), - ), - 'IsTruncated' => $isTruncated, - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('determineNextToken'); - $method->setAccessible(true); - $method->invoke($iterator, $model); - - $this->assertEquals($expectedNextToken, $this->readAttribute($iterator, 'nextToken')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/JobManifestListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/JobManifestListenerTest.php deleted file mode 100644 index ef02826..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/ImportExport/JobManifestListenerTest.php +++ /dev/null @@ -1,62 +0,0 @@ -sampleManifest = <<getServiceBuilder()->get('importexport'); - $command = $client->getCommand('CreateJob', array( - 'JobType' => 'IMPORT', - 'ValidateOnly' => true, - 'Manifest' => array( - 'foo' => 'bar', - 'bar' => array('foo', 'bar', 'baz'), - 'baz' => 'foo', - ), - )); - - $listener = new JobManifestListener(); - $this->assertArrayHasKey('command.before_prepare', $listener->getSubscribedEvents()); - - $event = new Event(array('command' => $command)); - $listener->onCommandBeforePrepare($event); - $this->assertEquals($this->sampleManifest, $command->get('Manifest')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/IntegrationTestCase.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/IntegrationTestCase.php deleted file mode 100644 index b16d7bd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/IntegrationTestCase.php +++ /dev/null @@ -1,85 +0,0 @@ -useMocks()) { - $errno = $errstr = ''; - $fp = @fsockopen('http://169.254.169.254', 80, $errno, $errstr, 0.1); - if (!$fp) { - $this->markTestSkipped('Not on EC2'); - } else { - fclose($fp); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/OpsWorks/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/OpsWorks/Integration/IntegrationTest.php deleted file mode 100644 index 11ee03f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/OpsWorks/Integration/IntegrationTest.php +++ /dev/null @@ -1,61 +0,0 @@ -client = $this->getServiceBuilder()->get('opsworks'); - } - - public function testDescribesStacks() - { - self::log('Describing stacks'); - $result = $this->client->describeStacks()->toArray(); - $this->assertArrayHasKey('Stacks', $result); - } - - public function testListsStacks() - { - self::log('Iterating stacks'); - $stacks = $this->client->getIterator('DescribeStacks')->toArray(); - $this->assertInternalType('array', $stacks); - foreach ($stacks as $stack) { - $this->assertArrayHasKey('Name', $stack); - } - } - - /** - * @expectedException \Aws\OpsWorks\Exception\ResourceNotFoundException - */ - public function testParsesErrors() - { - self::log('Ensuring errors are parsed correctly'); - $this->client->deleteApp(array('AppId' => 'does-not-exist-foo-123')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/OpsWorks/OpsWorksClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/OpsWorks/OpsWorksClientTest.php deleted file mode 100644 index 0dfd201..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/OpsWorks/OpsWorksClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://opsworks.us-east-1.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Rds/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Rds/Integration/IntegrationTest.php deleted file mode 100644 index fc9d4be..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Rds/Integration/IntegrationTest.php +++ /dev/null @@ -1,109 +0,0 @@ -get('rds'); - try { - $result = $client->deleteDBSecurityGroup(array( - 'DBSecurityGroupName' => self::TEST_GROUP - )); - } catch (\Exception $e) { - // Ignore - } - } - - public function setUp() - { - $this->client = $this->getServiceBuilder()->get('rds'); - } - - public function testEnsuresListsAreParsedCorrectly() - { - $results = $this->client->getIterator('DescribeDBEngineVersions'); - foreach ($results as $result) { - $this->assertArrayHasKey('DBParameterGroupFamily', $result); - } - } - - /** - * @expectedException \Aws\Rds\Exception\DBInstanceNotFoundException - * @expectedExceptionMessage DBInstance foo-123-na not found - */ - public function testParsesErrors() - { - $this->client->deleteDBInstance(array( - 'DBInstanceIdentifier' => 'foo-123-na' - )); - } - - public function testCreatesSecurityGroup() - { - self::log('Creating a DB security group'); - $result = $this->client->createDBSecurityGroup(array( - 'DBSecurityGroupName' => self::TEST_GROUP, - 'DBSecurityGroupDescription' => 'Integ test' - )); - $this->assertArrayHasKey('OwnerId', $result->toArray()); - $this->assertArrayHasKey('EC2SecurityGroups', $result->toArray()); - $this->assertArrayHasKey('ResponseMetadata', $result->toArray()); - } - - /** - * @depends testCreatesSecurityGroup - */ - public function testListsSecurityGroups() - { - self::log('Listing security group'); - $iterator = $this->client->getIterator('DescribeDBSecurityGroups'); - $found = false; - foreach ($iterator as $group) { - if ($group['DBSecurityGroupName'] == self::TEST_GROUP) { - $found = true; - break; - } - } - if (!$found) { - $this->fail('Did not find security group ' . self::TEST_GROUP); - } - } - - /** - * @depends testListsSecurityGroups - */ - public function testDeletesSecurityGroups() - { - self::log('Cleaning up security group'); - $this->client->deleteDBSecurityGroup(array('DBSecurityGroupName' => self::TEST_GROUP)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Rds/RdsClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Rds/RdsClientTest.php deleted file mode 100644 index 4d6285b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Rds/RdsClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://rds.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Redshift/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Redshift/Integration/IntegrationTest.php deleted file mode 100644 index f0200b3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Redshift/Integration/IntegrationTest.php +++ /dev/null @@ -1,143 +0,0 @@ -redshift = $this->getServiceBuilder()->get('redshift'); - } - - public function testCreatesSecurityGroup() - { - self::log('Create a cluster security group'); - $result = $this->redshift->createClusterSecurityGroup(array( - 'ClusterSecurityGroupName' => self::SECURITY_GROUP_NAME, - 'Description' => 'PHP Integ Test Cluster Security Group', - )); - $this->assertEquals(self::SECURITY_GROUP_NAME, $result->get('ClusterSecurityGroupName')); - $this->assertTrue($result->hasKey('EC2SecurityGroups')); - $this->assertTrue($result->hasKey('ResponseMetadata')); - } - - /** - * @depends testCreatesSecurityGroup - */ - public function testListsSecurityGroups() - { - self::log('List cluster security groups'); - $found = false; - foreach ($this->redshift->getIterator('DescribeClusterSecurityGroups') as $group) { - if ($group['ClusterSecurityGroupName'] == self::SECURITY_GROUP_NAME) { - $found = true; - break; - } - } - $this->assertTrue($found, 'Did not find cluster security group ' . self::SECURITY_GROUP_NAME); - } - - /** - * @depends testListsSecurityGroups - */ - public function testDeletesSecurityGroups() - { - self::log('Delete cluster security group'); - $this->redshift->deleteClusterSecurityGroup(array('ClusterSecurityGroupName' => self::SECURITY_GROUP_NAME)); - } - - public function testDescribeEventsIterator() - { - $maxRecords = 25; - $events = $this->redshift->getIterator('DescribeEvents', array( - 'StartTime' => strtotime('-13 days'), - 'EndTime' => strtotime('now'), - 'MaxRecords' => $maxRecords, - )); - $total = iterator_count($events); - $expected = ceil($total / $maxRecords); - $this->assertEquals($expected ?: 1, $events->getRequestCount()); - } - - public function exampleTestBasicClusterOperations() - { - $clusterId = 'php-integ-redshift-cluster-' . time(); - $snapshotId = 'php-integ-redshift-snapshot-' . time(); - - self::log('Launch a cluster.'); - $this->redshift->getCommand('CreateCluster', array( - 'ClusterIdentifier' => $clusterId, - 'ClusterType' => 'multi-node', - 'MasterUsername' => 'phpinteguser', - 'MasterUserPassword' => 'PHPint3gu$er', - 'NodeType' => 'dw.hs1.xlarge', - 'NumberOfNodes' => 2, - ))->execute(); - - self::log('Get a list of all of the clusters and make sure there is at least one.'); - $clusters = $this->redshift->getIterator('DescribeClusters'); - $this->assertGreaterThanOrEqual(1, iterator_count($clusters)); - - self::log('Make sure the new cluster exists.'); - $result = $this->redshift->getCommand('DescribeClusters', array( - 'ClusterIdentifier' => $clusterId, - ))->getResult(); - $this->assertCount(1, $result->get('Clusters')); - - self::log('Wait until the cluster exists. This can take around 20 minutes.'); - $this->redshift->waitUntilClusterAvailable(array( - 'ClusterIdentifier' => $clusterId - )); - - self::log('Create a snapshot of the cluster and wait until it is available.'); - $this->redshift->getCommand('CreateClusterSnapshot', array( - 'ClusterIdentifier' => $clusterId, - 'SnapshotIdentifier' => $snapshotId, - ))->execute(); - $this->redshift->waitUntilSnapshotAvailable(array( - 'SnapshotIdentifier' => $snapshotId - )); - - self::log('Delete the snapshot.'); - $this->redshift->getCommand('DeleteClusterSnapshot', array( - 'SnapshotIdentifier' => $snapshotId, - ))->execute(); - - self::log('Delete the cluster.'); - $this->redshift->getCommand('DeleteCluster', array( - 'ClusterIdentifier' => $clusterId, - 'SkipFinalClusterSnapshot' => true, - ))->execute(); - - self::log('Wait until the cluster is deleted.'); - $this->redshift->waitUntilClusterDeleted(array( - 'ClusterIdentifier' => $clusterId, - )); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Redshift/RedshiftClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Redshift/RedshiftClientTest.php deleted file mode 100644 index 43e322d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Redshift/RedshiftClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertEquals('https://redshift.us-east-1.amazonaws.com', $client->getBaseUrl()); - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Integration/BasicOperationsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Integration/BasicOperationsTest.php deleted file mode 100644 index 0bb7c1a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Integration/BasicOperationsTest.php +++ /dev/null @@ -1,213 +0,0 @@ -route53 = $this->getServiceBuilder()->get('route53'); - } - - public function testHostedZoneOperations() - { - self::log('Create a hosted zone.'); - $result = $this->route53->getCommand('CreateHostedZone', array( - 'Name' => 'integroute53' . self::getResourcePrefix() . '.com', - 'CallerReference' => uniqid('aws-sdk-php-hz-'), - ))->getResult(); - $zoneId = $result->getPath('HostedZone/Id'); - $this->assertStringStartsWith('/hostedzone/', $zoneId); - - self::log('List the hosted zones and verify the one we created is there.'); - $zoneIds = array(); - foreach ($this->route53->getIterator('ListHostedZones') as $zone) { - $zoneIds[] = $zone['Id']; - } - $this->assertContains($zoneId, $zoneIds); - - self::log('Get the hosted zone we created by its ID.'); - $result = $this->route53->getCommand('GetHostedZone', array( - 'Id' => $zoneId, - ))->getResult(); - $this->assertEquals($zoneId, $result->getPath('HostedZone/Id')); - $nameServers = $result->getPath('DelegationSet/NameServers'); - $this->assertInternalType('array', $nameServers); - $this->assertSame($nameServers, array_values($nameServers)); - - self::log('Creating an S3 static website bucket'); - $s3 = $this->getServiceBuilder()->get('s3'); - $bucketName = 'integroute53' . self::getResourcePrefix(); - if (!$s3->doesBucketExist($bucketName)) { - $s3->createBucket(array('Bucket' => $bucketName)); - $s3->waitUntil('BucketExists', array('Bucket' => $bucketName)); - } - - self::log('Setting website config on bucket'); - $s3->putBucketWebsite(array( - 'Bucket' => $bucketName, - 'IndexDocument' => array('Suffix' => 'index.html') - )); - - self::log('Create a resource record set for the zone'); - $this->route53->changeResourceRecordSets(array( - 'HostedZoneId' => $zoneId, - 'ChangeBatch' => array( - 'Changes' => array( - array( - 'Action' => 'CREATE', - 'ResourceRecordSet' => array( - 'Name' => 'foo.' . $bucketName . '.com', - 'Type' => 'CNAME', - 'TTL' => 300, - 'ResourceRecords' => array( - array('Value' => '192.0.2.3') - ) - ) - ) - ) - ) - )); - - self::log('Get the resource record set'); - $set = $this->route53->listResourceRecordSets(array( - 'HostedZoneId' => $zoneId - )); - - $record = null; - foreach ($set['ResourceRecordSets'] as $resource) { - if ($resource['Type'] == 'CNAME') { - $record = $resource; - break; - } - } - - if (!$record) { - $this->fail('Did not find the created CNAME record'); - } - - self::log('Update the resource record set'); - $originalRecord = $record; - $record['ResourceRecords'][0]['Value'] = '192.0.2.4'; - - $this->route53->changeResourceRecordSets(array( - 'HostedZoneId' => $zoneId, - 'ChangeBatch' => array( - 'Changes' => array( - array( - 'Action' => 'DELETE', - 'ResourceRecordSet' => $originalRecord - ), - array( - 'Action' => 'CREATE', - 'ResourceRecordSet' => $record - ) - ) - ) - )); - - self::log('Ensuring that the record was updated'); - $set = $this->route53->listResourceRecordSets(array( - 'HostedZoneId' => $zoneId - )); - foreach ($set['ResourceRecordSets'] as $resource) { - if ($resource['Type'] == 'CNAME') { - if ($resource['ResourceRecords'][0]['Value'] != '192.0.2.4') { - $this->fail('Did not update record'); - } - break; - } - } - - self::log('Delete the resource record set'); - $this->route53->changeResourceRecordSets(array( - 'HostedZoneId' => $zoneId, - 'ChangeBatch' => array( - 'Changes' => array( - array( - 'Action' => 'DELETE', - 'ResourceRecordSet' => array( - 'Name' => 'foo.' . $bucketName . '.com', - 'Type' => 'CNAME', - 'TTL' => 300, - 'ResourceRecords' => array( - array('Value' => '192.0.2.4') - ) - ) - ) - ) - ) - )); - - self::log('Delete the bucket'); - $s3->deleteBucket(array('Bucket' => $bucketName)); - - self::log('Delete the hosted zone created.'); - $result = $this->route53->getCommand('DeleteHostedZone', array( - 'Id' => $zoneId, - ))->getResult(); - $changeId = $result->getPath('ChangeInfo/Id'); - $this->assertStringStartsWith('/change/', $changeId); - $this->assertEquals(Status::PENDING, $result->getPath('ChangeInfo/Status')); - - self::log('Get the change record and verify that it is being deleted.'); - $result = $this->route53->getCommand('GetChange', array( - 'Id' => $changeId, - ))->getResult(); - $this->assertEquals(Status::PENDING, $result->getPath('ChangeInfo/Status')); - } - - public function testHealthCheckOperations() - { - self::log('Create a health check.'); - $result = $this->route53->getCommand('CreateHealthCheck', array( - 'CallerReference' => uniqid('aws-sdk-php-hc-'), - 'HealthCheckConfig' => array( - 'IPAddress' => gethostbyname('aws.amazon.com'), - 'Port' => '80', - 'Type' => HealthCheckType::TCP, - ), - ))->getResult(); - $healthCheckId = $result->getPath('HealthCheck/Id'); - - self::log('List the health checks.'); - $result = $this->route53->getCommand('ListHealthChecks')->getResult(); - $this->assertCount(1, $result->get('HealthChecks')); - $this->assertContains($healthCheckId, $result->getPath('HealthChecks/*/Id')); - - self::log('Delete the health checks.'); - foreach ($this->route53->getIterator('ListHealthChecks') as $healthCheck) { - $this->route53->getCommand('DeleteHealthCheck', array( - 'HealthCheckId' => $healthCheck['Id'], - ))->execute(); - } - $result = $this->route53->getCommand('ListHealthChecks')->getResult(); - $this->assertCount(0, $result->get('HealthChecks')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Integration/IteratorsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Integration/IteratorsTest.php deleted file mode 100644 index 45235ea..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Integration/IteratorsTest.php +++ /dev/null @@ -1,52 +0,0 @@ -getServiceBuilder()->get('route53'); - $mock = $this->setMockResponse($client, array( - 'route53/list_rrs_page_1', - 'route53/list_rrs_page_2', - 'route53/list_rrs_page_3', - )); - - $resourceRecordSets = $client->getIterator('ListResourceRecordSets', array( - 'HostedZoneId' => '0123456789' - )); - - $resourceRecords = array(); - foreach ($resourceRecordSets as $resourceRecordSet) { - $this->assertEquals('www.example.com.', $resourceRecordSet['Name']); - foreach ($resourceRecordSet['ResourceRecords'] as $resourceRecord) { - $resourceRecords[] = $resourceRecord['Value']; - } - } - - $this->assertSame(array('a', 'b', 'c', 'd', 'e', 'f'), $resourceRecords); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(3, count($requests)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Route53ClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Route53ClientTest.php deleted file mode 100644 index 75b7bb2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Route53/Route53ClientTest.php +++ /dev/null @@ -1,73 +0,0 @@ - 'foo', - 'secret' => 'bar', - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV3Https', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://route53.amazonaws.com', $client->getBaseUrl()); - } - - /** - * @covers Aws\Route53\Route53Client::getServerTime - */ - public function testGetServerTimeReturnsTimeForBoth200And400Responses() - { - $client = Route53Client::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - )); - - $this->setMockResponse($client, array( - 'route53/server_time_1', - 'route53/server_time_2', - )); - - $time = $client->getServerTime(); - $this->assertInstanceOf('DateTime', $time); - $this->assertEquals('11-19-2009', $time->format('m-d-Y')); - - $time = $client->getServerTime(); - $this->assertInstanceOf('DateTime', $time); - $this->assertEquals('11-20-2009', $time->format('m-d-Y')); - } - - /** - * @covers Aws\Route53\Route53Client::cleanId - */ - public function testCanCleanId() - { - $original = array('/hostedzone/1', '2', '/change/3'); - $expected = array('1', '2', '3'); - $actual = array_map('Aws\Route53\Route53Client::cleanId', $original); - - $this->assertSame($expected, $actual); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/AcpListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/AcpListenerTest.php deleted file mode 100644 index 29105c5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/AcpListenerTest.php +++ /dev/null @@ -1,116 +0,0 @@ -assertNotEmpty(AcpListener::getSubscribedEvents()); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage ACP must be an instance of Aws\S3\Model\Acp - */ - public function testThrowsExceptionWhenAcpIsInvalid() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $s3->getCommand('PutObject', array( - 'Bucket' => 'test', - 'Key' => 'key', - 'Body' => 'hello', - 'ACP' => new \stdClass() - ))->prepare(); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Use either the ACP parameter or the Grants parameter - */ - public function testThrowsExceptionWhenBothAcpAndGrantsAreSet() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $s3->getCommand('PutObject', array( - 'Bucket' => 'test', - 'Key' => 'key', - 'Body' => 'hello', - 'ACP' => new Acp(new Grantee('123')), - 'Grants' => array() - ))->prepare(); - } - - public function testIgnoresOperationsWhereAcpIsNotPresent() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $s3->getCommand('GetObject', array( - 'Bucket' => 'test', - 'Key' => 'key', - 'ACP' => new Acp(new Grantee('123')), - 'Grants' => array() - ))->prepare(); - } - - public function testAppliesAcpHeadersToCommand() - { - $acp = $this->getAcp(); - $s3 = $this->getServiceBuilder()->get('s3'); - $command = $s3->getCommand('PutObject', array( - 'Bucket' => 'test', - 'Key' => 'key', - 'Body' => 'hello', - 'ACP' => $acp - )); - $command->prepare(); - $this->assertEquals('emailAddress="test@example.com", emailAddress="baz@example.com"', $command['GrantRead']); - $this->assertEquals('emailAddress="jar@jar.com"', $command['GrantWrite']); - $this->assertEquals('uri="http://acs.amazonaws.com/groups/global/AllUsers"', $command['GrantReadACP']); - } - - public function testAppliesAcpBodyToCommand() - { - $acp = $this->getAcp(); - $s3 = $this->getServiceBuilder()->get('s3'); - $command = $s3->getCommand('PutObjectAcl', array( - 'Bucket' => 'test', - 'Key' => 'key', - 'ACP' => $acp - )); - $request = $command->prepare(); - $this->assertContains('Grantee', (string) $request->getBody()); - } - - protected function getAcp() - { - return AcpBuilder::newInstance() - ->setOwner('test') - ->addGrantForEmail('READ', 'test@example.com') - ->addGrantForEmail('READ', 'baz@example.com') - ->addGrantForEmail('WRITE', 'jar@jar.com') - ->addGrantForGroup('READ_ACP', Group::ALL_USERS) - ->build(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/BucketStyleListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/BucketStyleListenerTest.php deleted file mode 100644 index 4e50843..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/BucketStyleListenerTest.php +++ /dev/null @@ -1,81 +0,0 @@ -assertNotEmpty(BucketStyleListener::getSubscribedEvents()); - } - - public function testUsesPathStyleWhenHttpsContainsDots() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($s3, array(new Response(200))); - $command = $s3->getCommand('GetObject', array( - 'Bucket' => 'test.123', - 'Key' => 'Bar' - )); - $command->execute(); - $this->assertEquals('s3.amazonaws.com', $command->getRequest()->getHost()); - $this->assertEquals('/test.123/Bar', $command->getRequest()->getResource()); - } - - public function testUsesPathStyleWhenNotDnsCompatible() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($s3, array(new Response(200))); - $command = $s3->getCommand('GetObject', array( - 'Bucket' => '_baz_!', - 'Key' => 'Bar' - )); - $command->execute(); - $this->assertEquals('s3.amazonaws.com', $command->getRequest()->getHost()); - $this->assertEquals('/_baz_%21/Bar', $command->getRequest()->getResource()); - } - - public function testUsesPathStyleWhenForced() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($s3, array(new Response(200))); - $command = $s3->getCommand('GetObject', array( - 'Bucket' => 'foo', - 'Key' => 'Bar', - 'PathStyle' => true - )); - $command->execute(); - $this->assertEquals('s3.amazonaws.com', $command->getRequest()->getHost()); - $this->assertEquals('/foo/Bar', $command->getRequest()->getResource()); - } - - public function testUsesVirtualHostedWhenPossible() - { - $s3 = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($s3, array(new Response(200))); - $command = $s3->getCommand('GetObject', array('Bucket' => 'foo', 'Key' => 'Bar')); - $command->execute(); - $this->assertEquals('foo.s3.amazonaws.com', $command->getRequest()->getHost()); - $this->assertEquals('/Bar', $command->getRequest()->getResource()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Command/S3CommandTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Command/S3CommandTest.php deleted file mode 100644 index 3a86254..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Command/S3CommandTest.php +++ /dev/null @@ -1,55 +0,0 @@ -getServiceBuilder()->get('s3'); - $command = $client->getCommand('GetObject', array( - 'Bucket' => 'foobazbar', - 'Key' => 'test' - )); - $url = $command->createPresignedUrl('+100'); - $this->assertContains('foobazbar', $url); - $this->assertContains('test', $url); - $this->assertContains('AWSAccessKeyId', $url); - $this->assertContains('Expires', $url); - $this->assertContains('Signature', $url); - } - - public function testAddsUrlToPutObject() - { - $client = $this->getServiceBuilder()->get('s3'); - $command = $client->getCommand('PutObject', array( - 'Bucket' => 'foobazbar', - 'Key' => 'test', - 'Body' => 'test' - )); - $this->setMockResponse($client, array( - new Response(200) - )); - $result = $command->execute(); - $this->assertEquals('https://foobazbar.s3.amazonaws.com/test', $result['ObjectURL']); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Exception/DeleteMultipleObjectsExceptionTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Exception/DeleteMultipleObjectsExceptionTest.php deleted file mode 100644 index 903e5a5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Exception/DeleteMultipleObjectsExceptionTest.php +++ /dev/null @@ -1,36 +0,0 @@ - 'abc') - )); - - $this->assertEquals(array( - array('Key' => 'abc') - ), $e->getErrors()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Exception/Parser/S3ExceptionParserTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Exception/Parser/S3ExceptionParserTest.php deleted file mode 100644 index 8047587..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Exception/Parser/S3ExceptionParserTest.php +++ /dev/null @@ -1,59 +0,0 @@ -setRequest($request); - - $parser = new S3ExceptionParser(); - $result = $parser->parse($response); - - $this->assertEquals($code, $result['code']); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/AccessControlPolicySample.xml b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/AccessControlPolicySample.xml deleted file mode 100644 index 7fa81f4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/AccessControlPolicySample.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - owner-id - owner-display-name - - - - - user-id - user-display-name - - READ - - - - foo@example.com - - WRITE - - - - http://acs.amazonaws.com/groups/global/AuthenticatedUsers - - FULL_CONTROL - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/IntegrationTest.php deleted file mode 100644 index 985d918..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/IntegrationTest.php +++ /dev/null @@ -1,742 +0,0 @@ -get('s3'); - $bucket = self::getResourcePrefix() . '-s3-test'; - self::log("Creating the {$bucket} bucket"); - $client->createBucket(array('Bucket' => $bucket)); - // Create the bucket - self::log("Waiting for the bucket to exist"); - $client->waitUntil('bucket_exists', array('Bucket' => $bucket)); - sleep(5); - // Create the bucket - self::log("Getting owner id and display name"); - $result = $client->listBuckets(); - self::$ownerId = $result['Owner']['ID']; - self::$displayName = $result['Owner']['DisplayName']; - } - - public static function tearDownAfterClass() - { - unlink(self::LARGE_OBJECT); - $client = self::getServiceBuilder()->get('s3'); - $bucket = self::getResourcePrefix() . '-s3-test'; - self::log("Clearing the contents of the {$bucket} bucket"); - // Delete the bucket - $clear = new ClearBucket($client, $bucket); - $clear->clear(); - self::log("Deleting the {$bucket} bucket"); - $client->deleteBucket(array('Bucket' => $bucket)); - self::log("Waiting for {$bucket} to not exist"); - $client->waitUntil('bucket_not_exists', array('Bucket' => $bucket)); - // Delete the other bucket - $bucket = self::getResourcePrefix() . '_path'; - $clear = new ClearBucket($client, $bucket); - $clear->clear(); - self::log("Deleting the {$bucket} bucket"); - $client->deleteBucket(array('Bucket' => $bucket)); - self::log("Waiting for {$bucket} to not exist"); - $client->waitUntil('bucket_not_exists', array('Bucket' => $bucket)); - } - - public function setUp() - { - $this->bucket = self::getResourcePrefix() . '-s3-test'; - $this->client = $this->getServiceBuilder()->get('s3', true); - $this->acp = AcpBuilder::newInstance() - ->setOwner(self::$ownerId, self::$displayName) - ->addGrantForGroup(Permission::READ, Group::AUTHENTICATED_USERS) - ->addGrantForGroup(Permission::READ_ACP, Group::ALL_USERS) - ->build(); - } - - public function testSignsPathBucketsCorrectly() - { - try { - $client = self::getServiceBuilder()->get('s3'); - $bucket = self::getResourcePrefix() . '_path'; - self::log("Creating the {$bucket} bucket"); - $client->createBucket(array('Bucket' => $bucket)); - // Create the bucket - self::log("Waiting for the bucket to exist"); - $client->waitUntil('bucket_exists', array('Bucket' => $bucket)); - $this->client->putObject(array( - 'Bucket' => $bucket, - 'Key' => self::TEST_KEY, - 'Body' => '123' - )); - $this->client->waitUntil('bucket_exists', array('Bucket' => $bucket)); - $this->client->getBucketLocation(array('Bucket' => $bucket)); - } catch (\Aws\S3\Exception\SignatureDoesNotMatchException $e) { - echo $e->getResponse()->getRequest()->getParams()->get('aws.string_to_sign') . "\n"; - echo $e->getResponse() . "\n"; - throw $e; - } - } - - public function testHeadBucket() - { - $result = $this->client->headBucket(array('Bucket' => $this->bucket)); - $this->assertNotNull($result['RequestId']); - } - - /** - * @depends testHeadBucket - */ - public function testGetService() - { - $result = $this->client->listBuckets(); - $this->assertNotEmpty($result['Owner']); - $this->assertNotEmpty($result['Owner']['ID']); - $this->assertNotEmpty($result['Owner']['DisplayName']); - $this->assertNotEmpty($result['Buckets']); - $found = false; - foreach ($result['Buckets'] as $bucket) { - if ($bucket['Name'] == $this->bucket) { - $found = true; - break; - } - } - $this->assertTrue($found); - } - - /** - * @depends testHeadBucket - * @expectedException \Aws\S3\Exception\NoSuchCORSConfigurationException - */ - public function testGetBucketCors() - { - $this->log(__METHOD__); - $this->client->getBucketCors(array('Bucket' => $this->bucket)); - } - - /** - * @depends testHeadBucket - * @expectedException \Aws\S3\Exception\NoSuchLifecycleConfigurationException - */ - public function testGetBucketLifecycle() - { - $this->log(__METHOD__); - $this->client->getBucketLifecycle(array('Bucket' => $this->bucket)); - } - - /** - * @depends testHeadBucket - */ - public function testGetBucketLocation() - { - $this->log(__METHOD__); - $result = $this->client->getBucketLocation(array('Bucket' => $this->bucket)); - $this->assertSame('', $result['Location']); - } - - /** - * @depends testHeadBucket - */ - public function testPutBucketLocation() - { - $this->log(__METHOD__); - $bucketName = self::getResourcePrefix() . '-s3eutest'; - try { - $this->client->headBucket(array('Bucket' => $bucketName)); - } catch (\Exception $e) { - $this->client->createBucket(array( - 'Bucket' => $bucketName, - 'LocationConstraint' => 'EU' - )); - } - $this->client->waitUntil('bucket_exists', array('Bucket' => $bucketName)); - $result = $this->client->getBucketLocation(array('Bucket' => $bucketName)); - $this->assertEquals('EU', $result['Location']); - $this->client->deleteBucket(array('Bucket' => $bucketName)); - } - - /** - * @depends testHeadBucket - */ - public function testGetBucketLogging() - { - $this->log(__METHOD__); - $result = $this->client->getBucketLogging(array('Bucket' => $this->bucket)); - $this->assertNull($result['LoggingEnabled']); - } - - /** - * @depends testHeadBucket - */ - public function testGetBucketNotification() - { - $this->log(__METHOD__); - $this->client->getBucketNotification(array('Bucket' => $this->bucket)); - } - - /** - * @depends testHeadBucket - * @expectedException \Aws\S3\Exception\NoSuchBucketPolicyException - */ - public function testGetBucketPolicy() - { - $this->log(__METHOD__); - $this->client->getBucketPolicy(array('Bucket' => $this->bucket)); - } - - /** - * @depends testHeadBucket - */ - public function testGetBucketRequestPayment() - { - $this->log(__METHOD__); - $result = $this->client->getBucketRequestPayment(array('Bucket' => $this->bucket)); - $this->assertEquals('BucketOwner', $result['Payer']); - } - - /** - * @depends testHeadBucket - */ - public function testGetBucketVersioning() - { - $this->log(__METHOD__); - $this->client->getBucketVersioning(array('Bucket' => $this->bucket)); - } - - /** - * @depends testHeadBucket - * @expectedException \Aws\S3\Exception\NoSuchWebsiteConfigurationException - */ - public function testGetBucketWebsite() - { - $this->log(__METHOD__); - $this->client->getBucketWebsite(array('Bucket' => $this->bucket)); - } - - /** - * @depends testHeadBucket - */ - public function testPutAndListObjects() - { - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $command = $this->client->getCommand('PutObject', array( - 'Bucket' => $this->bucket, - 'Key' => self::TEST_KEY, - 'ContentMD5' => true, - 'Body' => 'åbc 123', - 'ContentType' => 'application/foo', - 'ACP' => $this->acp, - 'Metadata' => array( - 'test' => '123', - 'abc' => '@pples', - 'foo' => '', - 'null' => null, - 'space' => ' ', - 'zero' => '0', - 'trim' => ' hi ' - ) - )); - - self::log("Uploading an object"); - $result = $command->execute(); - // make sure the expect header wasn't sent - $this->assertNull($command->getRequest()->getHeader('Expect')); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - $this->assertNotEmpty($result['ETag']); - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => self::TEST_KEY)); - - self::log("HEAD the object"); - $result = $this->client->headObject(array( - 'Bucket' => $this->bucket, - 'Key' => self::TEST_KEY - )); - $this->assertEquals('application/foo', $result['ContentType']); - $this->assertEquals('123', $result['Metadata']['test']); - $this->assertEquals('@pples', $result['Metadata']['abc']); - - // Ensure the object was created correctly - self::log("GETting the object"); - $result = $this->client->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => self::TEST_KEY - )); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - $this->assertInstanceOf('Guzzle\Http\EntityBody', $result['Body']); - $this->assertEquals('åbc 123', (string) $result['Body']); - $this->assertEquals('application/foo', $result['ContentType']); - $this->assertEquals('123', $result['Metadata']['test']); - $this->assertEquals('@pples', $result['Metadata']['abc']); - - // Ensure the object was created and we can find it in the iterator - self::log("Checking if the item is in the ListObjects results"); - $iterator = $this->client->getIterator('ListObjects', array( - 'Bucket' => $this->bucket, - 'Prefix' => self::TEST_KEY - )); - $objects = $iterator->toArray(); - $this->assertEquals(1, count($objects)); - $this->assertEquals('foo', $objects[0]['Key']); - } - - /** - * @depends testPutAndListObjects - * @depends testSignsPathBucketsCorrectly - */ - public function testCanSendRawHttpRequests() - { - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $this->assertEquals(200, $this->client->get('/')->send()->getStatusCode()); - $this->assertEquals(200, $this->client->put('/' . $this->bucket . '/hello', array(), 'testing')->send()->getStatusCode()); - $this->client->get('/' . self::getResourcePrefix() . '_path')->send(); - $path = self::getResourcePrefix() . '_path/' . self::TEST_KEY; - $this->client->get("/{$path}")->send(); - } - - /** - * @depends testPutAndListObjects - */ - public function testPutObjectAcl() - { - self::log("Setting a custom object ACL"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $command = $this->client->getCommand('PutObjectAcl', array( - 'Bucket' => $this->bucket, - 'Key' => self::TEST_KEY, - 'ACP' => $this->acp - )); - $result = $command->execute(); - $this->assertContains('Grantee', (string) $command->getRequest()->getBody()); - $this->assertEquals(array('RequestId'), array_keys($result->toArray())); - // Ensure that the RequestId model value is being populated correctly - $this->assertEquals((string) $command->getResponse()->getHeader('x-amz-request-id'), $result['RequestId']); - } - - /** - * @depends testPutAndListObjects - */ - public function testGetObjectAcl() - { - self::log("Getting the object's ACL"); - $model = $this->client->getObjectAcl(array( - 'Bucket' => $this->bucket, - 'Key' => self::TEST_KEY - )); - - $data = array(); - foreach (Acp::fromArray($model->toArray()) as $grant) { - $grantee = $grant->getGrantee(); - $data[$grantee->getGroupUri()] = array($grantee->getType(), $grant->getPermission()); - } - - $this->assertEquals(2, count($data)); - $this->assertArrayHasKey('http://acs.amazonaws.com/groups/global/AllUsers', $data); - $this->assertArrayHasKey('http://acs.amazonaws.com/groups/global/AuthenticatedUsers', $data); - $this->assertEquals(array('Group', 'READ_ACP'), $data['http://acs.amazonaws.com/groups/global/AllUsers']); - $this->assertEquals(array('Group', 'READ'), $data['http://acs.amazonaws.com/groups/global/AuthenticatedUsers']); - } - - /** - * @depends testPutAndListObjects - */ - public function testUploadsObjectsWithKeysMatchingBucketName() - { - self::log("Uploading an object with a name the same as the bucket"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $key = $this->bucket . '-foo'; - $command = $this->client->getCommand('PutObject', array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => 'hi' - )); - $command->execute(); - $this->assertEquals("/{$this->bucket}-foo", $command->getRequest()->getPath()); - $this->assertEquals("{$this->bucket}.s3.amazonaws.com", $command->getRequest()->getHost()); - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => $key)); - } - - /** - * @depends testPutAndListObjects - */ - public function testPutObjectsWithUtf8Keys() - { - self::log("Uploading an object with a UTF-8 key"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $key = 'åbc'; - - try { - $result = $this->client->putObject(array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => 'hi' - )); - $this->assertContains($this->bucket, $result['ObjectURL']); - } catch (\Aws\S3\Exception\SignatureDoesNotMatchException $e) { - echo $e->getResponse()->getRequest()->getParams()->get('aws.string_to_sign') . "\n"; - echo $e->getResponse() . "\n"; - throw $e; - } - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => $key)); - } - - /** - * @depends testPutAndListObjects - */ - public function testPutObjectGuessesContentType() - { - self::log("Uploading an object and guessing Content-Type"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $key = 'file'; - $command = $this->client->getCommand('PutObject', array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => fopen(__FILE__, 'r') - )); - $command->execute(); - $this->assertEquals('text/x-php', (string) $command->getRequest()->getHeader('Content-Type')); - } - - /** - * @depends testPutObjectsWithUtf8Keys - */ - public function testCopiesObjects() - { - self::log("Copying the object"); - $result = $this->client->copyObject(array( - 'Bucket' => $this->bucket, - 'Key' => 'copy-key', - 'CopySource' => $this->bucket . '/' . self::TEST_KEY, - 'MetadataDirective' => 'COPY', - 'ServerSideEncryption' => 'AES256' - )); - $this->assertNotEmpty($result['ETag']); - $this->assertEquals('AES256', $result['ServerSideEncryption']); - $this->assertNotEmpty($result['LastModified']); - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => 'copy-key')); - } - - /** - * @depends testPutObjectsWithUtf8Keys - */ - public function testMultipartUploads() - { - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $this->log('Initiating an upload'); - $result = $this->client->createMultipartUpload(array( - 'Bucket' => $this->bucket, - 'Key' => 'big', - 'Metadata' => array('foo' => 'bar') - )); - $this->assertNotEmpty($result['UploadId']); - $this->assertNotEmpty($result['Key']); - $this->assertNotEmpty($result['Bucket']); - $uploadId = $result['UploadId']; - sleep(1); - - $this->log('Getting uploads'); - $command = $this->client->getCommand('ListMultipartUploads', array( - 'Bucket' => $this->bucket, - 'UploadId' => $uploadId - )); - $result = $command->execute(); - $this->assertEquals($this->bucket, $result['Bucket']); - $this->assertInternalType('array', $result['Uploads']); - $this->assertSame(false, $result['IsTruncated']); - $this->log('Aborting the upload'); - sleep(2); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $command = $this->client->getCommand('AbortMultipartUpload', array( - 'Bucket' => $this->bucket, - 'Key' => 'big', - 'UploadId' => $uploadId - )); - $result = $command->execute(); - $this->assertEquals(array('RequestId'), array_keys($result->toArray())); - } - - /** - * @depends testPutAndListObjects - */ - public function testPutBucketTagging() - { - self::log("Adding tags to a bucket"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $command = $this->client->getCommand('PutBucketTagging', array( - 'Bucket' => $this->bucket, - 'TagSet' => array( - array( - 'Key' => 'Foo', - 'Value' => 'Bar' - ), - array( - 'Key' => 'Baz', - 'Value' => 'Boo' - ) - ) - )); - $command->execute(); - $this->assertNull($command->getRequest()->getHeader('Expect')); - } - - /** - * @depends testPutBucketTagging - */ - public function testGetBucketTagging() - { - $this->log(__METHOD__); - $result = $this->client->getBucketTagging(array('Bucket' => $this->bucket)); - $this->assertNotEmpty($result['TagSet']); - } - - public function testPostObjectProducesCorrectParametersForPost() - { - $key = 'dummy.txt'; - - // Create the PostObject and fetch the data - $post = new PostObject($this->client, $this->bucket); - $post->prepareData(); - $form = $post->getFormAttributes(); - $data = $post->getFormInputs(); - - // Use Guzzle to simulate a browser POST upload to S3 - $http = new Client(array('ssl.certificate_authority' => false)); - /** @var $response \Guzzle\Http\Message\Response */ - $response = $http->post($form['action'], null, $data) - ->addPostFiles(array('file' => __DIR__ . DIRECTORY_SEPARATOR . $key)) - ->send(); - - // Verify that the response is as expected - $this->assertEquals(204, $response->getStatusCode()); - $this->assertEquals("https://{$this->bucket}.s3.amazonaws.com/{$key}", $response->getLocation()); - - // Delete the object - $this->client->deleteObject(array('Bucket' => $this->bucket, 'Key' => $key)); - } - - public function testUsesTieredStorage() - { - self::log("Uploading an object then placing in Glacier"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $key = 'abc'; - $this->client->putObject(array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => 'hi' - )); - self::log("Waiting until the object exists"); - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => $key)); - self::log("Moving the object to glacier by setting a lifecycle policy on the object"); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $command = $this->client->getCommand('PutBucketLifecycle', array( - 'Bucket' => $this->bucket, - 'Rules' => array( - array( - 'ID' => 'foo-rule', - 'Status' => 'Enabled', - 'Prefix' => 'a', - 'Transition' => array( - 'Days' => 0, - 'StorageClass' => 'GLACIER' - ) - ) - ) - )); - - $result = $command->execute(); - $this->assertNotNull($result['RequestId']); - $this->assertContains( - '0GLACIER', - (string) $command->getRequest() - ); - } - - public function testMultipartUpload() - { - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - self::log('Creating a 100MB object in /tmp/large-object.jpg'); - $handle = fopen('/tmp/large-object.jpg', 'w+'); - $part = str_repeat('.', 1000); - for ($i = 0; $i < (1024 * 1024 * 5) / 1000; $i++) { - fwrite($handle, $part); - } - fclose($handle); - - $history = new HistoryPlugin(); - $this->client->addSubscriber($history); - - self::log('Initiating transfer'); - $transfer = UploadBuilder::newInstance() - ->setBucket($this->bucket) - ->setKey('large_key') - ->setSource(self::LARGE_OBJECT) - ->calculateMd5(true) - ->calculatePartMd5(true) - ->setOption('ACL', 'public-read') - ->setClient($this->client) - ->build(); - - $this->assertEquals(1, $history->count()); - $this->assertTrue($history->getLastRequest()->getQuery()->hasKey('uploads')); - $this->assertEquals('image/jpeg', (string) $history->getLastRequest()->getHeader('Content-Type')); - $history->clear(); - - self::log('Uploading parts'); - $transfer->upload(); - $this->assertEquals(3, $history->count()); - $requests = $history->getIterator()->getArrayCopy(); - $this->assertEquals('PUT', $requests[0]->getMethod()); - $this->assertEquals('PUT', $requests[1]->getMethod()); - $this->assertEquals('POST', $requests[2]->getMethod()); - } - - public function prefixKeyProvider() - { - return array( - array('foo /baz/bar!', 'foo /baz/bar!', '/foo%20/baz/bar%21'), - array('/foo', 'foo', '/foo') - ); - } - - /** - * @depends testPutAndListObjects - * @dataProvider prefixKeyProvider - */ - public function testWorksWithPrefixKeys($key, $cleaned, $encoded) - { - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $command = $this->client->getCommand('PutObject', array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'SourceFile' => __FILE__ - )); - $command->execute(); - // Ensure the path is correct - $this->assertEquals($encoded, $command->getRequest()->getPath()); - // Ensure the key is not an array and is returned to it's previous value - $this->assertEquals($key, $command['Key']); - - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => $key)); - $result = $this->client->getObject(array('Bucket' => $this->bucket, 'Key' => $key)); - $this->assertEquals(file_get_contents(__FILE__), (string) $result['Body']); - - // Test using path style hosting - $command = $this->client->getCommand('DeleteObject', array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'PathStyle' => true - )); - $command->execute(); - $this->assertEquals('/' . $this->bucket . $encoded, $command->getRequest()->getPath()); - } - - /** - * @depends testPutAndListObjects - */ - public function testPreSignedUrlAllowsLiterals() - { - self::log('Uploading an object with a space in the key and literals'); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $key = 'foo baz%20bar!'; - $this->client->putObject(array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => 'hi' - )); - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => $key)); - self::log('Creating an downloading using a pre-signed URL'); - $extra = urlencode("attachment; filename=\"{$key}\""); - $encodedKey = rawurlencode($key); - $request = $this->client->get("{$this->bucket}/{$encodedKey}?response-content-disposition={$extra}"); - $url = $this->client->createPresignedUrl($request, '+10 minutes'); - self::log($url); - $client = new Client(); - $this->assertEquals('hi', file_get_contents($url)); - $this->assertEquals('hi', $client->get($url)->send()->getBody(true)); - } - - /** - * @depends testPutAndListObjects - */ - public function testPreSignedUrlAllowsSpecialCharacters() - { - self::log('Uploading an object with a space in the key'); - $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket)); - $key = 'foo baz bar!'; - $this->client->putObject(array( - 'Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => 'hi' - )); - $this->client->waitUntil('object_exists', array('Bucket' => $this->bucket, 'Key' => $key)); - - self::log('Creating an downloading using a pre-signed URL with command'); - $command = $this->client->getCommand('GetObject', array( - 'Bucket' => $this->bucket, - 'Key' => $key - )); - $url = $command->createPresignedUrl('+100 minutes'); - self::log($url); - $this->assertEquals('hi', file_get_contents($url)); - - self::log('Creating an downloading using a pre-signed URL'); - $extra = urlencode("attachment; filename=\"{$key}\""); - $request = $this->client->get("{$this->bucket}/{$key}?response-content-disposition={$extra}"); - $url = $this->client->createPresignedUrl($request, '+10 minutes'); - self::log($url); - $client = new Client(); - $this->assertEquals('hi', file_get_contents($url)); - $this->assertEquals('hi', $client->get($url)->send()->getBody(true)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/IteratorsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/IteratorsTest.php deleted file mode 100644 index e0f5753..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/IteratorsTest.php +++ /dev/null @@ -1,192 +0,0 @@ -getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array('s3/list_buckets')); - - // Create an iterator that will exercise the most code paths - $iterator = $client->getIterator('ListBuckets', null, array('names_only' => true)); - - // Verify that we got back everything back - $expectedObjects = array('bucket-1', 'bucket-2'); - $this->assertSame($expectedObjects, $iterator->toArray()); - - // Verify that the number of requests are as expected - $requests = $mock->getReceivedRequests(); - $this->assertEquals(1, count($requests)); - $this->assertEquals(1, $iterator->getRequestCount()); - } - - public function testIteratesListObjectsCommand() - { - /** @var $client \Guzzle\Service\ClientInterface */ - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/list_objects_page_1', - 's3/list_objects_page_2', - 's3/list_objects_page_3', - 's3/list_objects_page_4', - 's3/list_objects_page_5' - )); - - // Create an iterator that will exercise the most code paths - $iterator = $client->getIterator('ListObjects', array( - 'Bucket' => 'foo', - 'MaxKeys' => 5, - 'Delimiter' => '/' - ), array( - 'page_size' => 2, - 'return_prefixes' => true, - 'names_only' => true, - 'sort_results' => true - )); - - // Verify that we got back everything back - $expectedObjects = array('a/', 'b/', 'c', 'd/', 'e', 'f', 'g/'); - $this->assertSame($expectedObjects, $iterator->toArray()); - - // Verify that 5 HTTP requests were made - $requests = $mock->getReceivedRequests(); - $this->assertEquals(5, count($requests)); - - // Verify that only 4 iterations (not 5) were made - $this->assertEquals(4, $iterator->getRequestCount()); - } - - public function testIteratesGetBucketObjectVersionsCommand() - { - /** @var $client \Guzzle\Service\ClientInterface */ - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/get_bucket_object_versions_page_1', - 's3/get_bucket_object_versions_page_2' - )); - - // Create an iterator that will exercise the most code paths - $iterator = $client->getIterator('ListObjectVersions', array( - 'Bucket' => 'bucket-1', - 'Delimiter' => '/' - ), array( - 'return_prefixes' => true - )); - - // Verify that we got back everything back - $actualKeys = array(); - $expectedKeys = array( - 'key-1|version-id-1', - 'key-2|version-id-1', - 'key-1|version-id-2', - 'key-2|version-id-2', - 'prefix-1/', - 'prefix-2/' - ); - foreach ($iterator as $item) { - if (isset($item['Key'])) { - $actualKeys[] = "$item[Key]|$item[VersionId]"; - } else { - $actualKeys[] = $item['Prefix']; - } - } - $this->assertSame($expectedKeys, $actualKeys); - - // Verify that the number of requests are as expected - $requests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($requests)); - $this->assertEquals(1, $iterator->getRequestCount()); - } - - public function testIteratesListPartsCommand() - { - /** @var $client \Guzzle\Service\ClientInterface */ - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/list_parts_page_1', - 's3/list_parts_page_2' - )); - - // Create an iterator that will exercise the most code paths - $iterator = $client->getIterator('ListParts', array( - 'Bucket' => 'bucket-1', - 'Key' => 'object-1', - 'UploadId' => 'upload-id-1', - )); - - // Verify that we got back everything back - $actualParts = array(); - $expectedParts = array(1, 2); - foreach ($iterator as $part) { - $actualParts[] = (int) $part['PartNumber']; - } - $this->assertSame($expectedParts, $actualParts); - - // Verify that the number of requests are as expected - $requests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($requests)); - $this->assertEquals(1, $iterator->getRequestCount()); - } - - public function testIteratesListMultipartUploadsCommand() - { - /** @var $client \Guzzle\Service\ClientInterface */ - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/list_multipart_uploads_page_1', - 's3/list_multipart_uploads_page_2' - )); - - // Create an iterator that will exercise the most code paths - $iterator = $client->getIterator('ListMultipartUploads', array( - 'Bucket' => 'bucket-1', - 'Delimiter' => '/' - ), array( - 'return_prefixes' => true - )); - - // Verify that we got back everything back - $actualUploads = array(); - $expectedUploads = array( - 'object-1|upload-id-1', - 'object-1|upload-id-2', - 'object-2|upload-id-1', - 'object-2|upload-id-2', - 'prefix-1/', - 'prefix-2/' - ); - foreach ($iterator as $upload) { - if (isset($upload['Key'])) { - $actualUploads[] = "$upload[Key]|$upload[UploadId]"; - } else { - $actualUploads[] = $upload['Prefix']; - } - } - $this->assertSame($expectedUploads, $actualUploads); - - // Verify that the number of requests are as expected - $requests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($requests)); - $this->assertEquals(1, $iterator->getRequestCount()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/dummy.txt b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/dummy.txt deleted file mode 100644 index 88f8ce5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Integration/dummy.txt +++ /dev/null @@ -1 +0,0 @@ -THIS IS A FILE THAT MY INTEGRATION TEST UPLOADED TO S3 VIA POST. diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListBucketsIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListBucketsIteratorTest.php deleted file mode 100644 index 77fb52b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListBucketsIteratorTest.php +++ /dev/null @@ -1,47 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new ListBucketsIterator($command, array('names_only' => true)); - $model = new Model(array( - 'Buckets' => array( - array('Name' => 'Foo'), - array('Name' => 'Bar'), - array('Name' => 'Baz'), - ) - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - $this->assertCount(3, $items); - $this->assertEquals(array('Foo', 'Bar', 'Baz'), $items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListMultipartUploadsIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListMultipartUploadsIteratorTest.php deleted file mode 100644 index 9b3a021..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListMultipartUploadsIteratorTest.php +++ /dev/null @@ -1,46 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new ListMultipartUploadsIterator($command, array( - 'return_prefixes' => true - )); - $model = new Model(array( - 'Uploads' => array(1, 2), - 'CommonPrefixes' => array(3, 4) - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - $this->assertCount(4, $items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListObjectVersionsIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListObjectVersionsIteratorTest.php deleted file mode 100644 index e46c678..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListObjectVersionsIteratorTest.php +++ /dev/null @@ -1,47 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new ListObjectVersionsIterator($command, array( - 'return_prefixes' => true - )); - $model = new Model(array( - 'Versions' => array(1, 2), - 'DeleteMarkers' => array(3, 4), - 'CommonPrefixes' => array(5, 6) - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - $this->assertCount(6, $items); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListObjectsIteratorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListObjectsIteratorTest.php deleted file mode 100644 index d198fc7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Iterator/ListObjectsIteratorTest.php +++ /dev/null @@ -1,60 +0,0 @@ -getMock('Guzzle\Service\Command\CommandInterface'); - $iterator = new ListObjectsIterator($command, array( - 'names_only' => true, - 'return_prefixes' => true, - 'sort_results' => true, - 'token_key' => 'NextMarker' - )); - $model = new Model(array( - 'Contents' => array( - array('Key' => 'Foo'), - array('Key' => 'Bar'), - array('Key' => 'Baz'), - ), - 'CommonPrefixes' => array( - array('Prefix' => 'Fizz'), - array('Prefix' => 'Buzz'), - ) - )); - - $class = new \ReflectionObject($iterator); - $method = $class->getMethod('handleResults'); - $method->setAccessible(true); - $items = $method->invoke($iterator, $model); - - // We should get the names of all objects and prefixes in a sorted array - $this->assertSame(array('Bar', 'Baz', 'Buzz', 'Fizz', 'Foo'), $items); - - // The last key should be set as the NextMarker in the result - $this->assertEquals('Baz', $model->get('NextMarker')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/AcpBuilderTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/AcpBuilderTest.php deleted file mode 100644 index 03a5c3c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/AcpBuilderTest.php +++ /dev/null @@ -1,79 +0,0 @@ -assertSame($builder, $builder->setOwner('1234567890')); - $this->assertInstanceOf( - 'Aws\S3\Model\Grantee', - $this->readAttribute($builder, 'owner') - ); - } - - public function testCanAddUserGrant() - { - $builder = AcpBuilder::newInstance(); - $after = $builder->addGrantForUser(Permission::READ, '12345'); - $this->assertSame($builder, $after); - - $grants = $this->readAttribute($builder, 'grants'); - $this->assertInstanceOf('Aws\S3\Model\Grant', $grants[0]); - $this->assertTrue($grants[0]->getGrantee()->isCanonicalUser()); - } - - public function testCanAddEmailGrant() - { - $builder = AcpBuilder::newInstance(); - $after = $builder->addGrantForEmail(Permission::READ, 'foo@example.com'); - $this->assertSame($builder, $after); - - $grants = $this->readAttribute($builder, 'grants'); - $this->assertInstanceOf('Aws\S3\Model\Grant', $grants[0]); - $this->assertTrue($grants[0]->getGrantee()->isAmazonCustomerByEmail()); - } - - public function testCanAddGroupGrant() - { - $builder = AcpBuilder::newInstance(); - $after = $builder->addGrantForGroup(Permission::READ, Group::ALL_USERS); - $this->assertSame($builder, $after); - - $grants = $this->readAttribute($builder, 'grants'); - $this->assertInstanceOf('Aws\S3\Model\Grant', $grants[0]); - $this->assertTrue($grants[0]->getGrantee()->isGroup()); - } - - public function testCanBuildAnAcp() - { - $acl = AcpBuilder::newInstance()->setOwner('1234567890') - ->addGrantForEmail(Permission::READ, 'foo@example.com') - ->build(); - - $this->assertInstanceOf('Aws\S3\Model\Acp', $acl); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/AcpTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/AcpTest.php deleted file mode 100644 index e04fe08..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/AcpTest.php +++ /dev/null @@ -1,286 +0,0 @@ -getMockBuilder('Aws\S3\Model\Grantee') - ->disableOriginalConstructor() - ->getMock(); - $owner->expects($this->any()) - ->method('isCanonicalUser') - ->will($this->returnValue(true)); - - return $owner; - } - - protected function getMockedGrants($count) - { - $grant = $this->getMockBuilder('Aws\S3\Model\Grant') - ->disableOriginalConstructor() - ->getMock(); - $grant->expects($this->any()) - ->method('toArray') - ->will($this->returnValue(array())); - - $grants = array(); - for ($i = 0; $i < $count; $i++) { - $grants[] = clone $grant; - } - - return $grants; - } - - public function testCanConstructAcpAndGetValues() - { - $owner = $this->getMockedOwner(); - $grants = $this->getMockedGrants(3); - - $acp = new Acp($owner, $grants); - $this->assertSame($owner, $acp->getOwner()); - $this->assertInstanceOf('SplObjectStorage', $acp->getGrants()); - $this->assertInstanceOf('SplObjectStorage', $acp->getIterator()); - $this->assertEquals(3, count($acp)); - } - - public function testCanSetGrantsWithTraversable() - { - $owner = $this->getMockedOwner(); - $grants = new \ArrayObject(); - - for ($i = 0; $i < 3; $i++) { - $grants->append($this->getMockBuilder('Aws\S3\Model\Grant') - ->disableOriginalConstructor() - ->getMock() - ); - } - - $acp = new Acp($owner); - $acp->setGrants($grants); - - $this->assertEquals(3, count($acp)); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionWhenProvidedGrantsAreInvalid() - { - $owner = $this->getMockedOwner(); - $grants = 'foo'; - $acp = new Acp($owner, $grants); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionOwnerIsNotUserGrantee() - { - $owner = $this->getMockBuilder('Aws\S3\Model\Grantee') - ->disableOriginalConstructor() - ->getMock(); - - $acp = new Acp($owner); - } - - /** - * @expectedException \OverflowException - */ - public function testThrowsExceptionIfMoreThan100Grants() - { - $owner = $this->getMockedOwner(); - $grants = $this->getMockedGrants(100); - $acp = new Acp($owner, $grants); - $this->assertInstanceOf('Aws\S3\Model\Acp', $acp); - - $grants = array_merge($grants, $this->getMockedGrants(1)); - $acp = new Acp($owner, $grants); - } - - public function testAcpIsTraversable() - { - $owner = $this->getMockedOwner(); - $grants = $this->getMockedGrants(3); - - $acp = new Acp($owner, $grants); - $array = iterator_to_array($acp); - - $this->assertEquals(3, count($array)); - } - - public function testConvertsToAndFromArray() - { - $acp = new Acp(new Grantee('foo'), array( - new Grant(new Grantee('baz'), Permission::READ), - new Grant(new Grantee('bar'), Permission::READ), - new Grant(new Grantee('baz'), Permission::WRITE), - new Grant(new Grantee('baz'), Permission::READ_ACP) - )); - - $data = array( - 'Owner' => array( - 'ID' => 'foo', - 'DisplayName' => 'foo' - ), - 'Grants' => array( - array ( - 'Grantee' => array( - 'Type' => 'CanonicalUser', - 'ID' => 'baz', - 'DisplayName' => 'baz' - ), - 'Permission' => 'READ' - ), - array( - 'Grantee' => array( - 'Type' => 'CanonicalUser', - 'ID' => 'bar', - 'DisplayName' => 'bar' - ), - 'Permission' => 'READ' - ), - array( - 'Grantee' => array( - 'Type' => 'CanonicalUser', - 'ID' => 'baz', - 'DisplayName' => 'baz' - ), - 'Permission' => 'WRITE' - ), - array( - 'Grantee' => array( - 'Type' => 'CanonicalUser', - 'ID' => 'baz', - 'DisplayName' => 'baz' - ), - 'Permission' => 'READ_ACP' - ) - ) - ); - - $this->assertEquals($data, $acp->toArray()); - $acp2 = Acp::fromArray($data); - $this->assertEquals($data, $acp2->toArray()); - } - - public function testAssumesGrantTypesFromContext() - { - $data = array( - 'Owner' => array( - 'ID' => 'foo', - 'DisplayName' => 'foo' - ), - 'Grants' => array( - array( - 'Grantee' => array( - 'ID' => 'baz', - 'DisplayName' => 'baz' - ), - 'Permission' => 'READ' - ), - array( - 'Grantee' => array( - 'URI' => Group::AUTHENTICATED_USERS - ), - 'Permission' => 'READ' - ), - array( - 'Grantee' => array( - 'EmailAddress' => 'foo@bar.com', - ), - 'Permission' => 'WRITE' - ) - ) - ); - - $acp = Acp::fromArray($data); - $this->assertEquals(array( - 'Owner' => array( - 'ID' => 'foo', - 'DisplayName' => 'foo', - ), - 'Grants' => array( - array( - 'Grantee' => array( - 'Type' => 'CanonicalUser', - 'ID' => 'baz', - 'DisplayName' => 'baz', - ), - 'Permission' => 'READ', - ), - array( - 'Grantee' => array( - 'Type' => 'Group', - 'URI' => 'http://acs.amazonaws.com/groups/global/AuthenticatedUsers', - ), - 'Permission' => 'READ', - ), - array( - 'Grantee' => array( - 'Type' => 'AmazonCustomerByEmail', - 'EmailAddress' => 'foo@bar.com', - ), - 'Permission' => 'WRITE', - ), - ), - ), $acp->toArray()); - } - - public function testCanUpdateCommandHeaders() - { - // Build up mock grants via cloning - $grant = $this->getMockBuilder('Aws\S3\Model\Grant') - ->disableOriginalConstructor() - ->getMock(); - $g1 = clone $grant; - $g1->expects($this->any()) - ->method('getParameterArray') - ->will($this->returnValue(array( - 'GrantRead' => 'id="user-id-1"' - ))); - $g2 = clone $grant; - $g2->expects($this->any()) - ->method('getParameterArray') - ->will($this->returnValue(array( - 'GrantRead' => 'id="user-id-2"' - ))); - $g3 = clone $grant; - $g3->expects($this->any()) - ->method('getParameterArray') - ->will($this->returnValue(array( - 'GrantWrite' => 'id="user-id-3"' - ))); - - $s3 = $this->getServiceBuilder()->get('s3'); - $acp = new Acp($this->getMockedOwner(), array($g1, $g2, $g3)); - $cmd = $s3->getCommand('PutObject'); - $acp->updateCommand($cmd); - $this->assertEquals('id="user-id-1", id="user-id-2"', $cmd->get('GrantRead')); - $this->assertEquals('id="user-id-3"', $cmd->get('GrantWrite')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/ClearBucketTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/ClearBucketTest.php deleted file mode 100644 index 23d43eb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/ClearBucketTest.php +++ /dev/null @@ -1,101 +0,0 @@ -getServiceBuilder()->get('s3'), 'foo'); - $this->assertSame($this->getServiceBuilder()->get('s3'), $this->readAttribute($clear, 'client')); - - // Ensure that the bucket can be changed - $this->assertEquals('foo', $this->readAttribute($clear, 'bucket')); - $clear->setBucket('bar'); - $this->assertEquals('bar', $this->readAttribute($clear, 'bucket')); - - // Ensure that an MFA token can be set - $clear->setMfa('test'); - $this->assertEquals('test', $this->readAttribute($clear, 'mfa')); - - // Ensure that the iterator can set explicitly - $iterator = $this->getMockForAbstractClass('Aws\Common\Iterator\AwsResourceIterator', array(), '', false); - $clear->setIterator($iterator); - $this->assertSame($iterator, $clear->getIterator()); - } - - public function testCreatesDefaultIterator() - { - $clear = new ClearBucket($this->getServiceBuilder()->get('s3'), 'foo'); - $this->assertInstanceOf('Aws\Common\Iterator\AwsResourceIterator', $clear->getIterator()); - } - - public function testHasEvents() - { - $this->assertInternalType('array', ClearBucket::getAllEvents()); - } - - public function testClearsBucketUsingDefaultIterator() - { - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/get_bucket_object_versions_page_2', - 's3/delete_multiple_objects' - )); - - $clear = new ClearBucket($client, 'foo'); - $this->assertEquals(4, $clear->clear()); - - $requests = $mock->getReceivedRequests(); - foreach ($requests as $request) { - $this->assertEquals('foo.s3.amazonaws.com', $request->getHost()); - } - $this->assertEquals(2, count($requests)); - $this->assertTrue($requests[0]->getQuery()->hasKey('versions')); - $this->assertTrue($requests[1]->getQuery()->hasKey('delete')); - } - - public function testClearsBucketAndBuffersExceptions() - { - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/get_bucket_object_versions_page_2', - 's3/delete_multiple_objects_errors' - )); - - $clear = new ClearBucket($client, 'foo'); - - try { - $clear->clear(); - $this->fail('Did not throw expected exception'); - } catch (ExceptionCollection $e) { - $requests = $mock->getReceivedRequests(); - $this->assertEquals(2, count($requests)); - $this->assertEquals(1, count($e)); - foreach ($e->getIterator() as $ee) { - $this->assertEquals(1, count($ee->getErrors())); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/DeleteObjectsBatchTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/DeleteObjectsBatchTest.php deleted file mode 100644 index 5f023a9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/DeleteObjectsBatchTest.php +++ /dev/null @@ -1,81 +0,0 @@ -getServiceBuilder()->get('s3'), 'foo'); - $this->assertInstanceOf('Aws\S3\Model\DeleteObjectsBatch', $batch); - } - - public function testAddsKeys() - { - $batch = DeleteObjectsBatch::factory($this->getServiceBuilder()->get('s3'), 'foo'); - $batch->addKey('foo', 'bar'); - $decorated = $this->readAttribute($batch, 'decoratedBatch'); - $queue = $this->readAttribute($decorated, 'queue'); - $this->assertEquals(1, count($queue)); - $this->assertEquals(array( - 'Key' => 'foo', - 'VersionId' => 'bar' - ), $queue->pop()); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testValidatesInput() - { - $batch = DeleteObjectsBatch::factory($this->getServiceBuilder()->get('s3'), 'foo'); - $batch->add('foo'); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testValidatesCommandName() - { - $client = $this->getServiceBuilder()->get('s3'); - $batch = DeleteObjectsBatch::factory($client, 'foo'); - $batch->add($client->getCommand('CreateBucket')); - } - - public function testConvertsDeleteObjectCommandsToArrays() - { - $client = $this->getServiceBuilder()->get('s3'); - $batch = DeleteObjectsBatch::factory($client, 'foo'); - $batch->add($client->getCommand('DeleteObject', array( - 'Bucket' => 'bucket', - 'Key' => 'foo', - 'VersionId' => 'bar' - ))); - - $decorated = $this->readAttribute($batch, 'decoratedBatch'); - $queue = $this->readAttribute($decorated, 'queue'); - $this->assertEquals(array( - 'Key' => 'foo', - 'VersionId' => 'bar' - ), $queue->pop()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/DeleteObjectsTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/DeleteObjectsTransferTest.php deleted file mode 100644 index 3a632ad..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/DeleteObjectsTransferTest.php +++ /dev/null @@ -1,90 +0,0 @@ -getBatch(); - $transfer->transfer(array('foo')); - } - - public function testIgnoresEmptyBatches() - { - list($client, $transfer) = $this->getBatch(); - $transfer->transfer(array()); - } - - public function testThrowsExceptionWhenKeysHaveErrors() - { - list($client, $transfer) = $this->getBatch(); - $mock = $this->setMockResponse($client, array('s3/delete_multiple_objects_errors')); - - try { - $transfer->transfer(array(array('Key' => 'foo'))); - $this->fail('Did not throw expected exception'); - } catch (DeleteMultipleObjectsException $e) { - $errors = $e->getErrors(); - $this->assertEquals(1, count($errors)); - $this->assertEquals('sample2.txt', $errors[0]['Key']); - $this->assertEquals('AccessDenied', $errors[0]['Code']); - $this->assertEquals('Access Denied', $errors[0]['Message']); - } - } - - public function testDeletesUsingCommands() - { - list($client, $transfer) = $this->getBatch(); - $transfer->setMfa('foo'); - $mock = $this->setMockResponse($client, array('s3/delete_multiple_objects')); - $transfer->transfer(array(array('Key' => 'foo'))); - $requests = $mock->getReceivedRequests(); - $this->assertEquals(1, count($requests)); - $this->assertContains('foo', (string) $requests[0]->getBody()); - $this->assertEquals('foo', (string) $requests[0]->getHeader('x-amz-mfa')); - } - - /** - * @expectedException \Aws\Common\Exception\OverflowException - */ - public function testEnsuresBatchSizeIsLessThan1000() - { - list($client, $transfer) = $this->getBatch(); - $transfer->transfer(range(0, 1001)); - } - - /** - * @return array - */ - protected function getBatch() - { - $client = $this->getServiceBuilder()->get('s3'); - $transfer = new DeleteObjectsTransfer($client, 'foo'); - - return array($client, $transfer); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/GrantTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/GrantTest.php deleted file mode 100644 index 06fce3d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/GrantTest.php +++ /dev/null @@ -1,73 +0,0 @@ -getMockBuilder('Aws\S3\Model\Grantee')->disableOriginalConstructor()->getMock(); - $grant = new Grant($grantee, Permission::WRITE); - $this->assertSame($grantee, $grant->getGrantee()); - $this->assertSame(Permission::WRITE, $grant->getPermission()); - - $anotherGrantee = $this->getMockBuilder('Aws\S3\Model\Grantee')->disableOriginalConstructor()->getMock(); - $this->assertSame($grant, $grant->setGrantee($anotherGrantee)); - $this->assertSame($grant, $grant->setPermission(Permission::READ)); - - $this->assertSame($anotherGrantee, $grant->getGrantee()); - $this->assertSame(Permission::READ, $grant->getPermission()); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testPermissionSetterFailsOnInvalidValue() - { - $grantee = $this->getMockBuilder('Aws\S3\Model\Grantee')->disableOriginalConstructor()->getMock(); - $grant = new Grant($grantee, 'foo'); - } - - public function testKnowsCommandParameters() - { - $grantee = new Grantee('foo@example.com'); - $grant = new Grant($grantee, Permission::WRITE); - $this->assertEquals(array ( - 'GrantWrite' => 'emailAddress="foo@example.com"', - ), $grant->getParameterArray()); - } - - public function testCanConvertToArray() - { - $grantee = new Grantee('foo@example.com'); - $grant = new Grant($grantee, Permission::WRITE); - $this->assertEquals(array( - 'Grantee' => array( - 'Type' => 'AmazonCustomerByEmail', - 'EmailAddress' => 'foo@example.com' - ), - 'Permission' => 'WRITE' - ), $grant->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/GranteeTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/GranteeTest.php deleted file mode 100644 index bbfaa04..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/GranteeTest.php +++ /dev/null @@ -1,137 +0,0 @@ -assertEquals('1234567890', $grantee->getId()); - $this->assertEquals('foo', $grantee->getDisplayName()); - $this->assertTrue($grantee->isCanonicalUser()); - $this->assertFalse($grantee->isAmazonCustomerByEmail()); - $this->assertFalse($grantee->isGroup()); - $this->assertEquals(GranteeType::USER, $grantee->getType()); - } - - public function testCanCreateEmailAddressGrantee() - { - $grantee = new Grantee('foo@example.com'); - - $this->assertEquals('foo@example.com', $grantee->getId()); - $this->assertEquals('foo@example.com', $grantee->getEmailAddress()); - $this->assertNull($grantee->getDisplayName()); - $this->assertFalse($grantee->isCanonicalUser()); - $this->assertTrue($grantee->isAmazonCustomerByEmail()); - $this->assertFalse($grantee->isGroup()); - $this->assertEquals(GranteeType::EMAIL, $grantee->getType()); - } - - public function testCanCreateGroupGrantee() - { - $grantee = new Grantee(Group::ALL_USERS); - - $this->assertEquals(Group::ALL_USERS, $grantee->getId()); - $this->assertEquals(Group::ALL_USERS, $grantee->getGroupUri()); - $this->assertNull($grantee->getDisplayName()); - $this->assertFalse($grantee->isCanonicalUser()); - $this->assertFalse($grantee->isAmazonCustomerByEmail()); - $this->assertTrue($grantee->isGroup()); - $this->assertEquals(GranteeType::GROUP, $grantee->getType()); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionWhenGranteeIdNotValid() - { - $grantee = new Grantee(100); - } - - /** - * @expectedException \UnexpectedValueException - */ - public function testThrowsExceptionWhenTypeDoesntMatch() - { - $grantee = new Grantee('foo@example.com', null, GranteeType::GROUP); - } - - /** - * @expectedException \LogicException - */ - public function testThrowsExceptionWhenSettingDisplayNameForWrongTypes() - { - $grantee = new Grantee('foo@example.com'); - $grantee->setDisplayName('FooBar'); - } - - public function testDisplayNameSetToIdWhenNotSpecified() - { - $grantee = new Grantee('1234567890'); - $this->assertEquals('1234567890', $grantee->getId()); - $this->assertEquals('1234567890', $grantee->getDisplayName()); - } - - public function getDataForHeaderValueTest() - { - return array( - array('user-id', 'id="user-id"'), - array('foo@example.com', 'emailAddress="foo@example.com"'), - array(GROUP::ALL_USERS, 'uri="' . GROUP::ALL_USERS . '"'), - ); - } - - /** - * @dataProvider getDataForHeaderValueTest - */ - public function testGetHeaderValueProducesExpectedResult($id, $value) - { - $grant = new Grantee($id); - $this->assertSame($value, $grant->getHeaderValue()); - } - - public function testCanConvertToArray() - { - $grantee = new Grantee('foo@example.com'); - $this->assertEquals(array( - 'Type' => 'AmazonCustomerByEmail', - 'EmailAddress' => 'foo@example.com', - ), $grantee->toArray()); - - $grantee = new Grantee('12345'); - $this->assertEquals(array( - 'Type' => 'CanonicalUser', - 'ID' => '12345', - 'DisplayName' => '12345', - ), $grantee->toArray()); - - $grantee = new Grantee(Group::ALL_USERS); - $this->assertEquals(array( - 'Type' => 'Group', - 'URI' => 'http://acs.amazonaws.com/groups/global/AllUsers', - ), $grantee->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/AbstractTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/AbstractTransferTest.php deleted file mode 100644 index 081a78d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/AbstractTransferTest.php +++ /dev/null @@ -1,167 +0,0 @@ -getMockBuilder('Aws\S3\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'UploadId' => 'baz' - ) - )); - - $body = $this->getMockBuilder('Guzzle\Http\EntityBody') - ->disableOriginalConstructor() - ->setMethods(array('getContentLength')) - ->getMock(); - $body->expects($this->any()) - ->method('getContentLength') - ->will($this->returnValue($contentLength)); - - if ($useRealClient) { - $client = $this->getServiceBuilder()->get('s3', true); - } else { - $client = $this->getMockBuilder('Aws\S3\S3Client') - ->disableOriginalConstructor() - ->getMock(); - } - - $state = $this->getMockBuilder('Aws\S3\Model\MultipartUpload\TransferState') - ->disableOriginalConstructor() - ->getMock(); - $state->expects($this->any()) - ->method('getUploadId') - ->will($this->returnValue($uploadId)); - $state->expects($this->any()) - ->method('getIterator') - ->will($this->returnValue(new \ArrayIterator(array( - UploadPart::fromArray(array( - 'PartNumber' => 1, - 'ETag' => 'aaa', - 'LastModified' => gmdate(DateFormat::RFC2822), - 'Size' => 5 - )), - UploadPart::fromArray(array( - 'PartNumber' => 2, - 'ETag' => 'bbb', - 'LastModified' => gmdate(DateFormat::RFC2822), - 'Size' => 5 - )) - )))); - - $this->client = $client; - $this->transfer = $this->getMockForAbstractClass('Aws\S3\Model\MultipartUpload\AbstractTransfer', array( - $client, $state, $body, array('min_part_size' => $partLength) - )); - } - - protected function callProtectedMethod($object, $method, array $args = array()) - { - $reflectedObject = new \ReflectionObject($object); - $reflectedMethod = $reflectedObject->getMethod($method); - $reflectedMethod->setAccessible(true); - - return $reflectedMethod->invokeArgs($object, $args); - } - - public function partSizeDataProvider() - { - return array( - array(8242880, null, 5242880), - array(8242880, 7242880, 7242880), - array(false, 7242880, 7242880), - array(false, 200, 5242880), - array(false, 72428800000, 5368709120), - array(false, null, null, 'Aws\Common\Exception\RuntimeException') - ); - } - - /** - * @dataProvider partSizeDataProvider - */ - public function testCalculatesPartSize($length, $partLength, $size, $throwException = null) - { - try { - $this->prepareTransfer(false, $length, $partLength); - $this->assertEquals($size, $this->readAttribute($this->transfer, 'partSize')); - } catch (\Exception $e) { - if (!$throwException) { - throw $e; - } else { - $this->assertInstanceOf($throwException, $e); - } - } - } - - public function testCanCompleteMultipartUpload() - { - $this->prepareTransfer(); - - $model = $this->getMockBuilder('Guzzle\Service\Resource\Model') - ->disableOriginalConstructor() - ->getMock(); - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->disableOriginalConstructor() - ->getMock(); - $command->expects($this->any()) - ->method('getResult') - ->will($this->returnValue($model)); - $this->client->expects($this->any()) - ->method('getCommand') - ->will($this->returnValue($command)); - - $this->assertInstanceOf( - 'Guzzle\Service\Resource\Model', - $this->callProtectedMethod($this->transfer, 'complete') - ); - } - - public function testCanGetAbortCommand() - { - $this->prepareTransfer(true); - - $abortCommand = $this->callProtectedMethod($this->transfer, 'getAbortCommand'); - $this->assertInstanceOf('Guzzle\Service\Command\OperationCommand', $abortCommand); - $this->assertEquals('foo', $abortCommand->get('Bucket')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/ParallelTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/ParallelTransferTest.php deleted file mode 100644 index 0a585cf..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/ParallelTransferTest.php +++ /dev/null @@ -1,120 +0,0 @@ -getMockBuilder('Aws\S3\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'UploadId' => 'baz' - ) - )); - - return $uploadId; - } - - protected function prepComponents() - { - $uploadId = $this->getMockUploadId(); - $body = EntityBody::factory(fopen(__FILE__, 'r')); - - $client = $this->getServiceBuilder()->get('s3', true); - $state = new TransferState($uploadId); - $transfer = new ParallelTransfer($client, $state, $body, array('concurrency' => 2)); - - $refClass = new \ReflectionClass($transfer); - $property = $refClass->getProperty('partSize'); - $property->setAccessible(true); - $property->setValue($transfer, 1024); - - return array($transfer, $client, $state); - } - - public function testSuccessfulTransfer() - { - list($transfer, $client) = $this->prepComponents(); - - $mocks = array(); - for ($i = 0; $i < intval(ceil(filesize(__FILE__) / 1024)); $i++) { - $mocks[] = 's3/upload_part'; - } - $mocks[] = 's3/complete_multipart_upload'; - $mock = $this->setMockResponse($client, $mocks); - - $result = $transfer->upload(); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals($i + 1, count($requests)); - for ($j = 0; $j < $i; $j++) { - $this->assertEquals('PUT', $requests[$j]->getMethod()); - } - $this->assertEquals('POST', $requests[4]->getMethod()); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - } - - public function testStoppingWillStopTransfer() - { - list($transfer) = $this->prepComponents(); - - $transfer->getEventDispatcher()->addListener(ParallelTransfer::BEFORE_PART_UPLOAD, function($event) { - $event['transfer']->stop(); - }); - - $result = $transfer->upload(); - - $this->assertNull($result); - } - - /** - * @expectedException Aws\Common\Exception\RuntimeException - */ - public function testEnsuresTheFileIsLocalAndSeekable() - { - $transfer = new ParallelTransfer( - $this->getServiceBuilder()->get('s3'), - new TransferState($this->getMockUploadId()), - EntityBody::factory('foo') - ); - } - - /** - * @expectedException Aws\Common\Exception\RuntimeException - */ - public function testEnsuresConcurrencyIsSpecified() - { - $transfer = new ParallelTransfer( - $this->getServiceBuilder()->get('s3'), - new TransferState($this->getMockUploadId()), - EntityBody::factory(fopen(__FILE__, 'r')) - ); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/SerialTransferTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/SerialTransferTest.php deleted file mode 100644 index 67636b1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/SerialTransferTest.php +++ /dev/null @@ -1,112 +0,0 @@ -getMockBuilder('Aws\S3\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'UploadId' => 'baz' - ) - )); - - if ($seekable) { - $body = EntityBody::factory('abc123'); - } else { - $stream = fopen('php://temp', 'rw'); - fwrite($stream, 'abc123'); - fseek($stream, 0); - $body = $this->getMockBuilder('Guzzle\Http\EntityBody') - ->setMethods(array('isSeekable')) - ->setConstructorArgs(array($stream)) - ->getMock(); - $body->expects($this->any()) - ->method('isSeekable') - ->will($this->returnValue(false)); - } - - $client = $this->getServiceBuilder()->get('s3', true); - $state = new TransferState($uploadId); - $transfer = new SerialTransfer($client, $state, $body); - - // Modify the partSize for the test - $refClass = new \ReflectionClass($transfer); - $property = $refClass->getProperty('partSize'); - $property->setAccessible(true); - $property->setValue($transfer, 3); - - return array($transfer, $client, $state); - } - - public function dataForTransferTest() - { - return array(array(true), array(false)); - } - - /** - * @dataProvider dataForTransferTest - */ - public function testSuccessfulTransfer($seekable) - { - list($transfer, $client) = $this->prepComponents($seekable); - - $mock = $this->setMockResponse($client, array( - 's3/upload_part', - 's3/upload_part', - 's3/complete_multipart_upload' - ))->readBodies(true); - - $result = $transfer->upload(); - - $requests = $mock->getReceivedRequests(); - $this->assertEquals(3, count($requests)); - $this->assertEquals('PUT', $requests[0]->getMethod()); - $this->assertEquals('abc', (string) $requests[0]->getBody()); - $this->assertEquals('PUT', $requests[1]->getMethod()); - $this->assertEquals('123', (string) $requests[1]->getBody()); - $this->assertEquals('POST', $requests[2]->getMethod()); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - } - - public function testStoppingWillStopTransfer() - { - list($transfer) = $this->prepComponents(); - - $transfer->getEventDispatcher()->addListener(SerialTransfer::BEFORE_PART_UPLOAD, function($event) { - $event['transfer']->stop(); - }); - - $result = $transfer->upload(); - - $this->assertNull($result); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/TransferStateTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/TransferStateTest.php deleted file mode 100644 index a724c0f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/TransferStateTest.php +++ /dev/null @@ -1,48 +0,0 @@ -getMockBuilder('Aws\S3\Model\MultipartUpload\UploadId') - ->setMethods(array('toParams')) - ->getMock(); - $uploadId->expects($this->any()) - ->method('toParams') - ->will($this->returnValue(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'UploadId' => 'baz' - ) - )); - - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array('s3/list_parts_page_2')); - - $state = TransferState::fromUploadId($client, $uploadId); - $this->assertInstanceOf('Aws\S3\Model\MultipartUpload\TransferState', $state); - $this->assertEquals(1, count($mock->getReceivedRequests())); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/UploadBuilderTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/UploadBuilderTest.php deleted file mode 100644 index 4b911b8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/UploadBuilderTest.php +++ /dev/null @@ -1,175 +0,0 @@ -assertInstanceOf('Aws\S3\Model\MultipartUpload\UploadBuilder', UploadBuilder::newInstance()); - } - - public function testHasChainableSetterMethods() - { - $acp = new Acp(new Grantee('123')); - $b = UploadBuilder::newInstance(); - $b->setBucket('foo') - ->setKey('bar') - ->setConcurrency(1) - ->setMd5('abc') - ->calculateMd5(false) - ->calculatePartMd5(true) - ->setMinPartSize(10000) - ->setAcp($acp) - ->setOption('Metadata', array('Foo' => 'Baz')) - ->setOption('Test', '123'); - - $options = $this->readAttribute($b, 'commandOptions'); - $this->assertEquals('foo', $options['Bucket']); - $this->assertEquals('bar', $options['Key']); - $this->assertSame($acp, $options['ACP']); - $this->assertEquals(array('Foo' => 'Baz'), $options['Metadata']); - $this->assertEquals('123', $options['Test']); - $this->assertEquals(1, $this->readAttribute($b, 'concurrency')); - $this->assertEquals('abc', $this->readAttribute($b, 'md5')); - $this->assertTrue($this->readAttribute($b, 'calculatePartMd5')); - $this->assertFalse($this->readAttribute($b, 'calculateEntireMd5')); - $this->assertEquals(AbstractTransfer::MIN_PART_SIZE, $this->readAttribute($b, 'minPartSize')); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage You must specify a Bucket, Key, client, and source. - */ - public function testValidatesThatRequiredFieldsAreSet() - { - UploadBuilder::newInstance()->build(); - } - - /** - * @expectedException Aws\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage You cannot resume a transfer using a non-seekable source. - */ - public function testValidatesThatNonSeekableStreamsCannotBeResumed() - { - $source = $this->getMockBuilder('Guzzle\Http\EntityBody') - ->setMethods(array('isSeekable')) - ->disableOriginalConstructor() - ->getMock(); - $source->expects($this->any()) - ->method('isSeekable') - ->will($this->returnValue(false)); - - UploadBuilder::newInstance() - ->setBucket('foo') - ->setKey('bar') - ->setSource($source) - ->resumeFrom('abc') - ->setClient($this->getServiceBuilder()->get('s3')) - ->build(); - } - - public function testAllowsForExplicitStateObject() - { - $state = new TransferState(UploadId::fromParams(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'UploadId' => 'baz' - ))); - - $uploader = UploadBuilder::newInstance() - ->resumeFrom($state) - ->setClient($this->getServiceBuilder()->get('s3')) - ->setSource(EntityBody::factory('test')) - ->build(); - $this->assertSame($state, $uploader->getState()); - } - - public function testCanResumeStateByLoadingFromS3() - { - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array('s3/list_parts_page_2')); - $transfer = UploadBuilder::newInstance() - ->setBucket('foo') - ->setKey('bar') - ->resumeFrom('abc') - ->setClient($client) - ->setSource(EntityBody::factory('test')) - ->build(); - $this->assertEquals(1, count($mock->getReceivedRequests())); - $this->assertEquals(2, count($transfer->getState())); - } - - public function testCanCreateNewStateByInitiatingMultipartUpload() - { - $acl = new Acp(new Grantee('123')); - $acl->addGrant(new Grant(new Grantee('123'), Permission::READ)); - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array('s3/initiate_multipart_upload')); - $expires = time() + 1000; - $transfer = UploadBuilder::newInstance() - ->setBucket('foo') - ->setKey('bar') - ->setClient($client) - ->setSource(__FILE__) - ->setHeaders(array('Foo' => 'Bar')) - ->setOption('Expires', $expires) - ->setAcp($acl) - ->calculateMd5(true) - ->build(); - $requests = $mock->getReceivedRequests(); - $this->assertEquals(1, count($requests)); - $this->assertEquals('/bar?uploads', $requests[0]->getResource()); - $this->assertEquals('Bar', (string) $requests[0]->getHeader('Foo')); - $this->assertEquals($expires, strtotime((string) $requests[0]->getHeader('Expires'))); - $this->assertEquals('text/x-php', (string) $requests[0]->getHeader('Content-Type')); - $this->assertNotEmpty((string) $requests[0]->getHeader('x-amz-meta-x-amz-Content-MD5')); - $this->assertEquals('id="123"', (string) $requests[0]->getHeader('x-amz-grant-read')); - $this->assertTrue($requests[0]->hasHeader('x-amz-grant-read')); - } - - public function testBuildsDifferentUploaderBasedOnConcurrency() - { - $state = new TransferState(UploadId::fromParams(array( - 'Bucket' => 'foo', - 'Key' => 'bar', - 'UploadId' => 'baz' - ))); - - $b = UploadBuilder::newInstance() - ->setClient($this->getServiceBuilder()->get('s3')) - ->setSource(EntityBody::factory(fopen(__FILE__, 'r'))) - ->resumeFrom($state); - - $this->assertInstanceOf('Aws\S3\Model\MultipartUpload\SerialTransfer', $b->build()); - $b->setConcurrency(2); - $this->assertInstanceOf('Aws\S3\Model\MultipartUpload\ParallelTransfer', $b->build()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/UploadPartTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/UploadPartTest.php deleted file mode 100644 index 9517e22..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/MultipartUpload/UploadPartTest.php +++ /dev/null @@ -1,44 +0,0 @@ - 3, - 'ETag' => 'aaa', - 'LastModified' => $date, - 'Size' => 5 - )); - - $this->assertEquals(3, $part->getPartNumber()); - $this->assertEquals('aaa', $part->getETag()); - $this->assertEquals($date, $part->getLastModified()); - $this->assertEquals(5, $part->getSize()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/PostObjectTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/PostObjectTest.php deleted file mode 100644 index e0d43a4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Model/PostObjectTest.php +++ /dev/null @@ -1,157 +0,0 @@ -getMockBuilder('Aws\Common\Credentials\Credentials') - ->disableOriginalConstructor() - ->getMock(); - $credentials->expects($this->any()) - ->method('getAccessKeyId') - ->will($this->returnValue('AKIAXXXXXXXXXXXXXXX')); - $credentials->expects($this->any()) - ->method('getSecretKey') - ->will($this->returnValue('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')); - - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $class = new \ReflectionObject($client); - $property = $class->getProperty('credentials'); - $property->setAccessible(true); - $property->setValue($client, $credentials); - - $this->client = $client; - } - - public function getDataForPostObjectTest() - { - $cases = array(); - - // Inputs capturing starts-with and success_action_status behaviors - $cases[] = array( - // Options - array( - 'Content-Type' => '^text/', - 'ttd' => 'Nov 24, 1984, midnight GMT', - 'acl' => CannedAcl::PRIVATE_ACCESS, - 'success_action_status' => 201, - 'key' => '^foo/bar/${filename}' - ), - // Expected Results - array( - 'attributes' => array( - 'action' => 'https://foo.s3.amazonaws.com', - 'method' => 'POST', - 'enctype' => 'multipart/form-data' - ), - 'inputs' => array( - 'AWSAccessKeyId' => 'AKIAXXXXXXXXXXXXXXX', - 'success_action_status' => '201', - 'key' => 'foo/bar/${filename}', - 'Content-Type' => 'text/', - 'acl' => 'private', - 'policy' => 'eyJleHBpcmF0aW9uIjoiMTk4NC0xMS0yNFQwMDowMDowMFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJmb' - . '28ifSx7InN1Y2Nlc3NfYWN0aW9uX3N0YXR1cyI6IjIwMSJ9LFsic3RhcnRzLXdpdGgiLCIka2V5IiwiZm9vXC9iYXJc' - . 'LyJdLFsic3RhcnRzLXdpdGgiLCIkQ29udGVudC1UeXBlIiwidGV4dFwvIl0seyJhY2wiOiJwcml2YXRlIn1dfQ==', - 'signature' => 'rSOwG7EilzRkYcCbpfwqaoMVzs4=' - ), - 'policy' => '{"expiration":"1984-11-24T00:00:00Z","conditions":[{"bucket":"foo"},{"success_action_stat' - . 'us":"201"},["starts-with","$key","foo\/bar\/"],["starts-with","$Content-Type","text\/"],{"acl":' - . '"private"}]}' - ) - ); - - // Passing in a raw policy - $cases[] = array( - // Options - array( - 'policy' => '{"expiration":"1984-11-24T00:00:00Z","conditions":[{"bucket":"foo"},{"success_action_stat' - . 'us":"201"},["starts-with","$key","foo\\/bar\\/"],["starts-with","$Content-Type","text\\/"]]}' - ), - // Expected Results - array( - 'attributes' => array( - 'action' => 'https://foo.s3.amazonaws.com', - 'method' => 'POST', - 'enctype' => 'multipart/form-data' - ), - 'inputs' => array( - 'AWSAccessKeyId' => 'AKIAXXXXXXXXXXXXXXX', - 'key' => '${filename}', - 'policy' => 'eyJleHBpcmF0aW9uIjoiMTk4NC0xMS0yNFQwMDowMDowMFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJmb' - . '28ifSx7InN1Y2Nlc3NfYWN0aW9uX3N0YXR1cyI6IjIwMSJ9LFsic3RhcnRzLXdpdGgiLCIka2V5IiwiZm9vXC9iYXJc' - . 'LyJdLFsic3RhcnRzLXdpdGgiLCIkQ29udGVudC1UeXBlIiwidGV4dFwvIl1dfQ==', - 'signature' => 'h92mKuUkaKTNmJMqnHDZ51+2+GY=' - ), - 'policy' => '{"expiration":"1984-11-24T00:00:00Z","conditions":[{"bucket":"foo"},{"success_action_stat' - . 'us":"201"},["starts-with","$key","foo\\/bar\\/"],["starts-with","$Content-Type","text\\/"]]}' - ) - ); - - return $cases; - } - - /** - * @dataProvider getDataForPostObjectTest - */ - public function testGetPostObjectData(array $options, array $expected) - { - $postObject = new PostObject($this->client, 'foo', $options); - $postObject->prepareData(); - - $this->assertSame($expected['attributes'], $postObject->getFormAttributes()); - $this->assertSame($expected['inputs'], $postObject->getFormInputs()); - $this->assertSame($expected['policy'], $postObject->getJsonPolicy()); - } - - public function testClientAndBucketGettersAndSetters() - { - $postObject = new PostObject($this->client, 'foo'); - $client2 = $this->getServiceBuilder()->get('s3'); - - $this->assertSame($this->client, $postObject->getClient()); - $this->assertSame('foo', $postObject->getBucket()); - - $postObject->setClient($client2)->setBucket('bar'); - - $this->assertSame($client2, $postObject->getClient()); - $this->assertSame('bar', $postObject->getBucket()); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testSetInvalidBucketFails() - { - $postObject = new PostObject($this->client, '.'); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/S3ClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/S3ClientTest.php deleted file mode 100644 index da37bae..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/S3ClientTest.php +++ /dev/null @@ -1,195 +0,0 @@ -assertEquals($isValid, s3Client::isValidBucketName($bucketName)); - } - - /** - * @covers Aws\S3\S3Client::factory - */ - public function testFactoryInitializesClient() - { - $client = S3Client::factory(array( - 'scheme' => 'http', - 'region' => 'ap-southeast-1' - )); - $this->assertEquals('http://s3-ap-southeast-1.amazonaws.com', $client->getBaseUrl()); - } - - /** - * @covers Aws\S3\S3Client::createPresignedUrl - */ - public function testCreatesPresignedUrls() - { - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $request = $client->get('/foobar'); - $original = (string) $request; - $url = $client->createPresignedUrl($request, 1342138769); - $this->assertContains('https://s3.amazonaws.com/foobar?AWSAccessKeyId=', $url); - $this->assertContains('Expires=', $url); - $this->assertContains('Signature=', $url); - $this->assertSame($original, (string) $request); - } - - /** - * @covers Aws\S3\S3Client::createPresignedUrl - */ - public function testCreatesPresignedUrlsWithSpecialCharacters() - { - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $request = $client->get('/foobar test: abc/+%.a'); - $url = $client->createPresignedUrl($request, 1342138769); - $this->assertContains('https://s3.amazonaws.com/foobar%20test%3A%20abc/%2B%25.a?AWSAccessKeyId=', $url); - } - - public function testCreatesPresignedUrlsWithStrtotime() - { - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $url = Url::factory($client->createPresignedUrl($client->get('/foobar'), '10 minutes')); - $this->assertTrue(time() < $url->getQuery()->get('Expires')); - } - - /** - * @expectedException InvalidArgumentException - * @expectedExceptionMessage The request object must be associated with the client - */ - public function testValidatesRequestObjectWhenCreatingPreSignedUrl() - { - $client = $this->getServiceBuilder()->get('s3'); - $client->createPresignedUrl(new Request('GET', 'http://foo.com'), '+10 minutes'); - } - - public function testDoesBucketExistReturnsCorrectBooleanValue() - { - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($client, array( - 's3/head_success', - 's3/head_access_denied', - 's3/head_failure' - )); - - $this->assertTrue($client->doesBucketExist('bucket')); - $this->assertTrue($client->doesBucketExist('bucket')); - $this->assertFalse($client->doesBucketExist('bucket')); - } - - public function testDoesObjectExistReturnsCorrectBooleanValue() - { - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($client, array( - 's3/head_success', - 's3/head_access_denied', - 's3/head_failure' - )); - - $this->assertTrue($client->doesObjectExist('bucket', 'key')); - $this->assertFalse($client->doesObjectExist('bucket', 'key')); - $this->assertFalse($client->doesObjectExist('bucket', 'key')); - } - - public function testDoesBucketPolicyExistReturnsCorrectBooleanValue() - { - /** @var $client S3Client */ - $client = $this->getServiceBuilder()->get('s3'); - $this->setMockResponse($client, array( - 's3/get_bucket_policy_success', - 's3/get_bucket_policy_failure' - )); - - $this->assertTrue($client->doesBucketPolicyExist('bucket')); - $this->assertFalse($client->doesBucketPolicyExist('bucket')); - } - - public function testClearsBucketHelperAndUsesSubResources() - { - $client = $this->getServiceBuilder()->get('s3'); - $mock = $this->setMockResponse($client, array( - 's3/get_bucket_object_versions_page_2', - 's3/delete_multiple_objects' - )); - $client->clearBucket('foo'); - $requests = $mock->getReceivedRequests(); - foreach ($requests as $request) { - $this->assertEquals('foo.s3.amazonaws.com', $request->getHost()); - } - $this->assertEquals(2, count($requests)); - $this->assertTrue($requests[0]->getQuery()->hasKey('versions')); - $this->assertTrue($requests[1]->getQuery()->hasKey('delete')); - } - - public function testProperlyEncodesPrefixKeys() - { - $this->assertEquals('/foo/baz%20/bar%21', S3Client::encodeKey('/foo/baz /bar!')); - $client = $this->getServiceBuilder()->get('s3'); - $command = $client->getCommand('PutObject', array( - 'Key' => 'foo/baz /bar!', - 'Bucket' => 'test' - )); - $command->prepare(); - $this->assertEquals('/test/foo/baz%20/bar%21', $command->getRequest()->getPath()); - } - - public function testExplodesKeys() - { - $this->assertEquals(array('foo', 'baz ', 'bar!'), S3Client::explodeKey('foo/baz /bar!')); - $this->assertEquals(array('foo', 'baz ', 'bar!'), S3Client::explodeKey('/foo/baz /bar!')); - $this->assertEquals(array(''), S3Client::explodeKey('')); - $this->assertEquals(array(''), S3Client::explodeKey(null)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/S3SignatureTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/S3SignatureTest.php deleted file mode 100644 index 12e4f99..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/S3SignatureTest.php +++ /dev/null @@ -1,270 +0,0 @@ - 'PUT', - 'path' => '/db-backup.dat.gz', - 'headers' => array( - 'User-Agent' => 'curl/7.15.5', - 'Host' => 'static.johnsmith.net:8080', - 'Date' => 'Tue, 27 Mar 2007 21:06:08 +0000', - 'x-amz-acl' => 'public-read', - 'content-type' => 'application/x-download', - 'Content-MD5' => '4gJE4saaMU4BqNR0kLY+lw==', - 'X-Amz-Meta-ReviewedBy' => 'joe@johnsmith.net,jane@johnsmith.net', - 'X-Amz-Meta-FileChecksum' => '0x02661779', - 'X-Amz-Meta-ChecksumAlgorithm' => 'crc32', - 'Content-Disposition' => 'attachment; filename=database.dat', - 'Content-Encoding' => 'gzip', - 'Content-Length' => '5913339' - ) - ), "PUT\n4gJE4saaMU4BqNR0kLY+lw==\napplication/x-download\nTue, 27 Mar 2007 21:06:08 +0000\nx-amz-acl:public-read\nx-amz-meta-checksumalgorithm:crc32\nx-amz-meta-filechecksum:0x02661779\nx-amz-meta-reviewedby:joe@johnsmith.net,jane@johnsmith.net\n/static.johnsmith.net/db-backup.dat.gz" - ), - // Use two subresources to set the ACL of a specific version and - // make sure subresources are sorted correctly - array( - array( - 'verb' => 'PUT', - 'path' => '/key?versionId=1234&acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 'test.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 21:06:08 +0000', - 'Content-Length' => '15' - ) - ), - "PUT\n\n\nTue, 27 Mar 2007 21:06:08 +0000\n/test/key?acl&versionId=1234" - ), - // DELETE a path hosted object with a folder prefix and custom headers - array( - array( - 'verb' => 'DELETE', - 'path' => '/johnsmith/photos/puppy.jpg', - 'headers' => array( - 'User-Agent' => 'dotnet', - 'Host' => 's3.amazonaws.com', - 'x-amz-date' => 'Tue, 27 Mar 2007 21:20:26 +0000' - ) - ), "DELETE\n\n\n\nx-amz-date:Tue, 27 Mar 2007 21:20:26 +0000\n/johnsmith/photos/puppy.jpg" - ), - // List buckets - array( - array( - 'verb' => 'GET', - 'path' => '/', - 'headers' => array( - 'Host' => 's3.amazonaws.com', - 'Date' => 'Wed, 28 Mar 2007 01:29:59 +0000' - ) - ), "GET\n\n\nWed, 28 Mar 2007 01:29:59 +0000\n/" - ), - // GET the ACL of a virtual hosted bucket - array( - array( - 'verb' => 'GET', - 'path' => '/?acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 'johnsmith.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:44:46 +0000' - ) - ), "GET\n\n\nTue, 27 Mar 2007 19:44:46 +0000\n/johnsmith/?acl" - ), - // GET the contents of a bucket using parameters - array( - array( - 'verb' => 'GET', - 'path' => '/?prefix=photos&max-keys=50&marker=puppy', - 'headers' => array( - 'User-Agent' => 'Mozilla/5.0', - 'Host' => 'johnsmith.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:42:41 +0000' - ) - ), "GET\n\n\nTue, 27 Mar 2007 19:42:41 +0000\n/johnsmith/" - ), - // PUT an object with a folder prefix from a virtual hosted bucket - array( - array( - 'verb' => 'PUT', - 'path' => '/photos/puppy.jpg', - 'headers' => array( - 'Content-Type' => 'image/jpeg', - 'Content-Length' => '94328', - 'Host' => 'johnsmith.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 21:15:45 +0000' - ) - ), "PUT\n\nimage/jpeg\nTue, 27 Mar 2007 21:15:45 +0000\n/johnsmith/photos/puppy.jpg" - ), - // GET an object with a folder prefix from a virtual hosted bucket - array( - array( - 'verb' => 'GET', - 'path' => '/photos/puppy.jpg', - 'headers' => array( - 'Host' => 'johnsmith.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ) - ), "GET\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/johnsmith/photos/puppy.jpg" - ), - // Set the ACL of an object - array( - array( - 'verb' => 'PUT', - 'path' => '/photos/puppy.jpg?acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 'johnsmith.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ) - ), "PUT\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/johnsmith/photos/puppy.jpg?acl" - ), - // Set the ACL of an object with no prefix - array( - array( - 'verb' => 'PUT', - 'path' => '/photos/puppy?acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 'johnsmith.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ) - ), "PUT\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/johnsmith/photos/puppy?acl" - ), - // Set the ACL of an object with no prefix in a path hosted bucket - array( - array( - 'verb' => 'PUT', - 'path' => '/johnsmith/photos/puppy?acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 's3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ) - ), "PUT\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/johnsmith/photos/puppy?acl" - ), - // Set the ACL of a path hosted bucket - array( - array( - 'verb' => 'PUT', - 'path' => '/johnsmith?acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 's3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ) - ), "PUT\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/johnsmith?acl" - ), - // Set the ACL of a path hosted bucket with an erroneous path value - array( - array( - 'verb' => 'PUT', - 'path' => '/johnsmith?acl=_guzzle_blank_', - 'headers' => array( - 'Host' => 's3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ), - ), "PUT\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/johnsmith?acl" - ), - // Send a request to the EU region - array( - array( - 'verb' => 'GET', - 'path' => '/johnsmith', - 'headers' => array( - 'Host' => 'test.s3-eu-west-1.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ), - ), "GET\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/test/johnsmith" - ), - // Use a bucket with hyphens and a region - array( - array( - 'verb' => 'GET', - 'path' => '/bar', - 'headers' => array( - 'Host' => 'foo-s3-test-bucket.s3-eu-west-1.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ), - ), "GET\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/foo-s3-test-bucket/bar" - ), - // Use a bucket with hyphens and the default region - array( - array( - 'verb' => 'GET', - 'path' => '/bar', - 'headers' => array( - 'Host' => 'foo-s3-test-bucket.s3.amazonaws.com', - 'Date' => 'Tue, 27 Mar 2007 19:36:42 +0000' - ), - ), "GET\n\n\nTue, 27 Mar 2007 19:36:42 +0000\n/foo-s3-test-bucket/bar" - ), - ); - } - - /** - * @dataProvider signatureDataProvider - */ - public function testCreatesCanonicalizedString($input, $result, $expires = null) - { - $signature = new S3Signature(); - $request = \Guzzle\Http\Message\RequestFactory::getInstance()->create( - $input['verb'], - 'http://s3.amazonaws.com' . $input['path'], $input['headers'] - ); - $request->setClient($this->getServiceBuilder()->get('s3')); - $this->assertEquals($result, $signature->createCanonicalizedString($request), $expires); - } - - public function requestDataProvider() - { - $results = array(); - - $client = $this->getServiceBuilder()->get('s3', true); - $client->getCredentials()->setSecurityToken('foo'); - $results[] = array($client, $client->get('/', array('Date' => gmdate('r')))); - - $client = $this->getServiceBuilder()->get('s3', true); - $results[] = array($client, $client->get('/')); - - return $results; - } - - /** - * @dataProvider requestDataProvider - */ - public function testSignsGenericRequest($client, $request) - { - $client->getSignature()->signRequest($request, $client->getCredentials()); - $this->assertTrue($request->hasHeader('Date')); - $this->assertTrue($request->hasHeader('Authorization')); - $this->assertContains( - $client->getCredentials()->getAccessKeyId() . ':', - (string) $request->getHeader('Authorization') - ); - if ($token = $client->getCredentials()->getSecurityToken()) { - $this->assertEquals($token, $request->getHeader('x-amz-security-token')); - } else { - $this->assertFalse($request->hasHeader('x-amz-security-token')); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/SocketTimeoutCheckerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/SocketTimeoutCheckerTest.php deleted file mode 100644 index 1c28f93..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/SocketTimeoutCheckerTest.php +++ /dev/null @@ -1,93 +0,0 @@ -message = '' . "\n" - . 'RequestTimeoutYour socket connection to the server was not read from or ' - . 'written to within the timeout period. Idle connections will be closed.' - . 'FOOBar'; - } - - public function testOnlyListensFor400Errors() - { - $request = new Request('GET', 'http://example.com'); - $response = new Response(200); - $checker = new SocketTimeoutChecker(); - $this->assertFalse($checker->getBackoffPeriod(0, $request, $response)); - } - - public function testOnlyListensForCompletedRequests() - { - $request = new Request('GET', 'http://example.com'); - $checker = new SocketTimeoutChecker(); - $this->assertFalse($checker->getBackoffPeriod(0, $request)); - } - - public function testReturnsTrueForRetryableErrors() - { - $request = new Request('GET', 'http://example.com'); - $response = new Response(400, array('content-type' => 'application/xml'), $this->message); - $checker = new SocketTimeoutChecker(); - $this->assertEquals(0, $checker->getBackoffPeriod(1, $request, $response)); - // Ensure it plays well with the chain - $checker->setNext(new ExponentialBackoffStrategy()); - $this->assertEquals(8, $checker->getBackoffPeriod(3, $request, $response)); - } - - public function testSetsContentLengthIfLocalFile() - { - $body = $this->getMockBuilder('Guzzle\Http\EntityBody') - ->setMethods(array('setSize')) - ->setConstructorArgs(array(fopen(__FILE__, 'r+'))) - ->getMock(); - - $body->expects($this->once()) - ->method('setSize'); - - $client = $this->getServiceBuilder()->get('s3'); - $request = $client->put('/foo/bar', array('Content-Type' => 'text/plain')); - $request->setBody($body); - - $response = new Response(400, array('content-type' => 'application/xml'), $this->message); - $checker = new SocketTimeoutChecker(); - $this->assertEquals(0, $checker->getBackoffPeriod(1, $request, $response)); - - $this->assertEquals(filesize(__FILE__), (string) $request->getHeader('Content-Length')); - } - - public function testBehavesProperlyAsChainLink() - { - $s = new ExponentialBackoffStrategy(); - $checker = new SocketTimeoutChecker($s); - $this->assertTrue($checker->makesDecision()); - $this->assertSame($s, $checker->getNext()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/BucketExistsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/BucketExistsTest.php deleted file mode 100644 index 3cfe641..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/BucketExistsTest.php +++ /dev/null @@ -1,48 +0,0 @@ -getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, 's3/head_success'); - $client->waitUntil('bucket_exists', array('Bucket' => 'foo')); - $this->assertEquals(1, count($this->getMockedRequests())); - } - - public function testRetriesUntilBucketExists() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array('s3/head_failure', 's3/head_success')); - $client->waitUntil('bucket_exists', array('Bucket' => 'foo', 'waiter.interval' => 0)); - $this->assertEquals(2, count($this->getMockedRequests())); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBuffer500Exceptions() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array(new Response(501))); - $client->waitUntil('bucket_exists', array('Bucket' => 'foo', 'waiter.interval' => 0)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/BucketNotExistsTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/BucketNotExistsTest.php deleted file mode 100644 index 59b44c3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/BucketNotExistsTest.php +++ /dev/null @@ -1,48 +0,0 @@ -getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, 's3/head_failure'); - $client->waitUntil('bucket_not_exists', array('Bucket' => 'foo')); - $this->assertEquals(1, count($this->getMockedRequests())); - } - - public function testRetriesUntilBucketNotExists() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array('s3/head_success', 's3/head_failure')); - $client->waitUntil('bucket_not_exists', array('Bucket' => 'foo', 'waiter.interval' => 0)); - $this->assertEquals(2, count($this->getMockedRequests())); - } - - /** - * @expectedException \Aws\Common\Exception\RuntimeException - */ - public function testDoesNotBuffer500Exceptions() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array(new Response(501))); - $client->waitUntil('bucket_not_exists', array('Bucket' => 'foo', 'waiter.interval' => 0)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/ObjectExistsWaiterTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/ObjectExistsWaiterTest.php deleted file mode 100644 index d52886a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/S3/Waiter/ObjectExistsWaiterTest.php +++ /dev/null @@ -1,42 +0,0 @@ -getServiceBuilder()->get('s3', true); - $mock = $this->setMockResponse($client, 's3/head_success'); - $client->waitUntil('object_exists', array('Bucket' => 'foo', 'Key' => 'bar')); - $this->assertEquals(1, count($this->getMockedRequests())); - $requests = $mock->getReceivedRequests(); - $this->assertEquals('foo.s3.amazonaws.com', $requests[0]->getHost()); - $this->assertEquals('/bar', $requests[0]->getPath()); - } - - public function testRetriesUntilObjectExists() - { - $client = $this->getServiceBuilder()->get('s3', true); - $this->setMockResponse($client, array('s3/head_failure', 's3/head_success')); - $client->waitUntil('object_exists', array('Bucket' => 'foo', 'Key' => 'bar', 'waiter.interval' => 0)); - $this->assertEquals(2, count($this->getMockedRequests())); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ses/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ses/Integration/IntegrationTest.php deleted file mode 100644 index 093afef..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ses/Integration/IntegrationTest.php +++ /dev/null @@ -1,155 +0,0 @@ -get('ses'); - try { - $result = $ses->getIdentityVerificationAttributes(array( - 'Identities' => array($emailAddress), - )); - $status = $result->getPath("VerificationAttributes/{$emailAddress}/VerificationStatus"); - if ($status === VerificationStatus::SUCCESS) { - self::log('Good! The provided email address is a verified email identity for SES.'); - } else { - self::log('Uh oh! The provided email address is NOT a verified email identity for SES.'); - $emailAddress = null; - } - } catch (\Exception $e) { - self::log('There was an error checking if the email address provided in your phpunit.functional.xml is verified.'); - $emailAddress = null; - } - } else { - self::log('No verified email address was provided in your phpunit.functional.xml.'); - $emailAddress = null; - } - - self::$verifiedEmail = $emailAddress; - } - - public function setUp() - { - $this->ses = $this->getServiceBuilder()->get('ses'); - if (!self::$verifiedEmail) { - $this->markTestSkipped(); - } - } - - public function testBasicIdentityCrudOperations() - { - $emailAddress = 'noreply@amazon.com'; - - self::log('Create a new identity.'); - $this->ses->getCommand('VerifyEmailIdentity', array('EmailAddress' => $emailAddress))->execute(); - $this->ses->waitUntilIdentityExists(array('Identities' => array($emailAddress))); - - self::log('Check the status and make sure it\'s pending.'); - $result = $this->ses->getCommand('GetIdentityVerificationAttributes', array( - 'Identities' => array($emailAddress), - ))->getResult(); - $this->assertEquals(VerificationStatus::PENDING, $result->getPath("VerificationAttributes/{$emailAddress}/VerificationStatus")); - - self::log('Make sure the identity is in the identity list.'); - $identities = $this->ses->getIterator('ListIdentities', array( - 'IdentityType' => IdentityType::EMAIL_ADDRESS - )); - $this->assertContains($emailAddress, iterator_to_array($identities)); - - self::log('Delete the identity.'); - $this->ses->getCommand('DeleteIdentity', array('Identity' => $emailAddress))->execute(); - self::log('Sleep after deleting to allow propagation of delete.'); - sleep(5); - - self::log('Make sure the identity is no longer in the identity list.'); - $identities = $this->ses->getIterator('ListIdentities', array( - 'IdentityType' => IdentityType::EMAIL_ADDRESS - )); - $this->assertNotContains($emailAddress, iterator_to_array($identities)); - } - - public function testSendEmail() - { - $this->ses->getCommand('SendEmail', array( - 'Source' => self::$verifiedEmail, - 'Destination' => array( - 'ToAddresses' => array(MailboxSimulator::SUCCESS) - ), - 'Message' => array( - 'Subject' => array( - 'Data' => 'Test Email', - ), - 'Body' => array( - 'Text' => array( - 'Data' => 'This is a test email.', - ), - ), - ), - ))->execute(); - } - - /** - * @expectedException \Aws\Ses\Exception\MessageRejectedException - */ - public function testSendErroneousEmailToBlacklistedAddress() - { - $this->ses->getCommand('SendEmail', array( - 'Source' => self::$verifiedEmail, - 'Destination' => array( - 'ToAddresses' => array(MailboxSimulator::BLACKLIST) - ), - 'Message' => array( - 'Subject' => array( - 'Data' => 'Test Email', - ), - 'Body' => array( - 'Text' => array( - 'Data' => 'This is a test email.', - ), - ), - ), - ))->execute(); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ses/SesClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ses/SesClientTest.php deleted file mode 100644 index e6bbe53..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Ses/SesClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://email.us-east-1.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/SimpleDb/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/SimpleDb/Integration/IntegrationTest.php deleted file mode 100644 index e7a54b6..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/SimpleDb/Integration/IntegrationTest.php +++ /dev/null @@ -1,160 +0,0 @@ -client = $this->getServiceBuilder()->get('sdb'); - $this->domainName = 'foo123'; - } - - public function testCreatesDomain() - { - $this->client->createDomain(array('DomainName' => $this->domainName)); - } - - /** - * @depends testCreatesDomain - */ - public function testListsDomainsResultIsProcessedCorrectly() - { - $result = $this->client->listDomains(); - $this->assertInternalType('array', $result['DomainNames']); - $this->assertNull($result['DomainName']); - - $found = false; - foreach ($result['DomainNames'] as $n) { - if ($n == $this->domainName) { - $found = true; - break; - } - } - - if (!$found) { - $this->fail('Did not find ' . $this->domainName . ' in domain list'); - } - - // Ensure that the iterator works - $i = $this->client->getIterator('ListDomains'); - $found = false; - foreach ($i as $n) { - if ($n == $this->domainName) { - $found = true; - break; - } - } - - if (!$found) { - $this->fail('Did not find ' . $this->domainName . ' in domain list'); - } - } - - /** - * @depends testCreatesDomain - */ - public function testAddsItem() - { - $this->client->putAttributes(array( - 'DomainName' => $this->domainName, - 'ItemName' => 'test', - 'Attributes' => array( - array('Name' => 'a', 'Value' => 1, 'Replace' => true), - array('Name' => 'b', 'Value' => 2), - ) - )); - - $result = $this->client->getAttributes(array( - 'DomainName' => $this->domainName, - 'ItemName' => 'test', - 'Attributes' => array( - 'a', 'b' - ), - 'ConsistentRead' => true - )); - - $this->assertEquals('b', $result->getPath('Attributes/0/Name')); - $this->assertEquals('2', $result->getPath('Attributes/0/Value')); - $this->assertEquals('a', $result->getPath('Attributes/1/Name')); - $this->assertEquals('1', $result->getPath('Attributes/1/Value')); - $this->assertArrayHasKey('ResponseMetadata', $result->toArray()); - } - - /** - * @depends testAddsItem - */ - public function testSelectsItems() - { - $result = $this->client->select(array( - 'SelectExpression' => 'select * from ' . $this->domainName, - 'ConsistentRead' => true - )); - $this->assertCount(1, $result['Items']); - $this->assertEquals(array( - 'Name' => 'test', - 'Attributes' => array( - array( - 'Name' => 'b', - 'Value' => '2', - ), - array( - 'Name' => 'a', - 'Value' => '1', - ), - ), - ), $result['Items'][0]); - - // Ensure that the select iterator works - $i = $this->client->getIterator('Select', array( - 'SelectExpression' => 'select * from ' . $this->domainName, - 'ConsistentRead' => true - )); - $this->assertEquals(array( - array( - 'Name' => 'test', - 'Attributes' => array( - array( - 'Name' => 'b', - 'Value' => '2', - ), - array( - 'Name' => 'a', - 'Value' => '1', - ), - ), - ) - ), iterator_to_array($i)); - } - - /** - * @depends testSelectsItems - */ - public function testDeleteDomains() - { - $this->client->deleteDomain(array('DomainName' => $this->domainName)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/SimpleDb/SimpleDbClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/SimpleDb/SimpleDbClientTest.php deleted file mode 100644 index de0dec2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/SimpleDb/SimpleDbClientTest.php +++ /dev/null @@ -1,36 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - $this->assertEquals('https://sdb.amazonaws.com', $c->getBaseUrl()); - $this->assertNotNull($c->getDescription()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/Integration/IntegrationTest.php deleted file mode 100644 index 56d984e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/Integration/IntegrationTest.php +++ /dev/null @@ -1,163 +0,0 @@ -sns = $this->getServiceBuilder()->get('sns'); - $this->sqs = $this->getServiceBuilder()->get('sqs'); - } - - public static function setUpBeforeClass() - { - self::$topic .= time(); - self::$queueName .= time(); - } - - public static function tearDownAfterClass() - { - // Delete the topic if it was created - if (self::$topicArn) { - try { - self::getServiceBuilder()->get('sns')->deleteTopic(array('TopicArn' => self::$topicArn)); - } catch (\Exception $e) {} - } - - // Delete the queue if it was created - if (self::$queueUrl) { - try { - self::getServiceBuilder()->get('sqs')->deleteQueue(array('QueueUrl' => self::$queueUrl)); - } catch (\Exception $e) {} - } - } - - public function testCreatesTopic() - { - self::log('Creating topic'); - $result = $this->sns->createTopic(array('Name' => self::$topic)); - $this->assertArrayHasKey('TopicArn', $result->toArray()); - $this->assertArrayHasKey('ResponseMetadata', $result->toArray()); - self::$topicArn = $result['TopicArn']; - - return self::$topicArn; - } - - /** - * @depends testCreatesTopic - */ - public function testListsTopics() - { - self::log('Listing topics'); - $iterator = $this->sns->getIterator('ListTopics'); - $topics = iterator_to_array($iterator); - $this->assertContains(self::$topicArn, $topics); - } - - /** - * @depends testCreatesTopic - */ - public function testSubscribesToTopic($topicArn) - { - // Create an SQS queue for the test - self::log('Creating a SQS queue'); - $result = $this->sqs->createQueue(array('QueueName' => self::$queueName)); - self::$queueUrl = $result['QueueUrl']; - $queueArn = $this->sqs->getQueueArn(self::$queueUrl); - - // Subscribe to the SNS topic using an SQS queue - self::log('Subscribing to the topic using the queue'); - $result = $this->sns->subscribe(array( - 'TopicArn' => self::$topicArn, - 'Endpoint' => $queueArn, - 'Protocol' => 'sqs' - )); - - // Ensure that the result has a SubscriptionArn - self::log('Subscribe result: ' . var_export($result->toArray(), true)); - $this->assertArrayHasKey('SubscriptionArn', $result->toArray()); - self::$subscriptionArn = $result['SubscriptionArn']; - - return self::$subscriptionArn; - } - - /** - * @depends testSubscribesToTopic - */ - public function testListsSubscriptions($subscriptionArn) - { - self::log('List subscriptions'); - $i = $this->sns->getIterator('ListSubscriptionsByTopic', array('TopicArn' => self::$topicArn)); - $data = iterator_to_array($i); - self::log('Found the following subscriptions: ' . var_export($data, true)); - foreach ($data as $sub) { - if ($sub['SubscriptionArn'] == self::$subscriptionArn) { - return true; - } - } - $this->fail('Did not find the subscription ARN of ' . self::$subscriptionArn); - } - - /** - * @depends testSubscribesToTopic - */ - public function testPublishesTopic($subscriptionArn) - { - $result = $this->sns->publish(array( - 'Message' => '{"default":"test","foo":"baz"}', - 'Subject' => 'Testing', - 'TopicArn' => self::$topicArn - )); - $this->assertArrayHasKey('MessageId', $result->toArray()); - self::log('Published a message: ' . $result['MessageId']); - } - - /** - * @depends testCreatesTopic - */ - public function testListsTopicAttributes($topicArn) - { - $result = $this->sns->getTopicAttributes(array('TopicArn' => $topicArn)); - $result = $result->toArray(); - // Ensure that the map was deserialized correctly - $this->assertArrayHasKey('TopicArn', $result['Attributes']); - $this->assertArrayHasKey('Policy', $result['Attributes']); - $this->assertArrayHasKey('Owner', $result['Attributes']); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MessageTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MessageTest.php deleted file mode 100644 index 678fc2c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MessageTest.php +++ /dev/null @@ -1,151 +0,0 @@ - 'a', - 'MessageId' => 'b', - 'Timestamp' => 'c', - 'TopicArn' => 'd', - 'Type' => 'e', - 'Subject' => 'f', - 'Signature' => 'g', - 'SigningCertURL' => 'h', - 'SubscribeURL' => 'i', - 'Token' => 'j', - ); - - public function testGetters() - { - $message = new Message(new Collection($this->messageData)); - - $this->assertInstanceOf('Guzzle\Common\Collection', $message->getData()); - - foreach ($this->messageData as $key => $expectedValue) { - $this->assertEquals($expectedValue, $message->get($key)); - } - } - - public function testFactorySucceedsWithGoodData() - { - $this->assertInstanceOf("Aws\\Sns\\MessageValidator\\Message", Message::fromArray($this->messageData)); - } - - public function testFactoryFailsWithNoType() - { - $this->setExpectedException('Aws\Common\Exception\InvalidArgumentException'); - $data = $this->messageData; - unset($data['Type']); - Message::fromArray($data); - } - - public function testFactoryFailsWithMissingData() - { - $this->setExpectedException('Guzzle\Common\Exception\InvalidArgumentException'); - Message::fromArray(array('Type' => 'Notification')); - } - - public function testCanCreateFromRawPost() - { - // Prep php://input with mocked data - MockPhpStream::setStartingData(json_encode($this->messageData)); - stream_wrapper_unregister('php'); - stream_wrapper_register('php', __NAMESPACE__ . '\MockPhpStream'); - - $message = Message::fromRawPostData(); - $this->assertInstanceOf('Aws\Sns\MessageValidator\Message', $message); - - stream_wrapper_restore("php"); - } - - /** - * @dataProvider getDataForStringToSignTest - */ - public function testBuildsStringToSignCorrectly(array $messageData, $expectedSubject, $expectedStringToSign) - { - $message = new Message(new Collection($messageData)); - $this->assertEquals($expectedSubject, $message->get('Subject')); - $this->assertEquals($expectedStringToSign, $message->getStringToSign()); - } - - public function getDataForStringToSignTest() - { - $testCases = array(); - - // Test case where one key is not signable - $testCases[0] = array(); - $testCases[0][] = array( - 'TopicArn' => 'd', - 'Message' => 'a', - 'Timestamp' => 'c', - 'Type' => 'e', - 'MessageId' => 'b', - 'FooBar' => 'f', - ); - $testCases[0][] = null; - $testCases[0][] = <<< STRINGTOSIGN -Message -a -MessageId -b -Timestamp -c -TopicArn -d -Type -e - -STRINGTOSIGN; - - // Test case where all keys are signable - $testCases[1] = array(); - $testCases[1][] = array( - 'TopicArn' => 'e', - 'Message' => 'a', - 'Timestamp' => 'd', - 'Type' => 'f', - 'MessageId' => 'b', - 'Subject' => 'c', - ); - $testCases[1][] = 'c'; - $testCases[1][] = <<< STRINGTOSIGN -Message -a -MessageId -b -Subject -c -Timestamp -d -TopicArn -e -Type -f - -STRINGTOSIGN; - - return $testCases; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MessageValidatorTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MessageValidatorTest.php deleted file mode 100644 index 73b52d9..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MessageValidatorTest.php +++ /dev/null @@ -1,141 +0,0 @@ -markTestSkipped('The OpenSSL extension is required to run the tests for MessageValidator.'); - } - } - - public function testIsValidReturnsFalseOnFailedValidation() - { - $validator = new MessageValidator(); - $message = new Message(new Collection()); - $this->assertFalse($validator->isValid($message)); - } - - public function testValidateFailsWhenCertUrlDoesNotMatchAws() - { - $this->setExpectedException('Aws\Sns\MessageValidator\Exception\CertificateFromUnrecognizedSourceException'); - - $validator = new MessageValidator(); - $message = new Message(new Collection()); - $validator->validate($message); - } - - public function testValidateFailsWhenCannotDeterminePublicKey() - { - $this->setExpectedException('Aws\Sns\MessageValidator\Exception\CannotGetPublicKeyFromCertificateException'); - - // Create the validator with a mock HTTP client - $client = $this->getMockClient(); - $validator = new MessageValidator($client); - - $message = new Message(new Collection(array('SigningCertURL' => 'https://foo.amazonaws.com/bar'))); - $validator->validate($message); - } - - public function testValidateFailsWhenMessageIsInvalid() - { - $this->setExpectedException('Aws\Sns\MessageValidator\Exception\InvalidMessageSignatureException'); - - // Get the signature for some dummy data - list($signature, $certificate) = $this->getSignature('foo'); - - // Create the validator with a mock HTTP client that will respond with the certificate - $client = $this->getMockClient(new Response(200, null, $certificate)); - $validator = new MessageValidator($client); - - $message = new Message(new Collection(array( - 'SigningCertURL' => 'https://foo.amazonaws.com/bar', - 'Signature' => $signature, - ))); - $validator->validate($message); - } - - public function testValidateSucceedsWhenMessageIsValid() - { - // Create a real message - $message = Message::fromArray(array( - 'Message' => 'foo', - 'MessageId' => 'bar', - 'Timestamp' => time(), - 'TopicArn' => 'baz', - 'Type' => 'Notification', - 'SigningCertURL' => 'https://foo.amazonaws.com/bar', - 'Signature' => null, - )); - - // Get the signature for a real message - list($signature, $certificate) = $this->getSignature($message->getStringToSign()); - $message->getData()->set('Signature', $signature); - - // Create the validator with a mock HTTP client that will respond with the certificate - $client = $this->getMockClient(new Response(200, null, $certificate)); - $validator = new MessageValidator($client); - - // The message should validate - $this->assertTrue($validator->isValid($message)); - } - - protected function getMockClient(Response $response = null) - { - $response = $response ?: new Response(200); - - $plugin = new MockPlugin(); - $plugin->addResponse($response); - - $client = new Client(); - $client->addSubscriber($plugin); - - return $client; - } - - protected function getSignature($stringToSign) - { - // Generate a new Certificate Signing Request and public/private keypair - $csr = openssl_csr_new(array(), $keypair); - - // Create the self-signed certificate - $x509 = openssl_csr_sign($csr, null, $keypair, 1); - openssl_x509_export($x509, $certificate); - - // Create the signature - $privateKey = openssl_get_privatekey($keypair); - openssl_sign($stringToSign, $signature, $privateKey); - - // Free the openssl resources used - openssl_pkey_free($keypair); - openssl_x509_free($x509); - - return array(base64_encode($signature), $certificate); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MockPhpStream.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MockPhpStream.php deleted file mode 100644 index 7da5fb3..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/MessageValidator/MockPhpStream.php +++ /dev/null @@ -1,75 +0,0 @@ -data = self::$startingData; - $this->index = 0; - $this->length = strlen(self::$startingData); - } - - public function stream_open($path, $mode, $options, &$opened_path) - { - return true; - } - - public function stream_close() - { - } - - public function stream_stat() - { - return array(); - } - - public function stream_flush() - { - return true; - } - - public function stream_read($count) - { - $length = min($count, $this->length - $this->index); - $data = substr($this->data, $this->index); - $this->index = $this->index + $length; - - return $data; - } - - public function stream_eof() - { - return ($this->index >= $this->length); - } - - public function stream_write($data) - { - return 0; - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/SnsClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/SnsClientTest.php deleted file mode 100644 index fc90cef..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sns/SnsClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV2', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://sns.us-east-1.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/Integration/IntegrationTest.php deleted file mode 100644 index 5412c1d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/Integration/IntegrationTest.php +++ /dev/null @@ -1,163 +0,0 @@ -sqs = $this->getServiceBuilder()->get('sqs'); - } - - public function testBasicOperations() - { - // Create a queue and make sure everything goes OK - - $queueName = 'php-integ-sqs-queue-' . time(); - self::log('Create an SQS queue.'); - $result = $this->sqs->getCommand('CreateQueue', array( - 'QueueName' => $queueName, - 'Attributes' => array( - QueueAttribute::RECEIVE_MESSAGE_WAIT_TIME_SECONDS => 20, - QueueAttribute::DELAY_SECONDS => 10, - ), - ))->getResult(); - $createdQueueUrl = $result->get('QueueUrl'); - - self::log('Get the queue URL.'); - $result = $this->sqs->getCommand('GetQueueUrl', array( - 'QueueName' => $queueName - ))->getResult(); - $queueUrl = $result->get('QueueUrl'); - $this->assertEquals($createdQueueUrl, $queueUrl); - - self::log('Get the queue attributes.'); - $result = $this->sqs->getCommand('GetQueueAttributes', array( - 'QueueUrl' => $queueUrl, - 'AttributeNames' => array(QueueAttribute::ALL) - ))->getResult(); - $this->assertEquals(20, $result->getPath('Attributes/' . QueueAttribute::RECEIVE_MESSAGE_WAIT_TIME_SECONDS)); - $this->assertEquals(10, $result->getPath('Attributes/' . QueueAttribute::DELAY_SECONDS)); - - self::log('Make sure the custom ARN-calculating logic returns the actual ARN.'); - $this->assertEquals( - $this->sqs->getQueueArn($queueUrl), - $result->getPath('Attributes/' . QueueAttribute::QUEUE_ARN) - ); - - // Send, receive, and delete messages - - $messagesToDelete = array(); - - self::log('Send a message with no delay to the queue.'); - $this->sqs->getCommand('SendMessage', array( - 'QueueUrl' => $queueUrl, - 'MessageBody' => 'test message 1', - 'DelaySeconds' => 0, - 'VisibilityTimeout' => 300 - ))->execute(); - - self::log('Receive a message from the queue.'); - $result = $this->sqs->getCommand('ReceiveMessage', array( - 'QueueUrl' => $queueUrl, - 'AttributeNames' => array(MessageAttribute::ALL), - ))->getResult(); - $messages = $result->get('Messages'); - $this->assertCount(1, $messages); - $message = $messages[0]; - $this->assertEquals('test message 1', $message['Body']); - $this->assertCount(4, $message['Attributes']); // Make sure attributes are unmarshalled correctly - $messagesToDelete[] = array( - 'Id' => str_replace(' ', '-', $message['Body']), - 'ReceiptHandle' => $message['ReceiptHandle'], - ); - - self::log('Send and receive a delayed message and make sure long polling is working. Please wait.'); - $startTime = microtime(true); - $this->sqs->getCommand('SendMessage', array( - 'QueueUrl' => $queueUrl, - 'MessageBody' => 'test message 2', - ))->execute(); - $result = $this->sqs->getCommand('ReceiveMessage', array( - 'QueueUrl' => $queueUrl, - ))->getResult(); - $endTime = microtime(true); - $this->assertGreaterThan(5, $endTime - $startTime); - $message = $result->getPath('Messages/0'); - $messagesToDelete[] = array( - 'Id' => str_replace(' ', '-', $message['Body']), - 'ReceiptHandle' => $message['ReceiptHandle'], - ); - - self::log('Delete the messages using batch delete and verify that the deletions are successful.'); - $result = $this->sqs->getCommand('DeleteMessageBatch', array( - 'QueueUrl' => $queueUrl, - 'Entries' => $messagesToDelete, - ))->getResult(); - $deletions = $result['Successful']; - $this->assertCount(2, $deletions); - foreach ($deletions as $deletion) { - $this->assertRegExp('/^test\-message\-\d$/', $deletion['Id']); - } - - // Delete the queue - - self::log('Delete the queue.'); - $this->sqs->getCommand('DeleteQueue', array( - 'QueueUrl' => $queueUrl - ))->execute(); - } - - /** - * @expectedException \Aws\Sqs\Exception\SqsException - */ - public function testErrorParsing() - { - $this->sqs->getQueueUrl(array('QueueName' => 'php-fake-queue')); - } - - protected static function cleanUpQueues() - { - self::log('Cleanup any existing queues from other integ tests.'); - $sqs = self::getServiceBuilder()->get('sqs'); - foreach ($sqs->getIterator('ListQueues', array('QueueNamePrefix' => 'php-integ-sqs-')) as $queueUrl) { - $sqs->deleteQueue(array('QueueUrl' => $queueUrl)); - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/QueueUrlListenerTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/QueueUrlListenerTest.php deleted file mode 100644 index a153d70..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/QueueUrlListenerTest.php +++ /dev/null @@ -1,52 +0,0 @@ -getSubscribedEvents(); - $this->assertArrayHasKey('command.before_send', $events); - - // Setup state of command/request - $newUrl = 'https://queue.amazonaws.com/stuff/in/the/path'; - $client = $this->getServiceBuilder()->get('s3', true); - $command = $client->getCommand('ListBuckets'); - $request = $command->prepare(); - $command->set('QueueUrl', $newUrl); - $request->getParams()->set('QueueUrl', $newUrl); - $event = new Event(array('command' => $command)); - - // Execute the listener and confirm effects - $listener->onCommandBeforeSend($event); - $this->assertEquals($newUrl, $request->getUrl()); - $this->assertFalse($request->getParams()->hasKey('QueueUrl')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/SqsClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/SqsClientTest.php deleted file mode 100644 index 520e71f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sqs/SqsClientTest.php +++ /dev/null @@ -1,47 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-east-1' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://sqs.us-east-1.amazonaws.com', $client->getBaseUrl()); - } - - public function testGetQueueArn() - { - $url = 'https://sqs.us-east-1.amazonaws.com/057737625318/php-integ-sqs-queue-1359765974'; - $arn = 'arn:aws:sqs:us-east-1:057737625318:php-integ-sqs-queue-1359765974'; - $sqs = SqsClient::factory(array('region' => 'us-east-1')); - - $this->assertEquals($arn, $sqs->getQueueArn($url)); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/StorageGateway/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/StorageGateway/Integration/IntegrationTest.php deleted file mode 100644 index f0a8711..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/StorageGateway/Integration/IntegrationTest.php +++ /dev/null @@ -1,60 +0,0 @@ -sg = $this->getServiceBuilder()->get('storagegateway'); - $this->sg->setRegion(Region::US_WEST_2); - } - - public function testListOperation() - { - $result = $this->sg->listGateways(); - $this->assertArrayHasKey('Gateways', $result->toArray()); - } - - /** - * @expectedException \Aws\StorageGateway\Exception\InvalidGatewayRequestException - * @expectedExceptionMessage The specified activation key was not found. - */ - public function testFailsToActivateInvalidGateway() - { - $this->sg->activateGateway(array( - 'ActivationKey' => 'fooV1-barV9-VVIUB-NKT0I-LRO6V', - 'GatewayName' => 'mygateway', - 'GatewayTimezone' => GatewayTimezone::GMT_MINUS_1200, - 'GatewayRegion' => Region::US_WEST_2, - 'GatewayType' => GatewayType::CACHED, - )); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/StorageGateway/StorageGatewayClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/StorageGateway/StorageGatewayClientTest.php deleted file mode 100644 index 141da1e..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/StorageGateway/StorageGatewayClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://storagegateway.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sts/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sts/Integration/IntegrationTest.php deleted file mode 100644 index 7fe85ca..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sts/Integration/IntegrationTest.php +++ /dev/null @@ -1,82 +0,0 @@ -getServiceBuilder()->get('sts'); - - $command = $client->getCommand('GetFederationToken', array( - 'DurationSeconds' => 3609, - 'Name' => 'foo', - 'Policy' => json_encode(array( - 'Statement' => array( - array( - 'Effect' => 'Deny', - 'Action' => 's3:GetObject', - 'Resource' => 'arn:aws:s3:::mybucket/federated/Jill/*' - ) - ) - )) - )); - - try { - $command->execute(); - } catch (\Aws\Sts\Exception\StsException $e) { - echo $e->getMessage() . "\n"; - echo var_export($e->getResponse()->getRequest()->getParams()->get('aws.signed_headers'), true). "\n"; - echo $e->getResponse()->getRequest()->getParams()->get('aws.canonical_request') . "\n"; - echo $e->getResponse()->getRequest()->getParams()->get('aws.string_to_sign') . "\n"; - die(); - } - - // Ensure the query string variables were set correctly - $this->assertEquals('foo', $command->getRequest()->getPostField('Name')); - $this->assertEquals('GetFederationToken', $command->getRequest()->getPostField('Action')); - $this->assertNotEmpty($command->getRequest()->getPostField('Policy')); - $this->assertEquals(3609, $command->getRequest()->getPostField('DurationSeconds')); - - // Ensure that the result is an array - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $command->getResult()); - $this->assertNotNull($command->getResult()->get('Credentials')); - $this->assertNotNull($command->getResult()->get('ResponseMetadata')); - } - - public function testRetrievesSessionTokenWithDefaultDuration() - { - $client = $this->getServiceBuilder()->get('sts'); - $command = $client->getCommand('GetSessionToken'); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $command->getResult()); - } - - public function testRetrievesSessionTokenWithCustomDuration() - { - $client = $this->getServiceBuilder()->get('sts'); - $command = $client->getCommand('GetSessionToken', array( - 'DurationSeconds' => 5000 - )); - - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $command->getResult()); - $this->assertEquals('GetSessionToken', $command->getRequest()->getPostField('Action')); - $this->assertEquals(5000, $command->getRequest()->getPostField('DurationSeconds')); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sts/StsClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sts/StsClientTest.php deleted file mode 100644 index bfd894a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Sts/StsClientTest.php +++ /dev/null @@ -1,52 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-1' - )); - - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://sts.amazonaws.com', $client->getBaseUrl()); - $this->assertInstanceOf('Aws\Common\Signature\SignatureV4', $client->getSignature()); - $this->assertTrue($client->getDescription()->hasOperation('GetSessionToken')); - } - - /** - * @expectedException \Aws\Common\Exception\InvalidArgumentException - */ - public function testRequiresLongTermCredentials() - { - StsClient::factory(array( - 'key' => 'foo', - 'secret' => 'bar', - 'token' => 'foo', - 'region' => 'us-west-1' - )); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Swf/Integration/IntegrationTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Swf/Integration/IntegrationTest.php deleted file mode 100644 index b3c85ed..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Swf/Integration/IntegrationTest.php +++ /dev/null @@ -1,112 +0,0 @@ -swf = $this->getServiceBuilder()->get('swf'); - } - - public function testBasicOperations() - { - $registeredDomain = 'php-integ-swf-domain'; - $deprecatedDomain = 'php-integ-swf-domain-deprecated'; - - self::log('Create a SWF domain to use for testing.'); - try { - $this->swf->getCommand('RegisterDomain', array( - 'name' => $registeredDomain, - 'description' => 'For integration testing in the AWS SDK for PHP', - 'workflowExecutionRetentionPeriodInDays' => '10' - ))->execute(); - } catch (DomainAlreadyExistsException $e) { - self::log('The domain is already created.'); - } - - self::log('Make sure the domain is there with the correct status.'); - $result = $this->swf->getCommand('DescribeDomain', array( - 'name' => $registeredDomain, - ))->getResult(); - $this->assertEquals(RegistrationStatus::REGISTERED, $result->getPath('domainInfo/status')); - - self::log('Create a second SWF domain to use for testing.'); - try { - $this->swf->getCommand('RegisterDomain', array( - 'name' => $deprecatedDomain, - 'description' => 'For integration testing in the AWS SDK for PHP', - 'workflowExecutionRetentionPeriodInDays' => '10' - ))->execute(); - } catch (DomainAlreadyExistsException $e) { - self::log('The second domain is already created.'); - } - - self::log('Deprecate the second SWF domain for testing.'); - try { - $this->swf->getCommand('DeprecateDomain', array( - 'name' => $deprecatedDomain, - ))->execute(); - } catch (DomainDeprecatedException $e) { - self::log('The second domain is already deprecated.'); - } - - self::log('Make sure the second domain is there with the correct deprecated status.'); - $result = $this->swf->getCommand('DescribeDomain', array( - 'name' => $deprecatedDomain, - ))->getResult(); - $this->assertEquals(RegistrationStatus::DEPRECATED, $result->getPath('domainInfo/status')); - - self::log('List the domains using iterators and make sure the two domains are there.'); - $domains = new AppendIterator(); - $domains->append($this->swf->getIterator('ListDomains', array( - 'reverseOrder' => true, - 'registrationStatus' => RegistrationStatus::REGISTERED, - ))); - $domains->append($this->swf->getIterator('ListDomains', array( - 'registrationStatus' => RegistrationStatus::DEPRECATED, - ))); - $domains = new FilterIterator($domains, function (array $domain) { - return (strpos($domain['name'], 'php-integ-swf') === 0); - }); - $domains = new MapIterator($domains, function (array $domain) { - return $domain['name']; - }); - $this->assertEquals(2, iterator_count($domains)); - $domainNames = array(); - foreach ($domains as $domain) { - $domainNames[] = $domain; - } - $this->assertEquals(array($registeredDomain, $deprecatedDomain), $domainNames); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Swf/SwfClientTest.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Swf/SwfClientTest.php deleted file mode 100644 index e533dea..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/Aws/Tests/Swf/SwfClientTest.php +++ /dev/null @@ -1,38 +0,0 @@ - 'foo', - 'secret' => 'bar', - 'region' => 'us-west-2' - )); - - $this->assertInstanceOf('Aws\Common\Signature\SignatureV3', $client->getSignature()); - $this->assertInstanceOf('Aws\Common\Credentials\Credentials', $client->getCredentials()); - $this->assertEquals('https://swf.us-west-2.amazonaws.com', $client->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/bootstrap.php b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/bootstrap.php deleted file mode 100644 index 44bbb86..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/bootstrap.php +++ /dev/null @@ -1,72 +0,0 @@ -add('Aws\\Test', __DIR__); - -// Register services with the GuzzleTestCase -Guzzle\Tests\GuzzleTestCase::setMockBasePath(__DIR__ . '/mock'); - -// Allow command line overrides -if (get_cfg_var('CONFIG')) { - $_SERVER['CONFIG'] = get_cfg_var('CONFIG'); -} - -// Set the service configuration file if it was not provided from the CLI -if (!isset($_SERVER['CONFIG'])) { - $serviceConfig = $_SERVER['CONFIG'] = dirname(__DIR__) . '/test_services.json'; - $_SERVER['CONFIG'] = $serviceConfig; - if (!file_exists($serviceConfig)) { - die("test_services.json does not exist.\n" - . "Please run phing test-init or copy test_services.json.dist to test_services.json\n\n"); - } -} - -if (!is_readable($_SERVER['CONFIG'])) { - die("Unable to read service configuration from '{$_SERVER['CONFIG']}'\n"); -} - -// If the global prefix is hostname, then use the crc32() of gethostname() -if (!isset($_SERVER['PREFIX']) || $_SERVER['PREFIX'] == 'hostname') { - $_SERVER['PREFIX'] = crc32(gethostname()); -} - -// Instantiate the service builder -$aws = Aws\Common\Aws::factory($_SERVER['CONFIG']); - -// Turn on wire logging if configured -$aws->getEventDispatcher()->addListener('service_builder.create_client', function (\Guzzle\Common\Event $event) { - if (isset($_SERVER['WIRE_LOGGING']) && $_SERVER['WIRE_LOGGING']) { - $event['client']->addSubscriber(Guzzle\Plugin\Log\LogPlugin::getDebugPlugin()); - } -}); - -// Configure the tests to ise the instantiated AWS service builder -Guzzle\Tests\GuzzleTestCase::setServiceBuilder($aws); diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetDistribution_Deployed b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetDistribution_Deployed deleted file mode 100644 index 68d7df8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetDistribution_Deployed +++ /dev/null @@ -1,130 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - EDFDVBD6EXAMPLE - Deployed - 2012-05-19T19:37:58Z - 1 - d111111abcdef8.cloudfront.net - - 3 - - - self - - 1 - - APKA9ONS7QCOWEXAMPLE - - - - - 111122223333 - - 2 - APKAI72T5DYBXEXAMPLE - APKAU72D8DYNXEXAMPLE - - - - 444455556666 - - 0 - - - - - - example.com2012-04-11-5:09pm - - 1 - - www.example.com - - - index.html - - 2 - - - example-Amazon S3-origin - myawsbucket.s3.amazonaws.com - - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - - example-custom-origin - example.com - - 80 - 443 - match-viewer - - - - - - example-Amazon S3-origin - - true - - whitelist - - 1 - - example-cookie - - - - - - true - 3 - - self - 111122223333 - 444455556666 - - - https-only - 0 - - - 1 - - *.jpg - example-custom-origin - - false - - all - - - - true - 2 - - self - 111122223333 - - - allow-all - 86400 - - - example comment - - true - true - myawslogbucket.s3.amazonaws.com - example.com. - - PriceClass_All - true - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetDistribution_InProgress b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetDistribution_InProgress deleted file mode 100644 index 7a69226..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetDistribution_InProgress +++ /dev/null @@ -1,130 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - EDFDVBD6EXAMPLE - InProgress - 2012-05-19T19:37:58Z - 1 - d111111abcdef8.cloudfront.net - - 3 - - - self - - 1 - - APKA9ONS7QCOWEXAMPLE - - - - - 111122223333 - - 2 - APKAI72T5DYBXEXAMPLE - APKAU72D8DYNXEXAMPLE - - - - 444455556666 - - 0 - - - - - - example.com2012-04-11-5:09pm - - 1 - - www.example.com - - - index.html - - 2 - - - example-Amazon S3-origin - myawsbucket.s3.amazonaws.com - - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - - example-custom-origin - example.com - - 80 - 443 - match-viewer - - - - - - example-Amazon S3-origin - - true - - whitelist - - 1 - - example-cookie - - - - - - true - 3 - - self - 111122223333 - 444455556666 - - - https-only - 0 - - - 1 - - *.jpg - example-custom-origin - - false - - all - - - - true - 2 - - self - 111122223333 - - - allow-all - 86400 - - - example comment - - true - true - myawslogbucket.s3.amazonaws.com - example.com. - - PriceClass_All - true - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetInvalidation_Completed b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetInvalidation_Completed deleted file mode 100644 index 552d4e1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetInvalidation_Completed +++ /dev/null @@ -1,19 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml - - - IDFDVBD632BHDS5 - Completed - 2009-11-19T19:37:58Z - - - 3 - - /image1.jpg - /image2.jpg - /videos/movie.flv - - - 20120301090001 - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetInvalidation_InProgress b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetInvalidation_InProgress deleted file mode 100644 index 2fb3e29..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetInvalidation_InProgress +++ /dev/null @@ -1,19 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml - - - IDFDVBD632BHDS5 - InProgress - 2009-11-19T19:37:58Z - - - 3 - - /image1.jpg - /image2.jpg - /videos/movie.flv - - - 20120301090001 - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetStreamingDistribution_Deployed b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetStreamingDistribution_Deployed deleted file mode 100644 index 2b9abaa..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetStreamingDistribution_Deployed +++ /dev/null @@ -1,69 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - EGTXBD79EXAMPLE - Deployed - 2012-05-19T19:37:58Z - s5c39gqb8ow64r.cloudfront.net - - 3 - - - self - - 1 - - APKA9ONS7QCOWEXAMPLE - - - - - 111122223333 - - 2 - APKAI72T5DYBXEXAMPLE - APKAU72D8DYNXEXAMPLE - - - - 444455556666 - - 0 - - - - - - 20120229090000 - - mystreamingbucket.s3.amazonaws.com - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - 1 - - www.example.com - - - example comment - - true - myawslogbucket.s3.amazonaws.com - myprefix/ - - - 3 - - self - 111122223333 - 444455556666 - - - PriceClass_All - true - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetStreamingDistribution_InProgress b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetStreamingDistribution_InProgress deleted file mode 100644 index eb9abd1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/GetStreamingDistribution_InProgress +++ /dev/null @@ -1,69 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - EGTXBD79EXAMPLE - InProgress - 2012-05-19T19:37:58Z - s5c39gqb8ow64r.cloudfront.net - - 3 - - - self - - 1 - - APKA9ONS7QCOWEXAMPLE - - - - - 111122223333 - - 2 - APKAI72T5DYBXEXAMPLE - APKAU72D8DYNXEXAMPLE - - - - 444455556666 - - 0 - - - - - - 20120229090000 - - mystreamingbucket.s3.amazonaws.com - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - 1 - - www.example.com - - - example comment - - true - myawslogbucket.s3.amazonaws.com - myprefix/ - - - 3 - - self - 111122223333 - 444455556666 - - - PriceClass_All - true - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListDistributions_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListDistributions_page_1 deleted file mode 100644 index 31b0da1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListDistributions_page_1 +++ /dev/null @@ -1,99 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - - ABC - true - 3 - - - EXAMPLE1 - Deployed - 2012-05-19T19:37:58Z - d111111abcdef8.cloudfront.net - - 1 - - www.example.com - - - - 2 - - - example-Amazon S3-origin - myawsbucket.s3.amazonaws.com - - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - - example-custom-origin - example.com - - 80 - 443 - match-viewer - - - - - - example-Amazon S3-origin - - true - - whitelist - - 1 - - example-cookie - - - - - - true - 3 - - self - 111122223333 - 444455556666 - - - https-only - 0 - - - 1 - - *.jpg - example-custom-origin - - false - - all - - - - true - 2 - - self - 111122223333 - - - allow-all - 86400 - - - example comment - PriceClass_All - true - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListDistributions_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListDistributions_page_2 deleted file mode 100644 index 96254aa..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListDistributions_page_2 +++ /dev/null @@ -1,184 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - ABC - - false - 3 - - - EXAMPLE2 - Deployed - 2012-05-19T19:37:58Z - d111111abcdef8.cloudfront.net - - 1 - - www.example.com - - - - 2 - - - example-Amazon S3-origin - myawsbucket.s3.amazonaws.com - - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - - example-custom-origin - example.com - - 80 - 443 - match-viewer - - - - - - example-Amazon S3-origin - - true - - whitelist - - 1 - - example-cookie - - - - - - true - 3 - - self - 111122223333 - 444455556666 - - - https-only - 0 - - - 1 - - *.jpg - example-custom-origin - - false - - all - - - - true - 2 - - self - 111122223333 - - - allow-all - 86400 - - - example comment - PriceClass_All - true - - - EXAMPLE3 - Deployed - 2012-05-19T19:37:58Z - d111111abcdef8.cloudfront.net - - 1 - - www.example.com - - - - 2 - - - example-Amazon S3-origin - myawsbucket.s3.amazonaws.com - - origin-access-identity/cloudfront/E74FTE3AEXAMPLE - - - - example-custom-origin - example.com - - 80 - 443 - match-viewer - - - - - - example-Amazon S3-origin - - true - - whitelist - - 1 - - example-cookie - - - - - - true - 3 - - self - 111122223333 - 444455556666 - - - https-only - 0 - - - 1 - - *.jpg - example-custom-origin - - false - - all - - - - true - 2 - - self - 111122223333 - - - allow-all - 86400 - - - example comment - PriceClass_All - true - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListStreamingDistributions_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListStreamingDistributions_page_1 deleted file mode 100644 index 72fcd84..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListStreamingDistributions_page_1 +++ /dev/null @@ -1,29 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - EGTXBD79EXAMPLE - ED4L98SBEXAMPLE - 1 - true - 3 - - - EXAMPLE1 - Deployed - 2012-05-19T19:37:58Z - s5c39gqb8ow64r.cloudfront.net - - mystreamingbucket.s3.amazonaws.com - - www.example.com - product.example.com - First distribution - PriceClass_All - true - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListStreamingDistributions_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListStreamingDistributions_page_2 deleted file mode 100644 index 88bfafd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/cloudfront/ListStreamingDistributions_page_2 +++ /dev/null @@ -1,43 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: XYZ -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml - - - - EGTXBD79EXAMPLE - ED4L98SBEXAMPLE - 3 - false - 3 - - - EXAMPLE2 - Deployed - 2012-05-19T19:37:58Z - s5c39gqb8ow64r.cloudfront.net - - mystreamingbucket.s3.amazonaws.com - - www.example.com - product.example.com - First distribution - PriceClass_All - true - - - EXAMPLE3 - Deployed - 2012-05-19T19:37:58Z - s5c39gqb8ow64r.cloudfront.net - - mystreamingbucket.s3.amazonaws.com - - www.example.com - product.example.com - First distribution - PriceClass_All - true - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_empty_has_more b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_empty_has_more deleted file mode 100644 index 3c9202c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_empty_has_more +++ /dev/null @@ -1,17 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: GTPQVRM4VJS792J1UFJTKUBVV4KQNSO5AEMVJF66Q9ASUAAJG -content-type: application/x-amz-json-1.0 -Date: Fri, 02 Sep 2011 23:07:39 GMT - -{ - "UnprocessedKeys": { - "Table3": { - "Keys": [ - {"HashKeyElement": {"S":"KeyValue1"}, "RangeKeyElement":{"N":"2"}}, - {"HashKeyElement": {"S":"KeyValue3"}, "RangeKeyElement":{"N":"4"}}, - {"HashKeyElement": {"S":"KeyValue5"}, "RangeKeyElement":{"N":"6"}} - ], - "AttributesToGet":["AttributeName1", "AttributeName2", "AttributeName3"] - } - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_final b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_final deleted file mode 100644 index de74612..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_final +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: GTPQVRM4VJS792J1UFJTKUBVV4KQNSO5AEMVJF66Q9ASUAAJG -content-type: application/x-amz-json-1.0 -Date: Fri, 02 Sep 2011 23:07:39 GMT - -{"Responses": - {"comp2": - {"Items": - [{"status":{"S":"online"},"user":{"S":"Casey"}}, - {"status":{"S":"working"},"user":{"S":"Riley"}}, - {"status":{"S":"running"},"user":{"S":"Dave"}}], - "ConsumedCapacityUnits":1.5}, - "comp2": - {"Items": - [{"friends":{"SS":["Elisabeth", "Peter"]},"user":{"S":"Mingus"}}, - {"friends":{"SS":["Dave", "Peter"]},"user":{"S":"Julie"}}], - "ConsumedCapacityUnits":1} - }, - "UnprocessedKeys":{} -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_has_more b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_has_more deleted file mode 100644 index 4ffce5f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/batch_get_item_has_more +++ /dev/null @@ -1,37 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 8966d095-71e9-11e0-a498-71d736f27375 -content-type: application/x-amz-json-1.0 - -{"Responses": - {"Table1": - {"Items": - [{"AttributeName1": {"S":"AttributeValue"}, - "AttributeName2": {"N":"11"}, - "AttributeName3": {"SS":["AttributeValue", "AttributeValue", "AttributeValue"]} - }, - {"AttributeName1": {"S": "AttributeValue"}, - "AttributeName2": {"S": "AttributeValue"}, - "AttributeName3": {"NS": ["11", "12", "13"]} - }], - "ConsumedCapacityUnits":1}, - "Table2": - {"Items": - [{"AttributeName1": {"S":"AttributeValue"}, - "AttributeName2": {"N":"21"}, - "AttributeName3": {"SS":["AttributeValue", "AttributeValue", "AttributeValue"]} - }, - {"AttributeName1": {"S": "AttributeValue"}, - "AttributeName2": {"S": "AttributeValue"}, - "AttributeName3": {"NS": ["21", "22","23"]} - }], - "ConsumedCapacityUnits":1} - }, - "UnprocessedKeys": - {"Table3": - {"Keys": - [{"HashKeyElement": {"S":"KeyValue1"}, "RangeKeyElement":{"N":"2"}}, - {"HashKeyElement": {"S":"KeyValue3"}, "RangeKeyElement":{"N":"4"}}, - {"HashKeyElement": {"S":"KeyValue5"}, "RangeKeyElement":{"N":"6"}}], - "AttributesToGet":["AttributeName1", "AttributeName2", "AttributeName3"]} - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/describe_table b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/describe_table deleted file mode 100644 index c12cc4a..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/describe_table +++ /dev/null @@ -1,24 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: TM8TFIHM2RGRTJGKTKRQ0JJL1FOOKQNSO5AEMVJFBAZ9ASUABAR -Content-Type: application/x-amz-json-1.0 -Date: Tue, 29 May 2012 02:56:49 GMT - -{ - "Table": { - "CreationDateTime": 1.328567569381E9, - "ItemCount": 22, - "KeySchema": { - "HashKeyElement": { - "AttributeName": "id", - "AttributeType": "S" - } - }, - "ProvisionedThroughput": { - "ReadCapacityUnits": 10, - "WriteCapacityUnits": 5 - }, - "TableName": "foo", - "TableSizeBytes": 414, - "TableStatus": "ACTIVE" - } -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/describe_table_not_found b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/describe_table_not_found deleted file mode 100644 index e8d44f2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/describe_table_not_found +++ /dev/null @@ -1,9 +0,0 @@ -HTTP/1.1 400 Bad Request -x-amzn-RequestId: TM8TFIHM2RGRTJGKTKRQ0JJL1FOOKQNSO5AEMVJFBAZ9ASUABAR -Content-Type: application/x-amz-json-1.0 -Date: Tue, 29 May 2012 02:56:49 GMT - -{ - "__type": "com.amazonaws.dynamodb.v20111205#ResourceNotFoundException", - "message": "Requested resource not found: Table: foobazbar not found" -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/get_item b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/get_item deleted file mode 100644 index 070900d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/get_item +++ /dev/null @@ -1,16 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: TM8TFIHM2RGRTJGKTKRQ0JJL1FOOKQNSO5AEMVJFBAZ9ASUABAR -Content-Type: application/x-amz-json-1.0 -Date: Tue, 29 May 2012 02:56:49 GMT - -{ - "Item": { - "friends": { - "SS": ["Lynda, Aaron"] - }, - "status": { - "S":"online" - } - }, - "ConsumedCapacityUnits": 1 -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/list_tables_final b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/list_tables_final deleted file mode 100644 index 6e521ca..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/list_tables_final +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: S1LEK2DPQP8OJNHVHL8OU2M7KRVV4KQNSO5AEMVJF66Q9ASUAAJG -content-type: application/x-amz-json-1.0 -Date: Fri, 21 Oct 2011 20:35:38 GMT - -{"TableNames":["Table4","Table5"]} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/list_tables_has_more b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/list_tables_has_more deleted file mode 100644 index 2f23723..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/list_tables_has_more +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: S1LEK2DPQP8OJNHVHL8OU2M7KRVV4KQNSO5AEMVJF66Q9ASUAAJG -content-type: application/x-amz-json-1.0 -Date: Fri, 21 Oct 2011 20:35:38 GMT - -{"TableNames":["Table1","Table2","Table3"], "LastEvaluatedTableName":"Table3"} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/query_final b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/query_final deleted file mode 100644 index 8cebf5b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/query_final +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 8966d095-71e9-11e0-a498-71d736f27375 -content-type: application/x-amz-json-1.0 - -{ - "Count": 1, - "Items": [{ - "Test": { "S": "Abc" }, - "Test2": { "N": "123" } - }], - "ConsumedCapacityUnits": 1 -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/query_has_more b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/query_has_more deleted file mode 100644 index cbb0143..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/query_has_more +++ /dev/null @@ -1,37 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 8966d095-71e9-11e0-a498-71d736f27375 -content-type: application/x-amz-json-1.0 - -{ - "Count": 2, - "Items": [{ - "AttributeName1": { - "S": "AttributeValue1" - }, - "AttributeName2": { - "N": "AttributeValue2" - }, - "AttributeName3": { - "S": "AttributeValue3" - } - }, { - "AttributeName1": { - "S": "AttributeValue3" - }, - "AttributeName2": { - "N": "AttributeValue4" - }, - "AttributeName3": { - "S": "AttributeValue3" - } - }], - "LastEvaluatedKey": { - "HashKeyElement": { - "AttributeValue3": "S" - }, - "RangeKeyElement": { - "AttributeValue4": "N" - } - }, - "ConsumedCapacityUnits": 1 -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_empty_has_more b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_empty_has_more deleted file mode 100644 index a884329..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_empty_has_more +++ /dev/null @@ -1,18 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 8966d095-71e9-11e0-a498-71d736f27375 -content-type: application/x-amz-json-1.0 - -{ - "Count": 0, - "Items": [], - "LastEvaluatedKey": { - "HashKeyElement": { - "S": "AttributeName1" - }, - "RangeKeyElement": { - "N": "2" - } - }, - "ConsumedCapacityUnits": 1, - "ScannedCount": 200 -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_final b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_final deleted file mode 100644 index f194407..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_final +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 8966d095-71e9-11e0-a498-71d736f27375 -content-type: application/x-amz-json-1.0 - -{ - "Count": 1, - "Items": [{ - "AttributeName1": { - "S": "Hi" - }, - "AttributeName2": { - "S": "There" - }, - "AttributeName3": { - "S": "Test!" - } - }], - "ConsumedCapacityUnits": 1, - "ScannedCount": 5 -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_has_more b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_has_more deleted file mode 100644 index dc08fa0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/dynamodb/scan_has_more +++ /dev/null @@ -1,38 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 8966d095-71e9-11e0-a498-71d736f27375 -content-type: application/x-amz-json-1.0 - -{ - "Count": 2, - "Items": [{ - "AttributeName1": { - "S": "AttributeValue1" - }, - "AttributeName2": { - "S": "AttributeValue2" - }, - "AttributeName3": { - "S": "AttributeValue3" - } - }, { - "AttributeName1": { - "S": "AttributeValue4" - }, - "AttributeName2": { - "S": "AttributeValue5" - }, - "AttributeName3": { - "S": "AttributeValue6" - } - }], - "LastEvaluatedKey": { - "HashKeyElement": { - "S": "AttributeName1" - }, - "RangeKeyElement": { - "N": "2" - } - }, - "ConsumedCapacityUnits": 1, - "ScannedCount": 2 -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_no_reservations b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_no_reservations deleted file mode 100644 index 3dd0115..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_no_reservations +++ /dev/null @@ -1,11 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml;charset=UTF-8 -Transfer-Encoding: chunked -Date: Wed, 19 Dec 2012 19:42:10 GMT -Server: AmazonEC2 - - - - efooa5c2-1960-4c86-92ae-f5example2dc - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_two_instances_different_state b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_two_instances_different_state deleted file mode 100644 index 33f0e77..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_two_instances_different_state +++ /dev/null @@ -1,30 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml;charset=UTF-8 -Transfer-Encoding: chunked -Date: Wed, 19 Dec 2012 19:42:10 GMT -Server: AmazonEC2 - - - - efooa5c2-1960-4c86-92ae-f5example2dc - - - - - i-xxxxxxx1 - - 0 - pending - - - - i-xxxxxxx2 - - 16 - running - - - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_two_instances_same_state b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_two_instances_same_state deleted file mode 100644 index d13930f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_instances_two_instances_same_state +++ /dev/null @@ -1,30 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml;charset=UTF-8 -Transfer-Encoding: chunked -Date: Wed, 19 Dec 2012 19:42:10 GMT -Server: AmazonEC2 - - - - efooa5c2-1960-4c86-92ae-f5example2dc - - - - - i-xxxxxxx1 - - 16 - running - - - - i-xxxxxxx2 - - 16 - running - - - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_snapshots_completed b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_snapshots_completed deleted file mode 100644 index fde7e1c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_snapshots_completed +++ /dev/null @@ -1,22 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml;charset=UTF-8 -Transfer-Encoding: chunked -Date: Wed, 19 Dec 2012 19:42:10 GMT -Server: AmazonEC2 - - - 59dbff89-35bd-4eac-99ed-be587EXAMPLE - - - snap-1a2b3c4d - vol-1a2b3c4d - completed - YYYY-MM-DDTHH:MM:SS.SSSZ - 80% - 111122223333 - 15 - Daily Backup - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_snapshots_pending b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_snapshots_pending deleted file mode 100644 index 45c01b1..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/ec2/describe_snapshots_pending +++ /dev/null @@ -1,22 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: text/xml;charset=UTF-8 -Transfer-Encoding: chunked -Date: Wed, 19 Dec 2012 19:42:10 GMT -Server: AmazonEC2 - - - 59dbff89-35bd-4eac-99ed-be587EXAMPLE - - - snap-1a2b3c4d - vol-1a2b3c4d - pending - YYYY-MM-DDTHH:MM:SS.SSSZ - 80% - 111122223333 - 15 - Daily Backup - - - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/complete_multipart_upload b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/complete_multipart_upload deleted file mode 100644 index 2fcb661..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/complete_multipart_upload +++ /dev/null @@ -1,5 +0,0 @@ -HTTP/1.1 201 Created -x-amzn-RequestId: AAABZpJrTyioEXAMPLEHae8EZp_uBSJr6cnGOLKqEXAMPLE -Date: Sun, 25 Mar 2012 12:00:00 GMT -Location: /111122223333/vaults/examplevault/archives/NkbByEejwEggmBz2fTHgJrg0XBoDfjP4q6iu87-TjhqG6eGoOY9Z8i1_AUyUsuhPAdTqLHy8pTl5nfCFJmDl2yEZONi5L26Omw12vcs01MNGntHEQL8MBfGlqrEXAMPLEArchiveId -x-amz-archive-id: NkbByEejwEggmBz2fTHgJrg0XBoDfjP4q6iu87-TjhqG6eGoOY9Z8i1_AUyUsuhPAdTqLHy8pTl5nfCFJmDl2yEZONi5L26Omw12vcs01MNGntHEQL8MBfGlqrEXAMPLEArchiveId diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/describe_vault b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/describe_vault deleted file mode 100644 index 1508a6d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/describe_vault +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: ClRIoB1FOOlxAZBAR3NUtc4FOOXh6iQx6BARkSsjSKKTEST -Content-Type: application/json -Content-Length: 241 -Date: Sat, 29 Sep 2012 07:21:34 GMT - -{"CreationDate":"2012-09-17T17:25:43.708Z","LastInventoryDate":"2012-09-28T08:20:46.791Z","NumberOfArchives":5,"SizeInBytes":164000,"VaultARN":"arn:aws:glacier-gamma:us-east-1:599169143985:vaults/foo","VaultName":"foo"} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/describe_vault_error b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/describe_vault_error deleted file mode 100644 index 1ebf23c..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/describe_vault_error +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 404 Not Found -x-amzn-RequestId: cRTFOOvHtBARDMbFOO6GtBAR_aKFOOXt05BARIRVO_TEST -Content-Type: application/json -Content-Length: 145 -Date: Sat, 29 Sep 2012 07:25:57 GMT - -{"code":"ResourceNotFoundException","message":"Vault not found for ARN: arn:aws:glacier-gamma:us-east-1:599169622985:vaults/foo","type":"Client"} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/initiate_multipart_upload b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/initiate_multipart_upload deleted file mode 100644 index c6d4813..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/initiate_multipart_upload +++ /dev/null @@ -1,5 +0,0 @@ -HTTP/1.1 201 Created -x-amzn-RequestId: AAABZpJFOOioDC_HsOmBAR8EZp_uFOOr6cnGOBAR_XJCFOO -Date: Sun, 25 Mar 2012 12:00:00 GMT -Location: /111122223333/vaults/foo/multipart-uploads/EXAMPLEVylEpFEMM9_HpKowEXAMPLE5sSL39_3EXAMPLEFUWVrnRHaPjUJddQ5EXAMPLEYtrN47NBZ-khxOjyEXAMPLE -x-amz-multipart-upload-id: EXAMPLEVylEpFEMM9_HpKowEXAMPLE5sSL39_3EXAMPLEFUWVrnRHaPjUJddQ5EXAMPLEYtrN47NBZ-khxOjyEXAMPLE diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/list_parts b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/list_parts deleted file mode 100644 index 178bafb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/list_parts +++ /dev/null @@ -1,23 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: AAABZEXAMPLEsOe8EEXAMPLEnGOLKEXAMPLEl-Q -Date: Sun, 25 Mar 2012 12:00:00 GMT -Content-Type: application/json -Content-Length: 411 - -{ - "ArchiveDescription" : "archive description", - "CreationDate" : "2012-03-20T17:03:43.221Z", - "Marker": null, - "MultipartUploadId" : "OW2fM5iVylEpFEMM9_FOOowRapC3vn5sSL39_396UW9zBARWVrnRHaPjUFOOQ5OxSHVXjYtrN4BARZ-khxOjyEXAMPLE", - "PartSizeInBytes" : 4194304, - "Parts" : - [ { - "RangeInBytes" : "0-4194303", - "SHA256TreeHash" : "01d34dabf7be316472c93b1ef80721f5d4" - }, - { - "RangeInBytes" : "4194304-8388607", - "SHA256TreeHash" : "0195875365afda349fc21c84c099987164" - }], - "VaultARN" : "arn:aws:glacier:us-east-1:012345678901:vaults/demo-vault" -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/upload_part b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/upload_part deleted file mode 100644 index 577e6f8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/glacier/upload_part +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 204 No Content -x-amzn-RequestId: AAABZpJrEXAMPLEsOmHae8EZp_uBSJr6cnGOLKeQEXAMPLE -x-amz-sha256-tree-hash: c06f7cd4baacb0FOO02a99a5fBARf953 -Date: Sun, 25 Mar 2012 12:00:00 GMT diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/metadata/iam_security_credentials b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/metadata/iam_security_credentials deleted file mode 100644 index 6b0ed37..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/metadata/iam_security_credentials +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.0 200 OK -Content-Type: text/plain -Accept-Ranges: bytes -Last-Modified: Tue, 01 May 2012 23:50:50 GMT -Content-Length: 6 -Connection: close -Date: Thu, 10 May 2012 23:45:26 GMT -Server: EC2ws - -webapp diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/metadata/iam_security_credentials_webapp b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/metadata/iam_security_credentials_webapp deleted file mode 100644 index 977f7c4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/metadata/iam_security_credentials_webapp +++ /dev/null @@ -1,16 +0,0 @@ -HTTP/1.0 200 OK -Content-Type: text/plain -Accept-Ranges: bytes -Last-Modified: Tue, 01 May 2012 23:50:50 GMT -Connection: close -Date: Thu, 10 May 2012 23:45:26 GMT -Server: EC2ws - -{"Code":"Success", - "Type":"AWS-HMAC", - "AccessKeyId":"AKIAIEXAMPLEEXAMPLEA", - "SecretAccessKey":"EXAMPLErUcddCyEXAMPLEnG3vwyGTnFZ4EXAMPLE", - "Token":"AxCusEXAMPLEFooBarBaz...", - "Expiration":"2050-05-09T23:35:40Z", - "LastUpdated":"2050-05-09T15:35:40Z" -} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/rds/create_db_security_group b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/rds/create_db_security_group deleted file mode 100644 index ba7748b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/rds/create_db_security_group +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: 5939f157-76f9-11e2-aaa9-**** -Content-Type: text/xml -Content-Length: 546 -Date: Thu, 14 Feb 2013 22:53:29 GMT - - - - - - Integ test - - 123456 - integfoo - - - - 5939f157-76f9-11e2-aaa9-**** - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_1 deleted file mode 100644 index 0263ae5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_1 +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: effoobac-4a7e-11e2-8e0e-95example0c0 -Content-Type: text/xml -Content-Length: 536 -Date: Thu, 20 Dec 2012 08:26:21 GMT - - -www.example.com.NSabtrue1example.com.SOA diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_2 deleted file mode 100644 index 712c0d8..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_2 +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: effoobac-4a7e-11e2-8e0e-95example0c0 -Content-Type: text/xml -Content-Length: 506 -Date: Thu, 20 Dec 2012 08:26:21 GMT - - -www.example.com.NScdtrue1identifier diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_3 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_3 deleted file mode 100644 index b72d1e5..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/list_rrs_page_3 +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: effoobac-4a7e-11e2-8e0e-95example0c0 -Content-Type: text/xml -Content-Length: 459 -Date: Thu, 20 Dec 2012 08:26:21 GMT - - -www.example.com.SOAeffalse1 diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/server_time_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/server_time_1 deleted file mode 100644 index 525f978..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/server_time_1 +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 200 OK -x-amz-request-id: 69C40696342A9E1BEXAMPLE -Date: Thu, 19 Nov 2009 19:37:58 GMT -Content-Type: text/plain diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/server_time_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/server_time_2 deleted file mode 100644 index 85626ad..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/route53/server_time_2 +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 400 Bad Request -x-amz-request-id: 69C40696342A9E1BEXAMPLE -Date: Fri, 20 Nov 2009 19:37:58 GMT -Content-Type: text/plain diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/complete_multipart_upload b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/complete_multipart_upload deleted file mode 100644 index 32d5f2f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/complete_multipart_upload +++ /dev/null @@ -1,14 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg== -x-amz-request-id: 656c76696e6727732072657175657374 -Date: Mon, 1 Nov 2010 20:34:56 GMT -Connection: close -Server: AmazonS3 - - - - http://Example-Bucket.s3.amazonaws.com/Example-Object - Example-Bucket - Example-Object - "3858f62230ac3c915f300c664312c11f-9" - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/delete_multiple_objects b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/delete_multiple_objects deleted file mode 100644 index 99466d4..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/delete_multiple_objects +++ /dev/null @@ -1,16 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Wed, 30 Nov 2011 03:39:32 GMT -Content-Type: application/xml -Server: AmazonS3 -Content-Length: 276 - - - - - SampleDocument.txt - true - NeQt5xeFTfgPJD8B4CGWnkSLtluMr11s - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/delete_multiple_objects_errors b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/delete_multiple_objects_errors deleted file mode 100644 index f042394..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/delete_multiple_objects_errors +++ /dev/null @@ -1,18 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Fri, 02 Dec 2011 01:53:42 GMT -Content-Type: application/xml -Server: AmazonS3 - - - - - sample1.txt - - - sample2.txt - AccessDenied - Access Denied - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_object_versions_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_object_versions_page_1 deleted file mode 100644 index 8ff16ff..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_object_versions_page_1 +++ /dev/null @@ -1,19 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - - - bucket-1 - - - - key-1 - version-id-1 - - true - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_object_versions_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_object_versions_page_2 deleted file mode 100644 index dd5c41f..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_object_versions_page_2 +++ /dev/null @@ -1,69 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - - - bucket-1 - - - - - false - - key-1 - version-id-1 - true - 2009-10-12T17:50:30.000Z - "fba9dede5f27731c9771645a39863328" - 434234 - STANDARD - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - - key-1 - version-id-2 - true - 2009-11-12T17:50:30.000Z - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - - key-2 - version-id-1 - false - 2009-10-10T17:50:30.000Z - "9b2cf535f27731c974343645a3985328" - 166434 - STANDARD - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - - key-2 - version-id-2 - true - 2009-10-15T17:50:30.000Z - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - - prefix-1/ - - - prefix-2/ - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_policy_failure b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_policy_failure deleted file mode 100644 index 12a2daa..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_policy_failure +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 404 Not Found -x-amz-request-id: 1DD8C98820A88D8A -x-amz-id-2: c9mX563FVLa+z1W2nTWGnpUn8axTdapNAGrmLBSvvAey1mBxVzqOPnArkz7NupSf -Content-Type: application/xml -Transfer-Encoding: chunked -Date: Tue, 24 Jul 2012 22:59:04 GMT -Server: AmazonS3 - - -NoSuchBucketPolicyThe bucket policy does not existjust-peachy1DD8C98820A88D8Ac9mX563FVLa+z1W2nTWGnpUn8axTdapNAGrmLBSvvAey1mBxVzqOPnArkz7NupSf diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_policy_success b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_policy_success deleted file mode 100644 index a36f285..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/get_bucket_policy_success +++ /dev/null @@ -1,9 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: qq+Sp6WAQTaNRZsyO8DhGj3WnFT42ll8BoZzL6DYJkdxiFpFqi+uP2QucwXL26Xa -x-amz-request-id: 69C40696342A9E1B -Date: Tue, 24 Jul 2012 21:01:14 GMT -Content-Type: application/json -Content-Length: 13 -Server: AmazonS3 - -{"foo":"bar"} diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_access_denied b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_access_denied deleted file mode 100644 index 1745309..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_access_denied +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 403 Access Denied -x-amz-id-2: qq+Sp6WAQTaNRZsyO8DhGj3WnFT42ll8BoZzL6DYJkdxiFpFqi+uP2QucwXL26Xa -x-amz-request-id: 69C40696342A9E1B -Date: Tue, 24 Jul 2012 21:01:14 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_failure b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_failure deleted file mode 100644 index 0862db0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_failure +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 404 Not Found -x-amz-id-2: qq+Sp6WAQTaNRZsyO8DhGj3WnFT42ll8BoZzL6DYJkdxiFpFqi+uP2QucwXL26Xa -x-amz-request-id: 69C40696342A9E1B -Date: Tue, 24 Jul 2012 21:01:14 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_success b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_success deleted file mode 100644 index a0bd37d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/head_success +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: qq+Sp6WAQTaNRZsyO8DhGj3WnFT42ll8BoZzL6DYJkdxiFpFqi+uP2QucwXL26Xa -x-amz-request-id: 69C40696342A9E1B -Date: Tue, 24 Jul 2012 21:01:14 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/initiate_multipart_upload b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/initiate_multipart_upload deleted file mode 100644 index af19a99..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/initiate_multipart_upload +++ /dev/null @@ -1,14 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg== -x-amz-request-id: 656c76696e6727732072657175657374 -Date: Mon, 1 Nov 2010 20:34:56 GMT -Content-Length: 197 -Connection: keep-alive -Server: AmazonS3 - - - - example-bucket - example-object - VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_buckets b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_buckets deleted file mode 100644 index 12acb00..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_buckets +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - -XXXXXXXXXXXXbucket-12011-03-17T01:24:07.000Zbucket-22010-04-02T22:23:21.000Z diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_multipart_uploads_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_multipart_uploads_page_1 deleted file mode 100644 index 82e9cb0..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_multipart_uploads_page_1 +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - - - bucket-1 - - - object-1 - upload-id-1 - / - - 1000 - true - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_multipart_uploads_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_multipart_uploads_page_2 deleted file mode 100644 index c82b805..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_multipart_uploads_page_2 +++ /dev/null @@ -1,82 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - - - bucket-1 - object-1 - upload-id-1 - - - / - - 1000 - false - - object-1 - upload-id-1 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 2010-11-26T19:24:17.000Z - - - object-1 - upload-id-2 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 2010-11-26T19:24:17.000Z - - - object-2 - upload-id-1 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 2010-11-26T19:24:17.000Z - - - object-2 - upload-id-2 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 2010-11-26T19:24:17.000Z - - - prefix-1/ - - - prefix-2/ - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_1 deleted file mode 100644 index fe32919..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_1 +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Thu, 04 Jul 2012 12:00:00 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - -foob//truea/b/ diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_2 deleted file mode 100644 index 1217397..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_2 +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Thu, 04 Jul 2012 12:00:00 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - -food//truec2012-04-07T12:00:00.000Z"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"0XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSTANDARDd/ diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_3 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_3 deleted file mode 100644 index 08dd314..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_3 +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Thu, 04 Jul 2012 12:00:00 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - -bucket-1/truee2012-04-07T12:00:00.000Z"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"0XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSTANDARDf2012-04-07T12:00:00.000Z"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"0XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSTANDARD diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_4 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_4 deleted file mode 100644 index 2d0a7dd..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_4 +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Thu, 04 Jul 2012 12:00:00 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - -bucket-1DUMMY//true diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_5 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_5 deleted file mode 100644 index 3b0e21b..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_objects_page_5 +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Thu, 04 Jul 2012 12:00:00 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - -bucket-1/falseg/ diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_page_1 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_page_1 deleted file mode 100644 index 372fba7..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_page_1 +++ /dev/null @@ -1,26 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Server: AmazonS3 - - - - bucket-1 - object-1 - upload-id-1 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 1 - 1 - - true - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_page_2 b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_page_2 deleted file mode 100644 index 145354d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_page_2 +++ /dev/null @@ -1,39 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - - - bucket-1 - object-1 - upload-id-1 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 1 - - - false - - 1 - 2010-11-10T20:48:34.000Z - "7778aef83f66abc1fa1e8477f296d394" - 10485760 - - - 2 - 2010-11-10T20:48:33.000Z - "aaaa18db4cc2f85cedef654fccc4a4x8" - 10485760 - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_single b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_single deleted file mode 100644 index aefadf2..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/list_parts_single +++ /dev/null @@ -1,33 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -x-amz-request-id: XXXXXXXXXXXXXXXX -Date: Mon, 30 Jul 2012 20:01:57 GMT -Content-Type: application/xml -Transfer-Encoding: chunked -Server: AmazonS3 - - - - bucket-1 - object-1 - upload-id-1 - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXX - - STANDARD - 1 - - - false - - 1 - 2010-11-10T20:48:34.000Z - "7778aef83f66abc1fa1e8477f296d394" - 10485760 - - diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/upload_part b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/upload_part deleted file mode 100644 index 84e8fdb..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/s3/upload_part +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 200 OK -x-amz-id-2: Vvag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg== -x-amz-request-id: 656c76696e6727732072657175657374 -Date: Mon, 1 Nov 2010 20:34:56 GMT -ETag: "b54357faf0632cce46e942fa68356b38" -Content-Length: 0 -Connection: keep-alive -Server: AmazonS3 diff --git a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/sts/get_session_token b/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/sts/get_session_token deleted file mode 100644 index e72c88d..0000000 --- a/in-development/check_awsiops/vendor/aws/aws-sdk-php/tests/mock/sts/get_session_token +++ /dev/null @@ -1,25 +0,0 @@ -HTTP/1.1 200 OK -x-amzn-RequestId: fe4ea09a-9a37-11e1-ba08-c397bc3419cf -Content-Type: text/xml -Date: Thu, 10 May 2012 00:35:07 GMT - - - - - - AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT+FvwqnKwRcOIfrRh3c/L - To6UDdyJwOOvEVPvLXCrrrUtdnniCEXAMPLE/IvU1dYUg2RVAJBanLiHb4IgRmpRV3z - rkuWJOgQs8IZZaIv2BXIa2R4OlgkBN9bkUDNCJiBeb/AXlzBBko7b15fjrBs2+cTQtp - Z3CYWFXG8C5zqx37wnOE49mRl/+OtkIKGO7fAE - - - wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY - - 2011-07-11T19:55:29.611Z - AKIAIOSFODNN7EXAMPLE - - - - 58c5dbae-abef-11e0-8cfe-09039844ac7d - - diff --git a/in-development/check_awsiops/vendor/composer/ClassLoader.php b/in-development/check_awsiops/vendor/composer/ClassLoader.php deleted file mode 100644 index bcf9809..0000000 --- a/in-development/check_awsiops/vendor/composer/ClassLoader.php +++ /dev/null @@ -1,240 +0,0 @@ - - * Jordi Boggiano - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Composer\Autoload; - -/** - * ClassLoader implements a PSR-0 class loader - * - * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md - * - * $loader = new \Composer\Autoload\ClassLoader(); - * - * // register classes with namespaces - * $loader->add('Symfony\Component', __DIR__.'/component'); - * $loader->add('Symfony', __DIR__.'/framework'); - * - * // activate the autoloader - * $loader->register(); - * - * // to enable searching the include path (eg. for PEAR packages) - * $loader->setUseIncludePath(true); - * - * In this example, if you try to use a class in the Symfony\Component - * namespace or one of its children (Symfony\Component\Console for instance), - * the autoloader will first look for the class under the component/ - * directory, and it will then fallback to the framework/ directory if not - * found before giving up. - * - * This class is loosely based on the Symfony UniversalClassLoader. - * - * @author Fabien Potencier - * @author Jordi Boggiano - */ -class ClassLoader -{ - private $prefixes = array(); - private $fallbackDirs = array(); - private $useIncludePath = false; - private $classMap = array(); - - public function getPrefixes() - { - return $this->prefixes; - } - - public function getFallbackDirs() - { - return $this->fallbackDirs; - } - - public function getClassMap() - { - return $this->classMap; - } - - /** - * @param array $classMap Class to filename map - */ - public function addClassMap(array $classMap) - { - if ($this->classMap) { - $this->classMap = array_merge($this->classMap, $classMap); - } else { - $this->classMap = $classMap; - } - } - - /** - * Registers a set of classes, merging with any others previously set. - * - * @param string $prefix The classes prefix - * @param array|string $paths The location(s) of the classes - * @param bool $prepend Prepend the location(s) - */ - public function add($prefix, $paths, $prepend = false) - { - if (!$prefix) { - if ($prepend) { - $this->fallbackDirs = array_merge( - (array) $paths, - $this->fallbackDirs - ); - } else { - $this->fallbackDirs = array_merge( - $this->fallbackDirs, - (array) $paths - ); - } - - return; - } - if (!isset($this->prefixes[$prefix])) { - $this->prefixes[$prefix] = (array) $paths; - - return; - } - if ($prepend) { - $this->prefixes[$prefix] = array_merge( - (array) $paths, - $this->prefixes[$prefix] - ); - } else { - $this->prefixes[$prefix] = array_merge( - $this->prefixes[$prefix], - (array) $paths - ); - } - } - - /** - * Registers a set of classes, replacing any others previously set. - * - * @param string $prefix The classes prefix - * @param array|string $paths The location(s) of the classes - */ - public function set($prefix, $paths) - { - if (!$prefix) { - $this->fallbackDirs = (array) $paths; - - return; - } - $this->prefixes[$prefix] = (array) $paths; - } - - /** - * Turns on searching the include path for class files. - * - * @param bool $useIncludePath - */ - public function setUseIncludePath($useIncludePath) - { - $this->useIncludePath = $useIncludePath; - } - - /** - * Can be used to check if the autoloader uses the include path to check - * for classes. - * - * @return bool - */ - public function getUseIncludePath() - { - return $this->useIncludePath; - } - - /** - * Registers this instance as an autoloader. - * - * @param bool $prepend Whether to prepend the autoloader or not - */ - public function register($prepend = false) - { - spl_autoload_register(array($this, 'loadClass'), true, $prepend); - } - - /** - * Unregisters this instance as an autoloader. - */ - public function unregister() - { - spl_autoload_unregister(array($this, 'loadClass')); - } - - /** - * Loads the given class or interface. - * - * @param string $class The name of the class - * @return bool|null True if loaded, null otherwise - */ - public function loadClass($class) - { - if ($file = $this->findFile($class)) { - include $file; - - return true; - } - } - - /** - * Finds the path to the file where the class is defined. - * - * @param string $class The name of the class - * - * @return string|false The path if found, false otherwise - */ - public function findFile($class) - { - if ('\\' == $class[0]) { - $class = substr($class, 1); - } - - if (isset($this->classMap[$class])) { - return $this->classMap[$class]; - } - - if (false !== $pos = strrpos($class, '\\')) { - // namespaced class name - $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)) . DIRECTORY_SEPARATOR; - $className = substr($class, $pos + 1); - } else { - // PEAR-like class name - $classPath = null; - $className = $class; - } - - $classPath .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; - - foreach ($this->prefixes as $prefix => $dirs) { - if (0 === strpos($class, $prefix)) { - foreach ($dirs as $dir) { - if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) { - return $dir . DIRECTORY_SEPARATOR . $classPath; - } - } - } - } - - foreach ($this->fallbackDirs as $dir) { - if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) { - return $dir . DIRECTORY_SEPARATOR . $classPath; - } - } - - if ($this->useIncludePath && $file = stream_resolve_include_path($classPath)) { - return $file; - } - - return $this->classMap[$class] = false; - } -} diff --git a/in-development/check_awsiops/vendor/composer/autoload_classmap.php b/in-development/check_awsiops/vendor/composer/autoload_classmap.php deleted file mode 100644 index af4ad58..0000000 --- a/in-development/check_awsiops/vendor/composer/autoload_classmap.php +++ /dev/null @@ -1,9 +0,0 @@ - $vendorDir . '/symfony/event-dispatcher', - 'Guzzle\\Tests' => $vendorDir . '/guzzle/guzzle/tests', - 'Guzzle' => $vendorDir . '/guzzle/guzzle/src', - 'Aws' => $vendorDir . '/aws/aws-sdk-php/src', -); diff --git a/in-development/check_awsiops/vendor/composer/autoload_real.php b/in-development/check_awsiops/vendor/composer/autoload_real.php deleted file mode 100644 index 4682736..0000000 --- a/in-development/check_awsiops/vendor/composer/autoload_real.php +++ /dev/null @@ -1,43 +0,0 @@ - $path) { - $loader->add($namespace, $path); - } - - $classMap = require __DIR__ . '/autoload_classmap.php'; - if ($classMap) { - $loader->addClassMap($classMap); - } - - $loader->register(true); - - return $loader; - } -} diff --git a/in-development/check_awsiops/vendor/composer/installed.json b/in-development/check_awsiops/vendor/composer/installed.json deleted file mode 100644 index 92f5799..0000000 --- a/in-development/check_awsiops/vendor/composer/installed.json +++ /dev/null @@ -1,222 +0,0 @@ -[ - { - "name": "symfony/event-dispatcher", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/EventDispatcher", - "source": { - "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "v2.2.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/v2.2.1", - "reference": "v2.2.1", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/dependency-injection": ">=2.0,<3.0" - }, - "suggest": { - "symfony/dependency-injection": "2.2.*", - "symfony/http-kernel": "2.2.*" - }, - "time": "2013-02-11 11:26:43", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\EventDispatcher\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "http://symfony.com" - }, - { - "name": "guzzle/guzzle", - "version": "v3.3.1", - "version_normalized": "3.3.1.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "v3.3.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/v3.3.1", - "reference": "v3.3.1", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": ">=5.3.2", - "symfony/event-dispatcher": ">=2.1" - }, - "replace": { - "guzzle/batch": "self.version", - "guzzle/cache": "self.version", - "guzzle/common": "self.version", - "guzzle/http": "self.version", - "guzzle/inflection": "self.version", - "guzzle/iterator": "self.version", - "guzzle/log": "self.version", - "guzzle/parser": "self.version", - "guzzle/plugin": "self.version", - "guzzle/plugin-async": "self.version", - "guzzle/plugin-backoff": "self.version", - "guzzle/plugin-cache": "self.version", - "guzzle/plugin-cookie": "self.version", - "guzzle/plugin-curlauth": "self.version", - "guzzle/plugin-error-response": "self.version", - "guzzle/plugin-history": "self.version", - "guzzle/plugin-log": "self.version", - "guzzle/plugin-md5": "self.version", - "guzzle/plugin-mock": "self.version", - "guzzle/plugin-oauth": "self.version", - "guzzle/service": "self.version", - "guzzle/stream": "self.version" - }, - "require-dev": { - "doctrine/cache": "*", - "monolog/monolog": "1.*", - "phpunit/phpunit": "3.7.*", - "symfony/class-loader": "*", - "zend/zend-cache1": "1.12", - "zend/zend-log1": "1.12", - "zendframework/zend-cache": "2.0.*", - "zendframework/zend-log": "2.0.*" - }, - "time": "2013-03-10 23:05:38", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Guzzle\\Tests": "tests/", - "Guzzle": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Guzzle Community", - "homepage": "https://github.com/guzzle/guzzle/contributors" - } - ], - "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ] - }, - { - "name": "aws/aws-sdk-php", - "version": "2.2.1", - "version_normalized": "2.2.1.0", - "source": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "2.2.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2.2.1", - "reference": "2.2.1", - "shasum": "" - }, - "require": { - "guzzle/guzzle": ">=3.3,<3.4", - "php": ">=5.3.3" - }, - "require-dev": { - "doctrine/common": "2.3.*", - "ext-apc": "*", - "ext-openssl": "*", - "monolog/monolog": "1.4.*", - "phpunit/phpunit": "3.7.*", - "symfony/class-loader": "2.*", - "symfony/yaml": "2.*" - }, - "suggest": { - "doctrine/cache": "Adds support for caching of credentials and responses", - "ext-apc": "Allows service description opcode caching, request and response caching, and credentials caching", - "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages", - "monolog/monolog": "Adds support for logging HTTP requests and responses", - "symfony/yaml": "Eases the ability to write manifests for creating jobs in AWS Import/Export" - }, - "time": "2013-03-18 23:23:45", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Aws": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Amazon Web Services", - "homepage": "http://aws.amazon.com" - } - ], - "description": "AWS SDK for PHP", - "homepage": "http://aws.amazon.com/sdkforphp2", - "keywords": [ - "amazon", - "aws", - "dynamodb", - "ec2", - "s3", - "sdk" - ] - } -] diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/.gitignore b/in-development/check_awsiops/vendor/guzzle/guzzle/.gitignore deleted file mode 100644 index 4e749f4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/.gitignore +++ /dev/null @@ -1,23 +0,0 @@ -# Ingore common cruft -.DS_STORE -coverage - -# Ignore binary files -guzzle.phar -guzzle-min.phar - -# Ignore potentially sensitive phpunit file -phpunit.xml - -# Ignore composer generated files -composer.phar -composer.lock -composer-test.lock -vendor/ - -# Ignore build files -build/ -phing/build.properties - -# Ignore subsplit working directory -.subsplit diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/.travis.yml b/in-development/check_awsiops/vendor/guzzle/guzzle/.travis.yml deleted file mode 100644 index 2c7eaa9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: php -php: - - 5.3 - - 5.4 -before_script: - - curl --version - - pear config-set php_ini ~/.phpenv/versions/`php -r 'echo phpversion();'`/etc/php.ini - - echo 'Installing pecl_http' - - wget --quiet http://pecl.php.net/get/pecl_http-1.7.4.tgz - - tar -xzf pecl_http-1.7.4.tgz - - sh -c "cd pecl_http-1.7.4 && phpize && ./configure && make && sudo make install" > /dev/null - - echo "extension=http.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` - - pecl install uri_template-beta - - pear config-set auto_discover 1 - - pear install pear.phing.info/phing - - pear install pear.phpunit.de/phploc - - pear install pear/PHP_CodeSniffer - - pear install pear.pdepend.org/PHP_Depend - - pear install bartlett.laurent-laville.org/PHP_CompatInfo - - pear install pear/PEAR_PackageFileManager2 pear/PEAR_PackageFileManager2_Plugins pear/XML_Serializer-beta - - pear install VersionControl_Git-alpha - - phpenv rehash - - composer install --dev - - cp phing/build.properties.travis phing/build.properties - - echo 'Ensuring the correct version of node is running' - - ~/.nvm/nvm.sh install v0.6.14 -script: phing travisci diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/CHANGELOG.md b/in-development/check_awsiops/vendor/guzzle/guzzle/CHANGELOG.md deleted file mode 100644 index 90da864..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/CHANGELOG.md +++ /dev/null @@ -1,449 +0,0 @@ -CHANGELOG -========= - -3.3.1 (2013-03-10) ------------------- - -* Added the ability to create PHP streaming responses from HTTP requests -* Bug fix: Running any filters when parsing response headers with service descriptions -* Bug fix: OauthPlugin fixes to allow for multi-dimensional array signing, and sorting parameters before signing -* Bug fix: Removed the adding of default empty arrays and false Booleans to responses in order to be consistent across - response location visitors. -* Bug fix: Removed the possibility of creating configuration files with circular dependencies -* RequestFactory::create() now uses the key of a POST file when setting the POST file name -* Added xmlAllowEmpty to serialize an XML body even if no XML specific parameters are set - -3.3.0 (2013-03-03) ------------------- - -* A large number of performance optimizations have been made -* Bug fix: Added 'wb' as a valid write mode for streams -* Bug fix: `Guzzle\Http\Message\Response::json()` now allows scalar values to be returned -* Bug fix: Fixed bug in `Guzzle\Http\Message\Response` where wrapping quotes were stripped from `getEtag()` -* BC: Removed `Guzzle\Http\Utils` class -* BC: Setting a service description on a client will no longer modify the client's command factories. -* BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using - the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' -* BC: `Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to - lowercase -* Operation parameter objects are now lazy loaded internally -* Added ErrorResponsePlugin that can throw errors for responses defined in service description operations' errorResponses -* Added support for instantiating responseType=class responseClass classes. Classes must implement - `Guzzle\Service\Command\ResponseClassInterface` -* Added support for additionalProperties for top-level parameters in responseType=model responseClasses. These - additional properties also support locations and can be used to parse JSON responses where the outermost part of the - JSON is an array -* Added support for nested renaming of JSON models (rename sentAs to name) -* CachePlugin - * Added support for stale-if-error so that the CachePlugin can now serve stale content from the cache on error - * Debug headers can now added to cached response in the CachePlugin - -3.2.0 (2013-02-14) ------------------- - -* CurlMulti is no longer reused globally. A new multi object is created per-client. This helps to isolate clients. -* URLs with no path no longer contain a "/" by default -* Guzzle\Http\QueryString does no longer manages the leading "?". This is now handled in Guzzle\Http\Url. -* BadResponseException no longer includes the full request and response message -* Adding setData() to Guzzle\Service\Description\ServiceDescriptionInterface -* Adding getResponseBody() to Guzzle\Http\Message\RequestInterface -* Various updates to classes to use ServiceDescriptionInterface type hints rather than ServiceDescription -* Header values can now be normalized into distinct values when multiple headers are combined with a comma separated list -* xmlEncoding can now be customized for the XML declaration of a XML service description operation -* Guzzle\Http\QueryString now uses Guzzle\Http\QueryAggregator\QueryAggregatorInterface objects to add custom value - aggregation and no longer uses callbacks -* The URL encoding implementation of Guzzle\Http\QueryString can now be customized -* Bug fix: Filters were not always invoked for array service description parameters -* Bug fix: Redirects now use a target response body rather than a temporary response body -* Bug fix: The default exponential backoff BackoffPlugin was not giving when the request threshold was exceeded -* Bug fix: Guzzle now takes the first found value when grabbing Cache-Control directives - -3.1.2 (2013-01-27) ------------------- - -* Refactored how operation responses are parsed. Visitors now include a before() method responsible for parsing the - response body. For example, the XmlVisitor now parses the XML response into an array in the before() method. -* Fixed an issue where cURL would not automatically decompress responses when the Accept-Encoding header was sent -* CURLOPT_SSL_VERIFYHOST is never set to 1 because it is deprecated (see 5e0ff2ef20f839e19d1eeb298f90ba3598784444) -* Fixed a bug where redirect responses were not chained correctly using getPreviousResponse() -* Setting default headers on a client after setting the user-agent will not erase the user-agent setting - -3.1.1 (2013-01-20) ------------------- - -* Adding wildcard support to Guzzle\Common\Collection::getPath() -* Adding alias support to ServiceBuilder configs -* Adding Guzzle\Service\Resource\CompositeResourceIteratorFactory and cleaning up factory interface - -3.1.0 (2013-01-12) ------------------- - -* BC: CurlException now extends from RequestException rather than BadResponseException -* BC: Renamed Guzzle\Plugin\Cache\CanCacheStrategyInterface::canCache() to canCacheRequest() and added CanCacheResponse() -* Added getData to ServiceDescriptionInterface -* Added context array to RequestInterface::setState() -* Bug: Removing hard dependency on the BackoffPlugin from Guzzle\Http -* Bug: Adding required content-type when JSON request visitor adds JSON to a command -* Bug: Fixing the serialization of a service description with custom data -* Made it easier to deal with exceptions thrown when transferring commands or requests in parallel by providing - an array of successful and failed responses -* Moved getPath from Guzzle\Service\Resource\Model to Guzzle\Common\Collection -* Added Guzzle\Http\IoEmittingEntityBody -* Moved command filtration from validators to location visitors -* Added `extends` attributes to service description parameters -* Added getModels to ServiceDescriptionInterface - -3.0.7 (2012-12-19) ------------------- - -* Fixing phar detection when forcing a cacert to system if null or true -* Allowing filename to be passed to `Guzzle\Http\Message\Request::setResponseBody()` -* Cleaning up `Guzzle\Common\Collection::inject` method -* Adding a response_body location to service descriptions - -3.0.6 (2012-12-09) ------------------- - -* CurlMulti performance improvements -* Adding setErrorResponses() to Operation -* composer.json tweaks - -3.0.5 (2012-11-18) ------------------- - -* Bug: Fixing an infinite recursion bug caused from revalidating with the CachePlugin -* Bug: Response body can now be a string containing "0" -* Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert -* Bug: QueryString::fromString now properly parses query string parameters that contain equal signs -* Added support for XML attributes in service description responses -* DefaultRequestSerializer now supports array URI parameter values for URI template expansion -* Added better mimetype guessing to requests and post files - -3.0.4 (2012-11-11) ------------------- - -* Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value -* Bug: Cookies can now be added that have a name, domain, or value set to "0" -* Bug: Using the system cacert bundle when using the Phar -* Added json and xml methods to Response to make it easier to parse JSON and XML response data into data structures -* Enhanced cookie jar de-duplication -* Added the ability to enable strict cookie jars that throw exceptions when invalid cookies are added -* Added setStream to StreamInterface to actually make it possible to implement custom rewind behavior for entity bodies -* Added the ability to create any sort of hash for a stream rather than just an MD5 hash - -3.0.3 (2012-11-04) ------------------- - -* Implementing redirects in PHP rather than cURL -* Added PECL URI template extension and using as default parser if available -* Bug: Fixed Content-Length parsing of Response factory -* Adding rewind() method to entity bodies and streams. Allows for custom rewinding of non-repeatable streams. -* Adding ToArrayInterface throughout library -* Fixing OauthPlugin to create unique nonce values per request - -3.0.2 (2012-10-25) ------------------- - -* Magic methods are enabled by default on clients -* Magic methods return the result of a command -* Service clients no longer require a base_url option in the factory -* Bug: Fixed an issue with URI templates where null template variables were being expanded - -3.0.1 (2012-10-22) ------------------- - -* Models can now be used like regular collection objects by calling filter, map, etc -* Models no longer require a Parameter structure or initial data in the constructor -* Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator` - -3.0.0 (2012-10-15) ------------------- - -* Rewrote service description format to be based on Swagger - * Now based on JSON schema - * Added nested input structures and nested response models - * Support for JSON and XML input and output models - * Renamed `commands` to `operations` - * Removed dot class notation - * Removed custom types -* Broke the project into smaller top-level namespaces to be more component friendly -* Removed support for XML configs and descriptions. Use arrays or JSON files. -* Removed the Validation component and Inspector -* Moved all cookie code to Guzzle\Plugin\Cookie -* Magic methods on a Guzzle\Service\Client now return the command un-executed. -* Calling getResult() or getResponse() on a command will lazily execute the command if needed. -* Now shipping with cURL's CA certs and using it by default -* Added previousResponse() method to response objects -* No longer sending Accept and Accept-Encoding headers on every request -* Only sending an Expect header by default when a payload is greater than 1MB -* Added/moved client options: - * curl.blacklist to curl.option.blacklist - * Added ssl.certificate_authority -* Added a Guzzle\Iterator component -* Moved plugins from Guzzle\Http\Plugin to Guzzle\Plugin -* Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin) -* Added a more robust caching plugin -* Added setBody to response objects -* Updating LogPlugin to use a more flexible MessageFormatter -* Added a completely revamped build process -* Cleaning up Collection class and removing default values from the get method -* Fixed ZF2 cache adapters - -2.8.8 (2012-10-15) ------------------- - -* Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did - -2.8.7 (2012-09-30) ------------------- - -* Bug: Fixed config file aliases for JSON includes -* Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests -* Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload -* Bug: Hardening request and response parsing to account for missing parts -* Bug: Fixed PEAR packaging -* Bug: Fixed Request::getInfo -* Bug: Fixed cases where CURLM_CALL_MULTI_PERFORM return codes were causing curl transactions to fail -* Adding the ability for the namespace Iterator factory to look in multiple directories -* Added more getters/setters/removers from service descriptions -* Added the ability to remove POST fields from OAuth signatures -* OAuth plugin now supports 2-legged OAuth - -2.8.6 (2012-09-05) ------------------- - -* Added the ability to modify and build service descriptions -* Added the use of visitors to apply parameters to locations in service descriptions using the dynamic command -* Added a `json` parameter location -* Now allowing dot notation for classes in the CacheAdapterFactory -* Using the union of two arrays rather than an array_merge when extending service builder services and service params -* Ensuring that a service is a string before doing strpos() checks on it when substituting services for references - in service builder config files. -* Services defined in two different config files that include one another will by default replace the previously - defined service, but you can now create services that extend themselves and merge their settings over the previous -* The JsonLoader now supports aliasing filenames with different filenames. This allows you to alias something like - '_default' with a default JSON configuration file. - -2.8.5 (2012-08-29) ------------------- - -* Bug: Suppressed empty arrays from URI templates -* Bug: Added the missing $options argument from ServiceDescription::factory to enable caching -* Added support for HTTP responses that do not contain a reason phrase in the start-line -* AbstractCommand commands are now invokable -* Added a way to get the data used when signing an Oauth request before a request is sent - -2.8.4 (2012-08-15) ------------------- - -* Bug: Custom delay time calculations are no longer ignored in the ExponentialBackoffPlugin -* Added the ability to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set `body_as_string` in a request's curl options to enable. -* Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream -* Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subset of a decorated stream -* Stream and EntityBody objects will now return the file position to the previous position after a read required operation (e.g. getContentMd5()) -* Added additional response status codes -* Removed SSL information from the default User-Agent header -* DELETE requests can now send an entity body -* Added an EventDispatcher to the ExponentialBackoffPlugin and added an ExponentialBackoffLogger to log backoff retries -* Added the ability of the MockPlugin to consume mocked request bodies -* LogPlugin now exposes request and response objects in the extras array - -2.8.3 (2012-07-30) ------------------- - -* Bug: Fixed a case where empty POST requests were sent as GET requests -* Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEnclosingRequest that does not have a body -* Bug: Setting the response body of a request to null after completing a request, not when setting the state of a request to new -* Added multiple inheritance to service description commands -* Added an ApiCommandInterface and added ``getParamNames()`` and ``hasParam()`` -* Removed the default 2mb size cutoff from the Md5ValidatorPlugin so that it now defaults to validating everything -* Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles - -2.8.2 (2012-07-24) ------------------- - -* Bug: Query string values set to 0 are no longer dropped from the query string -* Bug: A Collection object is no longer created each time a call is made to ``Guzzle\Service\Command\AbstractCommand::getRequestHeaders()`` -* Bug: ``+`` is now treated as an encoded space when parsing query strings -* QueryString and Collection performance improvements -* Allowing dot notation for class paths in filters attribute of a service descriptions - -2.8.1 (2012-07-16) ------------------- - -* Loosening Event Dispatcher dependency -* POST redirects can now be customized using CURLOPT_POSTREDIR - -2.8.0 (2012-07-15) ------------------- - -* BC: Guzzle\Http\Query - * Query strings with empty variables will always show an equal sign unless the variable is set to QueryString::BLANK (e.g. ?acl= vs ?acl) - * Changed isEncodingValues() and isEncodingFields() to isUrlEncoding() - * Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool) - * Changed the aggregation functions of QueryString to be static methods - * Can now use fromString() with querystrings that have a leading ? -* cURL configuration values can be specified in service descriptions using ``curl.`` prefixed parameters -* Content-Length is set to 0 before emitting the request.before_send event when sending an empty request body -* Cookies are no longer URL decoded by default -* Bug: URI template variables set to null are no longer expanded - -2.7.2 (2012-07-02) ------------------- - -* BC: Moving things to get ready for subtree splits. Moving Inflection into Common. Moving Guzzle\Http\Parser to Guzzle\Parser. -* BC: Removing Guzzle\Common\Batch\Batch::count() and replacing it with isEmpty() -* CachePlugin now allows for a custom request parameter function to check if a request can be cached -* Bug fix: CachePlugin now only caches GET and HEAD requests by default -* Bug fix: Using header glue when transferring headers over the wire -* Allowing deeply nested arrays for composite variables in URI templates -* Batch divisors can now return iterators or arrays - -2.7.1 (2012-06-26) ------------------- - -* Minor patch to update version number in UA string -* Updating build process - -2.7.0 (2012-06-25) ------------------- - -* BC: Inflection classes moved to Guzzle\Inflection. No longer static methods. Can now inject custom inflectors into classes. -* BC: Removed magic setX methods from commands -* BC: Magic methods mapped to service description commands are now inflected in the command factory rather than the client __call() method -* Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enable. -* Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-end server is at capacity) -* Guzzle\Service\Resource\ResourceIteratorApplyBatched now internally uses the Guzzle\Common\Batch namespace -* Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin -* Added the ability to set POST fields and files in a service description -* Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method -* Adding a command.before_prepare event to clients -* Added BatchClosureTransfer and BatchClosureDivisor -* BatchTransferException now includes references to the batch divisor and transfer strategies -* Fixed some tests so that they pass more reliably -* Added Guzzle\Common\Log\ArrayLogAdapter - -2.6.6 (2012-06-10) ------------------- - -* BC: Removing Guzzle\Http\Plugin\BatchQueuePlugin -* BC: Removing Guzzle\Service\Command\CommandSet -* Adding generic batching system (replaces the batch queue plugin and command set) -* Updating ZF cache and log adapters and now using ZF's composer repository -* Bug: Setting the name of each ApiParam when creating through an ApiCommand -* Adding result_type, result_doc, deprecated, and doc_url to service descriptions -* Bug: Changed the default cookie header casing back to 'Cookie' - -2.6.5 (2012-06-03) ------------------- - -* BC: Renaming Guzzle\Http\Message\RequestInterface::getResourceUri() to getResource() -* BC: Removing unused AUTH_BASIC and AUTH_DIGEST constants from -* BC: Guzzle\Http\Cookie is now used to manage Set-Cookie data, not Cookie data -* BC: Renaming methods in the CookieJarInterface -* Moving almost all cookie logic out of the CookiePlugin and into the Cookie or CookieJar implementations -* Making the default glue for HTTP headers ';' instead of ',' -* Adding a removeValue to Guzzle\Http\Message\Header -* Adding getCookies() to request interface. -* Making it easier to add event subscribers to HasDispatcherInterface classes. Can now directly call addSubscriber() - -2.6.4 (2012-05-30) ------------------- - -* BC: Cleaning up how POST files are stored in EntityEnclosingRequest objects. Adding PostFile class. -* BC: Moving ApiCommand specific functionality from the Inspector and on to the ApiCommand -* Bug: Fixing magic method command calls on clients -* Bug: Email constraint only validates strings -* Bug: Aggregate POST fields when POST files are present in curl handle -* Bug: Fixing default User-Agent header -* Bug: Only appending or prepending parameters in commands if they are specified -* Bug: Not requiring response reason phrases or status codes to match a predefined list of codes -* Allowing the use of dot notation for class namespaces when using instance_of constraint -* Added any_match validation constraint -* Added an AsyncPlugin -* Passing request object to the calculateWait method of the ExponentialBackoffPlugin -* Allowing the result of a command object to be changed -* Parsing location and type sub values when instantiating a service description rather than over and over at runtime - -2.6.3 (2012-05-23) ------------------- - -* [BC] Guzzle\Common\FromConfigInterface no longer requires any config options. -* [BC] Refactoring how POST files are stored on an EntityEnclosingRequest. They are now separate from POST fields. -* You can now use an array of data when creating PUT request bodies in the request factory. -* Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cacheable. -* [Http] Adding support for Content-Type in multipart POST uploads per upload -* [Http] Added support for uploading multiple files using the same name (foo[0], foo[1]) -* Adding more POST data operations for easier manipulation of POST data. -* You can now set empty POST fields. -* The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files. -* Split the Guzzle\Service\Inspector::validateConfig method into two methods. One to initialize when a command is created, and one to validate. -* CS updates - -2.6.2 (2012-05-19) ------------------- - -* [Http] Better handling of nested scope requests in CurlMulti. Requests are now always prepares in the send() method rather than the addRequest() method. - -2.6.1 (2012-05-19) ------------------- - -* [BC] Removing 'path' support in service descriptions. Use 'uri'. -* [BC] Guzzle\Service\Inspector::parseDocBlock is now protected. Adding getApiParamsForClass() with cache. -* [BC] Removing Guzzle\Common\NullObject. Use https://github.com/mtdowling/NullObject if you need it. -* [BC] Removing Guzzle\Common\XmlElement. -* All commands, both dynamic and concrete, have ApiCommand objects. -* Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, then the loop exits. -* Adding checks to EntityEnclosingRequest so that empty POST files and fields are ignored. -* Making the method signature of Guzzle\Service\Builder\ServiceBuilder::factory more flexible. - -2.6.0 (2012-05-15) ------------------- - -* [BC] Moving Guzzle\Service\Builder to Guzzle\Service\Builder\ServiceBuilder -* [BC] Executing a Command returns the result of the command rather than the command -* [BC] Moving all HTTP parsing logic to Guzzle\Http\Parsers. Allows for faster C implementations if needed. -* [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and version in separate args. -* [BC] Moving ResourceIterator* to Guzzle\Service\Resource -* [BC] Completely refactored ResourceIterators to iterate over a cloned command object -* [BC] Moved Guzzle\Http\UriTemplate to Guzzle\Http\Parser\UriTemplate\UriTemplate -* [BC] Guzzle\Guzzle is now deprecated -* Moving Guzzle\Common\Guzzle::inject to Guzzle\Common\Collection::inject -* Adding Guzzle\Version class to give version information about Guzzle -* Adding Guzzle\Http\Utils class to provide getDefaultUserAgent() and getHttpDate() -* Adding Guzzle\Curl\CurlVersion to manage caching curl_version() data -* ServiceDescription and ServiceBuilder are now cacheable using similar configs -* Changing the format of XML and JSON service builder configs. Backwards compatible. -* Cleaned up Cookie parsing -* Trimming the default Guzzle User-Agent header -* Adding a setOnComplete() method to Commands that is called when a command completes -* Keeping track of requests that were mocked in the MockPlugin -* Fixed a caching bug in the CacheAdapterFactory -* Inspector objects can be injected into a Command object -* Refactoring a lot of code and tests to be case insensitive when dealing with headers -* Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL -* Adding the ability to set global option overrides to service builder configs -* Adding the ability to include other service builder config files from within XML and JSON files -* Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory method. - -2.5.0 (2012-05-08) ------------------- - -* Major performance improvements -* [BC] Simplifying Guzzle\Common\Collection. Please check to see if you are using features that are now deprecated. -* [BC] Using a custom validation system that allows a flyweight implementation for much faster validation. No longer using Symfony2 Validation component. -* [BC] No longer supporting "{{ }}" for injecting into command or UriTemplates. Use "{}" -* Added the ability to passed parameters to all requests created by a client -* Added callback functionality to the ExponentialBackoffPlugin -* Using microtime in ExponentialBackoffPlugin to allow more granular backoff strategies. -* Rewinding request stream bodies when retrying requests -* Exception is thrown when JSON response body cannot be decoded -* Added configurable magic method calls to clients and commands. This is off by default. -* Fixed a defect that added a hash to every parsed URL part -* Fixed duplicate none generation for OauthPlugin. -* Emitting an event each time a client is generated by a ServiceBuilder -* Using an ApiParams object instead of a Collection for parameters of an ApiCommand -* cache.* request parameters should be renamed to params.cache.* -* Added the ability to set arbitrary curl options on requests (disable_wire, progress, etc). See CurlHandle. -* Added the ability to disable type validation of service descriptions -* ServiceDescriptions and ServiceBuilders are now Serializable diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/LICENSE b/in-development/check_awsiops/vendor/guzzle/guzzle/LICENSE deleted file mode 100644 index d51aa69..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Michael Dowling, https://github.com/mtdowling - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/README.md b/in-development/check_awsiops/vendor/guzzle/guzzle/README.md deleted file mode 100644 index 25bb3f7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/README.md +++ /dev/null @@ -1,200 +0,0 @@ -Guzzle, PHP HTTP client and webservice framework -================================================ - -Guzzle is a PHP HTTP client and framework for building RESTful web service clients. - -- Extremely powerful API provides all the power of cURL with a simple interface. -- Truly take advantage of HTTP/1.1 with persistent connections, connection pooling, and parallel requests. -- Service description DSL allows you build awesome web service clients faster. -- Symfony2 event-based plugin system allows you to completely modify the behavior of a request. -- Includes a custom node.js webserver to test your clients. -- Unit-tested with PHPUnit with 100% code coverage. - -Getting started ---------------- - -- [Download the phar](http://guzzlephp.org/guzzle.phar) and include it in your project ([minimal phar](http://guzzlephp.org/guzzle-min.phar)) -- Docs: [www.guzzlephp.org](http://www.guzzlephp.org/) -- Forum: https://groups.google.com/forum/?hl=en#!forum/guzzle -- IRC: [#guzzlephp](irc://irc.freenode.net/#guzzlephp) channel on irc.freenode.net - -### Installing via Composer - -The recommended way to install Guzzle is through [Composer](http://getcomposer.org). - -1. Add ``guzzle/guzzle`` as a dependency in your project's ``composer.json`` file: - - { - "require": { - "guzzle/guzzle": "~3.1" - } - } - -2. Download and install Composer: - - curl -s http://getcomposer.org/installer | php - -3. Install your dependencies: - - php composer.phar install - -4. Require Composer's autoloader - - Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process: - - require 'vendor/autoload.php'; - -You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at [getcomposer.org](http://getcomposer.org). - -Features --------- - -- Supports GET, HEAD, POST, DELETE, PUT, PATCH, OPTIONS, and any custom verbs -- Allows full access to request and response headers -- Persistent connections are implicitly managed by Guzzle, resulting in huge performance benefits -- [Send requests in parallel](http://guzzlephp.org/tour/http.html#send-http-requests-in-parallel) -- Cookie sessions can be maintained between requests using the [CookiePlugin](http://guzzlephp.org/tour/http.html#cookie-session-plugin) -- Allows custom [entity bodies](http://guzzlephp.org/tour/http.html#entity-bodies), including sending data from a PHP stream and downloading data to a PHP stream -- Responses can be cached and served from cache using the [caching forward proxy plugin](http://guzzlephp.org/tour/http.html#php-based-caching-forward-proxy) -- Failed requests can be retried using [truncated exponential backoff](http://guzzlephp.org/tour/http.html#truncated-exponential-backoff) with custom retry policies -- Entity bodies can be validated automatically using Content-MD5 headers and the [MD5 hash validator plugin](http://guzzlephp.org/tour/http.html#md5-hash-validator-plugin) -- All data sent over the wire can be logged using the [LogPlugin](http://guzzlephp.org/tour/http.html#over-the-wire-logging) -- Subject/Observer signal slot system for unobtrusively [modifying request behavior](http://guzzlephp.org/guide/http/creating_plugins.html) -- Supports all of the features of libcurl including authentication, compression, redirects, SSL, proxies, etc -- Web service client framework for building future-proof interfaces to web services -- Includes a [service description DSL](http://guzzlephp.org/guide/service/service_descriptions.html) for quickly building webservice clients -- Full support for [URI templates](http://tools.ietf.org/html/rfc6570) -- Advanced batching functionality to efficiently send requests or commands in parallel with customizable batch sizes and transfer strategies - -HTTP basics ------------ - -```php - '***' -)); - -// Issue a path using a relative URL to the client's base URL -// Sends to http://www.example.com/api/v1/key/***/users -$request = $client->get('users'); -$response = $request->send(); - -// Relative URL that overwrites the path of the base URL -$request = $client->get('/test/123.php?a=b'); - -// Issue a head request on the base URL -$response = $client->head()->send(); -// Delete user 123 -$response = $client->delete('users/123')->send(); - -// Send a PUT request with custom headers -$response = $client->put('upload/text', array( - 'X-Header' => 'My Header' -), 'body of the request')->send(); - -// Send a PUT request using the contents of a PHP stream as the body -// Send using an absolute URL (overrides the base URL) -$response = $client->put('http://www.example.com/upload', array( - 'X-Header' => 'My Header' -), fopen('http://www.test.com/', 'r')); - -// Create a POST request with a file upload (notice the @ symbol): -$request = $client->post('http://localhost:8983/solr/update', null, array ( - 'custom_field' => 'my value', - 'file' => '@/path/to/documents.xml' -)); - -// Create a POST request and add the POST files manually -$request = $client->post('http://localhost:8983/solr/update') - ->addPostFiles(array( - 'file' => '/path/to/documents.xml' - )); - -// Responses are objects -echo $response->getStatusCode() . ' ' . $response->getReasonPhrase() . "\n"; - -// Requests and responses can be cast to a string to show the raw HTTP message -echo $request . "\n\n" . $response; - -// Create a request based on an HTTP message -$request = RequestFactory::fromMessage( - "PUT / HTTP/1.1\r\n" . - "Host: test.com:8081\r\n" . - "Content-Type: text/plain" . - "Transfer-Encoding: chunked\r\n" . - "\r\n" . - "this is the body" -); -``` - -Send requests in parallel -------------------------- - -```php -send(array( - $client->get('users'), - $client->head('messages/123'), - $client->delete('orders/123') - )); -} catch (Guzzle\Common\Exception\ExceptionCollection $e) { - echo "The following requests encountered an exception: \n"; - foreach ($e as $exception) { - echo $exception->getRequest() . "\n" . $exception->getMessage() . "\n"; - } -} -``` - -URI templates -------------- - -Guzzle supports the entire [URI templates RFC](http://tools.ietf.org/html/rfc6570). - -```php - '/path/to', - 'a' => 'hi', - 'data' => array( - 'foo' => 'bar', - 'mesa' => 'jarjar' - ) -)); - -$request = $client->get('http://www.test.com{+path}{?a,data*}'); -``` - -The generated request URL would become: ``http://www.test.com/path/to?a=hi&foo=bar&mesa=jarajar`` - -You can specify URI templates and an array of additional template variables to use when creating requests: - -```php - 'hi' -)); - -$request = $client->get(array('/{?a,b}', array( - 'b' => 'there' -)); -``` - -The resulting URL would become ``http://test.com/?a=hi&b=there`` - -Unit testing ------------- - -[![Build Status](https://secure.travis-ci.org/guzzle/guzzle.png?branch=master)](http://travis-ci.org/guzzle/guzzle) - -Guzzle uses PHPUnit for unit testing. In order to run the unit tests, you'll first need -to install the dependencies of the project using Composer: `php composer.phar install --dev`. -You can then run the tests using `vendor/bin/phpunit` or `phing test` (if you have phing installed). diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/UPGRADING.md b/in-development/check_awsiops/vendor/guzzle/guzzle/UPGRADING.md deleted file mode 100644 index 60222d0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/UPGRADING.md +++ /dev/null @@ -1,384 +0,0 @@ -Guzzle Upgrade Guide -==================== - -3.2 to 3.3 ----------- - -### Response::getEtag() quote stripping removed - -`Guzzle\Http\Message\Response::getEtag()` no longer strips quotes around the ETag response header - -### Removed `Guzzle\Http\Utils` - -The `Guzzle\Http\Utils` class was removed. This class was only used for testing. - -### Stream wrapper and type - -`Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to lowercase. - -### curl.emit_io became emit_io - -Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using the -'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' - -3.1 to 3.2 ----------- - -### CurlMulti is no longer reused globally - -Before 3.2, the same CurlMulti object was reused globally for each client. This can cause issue where plugins added -to a single client can pollute requests dispatched from other clients. - -If you still wish to reuse the same CurlMulti object with each client, then you can add a listener to the -ServiceBuilder's `service_builder.create_client` event to inject a custom CurlMulti object into each client as it is -created. - -```php -$multi = new Guzzle\Http\Curl\CurlMulti(); -$builder = Guzzle\Service\Builder\ServiceBuilder::factory('/path/to/config.json'); -$builder->addListener('service_builder.create_client', function ($event) use ($multi) { - $event['client']->setCurlMulti($multi); -} -}); -``` - -### No default path - -URLs no longer have a default path value of '/' if no path was specified. - -Before: - -```php -$request = $client->get('http://www.foo.com'); -echo $request->getUrl(); -// >> http://www.foo.com/ -``` - -After: - -```php -$request = $client->get('http://www.foo.com'); -echo $request->getUrl(); -// >> http://www.foo.com -``` - -### Less verbose BadResponseException - -The exception message for `Guzzle\Http\Exception\BadResponseException` no longer contains the full HTTP request and -response information. You can, however, get access to the request and response object by calling `getRequest()` or -`getResponse()` on the exception object. - - -### Query parameter aggregation - -Multi-valued query parameters are no longer aggregated using a callback function. `Guzzle\Http\Query` now has a -setAggregator() method that accepts a `Guzzle\Http\QueryAggregator\QueryAggregatorInterface` object. This object is -responsible for handling the aggregation of multi-valued query string variables into a flattened hash. - -2.8 to 3.x ----------- - -### Guzzle\Service\Inspector - -Change `\Guzzle\Service\Inspector::fromConfig` to `\Guzzle\Common\Collection::fromConfig` - -**Before** - -```php -use Guzzle\Service\Inspector; - -class YourClient extends \Guzzle\Service\Client -{ - public static function factory($config = array()) - { - $default = array(); - $required = array('base_url', 'username', 'api_key'); - $config = Inspector::fromConfig($config, $default, $required); - - $client = new self( - $config->get('base_url'), - $config->get('username'), - $config->get('api_key') - ); - $client->setConfig($config); - - $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json')); - - return $client; - } -``` - -**After** - -```php -use Guzzle\Common\Collection; - -class YourClient extends \Guzzle\Service\Client -{ - public static function factory($config = array()) - { - $default = array(); - $required = array('base_url', 'username', 'api_key'); - $config = Collection::fromConfig($config, $default, $required); - - $client = new self( - $config->get('base_url'), - $config->get('username'), - $config->get('api_key') - ); - $client->setConfig($config); - - $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json')); - - return $client; - } -``` - -### Convert XML Service Descriptions to JSON - -**Before** - -```xml - - - - - - Get a list of groups - - - Uses a search query to get a list of groups - - - - Create a group - - - - - Delete a group by ID - - - - - - - Update a group - - - - - - -``` - -**After** - -```json -{ - "name": "Zendesk REST API v2", - "apiVersion": "2012-12-31", - "description":"Provides access to Zendesk views, groups, tickets, ticket fields, and users", - "operations": { - "list_groups": { - "httpMethod":"GET", - "uri": "groups.json", - "summary": "Get a list of groups" - }, - "search_groups":{ - "httpMethod":"GET", - "uri": "search.json?query=\"{query} type:group\"", - "summary": "Uses a search query to get a list of groups", - "parameters":{ - "query":{ - "location": "uri", - "description":"Zendesk Search Query", - "type": "string", - "required": true - } - } - }, - "create_group": { - "httpMethod":"POST", - "uri": "groups.json", - "summary": "Create a group", - "parameters":{ - "data": { - "type": "array", - "location": "body", - "description":"Group JSON", - "filters": "json_encode", - "required": true - }, - "Content-Type":{ - "type": "string", - "location":"header", - "static": "application/json" - } - } - }, - "delete_group": { - "httpMethod":"DELETE", - "uri": "groups/{id}.json", - "summary": "Delete a group", - "parameters":{ - "id":{ - "location": "uri", - "description":"Group to delete by ID", - "type": "integer", - "required": true - } - } - }, - "get_group": { - "httpMethod":"GET", - "uri": "groups/{id}.json", - "summary": "Get a ticket", - "parameters":{ - "id":{ - "location": "uri", - "description":"Group to get by ID", - "type": "integer", - "required": true - } - } - }, - "update_group": { - "httpMethod":"PUT", - "uri": "groups/{id}.json", - "summary": "Update a group", - "parameters":{ - "id": { - "location": "uri", - "description":"Group to update by ID", - "type": "integer", - "required": true - }, - "data": { - "type": "array", - "location": "body", - "description":"Group JSON", - "filters": "json_encode", - "required": true - }, - "Content-Type":{ - "type": "string", - "location":"header", - "static": "application/json" - } - } - } -} -``` - -### Guzzle\Service\Description\ServiceDescription - -Commands are now called Operations - -**Before** - -```php -use Guzzle\Service\Description\ServiceDescription; - -$sd = new ServiceDescription(); -$sd->getCommands(); // @returns ApiCommandInterface[] -$sd->hasCommand($name); -$sd->getCommand($name); // @returns ApiCommandInterface|null -$sd->addCommand($command); // @param ApiCommandInterface $command -``` - -**After** - -```php -use Guzzle\Service\Description\ServiceDescription; - -$sd = new ServiceDescription(); -$sd->getOperations(); // @returns OperationInterface[] -$sd->hasOperation($name); -$sd->getOperation($name); // @returns OperationInterface|null -$sd->addOperation($operation); // @param OperationInterface $operation -``` - -### Guzzle\Common\Inflection\Inflector - -Namespace is now `Guzzle\Inflection\Inflector` - -### Guzzle\Http\Plugin - -Namespace is now `Guzzle\Plugin`. Many other changes occur within this namespace and are detailed in their own sections below. - -### Guzzle\Http\Plugin\LogPlugin and Guzzle\Common\Log - -Now `Guzzle\Plugin\Log\LogPlugin` and `Guzzle\Log` respectively. - -**Before** - -```php -use Guzzle\Common\Log\ClosureLogAdapter; -use Guzzle\Http\Plugin\LogPlugin; - -/** @var \Guzzle\Http\Client */ -$client; - -// $verbosity is an integer indicating desired message verbosity level -$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $verbosity = LogPlugin::LOG_VERBOSE); -``` - -**After** - -```php -use Guzzle\Log\ClosureLogAdapter; -use Guzzle\Log\MessageFormatter; -use Guzzle\Plugin\Log\LogPlugin; - -/** @var \Guzzle\Http\Client */ -$client; - -// $format is a string indicating desired message format -- @see MessageFormatter -$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $format = MessageFormatter::DEBUG_FORMAT); -``` - -### Guzzle\Http\Plugin\CurlAuthPlugin - -Now `Guzzle\Plugin\CurlAuth\CurlAuthPlugin`. - -### Guzzle\Http\Plugin\ExponentialBackoffPlugin - -Now `Guzzle\Plugin\Backoff\BackoffPlugin`, and other changes. - -**Before** - -```php -use Guzzle\Http\Plugin\ExponentialBackoffPlugin; - -$backoffPlugin = new ExponentialBackoffPlugin($maxRetries, array_merge( - ExponentialBackoffPlugin::getDefaultFailureCodes(), array(429) - )); - -$client->addSubscriber($backoffPlugin); -``` - -**After** - -```php -use Guzzle\Plugin\Backoff\BackoffPlugin; -use Guzzle\Plugin\Backoff\HttpBackoffStrategy; - -// Use convenient factory method instead -- see implementation for ideas of what -// you can do with chaining backoff strategies -$backoffPlugin = BackoffPlugin::getExponentialBackoff($maxRetries, array_merge( - HttpBackoffStrategy::getDefaultFailureCodes(), array(429) - )); -$client->addSubscriber($backoffPlugin); -``` - - -### Known Issues - -#### [BUG] Accept-Encoding header behavior changed unintentionally. - -(See #217) (Fixed in 09daeb8c666fb44499a0646d655a8ae36456575e) - -In version 2.8 setting the `Accept-Encoding` header would set the CURLOPT_ENCODING option, which permitted cURL to -properly handle gzip/deflate compressed responses from the server. In versions affected by this bug this does not happen. -See issue #217 for a workaround, or use a version containing the fix. diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/build.xml b/in-development/check_awsiops/vendor/guzzle/guzzle/build.xml deleted file mode 100644 index e84d4d2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/build.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/composer.json deleted file mode 100644 index fd9baa3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/composer.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "name": "guzzle/guzzle", - "type": "library", - "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients", - "keywords": ["framework", "http", "rest", "web service", "curl", "client", "HTTP client"], - "homepage": "http://guzzlephp.org/", - "license": "MIT", - - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Guzzle Community", - "homepage": "https://github.com/guzzle/guzzle/contributors" - } - ], - - "replace": { - "guzzle/batch": "self.version", - "guzzle/cache": "self.version", - "guzzle/common": "self.version", - "guzzle/http": "self.version", - "guzzle/inflection": "self.version", - "guzzle/iterator": "self.version", - "guzzle/log": "self.version", - "guzzle/parser": "self.version", - "guzzle/plugin": "self.version", - "guzzle/plugin-async": "self.version", - "guzzle/plugin-backoff": "self.version", - "guzzle/plugin-cache": "self.version", - "guzzle/plugin-cookie": "self.version", - "guzzle/plugin-curlauth": "self.version", - "guzzle/plugin-error-response": "self.version", - "guzzle/plugin-history": "self.version", - "guzzle/plugin-log": "self.version", - "guzzle/plugin-md5": "self.version", - "guzzle/plugin-mock": "self.version", - "guzzle/plugin-oauth": "self.version", - "guzzle/service": "self.version", - "guzzle/stream": "self.version" - }, - - "require": { - "php": ">=5.3.2", - "ext-curl": "*", - "symfony/event-dispatcher": ">=2.1" - }, - - "autoload": { - "psr-0": { - "Guzzle\\Tests": "tests/", - "Guzzle": "src/" - } - }, - - "require-dev": { - "doctrine/cache": "*", - "symfony/class-loader": "*", - "monolog/monolog": "1.*", - "zendframework/zend-cache": "2.0.*", - "zendframework/zend-log": "2.0.*", - "zend/zend-log1": "1.12", - "zend/zend-cache1": "1.12", - "phpunit/phpunit": "3.7.*" - }, - - "repositories": [ - { - "type": "composer", - "url": "http://packages.zendframework.com/" - }, - { - "type":"package", - "package": { - "name": "zend/zend-log1", - "version": "1.12", - "source": { - "url": "http://framework.zend.com/svn", - "type": "svn", - "reference": "framework/standard/trunk/library/Zend/Log/" - }, - "target-dir": "Zend/Log", - "autoload": { - "psr-0": { "Zend_Log": "/" } - } - } - }, - { - "type":"package", - "package": { - "name": "zend/zend-cache1", - "version": "1.12", - "source": { - "url": "http://framework.zend.com/svn", - "type": "svn", - "reference": "framework/standard/trunk/library/Zend/Cache/" - }, - "target-dir": "Zend/Cache", - "autoload": { - "psr-0": { "Zend_Cache": "/" } - } - } - } - ], - - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phar-stub.php b/in-development/check_awsiops/vendor/guzzle/guzzle/phar-stub.php deleted file mode 100644 index cc2b53f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phar-stub.php +++ /dev/null @@ -1,16 +0,0 @@ -registerNamespaces(array( - 'Guzzle' => 'phar://guzzle.phar/src', - 'Symfony\\Component\\EventDispatcher' => 'phar://guzzle.phar/vendor/symfony/event-dispatcher', - 'Doctrine' => 'phar://guzzle.phar/vendor/doctrine/common/lib', - 'Monolog' => 'phar://guzzle.phar/vendor/monolog/monolog/src' -)); -$classLoader->register(); - -__HALT_COMPILER(); diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/build.properties.dist b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/build.properties.dist deleted file mode 100644 index 92a075c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/build.properties.dist +++ /dev/null @@ -1,16 +0,0 @@ -# you may need to update this if you're working on a fork. -guzzle.remote=git@github.com:guzzle/guzzle.git - -# github credentials -- only used by GitHub API calls to create subtree repos -github.basicauth=username:password -# for the subtree split and testing -github.org=guzzle - -# your git path -cmd.git=git - -# your composer command -cmd.composer=composer - -# test server start -cmd.testserver=node \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/build.properties.travis b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/build.properties.travis deleted file mode 100644 index cb29153..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/build.properties.travis +++ /dev/null @@ -1,16 +0,0 @@ -# update this if you're working on a fork. -guzzle.remote=git@github.com:guzzle/guzzle.git - -# github credentials -- only used by GitHub API calls to create subtree repos -github.basicauth=username:password -# for the subtree split and testing -github.org=guzzle - -# your git path -cmd.git=/usr/bin/git - -# your composer command -cmd.composer=composer - -# test server start -cmd.testserver="~/.nvm/nvm.sh run v0.6.14" \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/dependencies.xml b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/dependencies.xml deleted file mode 100644 index b60d7bf..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/dependencies.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - Using composer at ${cmd.composer} - - - - - - - Using composer at ${cmd.composer} - - - - - - Composer is installed locally - - - - - - - - - - - - - - - - - - - - using git at ${cmd.git} - - - - found git at ${cmd.git} - - - - - - - - - - - - - - - - - - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/deploy.xml b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/deploy.xml deleted file mode 100644 index 1a94cec..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/deploy.xml +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - On branch ${head} - - - - - - - - - - working directory clean - - - ${git.status} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ChangeLog Match: ${version.changelog} - Guzzle\Common\Version Match: ${version.version} - - - - releasing: phing -Dnew.version=3.0.x -Dhead=master release - -- - - - - - - - - - - - - - - - BEGINNING RELEASE FOR ${new.version} - - - - - - - - - - - - - - - - - - - - - - - - Tip: to create a new release, do: phing -Dnew.version=[TAG] -Dhead=[BRANCH] release - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/metrics.xml b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/metrics.xml deleted file mode 100644 index eb12cec..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/metrics.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/test.xml b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/test.xml deleted file mode 100644 index da0b35c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/imports/test.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/ComposerLintTask.php b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/ComposerLintTask.php deleted file mode 100644 index 3b70409..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/ComposerLintTask.php +++ /dev/null @@ -1,152 +0,0 @@ - - * @license http://claylo.mit-license.org/2012/ MIT License - */ - -require_once 'phing/Task.php'; - -class ComposerLintTask extends Task -{ - protected $dir = null; - protected $file = null; - protected $passthru = false; - protected $composer = null; - - /** - * The setter for the dir - * - * @param string $str Directory to crawl recursively for composer files - */ - public function setDir($str) - { - $this->dir = $str; - } - - /** - * The setter for the file - * - * @param string $str Individual file to validate - */ - public function setFile($str) - { - $this->file = $str; - } - - /** - * Whether to use PHP's passthru() function instead of exec() - * - * @param boolean $passthru If passthru shall be used - */ - public function setPassthru($passthru) - { - $this->passthru = (bool) $passthru; - } - - /** - * Composer to execute. If unset, will attempt composer.phar in project - * basedir, and if that fails, will attempt global composer - * installation. - * - * @param string $str Individual file to validate - */ - public function setComposer($str) - { - $this->file = $str; - } - - /** - * The init method: do init steps - */ - public function init() - { - // nothing needed here - } - - /** - * The main entry point - */ - public function main() - { - if ($this->composer === null) { - $this->findComposer(); - } - - $files = array(); - if (!empty($this->file) && file_exists($this->file)) { - $files[] = $this->file; - } - - if (!empty($this->dir)) { - $found = $this->findFiles(); - foreach ($found as $file) { - $files[] = $this->dir . DIRECTORY_SEPARATOR . $file; - } - } - - foreach ($files as $file) { - - $cmd = $this->composer . ' validate ' . $file; - $cmd = escapeshellcmd($cmd); - - if ($this->passthru) { - $retval = null; - passthru($cmd, $retval); - if ($retval == 1) { - throw new BuildException('invalid composer.json'); - } - } else { - $out = array(); - $retval = null; - exec($cmd, $out, $retval); - if ($retval == 1) { - $err = join("\n", $out); - throw new BuildException($err); - } else { - $this->log($out[0]); - } - } - - } - - } - - /** - * Find the composer.json files using Phing's directory scanner - * - * @return array - */ - protected function findFiles() - { - $ds = new DirectoryScanner(); - $ds->setBasedir($this->dir); - $ds->setIncludes(array('**/composer.json')); - $ds->scan(); - return $ds->getIncludedFiles(); - } - - /** - * Find composer installation - * - */ - protected function findComposer() - { - $basedir = $this->project->getBasedir(); - $php = $this->project->getProperty('php.interpreter'); - - if (file_exists($basedir . '/composer.phar')) { - $this->composer = "$php $basedir/composer.phar"; - } else { - $out = array(); - exec('which composer', $out); - if (empty($out)) { - throw new BuildException( - 'Could not determine composer location.' - ); - } - $this->composer = $out[0]; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/GuzzlePearPharPackageTask.php b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/GuzzlePearPharPackageTask.php deleted file mode 100644 index d317711..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/GuzzlePearPharPackageTask.php +++ /dev/null @@ -1,338 +0,0 @@ - - * @license http://claylo.mit-license.org/2012/ MIT License - */ - -require_once 'phing/Task.php'; -require_once 'PEAR/PackageFileManager2.php'; -require_once 'PEAR/PackageFileManager/File.php'; -require_once 'PEAR/Packager.php'; - -class GuzzlePearPharPackageTask extends Task -{ - private $dir; - private $version; - private $deploy = true; - private $makephar = true; - - private $subpackages = array(); - - public function setVersion($str) - { - $this->version = $str; - } - - public function getVersion() - { - return $this->version; - } - - public function setDeploy($deploy) - { - $this->deploy = (bool) $deploy; - } - - public function getDeploy() - { - return $this->deploy; - } - - public function setMakephar($makephar) - { - $this->makephar = (bool) $makephar; - } - - public function getMakephar() - { - return $this->makephar; - } - - private $basedir; - private $guzzleinfo; - private $changelog_release_date; - private $changelog_notes = '-'; - - public function main() - { - $this->basedir = $this->getProject()->getBasedir(); - - if (!is_dir((string) $this->basedir.'/.subsplit')) { - throw new BuildException('PEAR packaging requires .subsplit directory'); - } - - // main composer file - $composer_file = file_get_contents((string) $this->basedir.'/.subsplit/composer.json'); - $this->guzzleinfo = json_decode($composer_file, true); - - // make sure we have a target - $pearwork = (string) $this->basedir . '/build/pearwork'; - if (!is_dir($pearwork)) { - mkdir($pearwork, 0777, true); - } - $pearlogs = (string) $this->basedir . '/build/artifacts/logs'; - if (!is_dir($pearlogs)) { - mkdir($pearlogs, 0777, true); - } - - $version = $this->getVersion(); - $this->grabChangelog(); - if ($version[0] == '2') { - $this->log('building single PEAR package'); - $this->buildSinglePackage(); - } else { - // $this->log("building PEAR subpackages"); - // $this->createSubPackages(); - // $this->log("building PEAR bundle package"); - $this->buildSinglePackage(); - } - - if ($this->getMakephar()) { - $this->log("building PHAR"); - $this->getProject()->executeTarget('package-phar'); - } - - if ($this->getDeploy()) { - $this->doDeployment(); - } - } - - public function doDeployment() - { - $basedir = (string) $this->basedir; - $this->log('beginning PEAR/PHAR deployment'); - - chdir($basedir . '/build/pearwork'); - if (is_dir($basedir . '/build/pearwork/guzzle.github.com')) { - exec('rm -rf guzzle.github.com'); - } - passthru('git clone git@github.com:guzzle/guzzle.github.com'); - - // add PEAR packages - foreach (scandir($basedir . '/build/pearwork') as $file) { - if (substr($file, -4) == '.tgz') { - passthru('pirum add guzzle.github.com/pear '.$file); - } - } - - // if we have a new phar, add it - if ($this->getMakephar() && file_exists($basedir.'/build/artifacts/guzzle.phar')) { - rename($basedir.'/build/artifacts/guzzle.phar', $basedir.'/build/pearwork/guzzle.github.com/guzzle.phar'); - } - - // add and commit - chdir($basedir . '/build/pearwork/guzzle.github.com'); - passthru('git add --all .'); - passthru('git commit -m "Pushing PEAR/PHAR release for '.$this->getVersion().'" && git push'); - } - - public function buildSinglePackage() - { - $v = $this->getVersion(); - $apiversion = $v[0] . '.0.0'; - - $opts = array( - 'packagedirectory' => (string) $this->basedir . '/.subsplit/src/', - 'filelistgenerator' => 'file', - 'ignore' => array('*composer.json'), - 'baseinstalldir' => '/', - 'packagefile' => 'package.xml' - //'outputdirectory' => (string) $this->basedir . '/build/pearwork/' - ); - $pfm = new PEAR_PackageFileManager2(); - $e = $pfm->setOptions($opts); - $pfm->addRole('md', 'doc'); - $pfm->setPackage('Guzzle'); - $pfm->setSummary("Object-oriented PHP HTTP Client for PHP 5.3+"); - $pfm->setDescription($this->guzzleinfo['description']); - $pfm->setPackageType('php'); - $pfm->setChannel('guzzlephp.org/pear'); - $pfm->setAPIVersion($apiversion); - $pfm->setReleaseVersion($this->getVersion()); - $pfm->setAPIStability('stable'); - $pfm->setReleaseStability('stable'); - $pfm->setNotes($this->changelog_notes); - $pfm->setPackageType('php'); - $pfm->setLicense('MIT', 'http://github.com/guzzle/guzzle/blob/master/LICENSE'); - $pfm->addMaintainer('lead', 'mtdowling', 'Michael Dowling', 'mtdowling@gmail.com', 'yes'); - $pfm->setDate($this->changelog_release_date); - $pfm->generateContents(); - - $phpdep = $this->guzzleinfo['require']['php']; - $phpdep = str_replace('>=', '', $phpdep); - $pfm->setPhpDep($phpdep); - $pfm->addExtensionDep('required', 'curl'); - $pfm->setPearinstallerDep('1.4.6'); - $pfm->addPackageDepWithChannel('required', 'EventDispatcher', 'pear.symfony.com', '2.1.0'); - if (!empty($this->subpackages)) { - foreach ($this->subpackages as $package) { - $pkg = dirname($package); - $pkg = str_replace('/', '_', $pkg); - $pfm->addConflictingPackageDepWithChannel($pkg, 'guzzlephp.org/pear', false, $apiversion); - } - } - - ob_start(); - $startdir = getcwd(); - chdir((string) $this->basedir . '/build/pearwork'); - - echo "DEBUGGING GENERATED PACKAGE FILE\n"; - $result = $pfm->debugPackageFile(); - if ($result) { - $out = $pfm->writePackageFile(); - echo "\n\n\nWRITE PACKAGE FILE RESULT:\n"; - var_dump($out); - // load up package file and build package - $packager = new PEAR_Packager(); - echo "\n\n\nBUILDING PACKAGE FROM PACKAGE FILE:\n"; - $dest_package = $packager->package($opts['packagedirectory'].'package.xml'); - var_dump($dest_package); - } else { - echo "\n\n\nDEBUGGING RESULT:\n"; - var_dump($result); - } - echo "removing package.xml"; - unlink($opts['packagedirectory'].'package.xml'); - $log = ob_get_clean(); - file_put_contents((string) $this->basedir . '/build/artifacts/logs/pear_package.log', $log); - chdir($startdir); - } - - public function createSubPackages() - { - $version = $this->getVersion(); - $this->findComponents(); - - foreach ($this->subpackages as $package) { - $baseinstalldir = dirname($package); - $dir = (string) $this->basedir.'/.subsplit/src/' . $baseinstalldir; - $composer_file = file_get_contents((string) $this->basedir.'/.subsplit/src/'. $package); - $package_info = json_decode($composer_file, true); - $this->log('building ' . $package_info['target-dir'] . ' subpackage'); - $this->buildSubPackage($dir, $baseinstalldir, $package_info); - } - } - - public function buildSubPackage($dir, $baseinstalldir, $info) - { - $package = str_replace('/', '_', $baseinstalldir); - $opts = array( - 'packagedirectory' => $dir, - 'filelistgenerator' => 'file', - 'ignore' => array('*composer.json', '*package.xml'), - 'baseinstalldir' => '/' . $info['target-dir'], - 'packagefile' => 'package.xml' - ); - $pfm = new PEAR_PackageFileManager2(); - $e = $pfm->setOptions($opts); - $pfm->setPackage($package); - $pfm->setSummary($info['description']); - $pfm->setDescription($info['description']); - $pfm->setPackageType('php'); - $pfm->setChannel('guzzlephp.org/pear'); - $pfm->setAPIVersion('3.0.0'); - $pfm->setReleaseVersion($this->getVersion()); - $pfm->setAPIStability('stable'); - $pfm->setReleaseStability('stable'); - $pfm->setNotes($this->changelog_notes); - $pfm->setPackageType('php'); - $pfm->setLicense('MIT', 'http://github.com/guzzle/guzzle/blob/master/LICENSE'); - $pfm->addMaintainer('lead', 'mtdowling', 'Michael Dowling', 'mtdowling@gmail.com', 'yes'); - $pfm->setDate($this->changelog_release_date); - $pfm->generateContents(); - - $phpdep = $this->guzzleinfo['require']['php']; - $phpdep = str_replace('>=', '', $phpdep); - $pfm->setPhpDep($phpdep); - $pfm->setPearinstallerDep('1.4.6'); - - foreach ($info['require'] as $type => $version) { - if ($type == 'php') { - continue; - } - if ($type == 'symfony/event-dispatcher') { - $pfm->addPackageDepWithChannel('required', 'EventDispatcher', 'pear.symfony.com', '2.1.0'); - } - if ($type == 'ext-curl') { - $pfm->addExtensionDep('required', 'curl'); - } - if (substr($type, 0, 6) == 'guzzle') { - $gdep = str_replace('/', ' ', $type); - $gdep = ucwords($gdep); - $gdep = str_replace(' ', '_', $gdep); - $pfm->addPackageDepWithChannel('required', $gdep, 'guzzlephp.org/pear', $this->getVersion()); - } - } - - // can't have main Guzzle package AND sub-packages - $pfm->addConflictingPackageDepWithChannel('Guzzle', 'guzzlephp.org/pear', false, $apiversion); - - ob_start(); - $startdir = getcwd(); - chdir((string) $this->basedir . '/build/pearwork'); - - echo "DEBUGGING GENERATED PACKAGE FILE\n"; - $result = $pfm->debugPackageFile(); - if ($result) { - $out = $pfm->writePackageFile(); - echo "\n\n\nWRITE PACKAGE FILE RESULT:\n"; - var_dump($out); - // load up package file and build package - $packager = new PEAR_Packager(); - echo "\n\n\nBUILDING PACKAGE FROM PACKAGE FILE:\n"; - $dest_package = $packager->package($opts['packagedirectory'].'/package.xml'); - var_dump($dest_package); - } else { - echo "\n\n\nDEBUGGING RESULT:\n"; - var_dump($result); - } - echo "removing package.xml"; - unlink($opts['packagedirectory'].'/package.xml'); - $log = ob_get_clean(); - file_put_contents((string) $this->basedir . '/build/artifacts/logs/pear_package_'.$package.'.log', $log); - chdir($startdir); - } - - public function findComponents() - { - $ds = new DirectoryScanner(); - $ds->setBasedir((string) $this->basedir.'/.subsplit/src'); - $ds->setIncludes(array('**/composer.json')); - $ds->scan(); - $files = $ds->getIncludedFiles(); - $this->subpackages = $files; - } - - public function grabChangelog() - { - $cl = file((string) $this->basedir.'/.subsplit/CHANGELOG.md'); - $notes = ''; - $in_version = false; - $release_date = null; - - foreach ($cl as $line) { - $line = trim($line); - if (preg_match('/^\* '.$this->getVersion().' \(([0-9\-]+)\)$/', $line, $matches)) { - $release_date = $matches[1]; - $in_version = true; - continue; - } - if ($in_version && empty($line) && empty($notes)) { - continue; - } - if ($in_version && ! empty($line)) { - $notes .= $line."\n"; - } - if ($in_version && empty($line) && !empty($notes)) { - $in_version = false; - } - } - $this->changelog_release_date = $release_date; - - if (! empty($notes)) { - $this->changelog_notes = $notes; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/GuzzleSubSplitTask.php b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/GuzzleSubSplitTask.php deleted file mode 100644 index 34615d6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/GuzzleSubSplitTask.php +++ /dev/null @@ -1,385 +0,0 @@ - - * @license http://claylo.mit-license.org/2012/ MIT License - */ - -require_once 'phing/tasks/ext/git/GitBaseTask.php'; - -// base - base of tree to split out -// subIndicatorFile - composer.json, package.xml? -class GuzzleSubSplitTask extends GitBaseTask -{ - /** - * What git repository to pull from and publish to - */ - protected $remote = null; - - /** - * Publish for comma-separated heads instead of all heads - */ - protected $heads = null; - - /** - * Publish for comma-separated tags instead of all tags - */ - protected $tags = null; - - /** - * Base of the tree RELATIVE TO .subsplit working dir - */ - protected $base = null; - - /** - * The presence of this file will indicate that the directory it resides - * in is at the top level of a split. - */ - protected $subIndicatorFile = 'composer.json'; - - /** - * Do everything except actually send the update. - */ - protected $dryRun = null; - - /** - * Do not sync any heads. - */ - protected $noHeads = false; - - /** - * Do not sync any tags. - */ - protected $noTags = false; - - /** - * The splits we found in the heads - */ - protected $splits; - - public function setRemote($str) - { - $this->remote = $str; - } - - public function getRemote() - { - return $this->remote; - } - - public function setHeads($str) - { - $this->heads = explode(',', $str); - } - - public function getHeads() - { - return $this->heads; - } - - public function setTags($str) - { - $this->tags = explode(',', $str); - } - - public function getTags() - { - return $this->tags; - } - - public function setBase($str) - { - $this->base = $str; - } - - public function getBase() - { - return $this->base; - } - - public function setSubIndicatorFile($str) - { - $this->subIndicatorFile = $str; - } - - public function getSubIndicatorFile() - { - return $this->subIndicatorFile; - } - - public function setDryRun($bool) - { - $this->dryRun = (bool) $bool; - } - - public function getDryRun() - { - return $this->dryRun; - } - - public function setNoHeads($bool) - { - $this->noHeads = (bool) $bool; - } - - public function getNoHeads() - { - return $this->noHeads; - } - - public function setNoTags($bool) - { - $this->noTags = (bool) $bool; - } - - public function getNoTags() - { - return $this->noTags; - } - - /** - * GitClient from VersionControl_Git - */ - protected $client = null; - - /** - * The main entry point - */ - public function main() - { - $repo = $this->getRepository(); - if (empty($repo)) { - throw new BuildException('"repository" is a required parameter'); - } - - $remote = $this->getRemote(); - if (empty($remote)) { - throw new BuildException('"remote" is a required parameter'); - } - - chdir($repo); - $this->client = $this->getGitClient(false, $repo); - - // initalized yet? - if (!is_dir('.subsplit')) { - $this->subsplitInit(); - } else { - // update - $this->subsplitUpdate(); - } - - // find all splits based on heads requested - $this->findSplits(); - - // check that GitHub has the repos - $this->verifyRepos(); - - // execute the subsplits - $this->publish(); - } - - public function publish() - { - $this->log('DRY RUN ONLY FOR NOW'); - $base = $this->getBase(); - $base = rtrim($base, '/') . '/'; - $org = $this->getOwningTarget()->getProject()->getProperty('github.org'); - - $splits = array(); - - $heads = $this->getHeads(); - foreach ($heads as $head) { - foreach ($this->splits[$head] as $component => $meta) { - $splits[] = $base . $component . ':git@github.com:'. $org.'/'.$meta['repo']; - } - - $cmd = 'git subsplit publish '; - $cmd .= escapeshellarg(implode(' ', $splits)); - - if ($this->getNoHeads()) { - $cmd .= ' --no-heads'; - } else { - $cmd .= ' --heads='.$head; - } - - if ($this->getNoTags()) { - $cmd .= ' --no-tags'; - } else { - if ($this->getTags()) { - $cmd .= ' --tags=' . escapeshellarg(implode(' ', $this->getTags())); - } - } - - passthru($cmd); - } - } - - /** - * Runs `git subsplit update` - */ - public function subsplitUpdate() - { - $repo = $this->getRepository(); - $this->log('git-subsplit update...'); - $cmd = $this->client->getCommand('subsplit'); - $cmd->addArgument('update'); - try { - $output = $cmd->execute(); - } catch (Exception $e) { - throw new BuildException('git subsplit update failed'. $e); - } - chdir($repo . '/.subsplit'); - passthru('php ../composer.phar update --dev'); - chdir($repo); - } - - /** - * Runs `git subsplit init` based on the remote repository. - */ - public function subsplitInit() - { - $remote = $this->getRemote(); - $cmd = $this->client->getCommand('subsplit'); - $this->log('running git-subsplit init ' . $remote); - - $cmd->setArguments(array( - 'init', - $remote - )); - - try { - $output = $cmd->execute(); - } catch (Exception $e) { - throw new BuildException('git subsplit init failed'. $e); - } - $this->log(trim($output), Project::MSG_INFO); - $repo = $this->getRepository(); - chdir($repo . '/.subsplit'); - passthru('php ../composer.phar install --dev'); - chdir($repo); - } - - /** - * Find the composer.json files using Phing's directory scanner - * - * @return array - */ - protected function findSplits() - { - $this->log("checking heads for subsplits"); - $repo = $this->getRepository(); - $base = $this->getBase(); - - $splits = array(); - $heads = $this->getHeads(); - - if (!empty($base)) { - $base = '/' . ltrim($base, '/'); - } else { - $base = '/'; - } - - chdir($repo . '/.subsplit'); - foreach ($heads as $head) { - $splits[$head] = array(); - - // check each head requested *BEFORE* the actual subtree split command gets it - passthru("git checkout '$head'"); - $ds = new DirectoryScanner(); - $ds->setBasedir($repo . '/.subsplit' . $base); - $ds->setIncludes(array('**/'.$this->subIndicatorFile)); - $ds->scan(); - $files = $ds->getIncludedFiles(); - - // Process the files we found - foreach ($files as $file) { - $pkg = file_get_contents($repo . '/.subsplit' . $base .'/'. $file); - $pkg_json = json_decode($pkg, true); - $name = $pkg_json['name']; - $component = str_replace('/composer.json', '', $file); - // keep this for split cmd - $tmpreponame = explode('/', $name); - $reponame = $tmpreponame[1]; - $splits[$head][$component]['repo'] = $reponame; - $nscomponent = str_replace('/', '\\', $component); - $splits[$head][$component]['desc'] = "[READ ONLY] Subtree split of $nscomponent: " . $pkg_json['description']; - } - } - - // go back to how we found it - passthru("git checkout master"); - chdir($repo); - $this->splits = $splits; - } - - /** - * Based on list of repositories we determined we *should* have, talk - * to GitHub and make sure they're all there. - * - */ - protected function verifyRepos() - { - $this->log('verifying GitHub target repos'); - $github_org = $this->getOwningTarget()->getProject()->getProperty('github.org'); - $github_creds = $this->getOwningTarget()->getProject()->getProperty('github.basicauth'); - - if ($github_creds == 'username:password') { - $this->log('Skipping GitHub repo checks. Update github.basicauth in build.properties to verify repos.', 1); - return; - } - - $ch = curl_init('https://api.github.com/orgs/'.$github_org.'/repos?type=all'); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_USERPWD, $github_creds); - // change this when we know we can use our bundled CA bundle! - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - $result = curl_exec($ch); - curl_close($ch); - $repos = json_decode($result, true); - $existing_repos = array(); - - // parse out the repos we found on GitHub - foreach ($repos as $repo) { - $tmpreponame = explode('/', $repo['full_name']); - $reponame = $tmpreponame[1]; - $existing_repos[$reponame] = $repo['description']; - } - - $heads = $this->getHeads(); - foreach ($heads as $head) { - foreach ($this->splits[$head] as $component => $meta) { - - $reponame = $meta['repo']; - - if (!isset($existing_repos[$reponame])) { - $this->log("Creating missing repo $reponame"); - $payload = array( - 'name' => $reponame, - 'description' => $meta['desc'], - 'homepage' => 'http://www.guzzlephp.org/', - 'private' => true, - 'has_issues' => false, - 'has_wiki' => false, - 'has_downloads' => true, - 'auto_init' => false - ); - $ch = curl_init('https://api.github.com/orgs/'.$github_org.'/repos'); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_USERPWD, $github_creds); - curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); - curl_setopt($ch, CURLOPT_POST, 1); - curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload)); - // change this when we know we can use our bundled CA bundle! - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - $result = curl_exec($ch); - echo "Response code: ".curl_getinfo($ch, CURLINFO_HTTP_CODE)."\n"; - curl_close($ch); - } else { - $this->log("Repo $reponame exists", 2); - } - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/NodeServerTask.php b/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/NodeServerTask.php deleted file mode 100644 index 4ab7b7b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phing/tasks/NodeServerTask.php +++ /dev/null @@ -1,118 +0,0 @@ - - * @license http://claylo.mit-license.org/2012/ MIT License - */ - -require_once 'phing/Task.php'; - -class NodeServerTask extends Task -{ - protected $cmd = null; - protected $action = 'start'; - protected $serverfile = 'tests/Guzzle/Tests/Http/server.js'; - - /** - * The setter for the start command - * - * @param string $str How to start the node server - */ - public function setCmd($str) - { - $this->cmd = $str; - } - - public function getCmd() - { - return $this->cmd; - } - - /** - * The setter for the action - * - * @param string $str Start up or shutdown - */ - public function setAction($str) - { - $this->action = $str; - } - public function getAction() - { - return $this->action; - } - - public function main() - { - $cmd = $this->getCmd(); - $action = $this->getAction(); - - if (empty($cmd)) { - throw new BuildException('"cmd" is a required parameter'); - } - - if ($action == 'start') { - $this->startServer(); - } else { - $this->stopServer(); - } - } - - protected function startServer() - { - chdir(__DIR__ . '/../..'); - $serverfile = $this->serverfile; - $cmd = $this->getCmd(); - - // resolve $HOME directory - if ($cmd[0] == '~') { - $cmd = $_ENV["HOME"] . substr($cmd, 1); - } - - $fp = @fsockopen('127.0.0.1', 8124, $errno, $errstr, 1); - if (! $fp) { - // need to start node server - $cmd = escapeshellcmd($cmd . ' ' . $serverfile); - $this->log('starting node test server with '.$cmd); - exec($cmd . ' &> /dev/null &'); - sleep(2); - $fp = @fsockopen('127.0.0.1', 8124, $errno, $errstr, 1); - } - - // test it again - if (! $fp) { - $this->log('could not start node server'); - } else { - fclose($fp); - $this->log('node test server running'); - } - } - - protected function stopServer() - { - exec('ps axo "pid,command"', $out); - $nodeproc = false; - foreach ($out as $proc) { - if (strpos($proc, $this->serverfile) !== false) { - $nodeproc = $proc; - break; - } - } - - if ($nodeproc) { - $proc = trim($nodeproc); - $space = strpos($proc, ' '); - $pid = substr($proc, 0, $space); - - $killed = posix_kill($pid, 9); - if ($killed) { - $this->log('test server stopped'); - } else { - $this->log('test server appears immortal'); - } - } else { - $this->log('could not find test server in process list'); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/phpunit.xml.dist b/in-development/check_awsiops/vendor/guzzle/guzzle/phpunit.xml.dist deleted file mode 100644 index 9136f4d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/phpunit.xml.dist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - ./tests/Guzzle/Tests - - - - - - - - - - ./src/Guzzle - - ./src/Guzzle - ./src/Guzzle/Common/Exception/GuzzleException.php - ./src/Guzzle/Http/Exception/HttpException.php - ./src/Guzzle/Http/Exception/ServerErrorResponseException.php - ./src/Guzzle/Http/Exception/ClientErrorResponseException.php - ./src/Guzzle/Http/Exception/TooManyRedirectsException.php - ./src/Guzzle/Http/Exception/CouldNotRewindStreamException.php - ./src/Guzzle/Common/Exception/BadMethodCallException.php - ./src/Guzzle/Common/Exception/InvalidArgumentException.php - ./src/Guzzle/Common/Exception/RuntimeException.php - ./src/Guzzle/Common/Exception/UnexpectedValueException.php - ./src/Guzzle/Service/Exception/ClientNotFoundException.php - ./src/Guzzle/Service/Exception/CommandException.php - ./src/Guzzle/Service/Exception/DescriptionBuilderException.php - ./src/Guzzle/Service/Exception/ServiceBuilderException.php - ./src/Guzzle/Service/Exception/ServiceNotFoundException.php - ./src/Guzzle/Service/Exception/ValidationException.php - ./src/Guzzle/Service/Exception/JsonException.php - - - - - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php deleted file mode 100644 index 9271315..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php +++ /dev/null @@ -1,79 +0,0 @@ -decoratedBatch = $decoratedBatch; - } - - /** - * Allow decorators to implement custom methods - * - * @param string $method Missing method name - * @param array $args Method arguments - * - * @return mixed - * @codeCoverageIgnore - */ - public function __call($method, array $args = null) - { - return call_user_func_array(array($this->decoratedBatch, $method), $args); - } - - /** - * {@inheritdoc} - */ - public function add($item) - { - $this->decoratedBatch->add($item); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function flush() - { - return $this->decoratedBatch->flush(); - } - - /** - * {@inheritdoc} - */ - public function isEmpty() - { - return $this->decoratedBatch->isEmpty(); - } - - /** - * Trace the decorators associated with the batch - * - * @return array - */ - public function getDecorators() - { - $found = array($this); - if (method_exists($this->decoratedBatch, 'getDecorators')) { - $found = array_merge($found, $this->decoratedBatch->getDecorators()); - } - - return $found; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/Batch.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/Batch.php deleted file mode 100644 index 1a27104..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/Batch.php +++ /dev/null @@ -1,109 +0,0 @@ -transferStrategy = $transferStrategy; - $this->divisionStrategy = $divisionStrategy; - $this->queue = new \SplQueue(); - $this->queue->setIteratorMode(\SplQueue::IT_MODE_DELETE); - $this->dividedBatches = array(); - } - - /** - * {@inheritdoc} - */ - public function add($item) - { - $this->queue->enqueue($item); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function flush() - { - $this->createBatches(); - - $items = array(); - foreach ($this->dividedBatches as $batchIndex => $dividedBatch) { - while ($dividedBatch->valid()) { - $batch = $dividedBatch->current(); - $dividedBatch->next(); - try { - $this->transferStrategy->transfer($batch); - $items = array_merge($items, $batch); - } catch (\Exception $e) { - throw new BatchTransferException($batch, $items, $e, $this->transferStrategy, $this->divisionStrategy); - } - } - // Keep the divided batch down to a minimum in case of a later exception - unset($this->dividedBatches[$batchIndex]); - } - - return $items; - } - - /** - * {@inheritdoc} - */ - public function isEmpty() - { - return count($this->queue) == 0 && count($this->dividedBatches) == 0; - } - - /** - * Create batches for any queued items - */ - protected function createBatches() - { - if (count($this->queue)) { - if ($batches = $this->divisionStrategy->createBatches($this->queue)) { - // Convert arrays into iterators - if (is_array($batches)) { - $batches = new \ArrayIterator($batches); - } - $this->dividedBatches[] = $batches; - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchBuilder.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchBuilder.php deleted file mode 100644 index 6a45df0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchBuilder.php +++ /dev/null @@ -1,213 +0,0 @@ - 'Guzzle\Batch\BatchRequestTransfer', - 'command' => 'Guzzle\Batch\BatchCommandTransfer' - ); - - /** - * Create a new instance of the BatchBuilder - * - * @return BatchBuilder - */ - public static function factory() - { - return new self(); - } - - /** - * Automatically flush the batch when the size of the queue reaches a certain threshold. Adds {@see FlushingBatch}. - * - * @param $threshold Number of items to allow in the queue before a flush - * - * @return BatchBuilder - */ - public function autoFlushAt($threshold) - { - $this->autoFlush = $threshold; - - return $this; - } - - /** - * Maintain a history of all items that have been transferred using the batch. Adds {@see HistoryBatch}. - * - * @return BatchBuilder - */ - public function keepHistory() - { - $this->history = true; - - return $this; - } - - /** - * Buffer exceptions thrown during transfer so that you can transfer as much as possible, and after a transfer - * completes, inspect each exception that was thrown. Enables the {@see ExceptionBufferingBatch} decorator. - * - * @return BatchBuilder - */ - public function bufferExceptions() - { - $this->exceptionBuffering = true; - - return $this; - } - - /** - * Notify a callable each time a batch flush completes. Enables the {@see NotifyingBatch} decorator. - * - * @param mixed $callable Callable function to notify - * - * @return BatchBuilder - * @throws InvalidArgumentException if the argument is not callable - */ - public function notify($callable) - { - $this->afterFlush = $callable; - - return $this; - } - - /** - * Configures the batch to transfer batches of requests. Associates a {@see \Guzzle\Http\BatchRequestTransfer} - * object as both the transfer and divisor strategy. - * - * @param int $batchSize Batch size for each batch of requests - * - * @return BatchBuilder - */ - public function transferRequests($batchSize = 50) - { - $className = self::$mapping['request']; - $this->transferStrategy = new $className($batchSize); - $this->divisorStrategy = $this->transferStrategy; - - return $this; - } - - /** - * Configures the batch to transfer batches commands. Associates as - * {@see \Guzzle\Service\Command\BatchCommandTransfer} as both the transfer and divisor strategy. - * - * @param int $batchSize Batch size for each batch of commands - * - * @return BatchBuilder - */ - public function transferCommands($batchSize = 50) - { - $className = self::$mapping['command']; - $this->transferStrategy = new $className($batchSize); - $this->divisorStrategy = $this->transferStrategy; - - return $this; - } - - /** - * Specify the strategy used to divide the queue into an array of batches - * - * @param BatchDivisorInterface $divisorStrategy Strategy used to divide a batch queue into batches - * - * @return BatchBuilder - */ - public function createBatchesWith(BatchDivisorInterface $divisorStrategy) - { - $this->divisorStrategy = $divisorStrategy; - - return $this; - } - - /** - * Specify the strategy used to transport the items when flush is called - * - * @param BatchTransferInterface $transferStrategy How items are transferred - * - * @return BatchBuilder - */ - public function transferWith(BatchTransferInterface $transferStrategy) - { - $this->transferStrategy = $transferStrategy; - - return $this; - } - - /** - * Create and return the instantiated batch - * - * @return BatchInterface - * @throws RuntimeException if no transfer strategy has been specified - */ - public function build() - { - if (!$this->transferStrategy) { - throw new RuntimeException('No transfer strategy has been specified'); - } - - if (!$this->divisorStrategy) { - throw new RuntimeException('No divisor strategy has been specified'); - } - - $batch = new Batch($this->transferStrategy, $this->divisorStrategy); - - if ($this->exceptionBuffering) { - $batch = new ExceptionBufferingBatch($batch); - } - - if ($this->afterFlush) { - $batch = new NotifyingBatch($batch, $this->afterFlush); - } - - if ($this->autoFlush) { - $batch = new FlushingBatch($batch, $this->autoFlush); - } - - if ($this->history) { - $batch = new HistoryBatch($batch); - } - - return $batch; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchClosureDivisor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchClosureDivisor.php deleted file mode 100644 index 4676215..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchClosureDivisor.php +++ /dev/null @@ -1,46 +0,0 @@ -callable = $callable; - $this->context = $context; - } - - /** - * {@inheritdoc} - */ - public function createBatches(\SplQueue $queue) - { - return call_user_func($this->callable, $queue, $this->context); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchClosureTransfer.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchClosureTransfer.php deleted file mode 100644 index 12b4020..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchClosureTransfer.php +++ /dev/null @@ -1,49 +0,0 @@ -callable = $callable; - $this->context = $context; - } - - /** - * {@inheritDoc} - */ - public function transfer(array $batch) - { - return empty($batch) ? null : call_user_func($this->callable, $batch, $this->context); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchCommandTransfer.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchCommandTransfer.php deleted file mode 100644 index 8b4f2db..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchCommandTransfer.php +++ /dev/null @@ -1,83 +0,0 @@ -batchSize = $batchSize; - } - - /** - * Creates batches by grouping commands by their associated client - * - * {@inheritdoc} - */ - public function createBatches(\SplQueue $queue) - { - $groups = new \SplObjectStorage(); - foreach ($queue as $item) { - if (!$item instanceof CommandInterface) { - throw new InvalidArgumentException('All items must implement Guzzle\Service\Command\CommandInterface'); - } - $client = $item->getClient(); - if (!$groups->contains($client)) { - $groups->attach($client, new \ArrayObject(array($item))); - } else { - $groups[$client]->append($item); - } - } - - $batches = array(); - foreach ($groups as $batch) { - $batches = array_merge($batches, array_chunk($groups[$batch]->getArrayCopy(), $this->batchSize)); - } - - return $batches; - } - - /** - * {@inheritdoc} - */ - public function transfer(array $batch) - { - if (empty($batch)) { - return; - } - - // Get the client of the first found command - $client = reset($batch)->getClient(); - - // Keep a list of all commands with invalid clients - $invalid = array_filter($batch, function ($command) use ($client) { - return $command->getClient() !== $client; - }); - - if (!empty($invalid)) { - throw new InconsistentClientTransferException($invalid); - } - - $client->execute($batch); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchDivisorInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchDivisorInterface.php deleted file mode 100644 index 0214f05..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchDivisorInterface.php +++ /dev/null @@ -1,18 +0,0 @@ -batchSize = $batchSize; - } - - /** - * Creates batches of requests by grouping requests by their associated curl multi object. - * - * {@inheritdoc} - */ - public function createBatches(\SplQueue $queue) - { - // Create batches by curl multi object groups - $groups = new \SplObjectStorage(); - foreach ($queue as $item) { - if (!$item instanceof RequestInterface) { - throw new InvalidArgumentException('All items must implement Guzzle\Http\Message\RequestInterface'); - } - $multi = $item->getClient()->getCurlMulti(); - if (!$groups->contains($multi)) { - $groups->attach($multi, new \ArrayObject(array($item))); - } else { - $groups[$multi]->append($item); - } - } - - $batches = array(); - foreach ($groups as $batch) { - $batches = array_merge($batches, array_chunk($groups[$batch]->getArrayCopy(), $this->batchSize)); - } - - return $batches; - } - - /** - * {@inheritdoc} - */ - public function transfer(array $batch) - { - if (empty($batch)) { - return; - } - - $multi = reset($batch)->getClient()->getCurlMulti(); - - // Prepare each request for their respective curl multi objects - foreach ($batch as $request) { - $multi->add($request); - } - - $multi->send(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchSizeDivisor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchSizeDivisor.php deleted file mode 100644 index b6333ea..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchSizeDivisor.php +++ /dev/null @@ -1,54 +0,0 @@ -size = $size; - } - - /** - * Set the size of each batch - * - * @param int $size Size of each batch - * - * @return BatchSizeDivisor - */ - public function setSize($size) - { - $this->size = $size; - - return $this; - } - - /** - * Get the size of each batch - * - * @return int - */ - public function getSize() - { - return $this->size; - } - - /** - * {@inheritdoc} - */ - public function createBatches(\SplQueue $queue) - { - return array_chunk(iterator_to_array($queue, false), $this->size); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchTransferInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchTransferInterface.php deleted file mode 100644 index 2e0b60d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchTransferInterface.php +++ /dev/null @@ -1,16 +0,0 @@ -batch = $batch; - $this->transferredItems = $transferredItems; - $this->transferStrategy = $transferStrategy; - $this->divisorStrategy = $divisorStrategy; - parent::__construct( - 'Exception encountered while transferring batch: ' . $exception->getMessage(), - $exception->getCode(), - $exception - ); - } - - /** - * Get the batch that we being sent when the exception occurred - * - * @return array - */ - public function getBatch() - { - return $this->batch; - } - - /** - * Get the items transferred at the point in which the exception was encountered - * - * @return array - */ - public function getTransferredItems() - { - return $this->transferredItems; - } - - /** - * Get the transfer strategy - * - * @return TransferStrategy - */ - public function getTransferStrategy() - { - return $this->transferStrategy; - } - - /** - * Get the divisor strategy - * - * @return DivisorStrategy - */ - public function getDivisorStrategy() - { - return $this->divisorStrategy; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/ExceptionBufferingBatch.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/ExceptionBufferingBatch.php deleted file mode 100644 index 6b90524..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/ExceptionBufferingBatch.php +++ /dev/null @@ -1,55 +0,0 @@ -decoratedBatch->isEmpty()) { - try { - $transferredItems = $this->decoratedBatch->flush(); - } catch (BatchTransferException $e) { - $this->exceptions[] = $e; - $transferredItems = $e->getTransferredItems(); - } - $items = array_merge($items, $transferredItems); - } - - return $items; - } - - /** - * Get the buffered exceptions - * - * @return array Array of BatchTransferException objects - */ - public function getExceptions() - { - return $this->exceptions; - } - - /** - * Clear the buffered exceptions - */ - public function clearExceptions() - { - $this->exceptions = array(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/FlushingBatch.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/FlushingBatch.php deleted file mode 100644 index da5f3f0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/FlushingBatch.php +++ /dev/null @@ -1,67 +0,0 @@ -threshold = $threshold; - parent::__construct($decoratedBatch); - } - - /** - * Set the auto-flush threshold - * - * @param int $threshold The auto-flush threshold - * - * @return FlushingBatch - */ - public function setThreshold($threshold) - { - $this->threshold = $threshold; - - return $this; - } - - /** - * Get the auto-flush threshold - * - * @return int - */ - public function getThreshold() - { - return $this->threshold; - } - - /** - * {@inheritdoc} - */ - public function add($item) - { - $this->decoratedBatch->add($item); - if (++$this->currentTotal >= $this->threshold) { - $this->currentTotal = 0; - $this->decoratedBatch->flush(); - } - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/HistoryBatch.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/HistoryBatch.php deleted file mode 100644 index 1829ee7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/HistoryBatch.php +++ /dev/null @@ -1,44 +0,0 @@ -history[] = $item; - $this->decoratedBatch->add($item); - - return $this; - } - - /** - * Get the batch history - * - * @return array - */ - public function getHistory() - { - return $this->history; - } - - /** - * Clear the batch history - */ - public function clearHistory() - { - $this->history = array(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/NotifyingBatch.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/NotifyingBatch.php deleted file mode 100644 index dd1d087..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/NotifyingBatch.php +++ /dev/null @@ -1,43 +0,0 @@ -callable = $callable; - parent::__construct($decoratedBatch); - } - - /** - * {@inheritdoc} - */ - public function flush() - { - $items = $this->decoratedBatch->flush(); - call_user_func($this->callable, $items); - - return $items; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/composer.json deleted file mode 100644 index 08a68c0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Batch/composer.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "guzzle/batch", - "description": "Guzzle batch component for batching requests, commands, or custom transfers", - "homepage": "http://guzzlephp.org/", - "keywords": ["batch", "HTTP", "REST", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/common": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Batch": "" } - }, - "suggest": { - "guzzle/http": "self.version", - "guzzle/service": "self.version" - }, - "target-dir": "Guzzle/Batch", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/AbstractCacheAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/AbstractCacheAdapter.php deleted file mode 100644 index a5c5271..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/AbstractCacheAdapter.php +++ /dev/null @@ -1,21 +0,0 @@ -cache; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterFactory.php deleted file mode 100644 index 718c501..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterFactory.php +++ /dev/null @@ -1,85 +0,0 @@ -newInstanceArgs($args); - } - } catch (\Exception $e) { - throw new RuntimeException($e->getMessage(), $e->getCode(), $e); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterInterface.php deleted file mode 100644 index 970c9e2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/CacheAdapterInterface.php +++ /dev/null @@ -1,55 +0,0 @@ -callables = $callables; - } - - /** - * {@inheritdoc} - */ - public function contains($id, array $options = null) - { - return call_user_func($this->callables['contains'], $id, $options); - } - - /** - * {@inheritdoc} - */ - public function delete($id, array $options = null) - { - return call_user_func($this->callables['delete'], $id, $options); - } - - /** - * {@inheritdoc} - */ - public function fetch($id, array $options = null) - { - return call_user_func($this->callables['fetch'], $id, $options); - } - - /** - * {@inheritdoc} - */ - public function save($id, $data, $lifeTime = false, array $options = null) - { - return call_user_func($this->callables['save'], $id, $data, $lifeTime, $options); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/DoctrineCacheAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/DoctrineCacheAdapter.php deleted file mode 100644 index 74cd0b9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/DoctrineCacheAdapter.php +++ /dev/null @@ -1,55 +0,0 @@ -cache = $cache; - } - - /** - * {@inheritdoc} - */ - public function contains($id, array $options = null) - { - return $this->cache->contains($id); - } - - /** - * {@inheritdoc} - */ - public function delete($id, array $options = null) - { - return $this->cache->delete($id); - } - - /** - * {@inheritdoc} - */ - public function fetch($id, array $options = null) - { - return $this->cache->fetch($id); - } - - /** - * {@inheritdoc} - */ - public function save($id, $data, $lifeTime = false, array $options = null) - { - return $this->cache->save($id, $data, $lifeTime); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/NullCacheAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/NullCacheAdapter.php deleted file mode 100644 index ea4c0e3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/NullCacheAdapter.php +++ /dev/null @@ -1,48 +0,0 @@ -cache = $cache; - } - - /** - * {@inheritdoc} - */ - public function contains($id, array $options = null) - { - return $this->cache->test($id); - } - - /** - * {@inheritdoc} - */ - public function delete($id, array $options = null) - { - return $this->cache->remove($id); - } - - /** - * {@inheritdoc} - */ - public function fetch($id, array $options = null) - { - return $this->cache->load($id); - } - - /** - * {@inheritdoc} - */ - public function save($id, $data, $lifeTime = false, array $options = null) - { - return $this->cache->save($data, $id, array(), $lifeTime); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/Zf2CacheAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/Zf2CacheAdapter.php deleted file mode 100644 index b870dc9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/Zf2CacheAdapter.php +++ /dev/null @@ -1,53 +0,0 @@ -cache = $cache; - } - - /** - * {@inheritdoc} - */ - public function contains($id, array $options = null) - { - return $this->cache->hasItem($id); - } - - /** - * {@inheritdoc} - */ - public function delete($id, array $options = null) - { - return $this->cache->removeItem($id); - } - - /** - * {@inheritdoc} - */ - public function fetch($id, array $options = null) - { - return $this->cache->getItem($id); - } - - /** - * {@inheritdoc} - */ - public function save($id, $data, $lifeTime = false, array $options = null) - { - return $this->cache->setItem($id, $data); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/composer.json deleted file mode 100644 index 7f13a66..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Cache/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/cache", - "description": "Guzzle cache adapter component", - "homepage": "http://guzzlephp.org/", - "keywords": ["cache", "adapter", "zf", "doctrine", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/common": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Cache": "" } - }, - "target-dir": "Guzzle/Cache", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/AbstractHasDispatcher.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/AbstractHasDispatcher.php deleted file mode 100644 index f022555..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/AbstractHasDispatcher.php +++ /dev/null @@ -1,66 +0,0 @@ -eventDispatcher = $eventDispatcher; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getEventDispatcher() - { - if (!$this->eventDispatcher) { - $this->eventDispatcher = new EventDispatcher(); - } - - return $this->eventDispatcher; - } - - /** - * {@inheritdoc} - */ - public function dispatch($eventName, array $context = array()) - { - $this->getEventDispatcher()->dispatch($eventName, new Event($context)); - } - - /** - * {@inheritdoc} - */ - public function addSubscriber(EventSubscriberInterface $subscriber) - { - $this->getEventDispatcher()->addSubscriber($subscriber); - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Collection.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Collection.php deleted file mode 100644 index 6650580..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Collection.php +++ /dev/null @@ -1,442 +0,0 @@ -data = $data ?: array(); - } - - /** - * Create a new collection from an array, validate the keys, and add default values where missing - * - * @param array $config Configuration values to apply. - * @param array $defaults Default parameters - * @param array $required Required parameter names - * - * @return self - * @throws InvalidArgumentException if a parameter is missing - */ - public static function fromConfig(array $config = null, array $defaults = null, array $required = null) - { - $collection = new self($defaults); - - foreach ((array) $config as $key => $value) { - $collection->set($key, $value); - } - - foreach ((array) $required as $key) { - if ($collection->hasKey($key) === false) { - throw new InvalidArgumentException("Config must contain a '{$key}' key"); - } - } - - return $collection; - } - - /** - * Add a value to a key. If a key of the same name has already been added, the key value will be converted into an - * array and the new value will be pushed to the end of the array. - * - * @param string $key Key to add - * @param mixed $value Value to add to the key - * - * @return Collection Returns a reference to the object. - */ - public function add($key, $value) - { - if (!array_key_exists($key, $this->data)) { - $this->data[$key] = $value; - } elseif (is_array($this->data[$key])) { - $this->data[$key][] = $value; - } else { - $this->data[$key] = array($this->data[$key], $value); - } - - return $this; - } - - /** - * Removes all key value pairs - * - * @return Collection - */ - public function clear() - { - $this->data = array(); - - return $this; - } - - /** - * Return the number of keys - * - * @return integer - */ - public function count() - { - return count($this->data); - } - - /** - * Iterates over each key value pair in the collection passing them to the Closure. If the Closure function returns - * true, the current value from input is returned into the result Collection. The Closure must accept three - * parameters: (string) $key, (string) $value and return Boolean TRUE or FALSE for each value. - * - * @param \Closure $closure Closure evaluation function - * @param bool $static Set to TRUE to use the same class as the return rather than returning a Collection - * - * @return Collection - */ - public function filter(\Closure $closure, $static = true) - { - $collection = ($static) ? new static() : new self(); - foreach ($this->data as $key => $value) { - if ($closure($key, $value)) { - $collection->add($key, $value); - } - } - - return $collection; - } - - /** - * Get an iterator object - * - * @return array - */ - public function getIterator() - { - return new \ArrayIterator($this->data); - } - - /** - * Get a specific key value. - * - * @param string $key Key to retrieve. - * - * @return mixed|null Value of the key or NULL - */ - public function get($key) - { - return isset($this->data[$key]) ? $this->data[$key] : null; - } - - /** - * Get all or a subset of matching key value pairs - * - * @param array $keys Pass an array of keys to retrieve only a subset of key value pairs - * - * @return array Returns an array of all matching key value pairs - */ - public function getAll(array $keys = null) - { - return $keys ? array_intersect_key($this->data, array_flip($keys)) : $this->data; - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - return $this->data; - } - - /** - * Get all keys in the collection - * - * @return array - */ - public function getKeys() - { - return array_keys($this->data); - } - - /** - * Returns whether or not the specified key is present. - * - * @param string $key The key for which to check the existence. - * - * @return bool - */ - public function hasKey($key) - { - return array_key_exists($key, $this->data); - } - - /** - * Case insensitive search the keys in the collection - * - * @param string $key Key to search for - * - * @return bool|string Returns false if not found, otherwise returns the key - */ - public function keySearch($key) - { - foreach (array_keys($this->data) as $k) { - if (!strcasecmp($k, $key)) { - return $k; - } - } - - return false; - } - - /** - * Checks if any keys contains a certain value - * - * @param string $value Value to search for - * - * @return mixed Returns the key if the value was found FALSE if the value was not found. - */ - public function hasValue($value) - { - return array_search($value, $this->data); - } - - /** - * Returns a Collection containing all the elements of the collection after applying the callback function to each - * one. The Closure should accept three parameters: (string) $key, (string) $value, (array) $context and return a - * modified value - * - * @param \Closure $closure Closure to apply - * @param array $context Context to pass to the closure - * @param bool $static Set to TRUE to use the same class as the return rather than returning a Collection - * - * @return Collection - */ - public function map(\Closure $closure, array $context = array(), $static = true) - { - $collection = $static ? new static() : new self(); - foreach ($this as $key => $value) { - $collection->add($key, $closure($key, $value, $context)); - } - - return $collection; - } - - /** - * Add and merge in a Collection or array of key value pair data. - * - * @param Collection|array $data Associative array of key value pair data - * - * @return Collection Returns a reference to the object. - */ - public function merge($data) - { - if ($data instanceof self) { - $data = $data->getAll(); - } elseif (!is_array($data)) { - return $this; - } - - if (empty($this->data)) { - $this->data = $data; - } else { - foreach ($data as $key => $value) { - $this->add($key, $value); - } - } - - return $this; - } - - /** - * ArrayAccess implementation of offsetExists() - * - * @param string $offset Array key - * - * @return bool - */ - public function offsetExists($offset) - { - return $this->hasKey($offset) !== false; - } - - /** - * ArrayAccess implementation of offsetGet() - * - * @param string $offset Array key - * - * @return null|mixed - */ - public function offsetGet($offset) - { - return $this->get($offset); - } - - /** - * ArrayAccess implementation of offsetGet() - * - * @param string $offset Array key - * @param mixed $value Value to set - */ - public function offsetSet($offset, $value) - { - $this->set($offset, $value); - } - - /** - * ArrayAccess implementation of offsetUnset() - * - * @param string $offset Array key - */ - public function offsetUnset($offset) - { - $this->remove($offset); - } - - /** - * Remove a specific key value pair - * - * @param string $key A key to remove - * - * @return Collection - */ - public function remove($key) - { - unset($this->data[$key]); - - return $this; - } - - /** - * Replace the data of the object with the value of an array - * - * @param array $data Associative array of data - * - * @return Collection Returns a reference to the object - */ - public function replace(array $data) - { - $this->data = $data; - - return $this; - } - - /** - * Set a key value pair - * - * @param string $key Key to set - * @param mixed $value Value to set - * - * @return Collection Returns a reference to the object - */ - public function set($key, $value) - { - $this->data[$key] = $value; - - return $this; - } - - /** - * Inject configuration settings into an input string - * - * @param string $input Input to inject - * - * @return string - */ - public function inject($input) - { - $replace = array(); - foreach ($this->data as $key => $val) { - $replace['{' . $key . '}'] = $val; - } - - return strtr($input, $replace); - } - - /** - * Gets a value from the collection using an array path (e.g. foo/baz/bar would retrieve bar from two nested arrays) - * Allows for wildcard searches which recursively combine matches up to the level at which the wildcard occurs. This - * can be useful for accepting any key of a sub-array and combining matching keys from each diverging path. - * - * @param string $path Path to traverse and retrieve a value from - * @param string $separator Character used to add depth to the search - * @param mixed $data Optional data to descend into (used when wildcards are encountered) - * - * @return mixed|null - */ - public function getPath($path, $separator = '/', $data = null) - { - // Assume the data of the collection if no data was passed into the method - if ($data === null) { - $data = &$this->data; - } - - // Break the path into an array if needed - if (!is_array($path)) { - $path = explode($separator, $path); - } - - // Using an iterative approach rather than recursion for speed - while (null !== ($part = array_shift($path))) { - - if (!is_array($data)) { - return null; - } - - // The value does not exist in the array or the path has more but the value is not an array - if (!isset($data[$part])) { - - // Not using a wildcard and the key was not found, so return null - if ($part != '*') { - return null; - } - - // If using a wildcard search, then diverge and combine paths - $result = array(); - foreach ($data as $value) { - if (!$path) { - $result = array_merge_recursive($result, (array) $value); - } else { - $test = $this->getPath($path, $separator, $value); - if ($test !== null) { - $result = array_merge_recursive($result, (array) $test); - } - } - } - - return $result; - } - - // Descend deeper into the data - $data = &$data[$part]; - } - - return $data; - } - - /** - * Over write key value pairs in this collection with all of the data from an array or collection. - * - * @param array|\Traversable $data Values to override over this config - * - * @return self - */ - public function overwriteWith($data) - { - foreach ($data as $k => $v) { - $this->set($k, $v); - } - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Event.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Event.php deleted file mode 100644 index e4aa8c0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Event.php +++ /dev/null @@ -1,74 +0,0 @@ -context = $context; - } - - /** - * {@inheritdoc} - */ - public function getIterator() - { - return new \ArrayIterator($this->context); - } - - /** - * {@inheritdoc} - */ - public function offsetGet($offset) - { - return array_key_exists($offset, $this->context) ? $this->context[$offset] : null; - } - - /** - * {@inheritdoc} - */ - public function offsetSet($offset, $value) - { - $this->context[$offset] = $value; - } - - /** - * {@inheritdoc} - */ - public function offsetExists($offset) - { - return array_key_exists($offset, $this->context); - } - - /** - * {@inheritdoc} - */ - public function offsetUnset($offset) - { - unset($this->context[$offset]); - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - return $this->context; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/BadMethodCallException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/BadMethodCallException.php deleted file mode 100644 index 08d1c72..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/BadMethodCallException.php +++ /dev/null @@ -1,5 +0,0 @@ -exceptions = $exceptions; - - return $this; - } - - /** - * Add exceptions to the collection - * - * @param ExceptionCollection|\Exception $e Exception to add - * - * @return ExceptionCollection; - */ - public function add($e) - { - if ($e instanceof self) { - foreach ($e as $exception) { - $this->exceptions[] = $exception; - } - } elseif ($e instanceof \Exception) { - $this->exceptions[] = $e; - } - - $this->message = implode("\n", array_map(function($e) { - return $e->getMessage(); - }, $this->exceptions)); - - return $this; - } - - /** - * Get the total number of request exceptions - * - * @return int - */ - public function count() - { - return count($this->exceptions); - } - - /** - * Allows array-like iteration over the request exceptions - * - * @return \ArrayIterator - */ - public function getIterator() - { - return new \ArrayIterator($this->exceptions); - } - - /** - * Get the first exception in the collection - * - * @return \Exception - */ - public function getFirst() - { - return $this->exceptions ? $this->exceptions[0] : null; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/GuzzleException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/GuzzleException.php deleted file mode 100644 index 458e6f2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/GuzzleException.php +++ /dev/null @@ -1,8 +0,0 @@ -=5.3.2", - "symfony/event-dispatcher": ">=2.1" - }, - "autoload": { - "psr-0": { "Guzzle\\Common": "" } - }, - "target-dir": "Guzzle/Common", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/AbstractEntityBodyDecorator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/AbstractEntityBodyDecorator.php deleted file mode 100644 index 34846ec..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/AbstractEntityBodyDecorator.php +++ /dev/null @@ -1,312 +0,0 @@ -body = $body; - } - - /** - * {@inheritdoc} - */ - public function __toString() - { - return (string) $this->body; - } - - /** - * Allow decorators to implement custom methods - * - * @param string $method Missing method name - * @param array $args Method arguments - * - * @return mixed - * @codeCoverageIgnore - */ - public function __call($method, array $args = null) - { - return call_user_func_array(array($this->body, $method), $args); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function close() - { - return $this->body->close(); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function setRewindFunction($callable) - { - return $this->body->setRewindFunction($callable); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function rewind() - { - return $this->body->rewind(); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function compress($filter = 'zlib.deflate') - { - return $this->body->compress($filter); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function uncompress($filter = 'zlib.inflate') - { - return $this->body->uncompress($filter); - } - - /** - * {@inheritdoc} - */ - public function getContentLength() - { - return $this->body->getContentLength(); - } - - /** - * {@inheritdoc} - */ - public function getContentType() - { - return $this->body->getContentType(); - } - - /** - * {@inheritdoc} - */ - public function getContentMd5($rawOutput = false, $base64Encode = false) - { - $hash = Stream::getHash($this, 'md5', $rawOutput); - - return $hash && $base64Encode ? base64_encode($hash) : $hash; - } - - /** - * {@inheritdoc} - */ - public function getContentEncoding() - { - return $this->body->getContentEncoding(); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function getMetaData($key = null) - { - return $this->body->getMetaData($key); - } - - /** - * {@inheritdoc} - */ - public function getStream() - { - return $this->body->getStream(); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function setStream($stream, $size = 0) - { - return $this->body->setStream($stream, $size); - } - - /** - * {@inheritdoc} - */ - public function getWrapper() - { - return $this->body->getWrapper(); - } - - /** - * {@inheritdoc} - */ - public function getWrapperData() - { - return $this->body->getWrapperData(); - } - - /** - * {@inheritdoc} - */ - public function getStreamType() - { - return $this->body->getStreamType(); - } - - /** - * {@inheritdoc} - */ - public function getUri() - { - return $this->body->getUri(); - } - - /** - * {@inheritdoc} - */ - public function getSize() - { - return $this->body->getSize(); - } - - /** - * {@inheritdoc} - */ - public function isReadable() - { - return $this->body->isReadable(); - } - - /** - * {@inheritdoc} - */ - public function isWritable() - { - return $this->body->isWritable(); - } - - /** - * {@inheritdoc} - */ - public function isConsumed() - { - return $this->body->isConsumed(); - } - - /** - * {@inheritdoc} - */ - public function feof() - { - return $this->body->feof(); - } - - /** - * {@inheritdoc} - */ - public function isLocal() - { - return $this->body->isLocal(); - } - - /** - * {@inheritdoc} - */ - public function isSeekable() - { - return $this->body->isSeekable(); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function setSize($size) - { - return $this->body->setSize($size); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function seek($offset, $whence = SEEK_SET) - { - return $this->body->seek($offset, $whence); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function read($length) - { - return $this->body->read($length); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function write($string) - { - return $this->body->write($string); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function ftell() - { - return $this->body->ftell(); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function getCustomData($key) - { - return $this->body->getCustomData($key); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function setCustomData($key, $value) - { - return $this->body->setCustomData($key, $value); - } - - /** - * {@inheritdoc} - */ - public function readLine($maxLength = null) - { - return $this->body->readLine($maxLength); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php deleted file mode 100644 index 1714373..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php +++ /dev/null @@ -1,468 +0,0 @@ -setConfig($config ?: new Collection()); - // Allow ssl.certificate_authority config setting to control the certificate authority used by curl - $authority = $this->config->get(self::SSL_CERT_AUTHORITY); - // Use the system's cacert if in a phar (curl can't read from a phar stream wrapper) - if (strpos(__FILE__, 'phar://') !== false && (null === $authority || $authority === true)) { - $authority = 'system'; - } - // Set the config setting to system to use the certificate authority bundle on your system - if ($authority !== 'system') { - $this->setSslVerification($authority !== null ? $authority : true); - } - $this->setBaseUrl($baseUrl); - $this->defaultHeaders = new Collection(); - $this->setRequestFactory(RequestFactory::getInstance()); - - // Redirect by default, but allow for redirects to be globally disabled on a client - if (!$this->config->get(self::DISABLE_REDIRECTS)) { - $this->addSubscriber(new RedirectPlugin()); - } - - // Set the default User-Agent on the client - $this->userAgent = $this->getDefaultUserAgent(); - } - - /** - * {@inheritdoc} - */ - final public function setConfig($config) - { - // Set the configuration object - if ($config instanceof Collection) { - $this->config = $config; - } elseif (is_array($config)) { - $this->config = new Collection($config); - } else { - throw new InvalidArgumentException( - 'Config must be an array or Collection' - ); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - final public function getConfig($key = false) - { - return $key ? $this->config->get($key) : $this->config; - } - - /** - * {@inheritdoc} - */ - final public function setSslVerification($certificateAuthority = true, $verifyPeer = true, $verifyHost = 2) - { - $opts = $this->config->get(self::CURL_OPTIONS) ?: array(); - - if ($certificateAuthority === true) { - // use bundled CA bundle, set secure defaults - $opts[CURLOPT_CAINFO] = __DIR__ . '/Resources/cacert.pem'; - $opts[CURLOPT_SSL_VERIFYPEER] = true; - $opts[CURLOPT_SSL_VERIFYHOST] = 2; - } elseif ($certificateAuthority === false) { - unset($opts[CURLOPT_CAINFO]); - $opts[CURLOPT_SSL_VERIFYPEER] = false; - $opts[CURLOPT_SSL_VERIFYHOST] = 2; - } elseif ($verifyPeer !== true && $verifyPeer !== false && $verifyPeer !== 1 && $verifyPeer !== 0) { - throw new InvalidArgumentException('verifyPeer must be 1, 0 or boolean'); - } elseif ($verifyHost !== 0 && $verifyHost !== 1 && $verifyHost !== 2) { - throw new InvalidArgumentException('verifyHost must be 0, 1 or 2'); - } else { - $opts[CURLOPT_SSL_VERIFYPEER] = $verifyPeer; - $opts[CURLOPT_SSL_VERIFYHOST] = $verifyHost; - if (is_file($certificateAuthority)) { - unset($opts[CURLOPT_CAPATH]); - $opts[CURLOPT_CAINFO] = $certificateAuthority; - } elseif (is_dir($certificateAuthority)) { - unset($opts[CURLOPT_CAINFO]); - $opts[CURLOPT_CAPATH] = $certificateAuthority; - } - } - - $this->config->set(self::CURL_OPTIONS, $opts); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getDefaultHeaders() - { - return $this->defaultHeaders; - } - - /** - * {@inheritdoc} - */ - public function setDefaultHeaders($headers) - { - if ($headers instanceof Collection) { - $this->defaultHeaders = $headers; - } elseif (is_array($headers)) { - $this->defaultHeaders = new Collection($headers); - } else { - throw new InvalidArgumentException('Headers must be an array or Collection'); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function expandTemplate($template, array $variables = null) - { - $expansionVars = $this->getConfig()->getAll(); - if ($variables) { - $expansionVars = array_merge($expansionVars, $variables); - } - - return $this->getUriTemplate()->expand($template, $expansionVars); - } - - /** - * {@inheritdoc} - */ - public function setUriTemplate(UriTemplateInterface $uriTemplate) - { - $this->uriTemplate = $uriTemplate; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getUriTemplate() - { - if (!$this->uriTemplate) { - $this->uriTemplate = ParserRegistry::getInstance()->getParser('uri_template'); - } - - return $this->uriTemplate; - } - - /** - * {@inheritdoc} - */ - public function createRequest($method = RequestInterface::GET, $uri = null, $headers = null, $body = null) - { - if (!is_array($uri)) { - $templateVars = null; - } else { - if (count($uri) != 2 || !isset($uri[1]) || !is_array($uri[1])) { - throw new InvalidArgumentException( - 'You must provide a URI template followed by an array of template variables ' - . 'when using an array for a URI template' - ); - } - list($uri, $templateVars) = $uri; - } - - if (!$uri) { - $url = $this->getBaseUrl(); - } elseif (substr($uri, 0, 4) === 'http') { - // Use absolute URLs as-is - $url = $this->expandTemplate($uri, $templateVars); - } else { - $url = Url::factory($this->getBaseUrl())->combine($this->expandTemplate($uri, $templateVars)); - } - - if ($this->userAgent) { - $this->defaultHeaders->set('User-Agent', $this->userAgent); - } - - // If default headers are provided, then merge them into existing headers - // If a collision occurs, the header is completely replaced - if (count($this->defaultHeaders)) { - if (is_array($headers)) { - $headers = array_merge($this->defaultHeaders->getAll(), $headers); - } elseif ($headers instanceof Collection) { - $headers = array_merge($this->defaultHeaders->getAll(), $headers->getAll()); - } else { - $headers = $this->defaultHeaders; - } - } - - return $this->prepareRequest( - $this->requestFactory->create($method, (string) $url, $headers, $body) - ); - } - - /** - * {@inheritdoc} - */ - public function getBaseUrl($expand = true) - { - return $expand ? $this->expandTemplate($this->baseUrl) : $this->baseUrl; - } - - /** - * {@inheritdoc} - */ - public function setBaseUrl($url) - { - $this->baseUrl = $url; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setUserAgent($userAgent, $includeDefault = false) - { - if ($includeDefault) { - $userAgent .= ' ' . $this->getDefaultUserAgent(); - } - $this->userAgent = $userAgent; - - return $this; - } - - /** - * Get the default User-Agent string to use with Guzzle - * - * @return string - */ - public function getDefaultUserAgent() - { - return 'Guzzle/' . Version::VERSION - . ' curl/' . CurlVersion::getInstance()->get('version') - . ' PHP/' . PHP_VERSION; - } - - /** - * {@inheritdoc} - */ - public function get($uri = null, $headers = null, $body = null) - { - return $this->createRequest('GET', $uri, $headers, $body); - } - - /** - * {@inheritdoc} - */ - public function head($uri = null, $headers = null) - { - return $this->createRequest('HEAD', $uri, $headers); - } - - /** - * {@inheritdoc} - */ - public function delete($uri = null, $headers = null, $body = null) - { - return $this->createRequest('DELETE', $uri, $headers, $body); - } - - /** - * {@inheritdoc} - */ - public function put($uri = null, $headers = null, $body = null) - { - return $this->createRequest('PUT', $uri, $headers, $body); - } - - /** - * {@inheritdoc} - */ - public function patch($uri = null, $headers = null, $body = null) - { - return $this->createRequest('PATCH', $uri, $headers, $body); - } - - /** - * {@inheritdoc} - */ - public function post($uri = null, $headers = null, $postBody = null) - { - return $this->createRequest('POST', $uri, $headers, $postBody); - } - - /** - * {@inheritdoc} - */ - public function options($uri = null) - { - return $this->createRequest('OPTIONS', $uri); - } - - /** - * {@inheritdoc} - */ - public function send($requests) - { - $curlMulti = $this->getCurlMulti(); - $multipleRequests = !($requests instanceof RequestInterface); - if (!$multipleRequests) { - $requests = array($requests); - } - - foreach ($requests as $request) { - $curlMulti->add($request); - } - - try { - $curlMulti->send(); - } catch (ExceptionCollection $e) { - throw $multipleRequests ? $e : $e->getFirst(); - } - - if (!$multipleRequests) { - return end($requests)->getResponse(); - } else { - return array_map(function ($request) { return $request->getResponse(); }, $requests); - } - } - - /** - * {@inheritdoc} - */ - public function setCurlMulti(CurlMultiInterface $curlMulti) - { - $this->curlMulti = $curlMulti; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getCurlMulti() - { - if (!$this->curlMulti) { - $this->curlMulti = new CurlMulti(); - } - - return $this->curlMulti; - } - - /** - * {@inheritdoc} - */ - public function setRequestFactory(RequestFactoryInterface $factory) - { - $this->requestFactory = $factory; - - return $this; - } - - /** - * Prepare a request to be sent from the Client by adding client specific behaviors and properties to the request. - * - * @param RequestInterface $request Request to prepare for the client - * - * @return RequestInterface - */ - protected function prepareRequest(RequestInterface $request) - { - $request->setClient($this); - - // Add any curl options to the request - if ($options = $this->config->get(self::CURL_OPTIONS)) { - $request->getCurlOptions()->merge(CurlHandle::parseCurlConfig($options)); - } - - // Add request parameters to the request - if ($options = $this->config->get(self::REQUEST_PARAMS)) { - $request->getParams()->merge($options); - } - - // Attach client observers to the request - $request->setEventDispatcher(clone $this->getEventDispatcher()); - - $this->dispatch( - 'client.create_request', - array( - 'client' => $this, - 'request' => $request - ) - ); - - return $request; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/ClientInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/ClientInterface.php deleted file mode 100644 index 9e79f32..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/ClientInterface.php +++ /dev/null @@ -1,272 +0,0 @@ -getCurlOptions(); - $mediator = new RequestMediator($request, $requestCurlOptions->get('emit_io')); - $tempContentLength = null; - $method = $request->getMethod(); - $bodyAsString = $requestCurlOptions->get(self::BODY_AS_STRING); - - // Array of default cURL options. - $curlOptions = array( - CURLOPT_URL => $request->getUrl(), - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_RETURNTRANSFER => false, - CURLOPT_HEADER => false, - CURLOPT_PORT => $request->getPort(), - CURLOPT_HTTPHEADER => array(), - CURLOPT_HEADERFUNCTION => array($mediator, 'receiveResponseHeader'), - CURLOPT_HTTP_VERSION => $request->getProtocolVersion() === '1.0' - ? CURL_HTTP_VERSION_1_0 : CURL_HTTP_VERSION_1_1, - // Verifies the authenticity of the peer's certificate - CURLOPT_SSL_VERIFYPEER => 1, - // Certificate must indicate that the server is the server to which you meant to connect - CURLOPT_SSL_VERIFYHOST => 2 - ); - - if (defined('CURLOPT_PROTOCOLS')) { - // Allow only HTTP and HTTPS protocols - $curlOptions[CURLOPT_PROTOCOLS] = CURLPROTO_HTTP | CURLPROTO_HTTPS; - } - - // Add CURLOPT_ENCODING if Accept-Encoding header is provided - if ($acceptEncodingHeader = $request->getHeader('Accept-Encoding')) { - $curlOptions[CURLOPT_ENCODING] = (string) $acceptEncodingHeader; - // Let cURL set the Accept-Encoding header, prevents duplicate values - $request->removeHeader('Accept-Encoding'); - } - - // Enable the progress function if the 'progress' param was set - if ($requestCurlOptions->get('progress')) { - $curlOptions[CURLOPT_PROGRESSFUNCTION] = array($mediator, 'progress'); - $curlOptions[CURLOPT_NOPROGRESS] = false; - } - - // Enable curl debug information if the 'debug' param was set - if ($requestCurlOptions->get('debug')) { - $curlOptions[CURLOPT_STDERR] = fopen('php://temp', 'r+'); - // @codeCoverageIgnoreStart - if (false === $curlOptions[CURLOPT_STDERR]) { - throw new RuntimeException('Unable to create a stream for CURLOPT_STDERR'); - } - // @codeCoverageIgnoreEnd - $curlOptions[CURLOPT_VERBOSE] = true; - } - - // HEAD requests need no response body, everything else might - if ($method != 'HEAD') { - $curlOptions[CURLOPT_WRITEFUNCTION] = array($mediator, 'writeResponseBody'); - } - - // Specify settings according to the HTTP method - switch ($method) { - case 'GET': - $curlOptions[CURLOPT_HTTPGET] = true; - break; - case 'HEAD': - $curlOptions[CURLOPT_NOBODY] = true; - break; - case 'POST': - $curlOptions[CURLOPT_POST] = true; - // Special handling for POST specific fields and files - if (count($request->getPostFiles())) { - $fields = $request->getPostFields()->useUrlEncoding(false)->urlEncode(); - foreach ($request->getPostFiles() as $key => $data) { - $prefixKeys = count($data) > 1; - foreach ($data as $index => $file) { - // Allow multiple files in the same key - $fieldKey = $prefixKeys ? "{$key}[{$index}]" : $key; - $fields[$fieldKey] = $file->getCurlString(); - } - } - $curlOptions[CURLOPT_POSTFIELDS] = $fields; - $request->removeHeader('Content-Length'); - } elseif (count($request->getPostFields())) { - $curlOptions[CURLOPT_POSTFIELDS] = (string) $request->getPostFields()->useUrlEncoding(true); - $request->removeHeader('Content-Length'); - } elseif (!$request->getBody()) { - // Need to remove CURLOPT_POST to prevent chunked encoding for an empty POST - unset($curlOptions[CURLOPT_POST]); - $curlOptions[CURLOPT_CUSTOMREQUEST] = 'POST'; - } - break; - case 'PUT': - case 'PATCH': - case 'DELETE': - default: - $curlOptions[CURLOPT_CUSTOMREQUEST] = $method; - if (!$bodyAsString) { - $curlOptions[CURLOPT_UPLOAD] = true; - // Let cURL handle setting the Content-Length header - if ($tempContentLength = $request->getHeader('Content-Length')) { - $tempContentLength = (int) (string) $tempContentLength; - $curlOptions[CURLOPT_INFILESIZE] = $tempContentLength; - } - } elseif (!$request->hasHeader('Content-Type')) { - // Remove the curl generated Content-Type header if none was set manually - $curlOptions[CURLOPT_HTTPHEADER][] = 'Content-Type:'; - } - } - - // Special handling for requests sending raw data - if ($request instanceof EntityEnclosingRequestInterface) { - if ($request->getBody()) { - if ($bodyAsString) { - $curlOptions[CURLOPT_POSTFIELDS] = (string) $request->getBody(); - // Allow curl to add the Content-Length for us to account for the times when - // POST redirects are followed by GET requests - if ($tempContentLength = $request->getHeader('Content-Length')) { - $tempContentLength = (int) (string) $tempContentLength; - } - } else { - // Add a callback for curl to read data to send with the request only if a body was specified - $curlOptions[CURLOPT_READFUNCTION] = array($mediator, 'readRequestBody'); - // Attempt to seek to the start of the stream - $request->getBody()->seek(0); - } - } - // If the Expect header is not present, prevent curl from adding it - if (!$request->hasHeader('Expect')) { - $curlOptions[CURLOPT_HTTPHEADER][] = 'Expect:'; - } - } - - // If a Content-Length header was specified but we want to allow curl to set one for us - if (null !== $tempContentLength) { - $request->removeHeader('Content-Length'); - } - - // Set custom cURL options - foreach ($requestCurlOptions->getAll() as $key => $value) { - if (is_numeric($key)) { - $curlOptions[$key] = $value; - } - } - - // Do not set an Accept header by default - if (!isset($curlOptions[CURLOPT_ENCODING])) { - $curlOptions[CURLOPT_HTTPHEADER][] = 'Accept:'; - } - - // Check if any headers or cURL options are blacklisted - if ($blacklist = $requestCurlOptions->get('blacklist')) { - foreach ($blacklist as $value) { - if (strpos($value, 'header.') !== 0) { - unset($curlOptions[$value]); - } else { - // Remove headers that may have previously been set but are supposed to be blacklisted - $key = substr($value, 7); - $request->removeHeader($key); - $curlOptions[CURLOPT_HTTPHEADER][] = $key . ':'; - } - } - } - - // Add any custom headers to the request. Empty headers will cause curl to not send the header at all. - foreach ($request->getHeaderLines() as $line) { - $curlOptions[CURLOPT_HTTPHEADER][] = $line; - } - - // Apply the options to a new cURL handle. - $handle = curl_init(); - curl_setopt_array($handle, $curlOptions); - - if ($tempContentLength) { - $request->setHeader('Content-Length', $tempContentLength); - } - - $handle = new static($handle, $curlOptions); - $mediator->setCurlHandle($handle); - - return $handle; - } - - /** - * Construct a new CurlHandle object that wraps a cURL handle - * - * @param resource $handle Configured cURL handle resource - * @param Collection|array $options Curl options to use with the handle - * - * @throws InvalidArgumentException - */ - public function __construct($handle, $options) - { - if (!is_resource($handle)) { - throw new InvalidArgumentException('Invalid handle provided'); - } - if (is_array($options)) { - $this->options = new Collection($options); - } elseif ($options instanceof Collection) { - $this->options = $options; - } else { - throw new InvalidArgumentException('Expected array or Collection'); - } - $this->handle = $handle; - } - - /** - * Destructor - */ - public function __destruct() - { - $this->close(); - } - - /** - * Close the curl handle - */ - public function close() - { - if (is_resource($this->handle)) { - curl_close($this->handle); - } - $this->handle = null; - } - - /** - * Check if the handle is available and still OK - * - * @return bool - */ - public function isAvailable() - { - return is_resource($this->handle); - } - - /** - * Get the last error that occurred on the cURL handle - * - * @return string - */ - public function getError() - { - return $this->isAvailable() ? curl_error($this->handle) : ''; - } - - /** - * Get the last error number that occurred on the cURL handle - * - * @return int - */ - public function getErrorNo() - { - if ($this->errorNo) { - return $this->errorNo; - } - - return $this->isAvailable() ? curl_errno($this->handle) : CURLE_OK; - } - - /** - * Set the curl error number - * - * @param int $error Error number to set - * - * @return CurlHandle - */ - public function setErrorNo($error) - { - $this->errorNo = $error; - - return $this; - } - - /** - * Get cURL curl_getinfo data - * - * @param int $option Option to retrieve. Pass null to retrieve all data as an array. - * - * @return array|mixed - */ - public function getInfo($option = null) - { - if (!is_resource($this->handle)) { - return null; - } - - if (null !== $option) { - return curl_getinfo($this->handle, $option) ?: null; - } - - return curl_getinfo($this->handle) ?: array(); - } - - /** - * Get the stderr output - * - * @param bool $asResource Set to TRUE to get an fopen resource - * - * @return string|resource|null - */ - public function getStderr($asResource = false) - { - $stderr = $this->getOptions()->get(CURLOPT_STDERR); - if (!$stderr) { - return null; - } - - if ($asResource) { - return $stderr; - } - - fseek($stderr, 0); - $e = stream_get_contents($stderr); - fseek($stderr, 0, SEEK_END); - - return $e; - } - - /** - * Get the URL that this handle is connecting to - * - * @return Url - */ - public function getUrl() - { - return Url::factory($this->options->get(CURLOPT_URL)); - } - - /** - * Get the wrapped curl handle - * - * @return resource|null Returns the cURL handle or null if it was closed - */ - public function getHandle() - { - return $this->isAvailable() ? $this->handle : null; - } - - /** - * Get the cURL setopt options of the handle. Changing values in the return object will have no effect on the curl - * handle after it is created. - * - * @return Collection - */ - public function getOptions() - { - return $this->options; - } - - /** - * Update a request based on the log messages of the CurlHandle - * - * @param RequestInterface $request Request to update - */ - public function updateRequestFromTransfer(RequestInterface $request) - { - if (!$request->getResponse()) { - return; - } - - // Update the transfer stats of the response - $request->getResponse()->setInfo($this->getInfo()); - - if (!$log = $this->getStderr(true)) { - return; - } - - // Parse the cURL stderr output for outgoing requests - $headers = ''; - fseek($log, 0); - while (($line = fgets($log)) !== false) { - if ($line && $line[0] == '>') { - $headers = substr(trim($line), 2) . "\r\n"; - while (($line = fgets($log)) !== false) { - if ($line[0] == '*' || $line[0] == '<') { - break; - } else { - $headers .= trim($line) . "\r\n"; - } - } - } - } - - // Add request headers to the request exactly as they were sent - if ($headers) { - $parsed = ParserRegistry::getInstance()->getParser('message')->parseRequest($headers); - if (!empty($parsed['headers'])) { - $request->setHeaders(array()); - foreach ($parsed['headers'] as $name => $value) { - $request->setHeader($name, $value); - } - } - if (!empty($parsed['version'])) { - $request->setProtocolVersion($parsed['version']); - } - } - } - - /** - * Parse the config and replace curl.* configurators into the constant based values so it can be used elsewhere - * - * @param array|Collection $config The configuration we want to parse - * - * @return array - */ - public static function parseCurlConfig($config) - { - $curlOptions = array(); - foreach ($config as $key => $value) { - if (!is_numeric($key) && defined($key)) { - // Convert constants represented as string to constant int values - $key = constant($key); - } - if (is_string($value) && defined($value)) { - $value = constant($value); - } - $curlOptions[$key] = $value; - } - - return $curlOptions; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php deleted file mode 100644 index b6fdb49..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php +++ /dev/null @@ -1,626 +0,0 @@ - array('CURLM_BAD_HANDLE', 'The passed-in handle is not a valid CURLM handle.'), - CURLM_BAD_EASY_HANDLE => array('CURLM_BAD_EASY_HANDLE', "An easy handle was not good/valid. It could mean that it isn't an easy handle at all, or possibly that the handle already is in used by this or another multi handle."), - CURLM_OUT_OF_MEMORY => array('CURLM_OUT_OF_MEMORY', 'You are doomed.'), - CURLM_INTERNAL_ERROR => array('CURLM_INTERNAL_ERROR', 'This can only be returned if libcurl bugs. Please report it to us!') - ); - - /** - * @var CurlMulti - */ - private static $instance; - - /** - * @var int - */ - private $scope = -1; - - /** - * {@inheritdoc} - */ - public static function getAllEvents() - { - return array( - // A request was added - self::ADD_REQUEST, - // A request was removed - self::REMOVE_REQUEST, - // Requests are about to be sent - self::BEFORE_SEND, - // The pool finished sending the requests - self::COMPLETE, - // A request is still polling (sent to request's event dispatchers) - self::POLLING_REQUEST, - // A request exception occurred - self::MULTI_EXCEPTION - ); - } - - /** - * {@inheritdoc} - */ - public function __construct() - { - // You can get some weird "Too many open files" errors when sending a large amount of requests in parallel.These - // two statements autoload classes before a system runs out of file descriptors so that you can get back - // valuable error messages if you run out. - class_exists('Guzzle\Http\Message\Response'); - class_exists('Guzzle\Http\Exception\CurlException'); - - $this->createMultiHandle(); - } - - /** - * {@inheritdoc} - */ - public function __destruct() - { - if (is_resource($this->multiHandle)) { - curl_multi_close($this->multiHandle); - } - } - - /** - * {@inheritdoc} - * - * Adds a request to a batch of requests to be sent in parallel. - * - * Async requests adds a request to the current scope to be executed in parallel with any currently executing cURL - * handles. You may only add an async request while other requests are transferring. Attempting to add an async - * request while no requests are transferring will add the request normally in the next available scope (e.g. 0). - * - * @param RequestInterface $request Request to add - * @param bool $async Set to TRUE to add to the current scope - * - * @return self - */ - public function add(RequestInterface $request, $async = false) - { - if ($async && $this->state != self::STATE_SENDING) { - $async = false; - } - - $this->requestCache = null; - $scope = $async ? $this->scope : $this->scope + 1; - - if (!isset($this->requests[$scope])) { - $this->requests[$scope] = array($request); - } else { - $this->requests[$scope][] = $request; - } - - $this->dispatch(self::ADD_REQUEST, array('request' => $request)); - - // If requests are currently transferring and this is async, then the - // request must be prepared now as the send() method is not called. - if ($async && $this->state == self::STATE_SENDING) { - $this->beforeSend($request); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function all() - { - if (!$this->requestCache) { - $this->requestCache = empty($this->requests) ? array() : call_user_func_array('array_merge', $this->requests); - } - - return $this->requestCache; - } - - /** - * {@inheritdoc} - */ - public function getState() - { - return $this->state; - } - - /** - * {@inheritdoc} - */ - public function remove(RequestInterface $request) - { - $this->removeHandle($request); - $this->requestCache = null; - - foreach ($this->requests as $scope => $scopedRequests) { - $pos = array_search($request, $scopedRequests, true); - if ($pos !== false) { - unset($this->requests[$scope][$pos]); - break; - } - } - - $this->dispatch(self::REMOVE_REQUEST, array('request' => $request)); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function reset($hard = false) - { - // Remove each request - foreach ($this->all() as $request) { - $this->remove($request); - } - - $this->requests = array(); - $this->exceptions = array(); - $this->state = self::STATE_IDLE; - $this->scope = -1; - $this->requestCache = null; - - // Remove any curl handles that were queued for removal - if ($this->scope == -1 || $hard) { - foreach ($this->removeHandles as $handle) { - curl_multi_remove_handle($this->multiHandle, $handle->getHandle()); - $handle->close(); - } - $this->removeHandles = array(); - } - - if ($hard) { - $this->createMultiHandle(); - } - } - - /** - * {@inheritdoc} - */ - public function send() - { - $this->scope++; - $this->state = self::STATE_SENDING; - $requestsInScope = empty($this->requests[$this->scope]) ? array() : $this->requests[$this->scope]; - - // Only prepare and send requests that are in the current recursion scope - // Only enter the main perform() loop if there are requests in scope - if ($requestsInScope) { - - // Any exceptions thrown from this event should break the entire flow of sending requests - $this->dispatch(self::BEFORE_SEND, array( - 'requests' => $this->requests[$this->scope] - )); - - foreach ($this->requests[$this->scope] as $request) { - if ($request->getState() != RequestInterface::STATE_TRANSFER) { - $this->beforeSend($request); - } - } - - try { - $this->perform(); - } catch (\Exception $e) { - $this->exceptions[] = array('request' => null, 'exception' => $e); - } - } - - $this->scope--; - - // Aggregate exceptions into a MultiTransferException if needed - $multiException = $this->buildMultiTransferException($requestsInScope); - - // Complete the transfer if this is not a nested scope - if ($this->scope == -1) { - $this->state = self::STATE_COMPLETE; - $this->dispatch(self::COMPLETE); - $this->reset(); - } - - // Throw any exceptions that were encountered - if ($multiException) { - throw $multiException; - } - } - - /** - * {@inheritdoc} - */ - public function count() - { - return count($this->all()); - } - - /** - * Build a MultiTransferException if needed - * - * @param array $requestsInScope All requests in the previous scope - * - * @return MultiTransferException|null - */ - protected function buildMultiTransferException(array $requestsInScope) - { - if (empty($this->exceptions)) { - return null; - } - - // Keep a list of all requests, and remove errored requests from the list - $store = new \SplObjectStorage(); - foreach ($requestsInScope as $request) { - $store->attach($request); - } - - $multiException = new MultiTransferException('Errors during multi transfer'); - while ($e = array_shift($this->exceptions)) { - $multiException->add($e['exception']); - if (isset($e['request'])) { - $multiException->addFailedRequest($e['request']); - // Remove from the total list so that it becomes a list of successful requests - unset($store[$e['request']]); - } - } - - // Add successful requests - foreach ($store as $request) { - $multiException->addSuccessfulRequest($request); - } - - return $multiException; - } - - /** - * Prepare for sending - * - * @param RequestInterface $request Request to prepare - */ - protected function beforeSend(RequestInterface $request) - { - try { - $request->setState(RequestInterface::STATE_TRANSFER); - $request->dispatch('request.before_send', array( - 'request' => $request - )); - if ($request->getState() != RequestInterface::STATE_TRANSFER) { - // Requests might decide they don't need to be sent just before transfer (e.g. CachePlugin) - $this->remove($request); - } elseif ($request->getParams()->get('queued_response')) { - // Queued responses do not need to be sent using curl - $this->remove($request); - $request->setState(RequestInterface::STATE_COMPLETE); - } else { - // Add the request's curl handle to the multi handle - $this->checkCurlResult(curl_multi_add_handle($this->multiHandle, $this->createCurlHandle($request)->getHandle())); - } - } catch (\Exception $e) { - $this->removeErroredRequest($request, $e); - } - } - - /** - * Create a curl handle for a request - * - * @param RequestInterface $request Request - * - * @return CurlHandle - */ - protected function createCurlHandle(RequestInterface $request) - { - $wrapper = CurlHandle::factory($request); - $this->handles->attach($request, $wrapper); - $this->resourceHash[(int) $wrapper->getHandle()] = $request; - - return $wrapper; - } - - /** - * Get the data from the multi handle - */ - protected function perform() - { - // @codeCoverageIgnoreStart - // Weird things can happen when making HTTP requests in __destruct methods - if (!$this->multiHandle) { - return; - } - // @codeCoverageIgnoreEnd - - // If there are no requests to send, then exit from the function - if ($this->scope <= 0) { - if ($this->count() == 0) { - return; - } - } elseif (empty($this->requests[$this->scope])) { - return; - } - - // Create the polling event external to the loop - $event = array('curl_multi' => $this); - - // Initialize the handles with a very quick select timeout - $active = $mrc = null; - $this->executeHandles($active, $mrc, 0.001); - - while (1) { - - $this->processMessages(); - - // Exit the function if there are no more requests to send - $scopedPolling = $this->scope <= 0 ? $this->all() : $this->requests[$this->scope]; - if (!$scopedPolling) { - break; - } - - // Notify each request as polling - $blocking = $total = 0; - foreach ($scopedPolling as $request) { - $event['request'] = $request; - $request->dispatch(self::POLLING_REQUEST, $event); - ++$total; - // The blocking variable just has to be non-falsey to block the loop - if ($request->getParams()->hasKey(self::BLOCKING)) { - ++$blocking; - } - } - - if ($blocking == $total) { - // Sleep to prevent eating CPU because no requests are actually pending a select call - usleep(500); - } else { - do { - $this->executeHandles($active, $mrc, 1); - } while ($active); - } - } - } - - /** - * Process any received curl multi messages - */ - private function processMessages() - { - // Get messages from curl handles - while ($done = curl_multi_info_read($this->multiHandle)) { - try { - $request = $this->resourceHash[(int) $done['handle']]; - $handle = $this->handles[$request]; - $this->processResponse($request, $handle, $done); - } catch (\Exception $e) { - $this->removeErroredRequest($request, $e); - } - } - } - - /** - * Execute and select curl handles until there is activity - * - * @param int $active Active value to update - * @param int $mrc Multi result value to update - * @param int $timeout Select timeout in seconds - */ - private function executeHandles(&$active, &$mrc, $timeout = 1) - { - do { - $mrc = curl_multi_exec($this->multiHandle, $active); - } while ($mrc == CURLM_CALL_MULTI_PERFORM && $active); - $this->checkCurlResult($mrc); - - // @codeCoverageIgnoreStart - // Select the curl handles until there is any activity on any of the open file descriptors - // See https://github.com/php/php-src/blob/master/ext/curl/multi.c#L170 - if ($active && $mrc == CURLM_OK && curl_multi_select($this->multiHandle, $timeout) == -1) { - // Perform a usleep if a previously executed select returned -1 - // @see https://bugs.php.net/bug.php?id=61141 - usleep(100); - } - // @codeCoverageIgnoreEnd - } - - /** - * Remove a request that encountered an exception - * - * @param RequestInterface $request Request to remove - * @param \Exception $e Exception encountered - */ - protected function removeErroredRequest(RequestInterface $request, \Exception $e) - { - $this->exceptions[] = array('request' => $request, 'exception' => $e); - $this->remove($request); - $request->setState(RequestInterface::STATE_ERROR); - $this->dispatch(self::MULTI_EXCEPTION, array( - 'exception' => $e, - 'all_exceptions' => $this->exceptions - )); - } - - /** - * Check for errors and fix headers of a request based on a curl response - * - * @param RequestInterface $request Request to process - * @param CurlHandle $handle Curl handle object - * @param array $curl Array returned from curl_multi_info_read - * - * @throws CurlException on Curl error - */ - protected function processResponse(RequestInterface $request, CurlHandle $handle, array $curl) - { - // Set the transfer stats on the response - $handle->updateRequestFromTransfer($request); - // Check if a cURL exception occurred, and if so, notify things - $curlException = $this->isCurlException($request, $handle, $curl); - - // Always remove completed curl handles. They can be added back again - // via events if needed (e.g. ExponentialBackoffPlugin) - $this->removeHandle($request); - - if (!$curlException) { - $request->setState(RequestInterface::STATE_COMPLETE, array('handle' => $handle)); - // Only remove the request if it wasn't resent as a result of the state change - if ($request->getState() != RequestInterface::STATE_TRANSFER) { - $this->remove($request); - } - } else { - // Set the state of the request to an error - $request->setState(RequestInterface::STATE_ERROR); - // Notify things that listen to the request of the failure - $request->dispatch('request.exception', array( - 'request' => $this, - 'exception' => $curlException - )); - - // Allow things to ignore the error if possible - $state = $request->getState(); - if ($state != RequestInterface::STATE_TRANSFER) { - $this->remove($request); - } - // The error was not handled, so fail - if ($state == RequestInterface::STATE_ERROR) { - /** @var $curlException \Exception */ - throw $curlException; - } - } - } - - /** - * Remove a curl handle from the curl multi object - * - * Nasty things (bus errors, segmentation faults) can sometimes occur when removing curl handles when in a callback - * or a recursive scope. Here we are queueing all curl handles that need to be removed and closed so that this - * happens only in the outermost scope when everything has completed sending. - * - * @param RequestInterface $request Request that owns the handle - */ - protected function removeHandle(RequestInterface $request) - { - if ($this->handles->contains($request)) { - $handle = $this->handles[$request]; - unset($this->resourceHash[(int) $handle->getHandle()]); - unset($this->handles[$request]); - $this->removeHandles[] = $handle; - } - } - - /** - * Check if a cURL transfer resulted in what should be an exception - * - * @param RequestInterface $request Request to check - * @param CurlHandle $handle Curl handle object - * @param array $curl Array returned from curl_multi_info_read - * - * @return \Exception|bool - */ - private function isCurlException(RequestInterface $request, CurlHandle $handle, array $curl) - { - if (CURLM_OK == $curl['result'] || CURLM_CALL_MULTI_PERFORM == $curl['result']) { - return false; - } - - $handle->setErrorNo($curl['result']); - $e = new CurlException(sprintf('[curl] %s: %s [url] %s', - $handle->getErrorNo(), $handle->getError(), $handle->getUrl())); - $e->setCurlHandle($handle) - ->setRequest($request) - ->setCurlInfo($handle->getInfo()) - ->setError($handle->getError(), $handle->getErrorNo()); - - return $e; - } - - /** - * Throw an exception for a cURL multi response if needed - * - * @param int $code Curl response code - * - * @throws CurlException - */ - private function checkCurlResult($code) - { - if ($code != CURLM_OK && $code != CURLM_CALL_MULTI_PERFORM) { - throw new CurlException(isset($this->multiErrors[$code]) - ? "cURL error: {$code} ({$this->multiErrors[$code][0]}): cURL message: {$this->multiErrors[$code][1]}" - : 'Unexpected cURL error: ' . $code - ); - } - } - - /** - * Create the new cURL multi handle with error checking - */ - private function createMultiHandle() - { - if ($this->multiHandle && is_resource($this->multiHandle)) { - curl_multi_close($this->multiHandle); - } - - $this->requests = array(); - $this->multiHandle = curl_multi_init(); - $this->handles = new \SplObjectStorage(); - $this->resourceHash = array(); - $this->removeHandles = array(); - - // @codeCoverageIgnoreStart - if ($this->multiHandle === false) { - throw new CurlException('Unable to create multi handle'); - } - // @codeCoverageIgnoreEnd - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMultiInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMultiInterface.php deleted file mode 100644 index ff39a1a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMultiInterface.php +++ /dev/null @@ -1,71 +0,0 @@ -version) { - $this->version = curl_version(); - } - - return $this->version; - } - - /** - * Get a specific type of curl information - * - * @param string $type Version information to retrieve. This value is one of: - * - version_number: cURL 24 bit version number - * - version: cURL version number, as a string - * - ssl_version_number: OpenSSL 24 bit version number - * - ssl_version: OpenSSL version number, as a string - * - libz_version: zlib version number, as a string - * - host: Information about the host where cURL was built - * - features: A bitmask of the CURL_VERSION_XXX constants - * - protocols: An array of protocols names supported by cURL - * - * @return string|float|bool if the $type is found, and false if not found - */ - public function get($type) - { - $version = $this->getAll(); - - return isset($version[$type]) ? $version[$type] : false; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/RequestMediator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/RequestMediator.php deleted file mode 100644 index 016082f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/RequestMediator.php +++ /dev/null @@ -1,130 +0,0 @@ -request = $request; - $this->emitIo = $emitIo; - } - - /** - * Set the associated CurlHandle object - * - * @param CurlHandle $handle Curl handle - * - * @return RequestMediator - */ - public function setCurlHandle(CurlHandle $handle) - { - $this->curlHandle = $handle; - $this->request->getParams()->set('curl_handle', $handle); - - return $this; - } - - /** - * Receive a response header from curl - * - * @param resource $curl Curl handle - * @param string $header Received header - * - * @return int - */ - public function receiveResponseHeader($curl, $header) - { - return $this->request->receiveResponseHeader($header); - } - - /** - * Received a progress notification - * - * @param int $downloadSize Total download size - * @param int $downloaded Amount of bytes downloaded - * @param int $uploadSize Total upload size - * @param int $uploaded Amount of bytes uploaded - */ - public function progress($downloadSize, $downloaded, $uploadSize, $uploaded) - { - $this->request->dispatch('curl.callback.progress', array( - 'request' => $this->request, - 'handle' => $this->curlHandle, - 'download_size' => $downloadSize, - 'downloaded' => $downloaded, - 'upload_size' => $uploadSize, - 'uploaded' => $uploaded - )); - } - - /** - * Write data to the response body of a request - * - * @param resource $curl Curl handle - * @param string $write Data that was received - * - * @return int - */ - public function writeResponseBody($curl, $write) - { - if ($this->emitIo) { - $this->request->dispatch('curl.callback.write', array( - 'request' => $this->request, - 'write' => $write - )); - } - - return $this->request->getResponse()->getBody()->write($write); - } - - /** - * Read data from the request body and send it to curl - * - * @param resource $ch Curl handle - * @param resource $fd File descriptor - * @param int $length Amount of data to read - * - * @return string - */ - public function readRequestBody($ch, $fd, $length) - { - $read = ''; - - if ($this->request->getBody()) { - $read = $this->request->getBody()->read($length); - if ($this->emitIo) { - $this->request->dispatch('curl.callback.read', array( - 'request' => $this->request, - 'read' => $read - )); - } - } - - return !$read ? '' : $read; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/EntityBody.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/EntityBody.php deleted file mode 100644 index 69a12c8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/EntityBody.php +++ /dev/null @@ -1,235 +0,0 @@ -rewindFunction = $callable; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function rewind() - { - return $this->rewindFunction ? call_user_func($this->rewindFunction, $this) : parent::rewind(); - } - - /** - * Create a new EntityBody from a string - * - * @param string $string String of data - * - * @return EntityBody - */ - public static function fromString($string) - { - $stream = fopen('php://temp', 'r+'); - if ($string !== '') { - fwrite($stream, $string); - rewind($stream); - } - - return new static($stream); - } - - /** - * {@inheritdoc} - */ - public function compress($filter = 'zlib.deflate') - { - $result = $this->handleCompression($filter); - $this->contentEncoding = $result ? $filter : false; - - return $result; - } - - /** - * {@inheritdoc} - */ - public function uncompress($filter = 'zlib.inflate') - { - $offsetStart = 0; - - // When inflating gzipped data, the first 10 bytes must be stripped - // if a gzip header is present - if ($filter == 'zlib.inflate') { - // @codeCoverageIgnoreStart - if (!$this->isReadable() || ($this->isConsumed() && !$this->isSeekable())) { - return false; - } - // @codeCoverageIgnoreEnd - if (stream_get_contents($this->stream, 3, 0) === "\x1f\x8b\x08") { - $offsetStart = 10; - } - } - - $this->contentEncoding = false; - - return $this->handleCompression($filter, $offsetStart); - } - - /** - * {@inheritdoc} - */ - public function getContentLength() - { - return $this->getSize(); - } - - /** - * {@inheritdoc} - */ - public function getContentType() - { - if (!($this->isLocal() && $this->getWrapper() == 'plainfile' && file_exists($this->getUri()))) { - return 'application/octet-stream'; - } - - return Mimetypes::getInstance()->fromFilename($this->getUri()) ?: 'application/octet-stream'; - } - - /** - * {@inheritdoc} - */ - public function getContentMd5($rawOutput = false, $base64Encode = false) - { - $hash = self::getHash($this, 'md5', $rawOutput); - - return $hash && $base64Encode ? base64_encode($hash) : $hash; - } - - /** - * Calculate the MD5 hash of an entity body - * - * @param EntityBodyInterface $body Entity body to calculate the hash for - * @param bool $rawOutput Whether or not to use raw output - * @param bool $base64Encode Whether or not to base64 encode raw output (only if raw output is true) - * - * @return bool|string Returns an MD5 string on success or FALSE on failure - * @deprecated This will be deprecated soon - * @codeCoverageIgnore - */ - public static function calculateMd5(EntityBodyInterface $body, $rawOutput = false, $base64Encode = false) - { - return $body->getContentMd5($rawOutput, $base64Encode); - } - - /** - * {@inheritdoc} - */ - public function setStreamFilterContentEncoding($streamFilterContentEncoding) - { - $this->contentEncoding = $streamFilterContentEncoding; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getContentEncoding() - { - return strtr($this->contentEncoding, array( - 'zlib.deflate' => 'gzip', - 'bzip2.compress' => 'compress' - )) ?: false; - } - - /** - * {@inheritdoc} - */ - protected function handleCompression($filter, $offsetStart = 0) - { - // @codeCoverageIgnoreStart - if (!$this->isReadable() || ($this->isConsumed() && !$this->isSeekable())) { - return false; - } - // @codeCoverageIgnoreEnd - - $handle = fopen('php://temp', 'r+'); - $filter = @stream_filter_append($handle, $filter, STREAM_FILTER_WRITE); - if (!$filter) { - return false; - } - - // Seek to the offset start if possible - $this->seek($offsetStart); - while ($data = fread($this->stream, 8096)) { - fwrite($handle, $data); - } - - fclose($this->stream); - $this->stream = $handle; - stream_filter_remove($filter); - $stat = fstat($this->stream); - $this->size = $stat['size']; - $this->rebuildCache(); - $this->seek(0); - - // Remove any existing rewind function as the underlying stream has been replaced - $this->rewindFunction = null; - - return true; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/EntityBodyInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/EntityBodyInterface.php deleted file mode 100644 index 97c90ff..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/EntityBodyInterface.php +++ /dev/null @@ -1,73 +0,0 @@ -isClientError()) { - $label = 'Client error response'; - $class = __NAMESPACE__ . '\\ClientErrorResponseException'; - } elseif ($response->isServerError()) { - $label = 'Server error response'; - $class = __NAMESPACE__ . '\\ServerErrorResponseException'; - } else { - $label = 'Unsuccessful response'; - $class = __CLASS__; - $e = new self(); - } - - $message = $label . PHP_EOL . implode(PHP_EOL, array( - '[status code] ' . $response->getStatusCode(), - '[reason phrase] ' . $response->getReasonPhrase(), - '[url] ' . $request->getUrl(), - )); - - $e = new $class($message); - $e->setResponse($response); - $e->setRequest($request); - - return $e; - } - - /** - * Set the response that caused the exception - * - * @param Response $response Response to set - */ - public function setResponse(Response $response) - { - $this->response = $response; - } - - /** - * Get the response that caused the exception - * - * @return Response - */ - public function getResponse() - { - return $this->response; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ClientErrorResponseException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ClientErrorResponseException.php deleted file mode 100644 index 04d7ddc..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ClientErrorResponseException.php +++ /dev/null @@ -1,8 +0,0 @@ -curlError = $error; - $this->curlErrorNo = $number; - - return $this; - } - - /** - * Set the associated curl handle - * - * @param CurlHandle $handle Curl handle - * - * @return self - */ - public function setCurlHandle(CurlHandle $handle) - { - $this->handle = $handle; - - return $this; - } - - /** - * Get the associated cURL handle - * - * @return CurlHandle|null - */ - public function getCurlHandle() - { - return $this->handle; - } - - /** - * Get the associated cURL error message - * - * @return string|null - */ - public function getError() - { - return $this->curlError; - } - - /** - * Get the associated cURL error number - * - * @return int|null - */ - public function getErrorNo() - { - return $this->curlErrorNo; - } - - /** - * Returns curl information about the transfer - * - * @return array - */ - public function getCurlInfo() - { - return $this->curlInfo; - } - - /** - * Set curl transfer information - * - * @param array $info Array of curl transfer information - * - * @return self - * @link http://php.net/manual/en/function.curl-getinfo.php - */ - public function setCurlInfo(array $info) - { - $this->curlInfo = $info; - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/HttpException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/HttpException.php deleted file mode 100644 index ee87295..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/HttpException.php +++ /dev/null @@ -1,10 +0,0 @@ -successfulRequests, $this->failedRequests); - } - - /** - * Add to the array of successful requests - * - * @param RequestInterface $request Successful request - * - * @return self - */ - public function addSuccessfulRequest(RequestInterface $request) - { - $this->successfulRequests[] = $request; - - return $this; - } - - /** - * Add to the array of failed requests - * - * @param RequestInterface $request Failed request - * - * @return self - */ - public function addFailedRequest(RequestInterface $request) - { - $this->failedRequests[] = $request; - - return $this; - } - - /** - * Set all of the successful requests - * - * @param array Array of requests - * - * @return self - */ - public function setSuccessfulRequests(array $requests) - { - $this->successfulRequests = $requests; - - return $this; - } - - /** - * Set all of the failed requests - * - * @param array Array of requests - * - * @return self - */ - public function setFailedRequests(array $requests) - { - $this->failedRequests = $requests; - - return $this; - } - - /** - * Get an array of successful requests sent in the multi transfer - * - * @return array - */ - public function getSuccessfulRequests() - { - return $this->successfulRequests; - } - - /** - * Get an array of failed requests sent in the multi transfer - * - * @return array - */ - public function getFailedRequests() - { - return $this->failedRequests; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/RequestException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/RequestException.php deleted file mode 100644 index 5fb274b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/RequestException.php +++ /dev/null @@ -1,41 +0,0 @@ -request = $request; - - return $this; - } - - /** - * Get the request that caused the exception - * - * @return RequestInterface - */ - public function getRequest() - { - return $this->request; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ServerErrorResponseException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ServerErrorResponseException.php deleted file mode 100644 index f0f7cfe..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ServerErrorResponseException.php +++ /dev/null @@ -1,8 +0,0 @@ -eventDispatcher = $eventDispatcher; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getEventDispatcher() - { - if (!$this->eventDispatcher) { - $this->eventDispatcher = new EventDispatcher(); - } - - return $this->eventDispatcher; - } - - /** - * {@inheritdoc} - */ - public function dispatch($eventName, array $context = array()) - { - $this->getEventDispatcher()->dispatch($eventName, new Event($context)); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function addSubscriber(EventSubscriberInterface $subscriber) - { - $this->getEventDispatcher()->addSubscriber($subscriber); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function read($length) - { - $event = array( - 'body' => $this, - 'length' => $length, - 'read' => $this->body->read($length) - ); - $this->dispatch('body.read', $event); - - return $event['read']; - } - - /** - * {@inheritdoc} - */ - public function write($string) - { - $event = array( - 'body' => $this, - 'write' => $string, - 'result' => $this->body->write($string) - ); - $this->dispatch('body.write', $event); - - return $event['result']; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/AbstractMessage.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/AbstractMessage.php deleted file mode 100644 index a790804..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/AbstractMessage.php +++ /dev/null @@ -1,324 +0,0 @@ -params; - } - - /** - * {@inheritdoc} - */ - public function addHeader($header, $value) - { - $key = strtolower($header); - if (!isset($this->headers[$key])) { - $this->headers[$key] = new Header($header, $value); - } else { - $this->headers[$key]->add($value, $header); - } - $this->changedHeader($key); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function addHeaders(array $headers) - { - foreach ($headers as $key => $value) { - $this->addHeader($key, $value); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getHeader($header, $string = false) - { - $key = strtolower($header); - if (!isset($this->headers[$key])) { - return null; - } - - return $string ? (string) $this->headers[$key] : $this->headers[$key]; - } - - /** - * {@inheritdoc} - */ - public function getHeaders($asObjects = false) - { - if ($asObjects) { - $result = $this->headers; - } else { - $result = array(); - // Convert all of the headers into a collection - foreach ($this->headers as $header) { - foreach ($header->raw() as $key => $value) { - $result[$key] = $value; - } - } - } - - return new Collection($result); - } - - /** - * {@inheritdoc} - */ - public function getHeaderLines() - { - $headers = array(); - foreach ($this->headers as $value) { - $glue = $value->getGlue(); - foreach ($value->raw() as $key => $v) { - $headers[] = rtrim($key . ': ' . implode($glue, $v)); - } - } - - return $headers; - } - - /** - * {@inheritdoc} - */ - public function setHeader($header, $value) - { - // Remove any existing header - $key = strtolower($header); - unset($this->headers[$key]); - - if ($value instanceof Header) { - $this->headers[$key] = $value; - } else { - // Allow for 0, '', and NULL to be set - if (!$value) { - $value = array($value); - } - $this->headers[$key] = new Header($header, $value); - } - $this->changedHeader($key); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setHeaders(array $headers) - { - // Get the keys that are changing - $changed = array_keys($this->headers); - // Erase the old headers - $this->headers = array(); - // Add the new headers - foreach ($headers as $key => $value) { - $changed[] = $key; - $this->addHeader($key, $value); - } - - // Notify of the changed headers - foreach (array_unique($changed) as $header) { - $this->changedHeader(strtolower($header)); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function hasHeader($header) - { - return array_key_exists(strtolower($header), $this->headers); - } - - /** - * {@inheritdoc} - */ - public function removeHeader($header) - { - $header = strtolower($header); - unset($this->headers[$header]); - $this->changedHeader($header); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getTokenizedHeader($header, $token = ';') - { - if (!$this->hasHeader($header)) { - return null; - } - - $data = new Collection(); - - foreach ($this->getHeader($header) as $singleValue) { - foreach (explode($token, $singleValue) as $kvp) { - $parts = explode('=', $kvp, 2); - if (!isset($parts[1])) { - $data[count($data)] = trim($parts[0]); - } else { - $data->add(trim($parts[0]), trim($parts[1])); - } - } - } - - foreach ($data as $key => $value) { - if (is_array($value)) { - $data->set($key, array_unique($value)); - } - } - - return $data; - } - - /** - * {@inheritdoc} - */ - public function setTokenizedHeader($header, $data, $token = ';') - { - if (!($data instanceof Collection) && !is_array($data)) { - throw new InvalidArgumentException('Data must be a Collection or array'); - } - - $values = array(); - foreach ($data as $key => $value) { - foreach ((array) $value as $v) { - $values[] = is_int($key) ? $v : $key . '=' . $v; - } - } - - return $this->setHeader($header, implode($token, $values)); - } - - /** - * {@inheritdoc} - */ - public function getCacheControlDirective($directive) - { - if (!isset($this->cacheControl[$directive])) { - return null; - } - - $directive = $this->cacheControl[$directive]; - - if (is_array($directive) && !empty($directive)) { - return $directive[0]; - } - - return $directive; - } - - /** - * {@inheritdoc} - */ - public function hasCacheControlDirective($directive) - { - return isset($this->cacheControl[$directive]); - } - - /** - * {@inheritdoc} - */ - public function addCacheControlDirective($directive, $value = true) - { - $this->cacheControl[$directive] = $value; - $this->rebuildCacheControlDirective(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function removeCacheControlDirective($directive) - { - if (array_key_exists($directive, $this->cacheControl)) { - unset($this->cacheControl[$directive]); - $this->rebuildCacheControlDirective(); - } - - return $this; - } - - /** - * Check to see if the modified headers need to reset any of the managed - * headers like cache-control - * - * @param string $header Header that changed - */ - protected function changedHeader($header) - { - if ($header == 'cache-control') { - $this->parseCacheControlDirective(); - } - } - - /** - * Parse the Cache-Control HTTP header into an array - */ - private function parseCacheControlDirective() - { - $this->cacheControl = array(); - $tokenized = $this->getTokenizedHeader('Cache-Control', ',') ?: array(); - foreach ($tokenized as $key => $value) { - if (is_numeric($key)) { - $this->cacheControl[$value] = true; - } else { - $this->cacheControl[$key] = $value; - } - } - } - - /** - * Rebuild the Cache-Control HTTP header using the user-specified values - */ - private function rebuildCacheControlDirective() - { - $cacheControl = array(); - foreach ($this->cacheControl as $key => $value) { - $cacheControl[] = ($value === true) ? $key : ($key . '=' . $value); - } - $this->headers['cache-control'] = new Header('Cache-Control', $cacheControl, ', '); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequest.php deleted file mode 100644 index 9d3262a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequest.php +++ /dev/null @@ -1,295 +0,0 @@ -postFields = new QueryString(); - parent::__construct($method, $url, $headers); - } - - /** - * Get the HTTP request as a string - * - * @return string - */ - public function __toString() - { - // Only attempt to include the POST data if it's only fields - if (count($this->postFields) && empty($this->postFiles)) { - return parent::__toString() . (string) $this->postFields; - } - - return parent::__toString() . $this->body; - } - - /** - * {@inheritdoc} - */ - public function setState($state, array $context = array()) - { - parent::setState($state, $context); - if ($state == self::STATE_TRANSFER && !$this->body && !count($this->postFields) && !count($this->postFiles)) { - $this->setHeader('Content-Length', 0)->removeHeader('Transfer-Encoding'); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setBody($body, $contentType = null, $tryChunkedTransfer = false) - { - $this->body = EntityBody::factory($body); - $this->removeHeader('Content-Length'); - - if ($contentType) { - $this->setHeader('Content-Type', (string) $contentType); - } - - // Always add the Expect 100-Continue header if the body cannot be rewound. This helps with redirects. - if (!$this->body->isSeekable() && $this->expectCutoff !== false) { - $this->setHeader('Expect', '100-Continue'); - } - - if ($tryChunkedTransfer) { - $this->setHeader('Transfer-Encoding', 'chunked'); - } else { - $this->removeHeader('Transfer-Encoding'); - // Set the Content-Length header if it can be determined - $size = $this->body->getContentLength(); - if ($size !== null && $size !== false) { - $this->setHeader('Content-Length', $size); - if ($size > $this->expectCutoff) { - $this->setHeader('Expect', '100-Continue'); - } - } elseif ('1.1' == $this->protocolVersion) { - $this->setHeader('Transfer-Encoding', 'chunked'); - } else { - throw new RequestException( - 'Cannot determine Content-Length and cannot use chunked Transfer-Encoding when using HTTP/1.0' - ); - } - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getBody() - { - return $this->body; - } - - /** - * Set the size that the entity body of the request must exceed before adding the Expect: 100-Continue header. - * - * @param int|bool $size Cutoff in bytes. Set to false to never send the expect header (even with non-seekable data) - * - * @return self - */ - public function setExpectHeaderCutoff($size) - { - $this->expectCutoff = $size; - if ($size === false || !$this->body) { - $this->removeHeader('Expect'); - } elseif ($this->body && $this->body->getSize() && $this->body->getSize() > $size) { - $this->setHeader('Expect', '100-Continue'); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function configureRedirects($strict = false, $maxRedirects = 5) - { - $this->getParams()->set(RedirectPlugin::STRICT_REDIRECTS, $strict); - if ($maxRedirects == 0) { - $this->getParams()->set(RedirectPlugin::DISABLE, true); - } else { - $this->getParams()->set(RedirectPlugin::MAX_REDIRECTS, $maxRedirects); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getPostField($field) - { - return $this->postFields->get($field); - } - - /** - * {@inheritdoc} - */ - public function getPostFields() - { - return $this->postFields; - } - - /** - * {@inheritdoc} - */ - public function setPostField($key, $value) - { - $this->postFields->set($key, $value); - $this->processPostFields(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function addPostFields($fields) - { - $this->postFields->merge($fields); - $this->processPostFields(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function removePostField($field) - { - $this->postFields->remove($field); - $this->processPostFields(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getPostFiles() - { - return $this->postFiles; - } - - /** - * {@inheritdoc} - */ - public function getPostFile($fieldName) - { - return isset($this->postFiles[$fieldName]) ? $this->postFiles[$fieldName] : null; - } - - /** - * {@inheritdoc} - */ - public function removePostFile($fieldName) - { - unset($this->postFiles[$fieldName]); - $this->processPostFields(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function addPostFile($field, $filename = null, $contentType = null) - { - $data = null; - - if ($field instanceof PostFileInterface) { - $data = $field; - } elseif (!is_string($filename)) { - throw new RequestException('The path to a file must be a string'); - } elseif (!empty($filename)) { - // Adding an empty file will cause cURL to error out - $data = new PostFile($field, $filename, $contentType); - } - - if ($data) { - if (!isset($this->postFiles[$data->getFieldName()])) { - $this->postFiles[$data->getFieldName()] = array($data); - } else { - $this->postFiles[$data->getFieldName()][] = $data; - } - $this->processPostFields(); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function addPostFiles(array $files) - { - foreach ($files as $key => $file) { - if ($file instanceof PostFileInterface) { - $this->addPostFile($file, null, null, false); - } elseif (is_string($file)) { - // Convert non-associative array keys into 'file' - if (is_numeric($key)) { - $key = 'file'; - } - $this->addPostFile($key, $file, null, false); - } else { - throw new RequestException('File must be a string or instance of PostFileInterface'); - } - } - - return $this; - } - - /** - * Determine what type of request should be sent based on post fields - */ - protected function processPostFields() - { - if (empty($this->postFiles)) { - $this->removeHeader('Expect')->setHeader('Content-Type', self::URL_ENCODED); - } else { - $this->setHeader('Content-Type', self::MULTIPART); - if ($this->expectCutoff !== false) { - $this->setHeader('Expect', '100-Continue'); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequestInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequestInterface.php deleted file mode 100644 index 8ddd42d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequestInterface.php +++ /dev/null @@ -1,139 +0,0 @@ - filenames where filename can be a string or PostFileInterface - * - * @return EntityEnclosingRequestInterface - */ - public function addPostFiles(array $files); - - /** - * Configure how redirects are handled for the request - * - * @param bool $strict Set to true to follow strict RFC compliance when redirecting POST requests. Most - * browsers with follow a 301-302 redirect for a POST request with a GET request. This is - * the default behavior of Guzzle. Enable strict redirects to redirect these responses - * with a POST rather than a GET request. - * @param int $maxRedirects Specify the maximum number of allowed redirects. Set to 0 to disable redirects. - * - * @return self - */ - public function configureRedirects($strict = false, $maxRedirects = 5); -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Header.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Header.php deleted file mode 100644 index cf9f750..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Header.php +++ /dev/null @@ -1,255 +0,0 @@ -header = $header; - $this->glue = $glue; - - if (null !== $values) { - foreach ((array) $values as $key => $value) { - if (is_numeric($key)) { - $key = $header; - } - if ($value === null) { - $this->add($value, $key); - } else { - foreach ((array) $value as $v) { - $this->add($v, $key); - } - } - } - } - } - - /** - * Convert the header to a string - * - * @return string - */ - public function __toString() - { - if (!$this->stringCache) { - $this->stringCache = implode($this->glue, $this->toArray()); - } - - return $this->stringCache; - } - - /** - * Add a value to the list of header values - * - * @param string $value Value to add - * @param string $header The exact header casing to add with. Defaults to the name of the header. - * - * @return Header - */ - public function add($value, $header = null) - { - if (!$header) { - $header = $this->getName(); - } - - if (!isset($this->values[$header])) { - $this->values[$header] = array($value); - } else { - $this->values[$header][] = $value; - } - - // Ensure that the array cache is cleared - $this->arrayCache = $this->stringCache = null; - - return $this; - } - - /** - * Get the name of the header - * - * @return string - */ - public function getName() - { - return $this->header; - } - - /** - * Change the glue used to implode the values - * - * @param string $glue Glue used to implode multiple values - * - * @return Header - */ - public function setGlue($glue) - { - $this->glue = $glue; - $this->stringCache = null; - - return $this; - } - - /** - * Get the glue used to implode multiple values into a string - * - * @return string - */ - public function getGlue() - { - return $this->glue; - } - - /** - * Normalize the header to be a single header with an array of values - * - * @param bool $explodeOnGlue Set to true to explode each header value on the glue of the header - * - * @return Header - */ - public function normalize($explodeOnGlue = false) - { - $values = $this->toArray(); - $this->arrayCache = $this->stringCache = null; - - // Explode each value on glue if needed - if ($this->glue && $explodeOnGlue) { - foreach ($values as $i => $value) { - // Explode the value if the glue was found in the header - if (strpos($value, $this->glue)) { - foreach (explode($this->glue, $value) as $v) { - $values[] = $v; - } - unset($values[$i]); - } - } - } - - $this->values = array($this->getName() => $values); - - return $this; - } - - /** - * Check if a particular case variation is present in the header - * Example: A header exists on a message for 'Foo', and 'foo'. The Header object will contain all of the values of - * 'Foo' and all of the values of 'foo'. You can use this method to check to see if a header was set using - * 'foo' (true), 'Foo' (true), 'FOO' (false), etc. - * - * @param string $header Exact header to check for - * - * @return bool - */ - public function hasExactHeader($header) - { - return isset($this->values[$header]); - } - - /** - * Check if the collection of headers has a particular value - * - * @param string $searchValue Value to search for - * @param bool $caseInsensitive Set to TRUE to use a case insensitive search - * - * @return bool - */ - public function hasValue($searchValue, $caseInsensitive = false) - { - foreach ($this->toArray() as $value) { - if ($value == $searchValue) { - return true; - } elseif ($caseInsensitive && !strcasecmp($value, $searchValue)) { - return true; - } - } - - return false; - } - - /** - * Remove a specific value from the header - * - * @param string $searchValue Value to remove - * - * @return self - */ - public function removeValue($searchValue) - { - foreach ($this->values as $key => $values) { - foreach ($values as $index => $value) { - if ($value == $searchValue) { - unset($this->values[$key][$index]); - $this->arrayCache = $this->stringCache = null; - break 2; - } - } - } - - return $this; - } - - /** - * Get all of the header values as a flat array - * {@inheritdoc} - */ - public function toArray() - { - if ($this->arrayCache === null) { - $this->arrayCache = array(); - foreach ($this->values as $values) { - $this->arrayCache = array_merge($this->arrayCache, $values); - } - } - - return $this->arrayCache; - } - - /** - * Get the raw data array of the headers. This array is represented as an associative array of the various cases - * that might be stored in the header and an array of values associated with each case variation. - * - * @return array - */ - public function raw() - { - return $this->values; - } - - /** - * Returns the total number of header values - * - * @return int - */ - public function count() - { - return count($this->toArray()); - } - - /** - * Get an iterator that can be used to easily iterate over each header value - * - * @return \ArrayIterator - */ - public function getIterator() - { - return new \ArrayIterator($this->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/HeaderComparison.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/HeaderComparison.php deleted file mode 100644 index 5ef64b4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/HeaderComparison.php +++ /dev/null @@ -1,128 +0,0 @@ -getAll(); - } - - foreach ($filteredHeaders as $k => $v) { - if ($k[0] == '_') { - // This header should be ignored - $ignore[] = str_replace('_', '', $k); - } elseif ($k[0] == '!') { - // This header must not be present - $absent[] = str_replace('!', '', $k); - } else { - $expected[$k] = $v; - } - } - - return $this->compareArray($expected, $actualHeaders, $ignore, $absent); - } - - /** - * Check if an array of HTTP headers matches another array of HTTP headers while taking * into account as a wildcard - * - * @param array $expected Expected HTTP headers (allows wildcard values) - * @param array|Collection $actual Actual HTTP header array - * @param array $ignore Headers to ignore from the comparison - * @param array $absent Array of headers that must not be present - * - * @return array|bool Returns an array of the differences or FALSE if none - */ - public function compareArray(array $expected, $actual, array $ignore = array(), array $absent = array()) - { - $differences = array(); - - // Add information about headers that were present but weren't supposed to be - foreach ($absent as $header) { - if ($this->hasKey($header, $actual)) { - $differences["++ {$header}"] = $actual[$header]; - unset($actual[$header]); - } - } - - // Check if expected headers are missing - foreach ($expected as $header => $value) { - if (!$this->hasKey($header, $actual)) { - $differences["- {$header}"] = $value; - } - } - - // Flip the ignore array so it works with the case insensitive helper - $ignore = array_flip($ignore); - // Allow case-insensitive comparisons in wildcards - $expected = array_change_key_case($expected); - - // Compare the expected and actual HTTP headers in no particular order - foreach ($actual as $key => $value) { - - // If this is to be ignored, the skip it - if ($this->hasKey($key, $ignore)) { - continue; - } - - // If the header was not expected - if (!$this->hasKey($key, $expected)) { - $differences["+ {$key}"] = $value; - continue; - } - - // Check values and take wildcards into account - $lkey = strtolower($key); - $pos = is_string($expected[$lkey]) ? strpos($expected[$lkey], '*') : false; - - foreach ((array) $actual[$key] as $v) { - if (($pos === false && $v != $expected[$lkey]) || $pos > 0 && substr($v, 0, $pos) != substr($expected[$lkey], 0, $pos)) { - $differences[$key] = "{$value} != {$expected[$lkey]}"; - } - } - } - - return empty($differences) ? false : $differences; - } - - /** - * Case insensitive check if an array have a key - * - * @param string $key Key to check - * @param array $array Array to check - * - * @return bool - */ - protected function hasKey($key, $array) - { - foreach (array_keys($array) as $k) { - if (!strcasecmp($k, $key)) { - return true; - } - } - - return false; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/MessageInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/MessageInterface.php deleted file mode 100644 index 9b45e06..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/MessageInterface.php +++ /dev/null @@ -1,168 +0,0 @@ -fieldName = $fieldName; - $this->setFilename($filename); - $this->contentType = $contentType ?: $this->guessContentType(); - } - - /** - * {@inheritdoc} - */ - public function setFieldName($name) - { - $this->fieldName = $name; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getFieldName() - { - return $this->fieldName; - } - - /** - * {@inheritdoc} - */ - public function setFilename($filename) - { - // Remove leading @ symbol - if (strpos($filename, '@') === 0) { - $filename = substr($filename, 1); - } - - if (!is_readable($filename)) { - throw new InvalidArgumentException("Unable to open {$filename} for reading"); - } - - $this->filename = $filename; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getFilename() - { - return $this->filename; - } - - /** - * {@inheritdoc} - */ - public function setContentType($type) - { - $this->contentType = $type; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getContentType() - { - return $this->contentType; - } - - /** - * {@inheritdoc} - */ - public function getCurlString() - { - $disposition = ';filename=' . basename($this->filename); - - return $this->contentType - ? '@' . $this->filename . ';type=' . $this->contentType . $disposition - : '@' . $this->filename . $disposition; - } - - /** - * Determine the Content-Type of the file - */ - protected function guessContentType() - { - return Mimetypes::getInstance()->fromFilename($this->filename) ?: 'application/octet-stream'; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/PostFileInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/PostFileInterface.php deleted file mode 100644 index 683933f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/PostFileInterface.php +++ /dev/null @@ -1,67 +0,0 @@ -method = strtoupper($method); - $this->curlOptions = new Collection(); - $this->params = new Collection(); - $this->setUrl($url); - - if ($headers) { - // Special handling for multi-value headers - foreach ($headers as $key => $value) { - $lkey = strtolower($key); - // Deal with collisions with Host and Authorization - if ($lkey == 'host') { - $this->setHeader($key, $value); - } elseif ($lkey == 'authorization') { - $parts = explode(' ', $value); - if ($parts[0] == 'Basic' && isset($parts[1])) { - list($user, $pass) = explode(':', base64_decode($parts[1])); - $this->setAuth($user, $pass); - } else { - $this->setHeader($key, $value); - } - } else { - foreach ((array) $value as $v) { - $this->addHeader($key, $v); - } - } - } - } - - $this->setState(self::STATE_NEW); - } - - /** - * Clone the request object, leaving off any response that was received - * @see Guzzle\Plugin\Redirect\RedirectPlugin::cloneRequestWithGetMethod - */ - public function __clone() - { - if ($this->eventDispatcher) { - $this->eventDispatcher = clone $this->eventDispatcher; - } - $this->curlOptions = clone $this->curlOptions; - $this->params = clone $this->params; - // Remove state based parameters from the cloned request - $this->params->remove('curl_handle')->remove('queued_response')->remove('curl_multi'); - $this->url = clone $this->url; - $this->response = $this->responseBody = null; - - // Clone each header - foreach ($this->headers as $key => &$value) { - $value = clone $value; - } - - $this->setState(RequestInterface::STATE_NEW); - $this->dispatch('request.clone', array('request' => $this)); - } - - /** - * Get the HTTP request as a string - * - * @return string - */ - public function __toString() - { - return $this->getRawHeaders() . "\r\n\r\n"; - } - - /** - * Default method that will throw exceptions if an unsuccessful response - * is received. - * - * @param Event $event Received - * @throws BadResponseException if the response is not successful - */ - public static function onRequestError(Event $event) - { - $e = BadResponseException::factory($event['request'], $event['response']); - $event['request']->dispatch('request.exception', array( - 'request' => $event['request'], - 'response' => $event['response'], - 'exception' => $e - )); - - throw $e; - } - - /** - * {@inheritdoc} - */ - public function setClient(ClientInterface $client) - { - $this->client = $client; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getClient() - { - return $this->client; - } - - /** - * {@inheritdoc} - */ - public function getRawHeaders() - { - $protocolVersion = $this->protocolVersion ?: '1.1'; - - return trim($this->method . ' ' . $this->getResource()) . ' ' - . strtoupper(str_replace('https', 'http', $this->url->getScheme())) - . '/' . $protocolVersion . "\r\n" . implode("\r\n", $this->getHeaderLines()); - } - - /** - * {@inheritdoc} - */ - public function setUrl($url) - { - if ($url instanceof Url) { - $this->url = $url; - } else { - $this->url = Url::factory($url); - } - - // Update the port and host header - $this->setPort($this->url->getPort()); - - if ($this->url->getUsername() || $this->url->getPassword()) { - $this->setAuth($this->url->getUsername(), $this->url->getPassword()); - // Remove the auth info from the URL - $this->url->setUsername(null); - $this->url->setPassword(null); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function send() - { - if (!$this->client) { - throw new RuntimeException('A client must be set on the request'); - } - - return $this->client->send($this); - } - - /** - * {@inheritdoc} - */ - public function getResponse() - { - return $this->response; - } - - /** - * {@inheritdoc} - */ - public function getQuery($asString = false) - { - return $asString - ? (string) $this->url->getQuery() - : $this->url->getQuery(); - } - - /** - * {@inheritdoc} - */ - public function getMethod() - { - return $this->method; - } - - /** - * {@inheritdoc} - */ - public function getScheme() - { - return $this->url->getScheme(); - } - - /** - * {@inheritdoc} - */ - public function setScheme($scheme) - { - $this->url->setScheme($scheme); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getHost() - { - return $this->url->getHost(); - } - - /** - * {@inheritdoc} - */ - public function setHost($host) - { - $this->url->setHost($host); - $this->setPort($this->url->getPort()); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getProtocolVersion() - { - return $this->protocolVersion; - } - - /** - * {@inheritdoc} - */ - public function setProtocolVersion($protocol) - { - $this->protocolVersion = $protocol; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getPath() - { - return '/' . ltrim($this->url->getPath(), '/'); - } - - /** - * {@inheritdoc} - */ - public function setPath($path) - { - $this->url->setPath($path); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getPort() - { - return $this->url->getPort(); - } - - /** - * {@inheritdoc} - */ - public function setPort($port) - { - $this->url->setPort($port); - - // Include the port in the Host header if it is not the default port for the scheme of the URL - $scheme = $this->url->getScheme(); - if (($scheme == 'http' && $port != 80) || ($scheme == 'https' && $port != 443)) { - $this->headers['host'] = new Header('Host', $this->url->getHost() . ':' . $port); - } else { - $this->headers['host'] = new Header('Host', $this->url->getHost()); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getUsername() - { - return $this->username; - } - - /** - * {@inheritdoc} - */ - public function getPassword() - { - return $this->password; - } - - /** - * {@inheritdoc} - */ - public function setAuth($user, $password = '', $scheme = CURLAUTH_BASIC) - { - // If we got false or null, disable authentication - if (!$user) { - $this->password = $this->username = null; - $this->removeHeader('Authorization'); - $this->getCurlOptions()->remove(CURLOPT_HTTPAUTH); - } else { - $this->username = $user; - $this->password = $password; - // Bypass CURL when using basic auth to promote connection reuse - if ($scheme == CURLAUTH_BASIC) { - $this->getCurlOptions()->remove(CURLOPT_HTTPAUTH); - $this->setHeader('Authorization', 'Basic ' . base64_encode($this->username . ':' . $this->password)); - } else { - $this->getCurlOptions() - ->set(CURLOPT_HTTPAUTH, $scheme) - ->set(CURLOPT_USERPWD, $this->username . ':' . $this->password); - } - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getResource() - { - $resource = $this->getPath(); - if ($query = (string) $this->url->getQuery()) { - $resource .= '?' . $query; - } - - return $resource; - } - - /** - * {@inheritdoc} - */ - public function getUrl($asObject = false) - { - return $asObject ? clone $this->url : (string) $this->url; - } - - /** - * {@inheritdoc} - */ - public function getState() - { - return $this->state; - } - - /** - * {@inheritdoc} - */ - public function setState($state, array $context = array()) - { - $this->state = $state; - if ($this->state == self::STATE_NEW) { - $this->response = null; - } elseif ($this->state == self::STATE_COMPLETE) { - $this->processResponse($context); - $this->responseBody = null; - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getCurlOptions() - { - return $this->curlOptions; - } - - /** - * {@inheritdoc} - */ - public function receiveResponseHeader($data) - { - static $normalize = array("\r", "\n"); - $this->state = self::STATE_TRANSFER; - $length = strlen($data); - $data = str_replace($normalize, '', $data); - - if (strpos($data, 'HTTP/') === 0) { - - $startLine = explode(' ', $data, 3); - $code = $startLine[1]; - $status = isset($startLine[2]) ? $startLine[2] : ''; - - // Only download the body of the response to the specified response - // body when a successful response is received. - $body = $code >= 200 && $code < 300 ? $this->getResponseBody() : EntityBody::factory(); - - $this->response = new Response($code, null, $body); - $this->response->setStatus($code, $status)->setRequest($this); - $this->dispatch('request.receive.status_line', array( - 'request' => $this, - 'line' => $data, - 'status_code' => $code, - 'reason_phrase' => $status - )); - - } elseif (strpos($data, ':') !== false) { - - list($header, $value) = explode(':', $data, 2); - $this->response->addHeader(trim($header), trim($value)); - } - - return $length; - } - - /** - * {@inheritdoc} - */ - public function setResponse(Response $response, $queued = false) - { - // Never overwrite the request associated with the response (useful for redirect history) - if (!$response->getRequest()) { - $response->setRequest($this); - } - - if ($queued) { - $this->getParams()->set('queued_response', $response); - } else { - $this->getParams()->remove('queued_response'); - $this->response = $response; - $this->responseBody = $response->getBody(); - $this->processResponse(); - } - - $this->dispatch('request.set_response', $this->getEventArray()); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setResponseBody($body) - { - // Attempt to open a file for writing if a string was passed - if (is_string($body)) { - // @codeCoverageIgnoreStart - if (!($body = fopen($body, 'w+'))) { - throw new InvalidArgumentException('Could not open ' . $body . ' for writing'); - } - // @codeCoverageIgnoreEnd - } - - $this->responseBody = EntityBody::factory($body); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getResponseBody() - { - if ($this->responseBody === null) { - $this->responseBody = EntityBody::factory(); - } - - return $this->responseBody; - } - - /** - * {@inheritdoc} - */ - public function isResponseBodyRepeatable() - { - return !$this->responseBody ? true : $this->responseBody->isSeekable() && $this->responseBody->isReadable(); - } - - /** - * {@inheritdoc} - */ - public function getCookies() - { - if ($cookie = $this->getHeader('Cookie')) { - $data = ParserRegistry::getInstance()->getParser('cookie')->parseCookie($cookie); - return $data['cookies']; - } - - return array(); - } - - /** - * {@inheritdoc} - */ - public function getCookie($name) - { - $cookies = $this->getCookies(); - - return isset($cookies[$name]) ? $cookies[$name] : null; - } - - /** - * {@inheritdoc} - */ - public function addCookie($name, $value) - { - if (!$this->hasHeader('Cookie')) { - $this->setHeader('Cookie', "{$name}={$value}"); - } else { - $this->getHeader('Cookie')->add("{$name}={$value}"); - } - - // Always use semicolons to separate multiple cookie headers - $this->getHeader('Cookie')->setGlue('; '); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function removeCookie($name) - { - if ($cookie = $this->getHeader('Cookie')) { - foreach ($cookie as $cookieValue) { - if (strpos($cookieValue, $name . '=') === 0) { - $cookie->removeValue($cookieValue); - } - } - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function canCache() - { - // Only GET and HEAD requests can be cached - if ($this->method != RequestInterface::GET && $this->method != RequestInterface::HEAD) { - return false; - } - - // Never cache requests when using no-store - if ($this->hasCacheControlDirective('no-store')) { - return false; - } - - return true; - } - - /** - * {@inheritdoc} - */ - public function setEventDispatcher(EventDispatcherInterface $eventDispatcher) - { - $this->eventDispatcher = $eventDispatcher; - $this->eventDispatcher->addListener('request.error', array(__CLASS__, 'onRequestError'), -255); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getEventDispatcher() - { - if (!$this->eventDispatcher) { - $this->setEventDispatcher(new EventDispatcher()); - } - - return $this->eventDispatcher; - } - - /** - * {@inheritdoc} - */ - public function dispatch($eventName, array $context = array()) - { - $context['request'] = $this; - $this->getEventDispatcher()->dispatch($eventName, new Event($context)); - } - - /** - * {@inheritdoc} - * @codeCoverageIgnore - */ - public function addSubscriber(EventSubscriberInterface $subscriber) - { - $this->getEventDispatcher()->addSubscriber($subscriber); - - return $this; - } - - /** - * {@inheritdoc} - */ - protected function changedHeader($header) - { - parent::changedHeader($header); - - if ($header == 'host') { - // If the Host header was changed, be sure to update the internal URL - $this->setHost((string) $this->getHeader('Host')); - } - } - - /** - * Get an array containing the request and response for event notifications - * - * @return array - */ - protected function getEventArray() - { - return array( - 'request' => $this, - 'response' => $this->response - ); - } - - /** - * Process a received response - * - * @param array $context Contextual information - * - * @throws BadResponseException on unsuccessful responses - */ - protected function processResponse(array $context = array()) - { - // Use the queued response if one is set - if ($this->getParams()->get('queued_response')) { - $this->response = $this->getParams()->get('queued_response'); - $this->responseBody = $this->response->getBody(); - $this->getParams()->remove('queued_response'); - } elseif (!$this->response) { - // If no response, then processResponse shouldn't have been called - $e = new RequestException('Error completing request'); - $e->setRequest($this); - throw $e; - } - - $this->state = self::STATE_COMPLETE; - - // A request was sent, but we don't know if we'll send more or if the final response will be successful - $this->dispatch('request.sent', $this->getEventArray() + $context); - - // Some response processors will remove the response or reset the state (example: ExponentialBackoffPlugin) - if ($this->state == RequestInterface::STATE_COMPLETE) { - - // The request completed, so the HTTP transaction is complete - $this->dispatch('request.complete', $this->getEventArray()); - - // If the response is bad, allow listeners to modify it or throw exceptions. You can change the response by - // modifying the Event object in your listeners or calling setResponse() on the request - if ($this->response->isError()) { - $event = new Event($this->getEventArray()); - $this->getEventDispatcher()->dispatch('request.error', $event); - // Allow events of request.error to quietly change the response - if ($event['response'] !== $this->response) { - $this->response = $event['response']; - } - } - - // If a successful response was received, dispatch an event - if ($this->response->isSuccessful()) { - $this->dispatch('request.success', $this->getEventArray()); - } - } - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactory.php deleted file mode 100644 index 44481ca..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactory.php +++ /dev/null @@ -1,132 +0,0 @@ -getParser('message')->parseRequest($message); - - if (!$parsed) { - return false; - } - - $request = $this->fromParts($parsed['method'], $parsed['request_url'], - $parsed['headers'], $parsed['body'], $parsed['protocol'], - $parsed['version']); - - // EntityEnclosingRequest adds an "Expect: 100-Continue" header when using a raw request body for PUT or POST - // requests. This factory method should accurately reflect the message, so here we are removing the Expect - // header if one was not supplied in the message. - if (!isset($parsed['headers']['Expect']) && !isset($parsed['headers']['expect'])) { - $request->removeHeader('Expect'); - } - - return $request; - } - - /** - * {@inheritdoc} - */ - public function fromParts( - $method, - array $urlParts, - $headers = null, - $body = null, - $protocol = 'HTTP', - $protocolVersion = '1.1' - ) { - return $this->create($method, Url::buildUrl($urlParts, true), $headers, $body) - ->setProtocolVersion($protocolVersion); - } - - /** - * {@inheritdoc} - */ - public function create($method, $url, $headers = null, $body = null) - { - $method = strtoupper($method); - - if ($method == 'GET' || $method == 'HEAD' || $method == 'TRACE' || $method == 'OPTIONS') { - $c = $this->requestClass; - $request = new $c($method, $url, $headers); - if ($body) { - // The body is where the response body will be stored - $request->setResponseBody(EntityBody::factory($body)); - } - return $request; - } - - $c = $this->entityEnclosingRequestClass; - $request = new $c($method, $url, $headers); - - if ($body) { - - $isChunked = (string) $request->getHeader('Transfer-Encoding') == 'chunked'; - - if ($method == 'POST' && (is_array($body) || $body instanceof Collection)) { - - // Normalize PHP style cURL uploads with a leading '@' symbol - foreach ($body as $key => $value) { - if (is_string($value) && substr($value, 0, 1) == '@') { - $request->addPostFile($key, $value); - unset($body[$key]); - } - } - - // Add the fields if they are still present and not all files - $request->addPostFields($body); - - } elseif (is_resource($body) || $body instanceof EntityBody) { - $request->setBody($body, (string) $request->getHeader('Content-Type'), $isChunked); - } else { - $request->setBody((string) $body, (string) $request->getHeader('Content-Type'), $isChunked); - } - } - - return $request; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactoryInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactoryInterface.php deleted file mode 100644 index 4bbd937..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestFactoryInterface.php +++ /dev/null @@ -1,63 +0,0 @@ - 'Continue', - 101 => 'Switching Protocols', - 102 => 'Processing', - 200 => 'OK', - 201 => 'Created', - 202 => 'Accepted', - 203 => 'Non-Authoritative Information', - 204 => 'No Content', - 205 => 'Reset Content', - 206 => 'Partial Content', - 207 => 'Multi-Status', - 208 => 'Already Reported', - 226 => 'IM Used', - 300 => 'Multiple Choices', - 301 => 'Moved Permanently', - 302 => 'Found', - 303 => 'See Other', - 304 => 'Not Modified', - 305 => 'Use Proxy', - 307 => 'Temporary Redirect', - 308 => 'Permanent Redirect', - 400 => 'Bad Request', - 401 => 'Unauthorized', - 402 => 'Payment Required', - 403 => 'Forbidden', - 404 => 'Not Found', - 405 => 'Method Not Allowed', - 406 => 'Not Acceptable', - 407 => 'Proxy Authentication Required', - 408 => 'Request Timeout', - 409 => 'Conflict', - 410 => 'Gone', - 411 => 'Length Required', - 412 => 'Precondition Failed', - 413 => 'Request Entity Too Large', - 414 => 'Request-URI Too Long', - 415 => 'Unsupported Media Type', - 416 => 'Requested Range Not Satisfiable', - 417 => 'Expectation Failed', - 422 => 'Unprocessable Entity', - 423 => 'Locked', - 424 => 'Failed Dependency', - 425 => 'Reserved for WebDAV advanced collections expired proposal', - 426 => 'Upgrade required', - 428 => 'Precondition Required', - 429 => 'Too Many Requests', - 431 => 'Request Header Fields Too Large', - 500 => 'Internal Server Error', - 501 => 'Not Implemented', - 502 => 'Bad Gateway', - 503 => 'Service Unavailable', - 504 => 'Gateway Timeout', - 505 => 'HTTP Version Not Supported', - 506 => 'Variant Also Negotiates (Experimental)', - 507 => 'Insufficient Storage', - 508 => 'Loop Detected', - 510 => 'Not Extended', - 511 => 'Network Authentication Required', - ); - - /** - * @var EntityBodyInterface The response body - */ - protected $body; - - /** - * @var string The reason phrase of the response (human readable code) - */ - protected $reasonPhrase; - - /** - * @var string The status code of the response - */ - protected $statusCode; - - /** - * @var string Response protocol - */ - protected $protocol = 'HTTP'; - - /** - * @var array Information about the request - */ - protected $info = array(); - - /** - * @var RequestInterface Request object that may or may not be set - */ - protected $request = null; - - /** - * @var array Cacheable response codes (see RFC 2616:13.4) - */ - protected $cacheResponseCodes = array(200, 203, 206, 300, 301, 410); - - /** - * @var Response If a redirect was issued or an intermediate response was issued - */ - protected $previous; - - /** - * Create a new Response based on a raw response message - * - * @param string $message Response message - * - * @return Response|bool Returns false on error - */ - public static function fromMessage($message) - { - $data = ParserRegistry::getInstance()->getParser('message')->parseResponse($message); - if (!$data) { - return false; - } - - $response = new static($data['code'], $data['headers'], $data['body']); - $response->setProtocol($data['protocol'], $data['version']) - ->setStatus($data['code'], $data['reason_phrase']); - - // Set the appropriate Content-Length if the one set is inaccurate (e.g. setting to X) - $contentLength = (string) $response->getHeader('Content-Length'); - $actualLength = strlen($data['body']); - if (strlen($data['body']) > 0 && $contentLength != $actualLength) { - $response->setHeader('Content-Length', $actualLength); - } - - return $response; - } - - /** - * Construct the response - * - * @param string $statusCode The response status code (e.g. 200, 404, etc) - * @param Collection|array $headers The response headers - * @param string|resource|EntityBodyInterface $body The body of the response - * - * @throws BadResponseException if an invalid response code is given - */ - public function __construct($statusCode, $headers = null, $body = null) - { - $this->setStatus($statusCode); - $this->params = new Collection(); - $this->body = EntityBody::factory($body !== null ? $body : ''); - - if ($headers) { - if (!is_array($headers) && !($headers instanceof Collection)) { - throw new BadResponseException('Invalid headers argument received'); - } - foreach ($headers as $key => $value) { - $this->addHeaders(array($key => $value)); - } - } - } - - /** - * Convert the response object to a string - * - * @return string - */ - public function __toString() - { - return $this->getMessage(); - } - - /** - * Get the response entity body - * - * @param bool $asString Set to TRUE to return a string of the body rather than a full body object - * - * @return EntityBodyInterface|string - */ - public function getBody($asString = false) - { - return $asString ? (string) $this->body : $this->body; - } - - /** - * Set the response entity body - * - * @param EntityBodyInterface|string $body Body to set - * - * @return self - */ - public function setBody($body) - { - $this->body = EntityBody::factory($body); - - return $this; - } - - /** - * Set the protocol and protocol version of the response - * - * @param string $protocol Response protocol - * @param string $version Protocol version - * - * @return Response - */ - public function setProtocol($protocol, $version) - { - $this->protocol = $protocol; - $this->protocolVersion = $version; - - return $this; - } - - /** - * Get the protocol used for the response (e.g. HTTP) - * - * @return string - */ - public function getProtocol() - { - return $this->protocol ?: 'HTTP'; - } - - /** - * Get the HTTP protocol version - * - * @return string - */ - public function getProtocolVersion() - { - return $this->protocolVersion ?: '1.1'; - } - - /** - * Get a cURL transfer information - * - * @param string $key A single statistic to check - * - * @return array|string|null Returns all stats if no key is set, a single stat if a key is set, or null if a key - * is set and not found - * @link http://www.php.net/manual/en/function.curl-getinfo.php - */ - public function getInfo($key = null) - { - if ($key === null) { - return $this->info; - } elseif (array_key_exists($key, $this->info)) { - return $this->info[$key]; - } else { - return null; - } - } - - /** - * Set the transfer information - * - * @param array $info Array of cURL transfer stats - * - * @return Response - */ - public function setInfo(array $info) - { - $this->info = $info; - - return $this; - } - - /** - * Set the response status - * - * @param int $statusCode Response status code to set - * @param string $reasonPhrase Response reason phrase - * - * @return Response - * @throws BadResponseException when an invalid response code is received - */ - public function setStatus($statusCode, $reasonPhrase = '') - { - $this->statusCode = (int) $statusCode; - - if (!$reasonPhrase && array_key_exists($this->statusCode, self::$statusTexts)) { - $this->reasonPhrase = self::$statusTexts[$this->statusCode]; - } else { - $this->reasonPhrase = $reasonPhrase; - } - - return $this; - } - - /** - * Get the response status code - * - * @return integer - */ - public function getStatusCode() - { - return $this->statusCode; - } - - /** - * Get the entire response as a string - * - * @return string - */ - public function getMessage() - { - $message = $this->getRawHeaders(); - - // Only include the body in the message if the size is < 2MB - $size = $this->body->getSize(); - if ($size < 2097152) { - $message .= (string) $this->body; - } - - return $message; - } - - /** - * Get the the raw message headers as a string - * - * @return string - */ - public function getRawHeaders() - { - $headers = 'HTTP/1.1 ' . $this->statusCode . ' ' . $this->reasonPhrase . "\r\n"; - $lines = $this->getHeaderLines(); - if (!empty($lines)) { - $headers .= implode("\r\n", $lines) . "\r\n"; - } - - return $headers . "\r\n"; - } - - /** - * Get the request object (or null) that is associated with this response - * - * @return RequestInterface - */ - public function getRequest() - { - return $this->request; - } - - /** - * Get the response reason phrase- a human readable version of the numeric - * status code - * - * @return string - */ - public function getReasonPhrase() - { - return $this->reasonPhrase; - } - - /** - * Get the Accept-Ranges HTTP header - * - * @return string Returns what partial content range types this server supports. - */ - public function getAcceptRanges() - { - return $this->getHeader('Accept-Ranges', true); - } - - /** - * Get the Age HTTP header - * - * @param bool $headerOnly Set to TRUE to only retrieve the Age header rather than calculating the age - * - * @return integer|null Returns the age the object has been in a proxy cache in seconds. - */ - public function getAge($headerOnly = false) - { - $age = $this->getHeader('Age', true); - - if (!$headerOnly && $age === null && $this->getDate()) { - $age = time() - strtotime($this->getDate()); - } - - return $age; - } - - /** - * Get the Allow HTTP header - * - * @return string|null Returns valid actions for a specified resource. To be used for a 405 Method not allowed. - */ - public function getAllow() - { - return $this->getHeader('Allow', true); - } - - /** - * Check if an HTTP method is allowed by checking the Allow response header - * - * @param string $method Method to check - * - * @return bool - */ - public function isMethodAllowed($method) - { - $allow = $this->getHeader('Allow'); - if ($allow) { - foreach (explode(',', $allow) as $allowable) { - if (!strcasecmp(trim($allowable), $method)) { - return true; - } - } - } - - return false; - } - - /** - * Get the Cache-Control HTTP header - * - * @return Header|null Returns a Header object that tells all caching mechanisms from server to client whether they - * may cache this object. - */ - public function getCacheControl() - { - return $this->getHeader('Cache-Control'); - } - - /** - * Get the Connection HTTP header - * - * @return string - */ - public function getConnection() - { - return $this->getHeader('Connection', true); - } - - /** - * Get the Content-Encoding HTTP header - * - * @return string|null Returns the type of encoding used on the data. One of compress, deflate, gzip, identity. - */ - public function getContentEncoding() - { - return $this->getHeader('Content-Encoding', true); - } - - /** - * Get the Content-Language HTTP header - * - * @return string|null Returns the language the content is in. - */ - public function getContentLanguage() - { - return $this->getHeader('Content-Language', true); - } - - /** - * Get the Content-Length HTTP header - * - * @return integer Returns the length of the response body in bytes - */ - public function getContentLength() - { - return (int) $this->getHeader('Content-Length', true); - } - - /** - * Get the Content-Location HTTP header - * - * @return string|null Returns an alternate location for the returned data (e.g /index.htm) - */ - public function getContentLocation() - { - return $this->getHeader('Content-Location', true); - } - - /** - * Get the Content-Disposition HTTP header - * - * @return string|null Returns the Content-Disposition header - */ - public function getContentDisposition() - { - return (string) $this->getHeader('Content-Disposition')->setGlue(';'); - } - - /** - * Get the Content-MD5 HTTP header - * - * @return string|null Returns a Base64-encoded binary MD5 sum of the content of the response. - */ - public function getContentMd5() - { - return $this->getHeader('Content-MD5', true); - } - - /** - * Get the Content-Range HTTP header - * - * @return string Returns where in a full body message this partial message belongs (e.g. bytes 21010-47021/47022). - */ - public function getContentRange() - { - return $this->getHeader('Content-Range', true); - } - - /** - * Get the Content-Type HTTP header - * - * @return string Returns the mime type of this content. - */ - public function getContentType() - { - return $this->getHeader('Content-Type', true); - } - - /** - * Checks if the Content-Type is of a certain type. This is useful if the - * Content-Type header contains charset information and you need to know if - * the Content-Type matches a particular type. - * - * @param string $type Content type to check against - * - * @return bool - */ - public function isContentType($type) - { - return stripos($this->getContentType(), $type) !== false; - } - - /** - * Get the Date HTTP header - * - * @return string|null Returns the date and time that the message was sent. - */ - public function getDate() - { - return $this->getHeader('Date', true); - } - - /** - * Get the ETag HTTP header - * - * @return string|null Returns an identifier for a specific version of a resource, often a Message digest. - */ - public function getEtag() - { - return $this->getHeader('ETag', true); - } - - /** - * Get the Expires HTTP header - * - * @return string|null Returns the date/time after which the response is considered stale. - */ - public function getExpires() - { - return $this->getHeader('Expires', true); - } - - /** - * Get the Last-Modified HTTP header - * - * @return string|null Returns the last modified date for the requested object, in RFC 2822 format - * (e.g. Tue, 15 Nov 1994 12:45:26 GMT) - */ - public function getLastModified() - { - return $this->getHeader('Last-Modified', true); - } - - /** - * Get the Location HTTP header - * - * @return string|null Used in redirection, or when a new resource has been created. - */ - public function getLocation() - { - return $this->getHeader('Location', true); - } - - /** - * Get the Pragma HTTP header - * - * @return Header|null Returns the implementation-specific headers that may have various effects anywhere along - * the request-response chain. - */ - public function getPragma() - { - return $this->getHeader('Pragma'); - } - - /** - * Get the Proxy-Authenticate HTTP header - * - * @return string|null Authentication to access the proxy (e.g. Basic) - */ - public function getProxyAuthenticate() - { - return $this->getHeader('Proxy-Authenticate', true); - } - - /** - * Get the Retry-After HTTP header - * - * @return int|null If an entity is temporarily unavailable, this instructs the client to try again after a - * specified period of time. - */ - public function getRetryAfter() - { - $time = $this->getHeader('Retry-After', true); - if ($time === null) { - return null; - } - - if (!is_numeric($time)) { - $time = strtotime($time) - time(); - } - - return (int) $time; - } - - /** - * Get the Server HTTP header - * - * @return string|null A name for the server - */ - public function getServer() - { - return $this->getHeader('Server', true); - } - - /** - * Get the Set-Cookie HTTP header - * - * @return Header|null An HTTP cookie. - */ - public function getSetCookie() - { - return $this->getHeader('Set-Cookie'); - } - - /** - * Get the Trailer HTTP header - * - * @return string|null The Trailer general field value indicates that the given set of header fields is present in - * the trailer of a message encoded with chunked transfer-coding. - */ - public function getTrailer() - { - return $this->getHeader('Trailer', true); - } - - /** - * Get the Transfer-Encoding HTTP header - * - * @return string|null The form of encoding used to safely transfer the entity to the user. Currently defined - * methods are: chunked - */ - public function getTransferEncoding() - { - return $this->getHeader('Transfer-Encoding', true); - } - - /** - * Get the Vary HTTP header - * - * @return string|null Tells downstream proxies how to match future request headers to decide whether the cached - * response can be used rather than requesting a fresh one from the origin server. - */ - public function getVary() - { - return $this->getHeader('Vary', true); - } - - /** - * Get the Via HTTP header - * - * @return string|null Informs the client of proxies through which the response was sent. - * (e.g. 1.0 fred, 1.1 nowhere.com (Apache/1.1)) - */ - public function getVia() - { - return $this->getHeader('Via', true); - } - - /** - * Get the Warning HTTP header - * - * @return string|null A general warning about possible problems with the entity body. - * (e.g. 199 Miscellaneous warning) - */ - public function getWarning() - { - return $this->getHeader('Warning', true); - } - - /** - * Get the WWW-Authenticate HTTP header - * - * @return string|null Indicates the authentication scheme that should be used to access the requested entity - * (e.g. Basic) - */ - public function getWwwAuthenticate() - { - return $this->getHeader('WWW-Authenticate', true); - } - - /** - * Checks if HTTP Status code is a Client Error (4xx) - * - * @return bool - */ - public function isClientError() - { - return $this->statusCode >= 400 && $this->statusCode < 500; - } - - /** - * Checks if HTTP Status code is Server OR Client Error (4xx or 5xx) - * - * @return boolean - */ - public function isError() - { - return $this->isClientError() || $this->isServerError(); - } - - /** - * Checks if HTTP Status code is Information (1xx) - * - * @return bool - */ - public function isInformational() - { - return $this->statusCode < 200; - } - - /** - * Checks if HTTP Status code is a Redirect (3xx) - * - * @return bool - */ - public function isRedirect() - { - return $this->statusCode >= 300 && $this->statusCode < 400; - } - - /** - * Checks if HTTP Status code is Server Error (5xx) - * - * @return bool - */ - public function isServerError() - { - return $this->statusCode >= 500 && $this->statusCode < 600; - } - - /** - * Checks if HTTP Status code is Successful (2xx | 304) - * - * @return bool - */ - public function isSuccessful() - { - return ($this->statusCode >= 200 && $this->statusCode < 300) || $this->statusCode == 304; - } - - /** - * Set the request object associated with the response - * - * @param RequestInterface $request The request object used to generate the response - * - * @return Response - */ - public function setRequest(RequestInterface $request) - { - $this->request = $request; - - return $this; - } - - /** - * Check if the response can be cached - * - * @return bool Returns TRUE if the response can be cached or false if not - */ - public function canCache() - { - // Check if the response is cacheable based on the code - if (!in_array((int) $this->getStatusCode(), $this->cacheResponseCodes)) { - return false; - } - - // Make sure a valid body was returned and can be cached - if ((!$this->getBody()->isReadable() || !$this->getBody()->isSeekable()) - && ($this->getContentLength() > 0 || $this->getTransferEncoding() == 'chunked')) { - return false; - } - - // Never cache no-store resources (this is a private cache, so private - // can be cached) - if ($this->hasCacheControlDirective('no-store')) { - return false; - } - - return $this->isFresh() || $this->getFreshness() === null || $this->canValidate(); - } - - /** - * Gets the number of seconds from the current time in which this response is still considered fresh - * - * @return int|null Returns the number of seconds - */ - public function getMaxAge() - { - // s-max-age, then max-age, then Expires - if ($age = $this->getCacheControlDirective('s-maxage')) { - return $age; - } - - if ($age = $this->getCacheControlDirective('max-age')) { - return $age; - } - - if ($this->getHeader('Expires')) { - return strtotime($this->getExpires()) - time(); - } - - return null; - } - - /** - * Check if the response is considered fresh. - * - * A response is considered fresh when its age is less than or equal to the freshness lifetime (maximum age) of the - * response. - * - * @return bool|null - */ - public function isFresh() - { - $fresh = $this->getFreshness(); - - return $fresh === null ? null : $fresh >= 0; - } - - /** - * Check if the response can be validated against the origin server using a conditional GET request. - * - * @return bool - */ - public function canValidate() - { - return $this->getEtag() || $this->getLastModified(); - } - - /** - * Get the freshness of the response by returning the difference of the maximum lifetime of the response and the - * age of the response (max-age - age). - * - * Freshness values less than 0 mean that the response is no longer fresh and is ABS(freshness) seconds expired. - * Freshness values of greater than zero is the number of seconds until the response is no longer fresh. A NULL - * result means that no freshness information is available. - * - * @return int - */ - public function getFreshness() - { - $maxAge = $this->getMaxAge(); - $age = $this->getAge(); - - return $maxAge && $age ? ($maxAge - $age) : null; - } - - /** - * Get the previous response (e.g. Redirect response) - * - * @return null|Response - */ - public function getPreviousResponse() - { - return $this->previous; - } - - /** - * Set the previous response - * - * @param Response $response Response to set - * - * @return self - */ - public function setPreviousResponse(Response $response) - { - $this->previous = $response; - - return $this; - } - - /** - * Parse the JSON response body and return an array - * - * @return array|string|int|bool|float - * @throws RuntimeException if the response body is not in JSON format - */ - public function json() - { - $data = json_decode((string) $this->body, true); - if (JSON_ERROR_NONE !== json_last_error()) { - throw new RuntimeException('Unable to parse response body into JSON: ' . json_last_error()); - } - - return $data === null ? array() : $data; - } - - /** - * Parse the XML response body and return a SimpleXMLElement - * - * @return \SimpleXMLElement - * @throws RuntimeException if the response body is not in XML format - */ - public function xml() - { - try { - // Allow XML to be retrieved even if there is no response body - $xml = new \SimpleXMLElement((string) $this->body ?: ''); - } catch (\Exception $e) { - throw new RuntimeException('Unable to parse response body into XML: ' . $e->getMessage()); - } - - return $xml; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Mimetypes.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Mimetypes.php deleted file mode 100644 index 7bf2d28..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Mimetypes.php +++ /dev/null @@ -1,964 +0,0 @@ - 'text/vnd.in3d.3dml', - '3g2' => 'video/3gpp2', - '3gp' => 'video/3gpp', - '7z' => 'application/x-7z-compressed', - 'aab' => 'application/x-authorware-bin', - 'aac' => 'audio/x-aac', - 'aam' => 'application/x-authorware-map', - 'aas' => 'application/x-authorware-seg', - 'abw' => 'application/x-abiword', - 'ac' => 'application/pkix-attr-cert', - 'acc' => 'application/vnd.americandynamics.acc', - 'ace' => 'application/x-ace-compressed', - 'acu' => 'application/vnd.acucobol', - 'acutc' => 'application/vnd.acucorp', - 'adp' => 'audio/adpcm', - 'aep' => 'application/vnd.audiograph', - 'afm' => 'application/x-font-type1', - 'afp' => 'application/vnd.ibm.modcap', - 'ahead' => 'application/vnd.ahead.space', - 'ai' => 'application/postscript', - 'aif' => 'audio/x-aiff', - 'aifc' => 'audio/x-aiff', - 'aiff' => 'audio/x-aiff', - 'air' => 'application/vnd.adobe.air-application-installer-package+zip', - 'ait' => 'application/vnd.dvb.ait', - 'ami' => 'application/vnd.amiga.ami', - 'apk' => 'application/vnd.android.package-archive', - 'application' => 'application/x-ms-application', - 'apr' => 'application/vnd.lotus-approach', - 'asa' => 'text/plain', - 'asax' => 'application/octet-stream', - 'asc' => 'application/pgp-signature', - 'ascx' => 'text/plain', - 'asf' => 'video/x-ms-asf', - 'ashx' => 'text/plain', - 'asm' => 'text/x-asm', - 'asmx' => 'text/plain', - 'aso' => 'application/vnd.accpac.simply.aso', - 'asp' => 'text/plain', - 'aspx' => 'text/plain', - 'asx' => 'video/x-ms-asf', - 'atc' => 'application/vnd.acucorp', - 'atom' => 'application/atom+xml', - 'atomcat' => 'application/atomcat+xml', - 'atomsvc' => 'application/atomsvc+xml', - 'atx' => 'application/vnd.antix.game-component', - 'au' => 'audio/basic', - 'avi' => 'video/x-msvideo', - 'aw' => 'application/applixware', - 'axd' => 'text/plain', - 'azf' => 'application/vnd.airzip.filesecure.azf', - 'azs' => 'application/vnd.airzip.filesecure.azs', - 'azw' => 'application/vnd.amazon.ebook', - 'bat' => 'application/x-msdownload', - 'bcpio' => 'application/x-bcpio', - 'bdf' => 'application/x-font-bdf', - 'bdm' => 'application/vnd.syncml.dm+wbxml', - 'bed' => 'application/vnd.realvnc.bed', - 'bh2' => 'application/vnd.fujitsu.oasysprs', - 'bin' => 'application/octet-stream', - 'bmi' => 'application/vnd.bmi', - 'bmp' => 'image/bmp', - 'book' => 'application/vnd.framemaker', - 'box' => 'application/vnd.previewsystems.box', - 'boz' => 'application/x-bzip2', - 'bpk' => 'application/octet-stream', - 'btif' => 'image/prs.btif', - 'bz' => 'application/x-bzip', - 'bz2' => 'application/x-bzip2', - 'c' => 'text/x-c', - 'c11amc' => 'application/vnd.cluetrust.cartomobile-config', - 'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg', - 'c4d' => 'application/vnd.clonk.c4group', - 'c4f' => 'application/vnd.clonk.c4group', - 'c4g' => 'application/vnd.clonk.c4group', - 'c4p' => 'application/vnd.clonk.c4group', - 'c4u' => 'application/vnd.clonk.c4group', - 'cab' => 'application/vnd.ms-cab-compressed', - 'car' => 'application/vnd.curl.car', - 'cat' => 'application/vnd.ms-pki.seccat', - 'cc' => 'text/x-c', - 'cct' => 'application/x-director', - 'ccxml' => 'application/ccxml+xml', - 'cdbcmsg' => 'application/vnd.contact.cmsg', - 'cdf' => 'application/x-netcdf', - 'cdkey' => 'application/vnd.mediastation.cdkey', - 'cdmia' => 'application/cdmi-capability', - 'cdmic' => 'application/cdmi-container', - 'cdmid' => 'application/cdmi-domain', - 'cdmio' => 'application/cdmi-object', - 'cdmiq' => 'application/cdmi-queue', - 'cdx' => 'chemical/x-cdx', - 'cdxml' => 'application/vnd.chemdraw+xml', - 'cdy' => 'application/vnd.cinderella', - 'cer' => 'application/pkix-cert', - 'cfc' => 'application/x-coldfusion', - 'cfm' => 'application/x-coldfusion', - 'cgm' => 'image/cgm', - 'chat' => 'application/x-chat', - 'chm' => 'application/vnd.ms-htmlhelp', - 'chrt' => 'application/vnd.kde.kchart', - 'cif' => 'chemical/x-cif', - 'cii' => 'application/vnd.anser-web-certificate-issue-initiation', - 'cil' => 'application/vnd.ms-artgalry', - 'cla' => 'application/vnd.claymore', - 'class' => 'application/java-vm', - 'clkk' => 'application/vnd.crick.clicker.keyboard', - 'clkp' => 'application/vnd.crick.clicker.palette', - 'clkt' => 'application/vnd.crick.clicker.template', - 'clkw' => 'application/vnd.crick.clicker.wordbank', - 'clkx' => 'application/vnd.crick.clicker', - 'clp' => 'application/x-msclip', - 'cmc' => 'application/vnd.cosmocaller', - 'cmdf' => 'chemical/x-cmdf', - 'cml' => 'chemical/x-cml', - 'cmp' => 'application/vnd.yellowriver-custom-menu', - 'cmx' => 'image/x-cmx', - 'cod' => 'application/vnd.rim.cod', - 'com' => 'application/x-msdownload', - 'conf' => 'text/plain', - 'cpio' => 'application/x-cpio', - 'cpp' => 'text/x-c', - 'cpt' => 'application/mac-compactpro', - 'crd' => 'application/x-mscardfile', - 'crl' => 'application/pkix-crl', - 'crt' => 'application/x-x509-ca-cert', - 'cryptonote' => 'application/vnd.rig.cryptonote', - 'cs' => 'text/plain', - 'csh' => 'application/x-csh', - 'csml' => 'chemical/x-csml', - 'csp' => 'application/vnd.commonspace', - 'css' => 'text/css', - 'cst' => 'application/x-director', - 'csv' => 'text/csv', - 'cu' => 'application/cu-seeme', - 'curl' => 'text/vnd.curl', - 'cww' => 'application/prs.cww', - 'cxt' => 'application/x-director', - 'cxx' => 'text/x-c', - 'dae' => 'model/vnd.collada+xml', - 'daf' => 'application/vnd.mobius.daf', - 'dataless' => 'application/vnd.fdsn.seed', - 'davmount' => 'application/davmount+xml', - 'dcr' => 'application/x-director', - 'dcurl' => 'text/vnd.curl.dcurl', - 'dd2' => 'application/vnd.oma.dd2+xml', - 'ddd' => 'application/vnd.fujixerox.ddd', - 'deb' => 'application/x-debian-package', - 'def' => 'text/plain', - 'deploy' => 'application/octet-stream', - 'der' => 'application/x-x509-ca-cert', - 'dfac' => 'application/vnd.dreamfactory', - 'dic' => 'text/x-c', - 'dir' => 'application/x-director', - 'dis' => 'application/vnd.mobius.dis', - 'dist' => 'application/octet-stream', - 'distz' => 'application/octet-stream', - 'djv' => 'image/vnd.djvu', - 'djvu' => 'image/vnd.djvu', - 'dll' => 'application/x-msdownload', - 'dmg' => 'application/octet-stream', - 'dms' => 'application/octet-stream', - 'dna' => 'application/vnd.dna', - 'doc' => 'application/msword', - 'docm' => 'application/vnd.ms-word.document.macroenabled.12', - 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', - 'dot' => 'application/msword', - 'dotm' => 'application/vnd.ms-word.template.macroenabled.12', - 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', - 'dp' => 'application/vnd.osgi.dp', - 'dpg' => 'application/vnd.dpgraph', - 'dra' => 'audio/vnd.dra', - 'dsc' => 'text/prs.lines.tag', - 'dssc' => 'application/dssc+der', - 'dtb' => 'application/x-dtbook+xml', - 'dtd' => 'application/xml-dtd', - 'dts' => 'audio/vnd.dts', - 'dtshd' => 'audio/vnd.dts.hd', - 'dump' => 'application/octet-stream', - 'dvi' => 'application/x-dvi', - 'dwf' => 'model/vnd.dwf', - 'dwg' => 'image/vnd.dwg', - 'dxf' => 'image/vnd.dxf', - 'dxp' => 'application/vnd.spotfire.dxp', - 'dxr' => 'application/x-director', - 'ecelp4800' => 'audio/vnd.nuera.ecelp4800', - 'ecelp7470' => 'audio/vnd.nuera.ecelp7470', - 'ecelp9600' => 'audio/vnd.nuera.ecelp9600', - 'ecma' => 'application/ecmascript', - 'edm' => 'application/vnd.novadigm.edm', - 'edx' => 'application/vnd.novadigm.edx', - 'efif' => 'application/vnd.picsel', - 'ei6' => 'application/vnd.pg.osasli', - 'elc' => 'application/octet-stream', - 'eml' => 'message/rfc822', - 'emma' => 'application/emma+xml', - 'eol' => 'audio/vnd.digital-winds', - 'eot' => 'application/vnd.ms-fontobject', - 'eps' => 'application/postscript', - 'epub' => 'application/epub+zip', - 'es3' => 'application/vnd.eszigno3+xml', - 'esf' => 'application/vnd.epson.esf', - 'et3' => 'application/vnd.eszigno3+xml', - 'etx' => 'text/x-setext', - 'exe' => 'application/x-msdownload', - 'exi' => 'application/exi', - 'ext' => 'application/vnd.novadigm.ext', - 'ez' => 'application/andrew-inset', - 'ez2' => 'application/vnd.ezpix-album', - 'ez3' => 'application/vnd.ezpix-package', - 'f' => 'text/x-fortran', - 'f4v' => 'video/x-f4v', - 'f77' => 'text/x-fortran', - 'f90' => 'text/x-fortran', - 'fbs' => 'image/vnd.fastbidsheet', - 'fcs' => 'application/vnd.isac.fcs', - 'fdf' => 'application/vnd.fdf', - 'fe_launch' => 'application/vnd.denovo.fcselayout-link', - 'fg5' => 'application/vnd.fujitsu.oasysgp', - 'fgd' => 'application/x-director', - 'fh' => 'image/x-freehand', - 'fh4' => 'image/x-freehand', - 'fh5' => 'image/x-freehand', - 'fh7' => 'image/x-freehand', - 'fhc' => 'image/x-freehand', - 'fig' => 'application/x-xfig', - 'fli' => 'video/x-fli', - 'flo' => 'application/vnd.micrografx.flo', - 'flv' => 'video/x-flv', - 'flw' => 'application/vnd.kde.kivio', - 'flx' => 'text/vnd.fmi.flexstor', - 'fly' => 'text/vnd.fly', - 'fm' => 'application/vnd.framemaker', - 'fnc' => 'application/vnd.frogans.fnc', - 'for' => 'text/x-fortran', - 'fpx' => 'image/vnd.fpx', - 'frame' => 'application/vnd.framemaker', - 'fsc' => 'application/vnd.fsc.weblaunch', - 'fst' => 'image/vnd.fst', - 'ftc' => 'application/vnd.fluxtime.clip', - 'fti' => 'application/vnd.anser-web-funds-transfer-initiation', - 'fvt' => 'video/vnd.fvt', - 'fxp' => 'application/vnd.adobe.fxp', - 'fxpl' => 'application/vnd.adobe.fxp', - 'fzs' => 'application/vnd.fuzzysheet', - 'g2w' => 'application/vnd.geoplan', - 'g3' => 'image/g3fax', - 'g3w' => 'application/vnd.geospace', - 'gac' => 'application/vnd.groove-account', - 'gdl' => 'model/vnd.gdl', - 'geo' => 'application/vnd.dynageo', - 'gex' => 'application/vnd.geometry-explorer', - 'ggb' => 'application/vnd.geogebra.file', - 'ggt' => 'application/vnd.geogebra.tool', - 'ghf' => 'application/vnd.groove-help', - 'gif' => 'image/gif', - 'gim' => 'application/vnd.groove-identity-message', - 'gmx' => 'application/vnd.gmx', - 'gnumeric' => 'application/x-gnumeric', - 'gph' => 'application/vnd.flographit', - 'gqf' => 'application/vnd.grafeq', - 'gqs' => 'application/vnd.grafeq', - 'gram' => 'application/srgs', - 'gre' => 'application/vnd.geometry-explorer', - 'grv' => 'application/vnd.groove-injector', - 'grxml' => 'application/srgs+xml', - 'gsf' => 'application/x-font-ghostscript', - 'gtar' => 'application/x-gtar', - 'gtm' => 'application/vnd.groove-tool-message', - 'gtw' => 'model/vnd.gtw', - 'gv' => 'text/vnd.graphviz', - 'gxt' => 'application/vnd.geonext', - 'h' => 'text/x-c', - 'h261' => 'video/h261', - 'h263' => 'video/h263', - 'h264' => 'video/h264', - 'hal' => 'application/vnd.hal+xml', - 'hbci' => 'application/vnd.hbci', - 'hdf' => 'application/x-hdf', - 'hh' => 'text/x-c', - 'hlp' => 'application/winhlp', - 'hpgl' => 'application/vnd.hp-hpgl', - 'hpid' => 'application/vnd.hp-hpid', - 'hps' => 'application/vnd.hp-hps', - 'hqx' => 'application/mac-binhex40', - 'hta' => 'application/octet-stream', - 'htc' => 'text/html', - 'htke' => 'application/vnd.kenameaapp', - 'htm' => 'text/html', - 'html' => 'text/html', - 'hvd' => 'application/vnd.yamaha.hv-dic', - 'hvp' => 'application/vnd.yamaha.hv-voice', - 'hvs' => 'application/vnd.yamaha.hv-script', - 'i2g' => 'application/vnd.intergeo', - 'icc' => 'application/vnd.iccprofile', - 'ice' => 'x-conference/x-cooltalk', - 'icm' => 'application/vnd.iccprofile', - 'ico' => 'image/x-icon', - 'ics' => 'text/calendar', - 'ief' => 'image/ief', - 'ifb' => 'text/calendar', - 'ifm' => 'application/vnd.shana.informed.formdata', - 'iges' => 'model/iges', - 'igl' => 'application/vnd.igloader', - 'igm' => 'application/vnd.insors.igm', - 'igs' => 'model/iges', - 'igx' => 'application/vnd.micrografx.igx', - 'iif' => 'application/vnd.shana.informed.interchange', - 'imp' => 'application/vnd.accpac.simply.imp', - 'ims' => 'application/vnd.ms-ims', - 'in' => 'text/plain', - 'ini' => 'text/plain', - 'ipfix' => 'application/ipfix', - 'ipk' => 'application/vnd.shana.informed.package', - 'irm' => 'application/vnd.ibm.rights-management', - 'irp' => 'application/vnd.irepository.package+xml', - 'iso' => 'application/octet-stream', - 'itp' => 'application/vnd.shana.informed.formtemplate', - 'ivp' => 'application/vnd.immervision-ivp', - 'ivu' => 'application/vnd.immervision-ivu', - 'jad' => 'text/vnd.sun.j2me.app-descriptor', - 'jam' => 'application/vnd.jam', - 'jar' => 'application/java-archive', - 'java' => 'text/x-java-source', - 'jisp' => 'application/vnd.jisp', - 'jlt' => 'application/vnd.hp-jlyt', - 'jnlp' => 'application/x-java-jnlp-file', - 'joda' => 'application/vnd.joost.joda-archive', - 'jpe' => 'image/jpeg', - 'jpeg' => 'image/jpeg', - 'jpg' => 'image/jpeg', - 'jpgm' => 'video/jpm', - 'jpgv' => 'video/jpeg', - 'jpm' => 'video/jpm', - 'js' => 'text/javascript', - 'json' => 'application/json', - 'kar' => 'audio/midi', - 'karbon' => 'application/vnd.kde.karbon', - 'kfo' => 'application/vnd.kde.kformula', - 'kia' => 'application/vnd.kidspiration', - 'kml' => 'application/vnd.google-earth.kml+xml', - 'kmz' => 'application/vnd.google-earth.kmz', - 'kne' => 'application/vnd.kinar', - 'knp' => 'application/vnd.kinar', - 'kon' => 'application/vnd.kde.kontour', - 'kpr' => 'application/vnd.kde.kpresenter', - 'kpt' => 'application/vnd.kde.kpresenter', - 'ksp' => 'application/vnd.kde.kspread', - 'ktr' => 'application/vnd.kahootz', - 'ktx' => 'image/ktx', - 'ktz' => 'application/vnd.kahootz', - 'kwd' => 'application/vnd.kde.kword', - 'kwt' => 'application/vnd.kde.kword', - 'lasxml' => 'application/vnd.las.las+xml', - 'latex' => 'application/x-latex', - 'lbd' => 'application/vnd.llamagraphics.life-balance.desktop', - 'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml', - 'les' => 'application/vnd.hhe.lesson-player', - 'lha' => 'application/octet-stream', - 'link66' => 'application/vnd.route66.link66+xml', - 'list' => 'text/plain', - 'list3820' => 'application/vnd.ibm.modcap', - 'listafp' => 'application/vnd.ibm.modcap', - 'log' => 'text/plain', - 'lostxml' => 'application/lost+xml', - 'lrf' => 'application/octet-stream', - 'lrm' => 'application/vnd.ms-lrm', - 'ltf' => 'application/vnd.frogans.ltf', - 'lvp' => 'audio/vnd.lucent.voice', - 'lwp' => 'application/vnd.lotus-wordpro', - 'lzh' => 'application/octet-stream', - 'm13' => 'application/x-msmediaview', - 'm14' => 'application/x-msmediaview', - 'm1v' => 'video/mpeg', - 'm21' => 'application/mp21', - 'm2a' => 'audio/mpeg', - 'm2v' => 'video/mpeg', - 'm3a' => 'audio/mpeg', - 'm3u' => 'audio/x-mpegurl', - 'm3u8' => 'application/vnd.apple.mpegurl', - 'm4a' => 'audio/mp4', - 'm4u' => 'video/vnd.mpegurl', - 'm4v' => 'video/mp4', - 'ma' => 'application/mathematica', - 'mads' => 'application/mads+xml', - 'mag' => 'application/vnd.ecowin.chart', - 'maker' => 'application/vnd.framemaker', - 'man' => 'text/troff', - 'mathml' => 'application/mathml+xml', - 'mb' => 'application/mathematica', - 'mbk' => 'application/vnd.mobius.mbk', - 'mbox' => 'application/mbox', - 'mc1' => 'application/vnd.medcalcdata', - 'mcd' => 'application/vnd.mcd', - 'mcurl' => 'text/vnd.curl.mcurl', - 'mdb' => 'application/x-msaccess', - 'mdi' => 'image/vnd.ms-modi', - 'me' => 'text/troff', - 'mesh' => 'model/mesh', - 'meta4' => 'application/metalink4+xml', - 'mets' => 'application/mets+xml', - 'mfm' => 'application/vnd.mfmp', - 'mgp' => 'application/vnd.osgeo.mapguide.package', - 'mgz' => 'application/vnd.proteus.magazine', - 'mid' => 'audio/midi', - 'midi' => 'audio/midi', - 'mif' => 'application/vnd.mif', - 'mime' => 'message/rfc822', - 'mj2' => 'video/mj2', - 'mjp2' => 'video/mj2', - 'mlp' => 'application/vnd.dolby.mlp', - 'mmd' => 'application/vnd.chipnuts.karaoke-mmd', - 'mmf' => 'application/vnd.smaf', - 'mmr' => 'image/vnd.fujixerox.edmics-mmr', - 'mny' => 'application/x-msmoney', - 'mobi' => 'application/x-mobipocket-ebook', - 'mods' => 'application/mods+xml', - 'mov' => 'video/quicktime', - 'movie' => 'video/x-sgi-movie', - 'mp2' => 'audio/mpeg', - 'mp21' => 'application/mp21', - 'mp2a' => 'audio/mpeg', - 'mp3' => 'audio/mpeg', - 'mp4' => 'video/mp4', - 'mp4a' => 'audio/mp4', - 'mp4s' => 'application/mp4', - 'mp4v' => 'video/mp4', - 'mpc' => 'application/vnd.mophun.certificate', - 'mpe' => 'video/mpeg', - 'mpeg' => 'video/mpeg', - 'mpg' => 'video/mpeg', - 'mpg4' => 'video/mp4', - 'mpga' => 'audio/mpeg', - 'mpkg' => 'application/vnd.apple.installer+xml', - 'mpm' => 'application/vnd.blueice.multipass', - 'mpn' => 'application/vnd.mophun.application', - 'mpp' => 'application/vnd.ms-project', - 'mpt' => 'application/vnd.ms-project', - 'mpy' => 'application/vnd.ibm.minipay', - 'mqy' => 'application/vnd.mobius.mqy', - 'mrc' => 'application/marc', - 'mrcx' => 'application/marcxml+xml', - 'ms' => 'text/troff', - 'mscml' => 'application/mediaservercontrol+xml', - 'mseed' => 'application/vnd.fdsn.mseed', - 'mseq' => 'application/vnd.mseq', - 'msf' => 'application/vnd.epson.msf', - 'msh' => 'model/mesh', - 'msi' => 'application/x-msdownload', - 'msl' => 'application/vnd.mobius.msl', - 'msty' => 'application/vnd.muvee.style', - 'mts' => 'model/vnd.mts', - 'mus' => 'application/vnd.musician', - 'musicxml' => 'application/vnd.recordare.musicxml+xml', - 'mvb' => 'application/x-msmediaview', - 'mwf' => 'application/vnd.mfer', - 'mxf' => 'application/mxf', - 'mxl' => 'application/vnd.recordare.musicxml', - 'mxml' => 'application/xv+xml', - 'mxs' => 'application/vnd.triscape.mxs', - 'mxu' => 'video/vnd.mpegurl', - 'n-gage' => 'application/vnd.nokia.n-gage.symbian.install', - 'n3' => 'text/n3', - 'nb' => 'application/mathematica', - 'nbp' => 'application/vnd.wolfram.player', - 'nc' => 'application/x-netcdf', - 'ncx' => 'application/x-dtbncx+xml', - 'ngdat' => 'application/vnd.nokia.n-gage.data', - 'nlu' => 'application/vnd.neurolanguage.nlu', - 'nml' => 'application/vnd.enliven', - 'nnd' => 'application/vnd.noblenet-directory', - 'nns' => 'application/vnd.noblenet-sealer', - 'nnw' => 'application/vnd.noblenet-web', - 'npx' => 'image/vnd.net-fpx', - 'nsf' => 'application/vnd.lotus-notes', - 'oa2' => 'application/vnd.fujitsu.oasys2', - 'oa3' => 'application/vnd.fujitsu.oasys3', - 'oas' => 'application/vnd.fujitsu.oasys', - 'obd' => 'application/x-msbinder', - 'oda' => 'application/oda', - 'odb' => 'application/vnd.oasis.opendocument.database', - 'odc' => 'application/vnd.oasis.opendocument.chart', - 'odf' => 'application/vnd.oasis.opendocument.formula', - 'odft' => 'application/vnd.oasis.opendocument.formula-template', - 'odg' => 'application/vnd.oasis.opendocument.graphics', - 'odi' => 'application/vnd.oasis.opendocument.image', - 'odm' => 'application/vnd.oasis.opendocument.text-master', - 'odp' => 'application/vnd.oasis.opendocument.presentation', - 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', - 'odt' => 'application/vnd.oasis.opendocument.text', - 'oga' => 'audio/ogg', - 'ogg' => 'audio/ogg', - 'ogv' => 'video/ogg', - 'ogx' => 'application/ogg', - 'onepkg' => 'application/onenote', - 'onetmp' => 'application/onenote', - 'onetoc' => 'application/onenote', - 'onetoc2' => 'application/onenote', - 'opf' => 'application/oebps-package+xml', - 'oprc' => 'application/vnd.palm', - 'org' => 'application/vnd.lotus-organizer', - 'osf' => 'application/vnd.yamaha.openscoreformat', - 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', - 'otc' => 'application/vnd.oasis.opendocument.chart-template', - 'otf' => 'application/x-font-otf', - 'otg' => 'application/vnd.oasis.opendocument.graphics-template', - 'oth' => 'application/vnd.oasis.opendocument.text-web', - 'oti' => 'application/vnd.oasis.opendocument.image-template', - 'otp' => 'application/vnd.oasis.opendocument.presentation-template', - 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', - 'ott' => 'application/vnd.oasis.opendocument.text-template', - 'oxt' => 'application/vnd.openofficeorg.extension', - 'p' => 'text/x-pascal', - 'p10' => 'application/pkcs10', - 'p12' => 'application/x-pkcs12', - 'p7b' => 'application/x-pkcs7-certificates', - 'p7c' => 'application/pkcs7-mime', - 'p7m' => 'application/pkcs7-mime', - 'p7r' => 'application/x-pkcs7-certreqresp', - 'p7s' => 'application/pkcs7-signature', - 'p8' => 'application/pkcs8', - 'pas' => 'text/x-pascal', - 'paw' => 'application/vnd.pawaafile', - 'pbd' => 'application/vnd.powerbuilder6', - 'pbm' => 'image/x-portable-bitmap', - 'pcf' => 'application/x-font-pcf', - 'pcl' => 'application/vnd.hp-pcl', - 'pclxl' => 'application/vnd.hp-pclxl', - 'pct' => 'image/x-pict', - 'pcurl' => 'application/vnd.curl.pcurl', - 'pcx' => 'image/x-pcx', - 'pdb' => 'application/vnd.palm', - 'pdf' => 'application/pdf', - 'pfa' => 'application/x-font-type1', - 'pfb' => 'application/x-font-type1', - 'pfm' => 'application/x-font-type1', - 'pfr' => 'application/font-tdpfr', - 'pfx' => 'application/x-pkcs12', - 'pgm' => 'image/x-portable-graymap', - 'pgn' => 'application/x-chess-pgn', - 'pgp' => 'application/pgp-encrypted', - 'php' => 'text/x-php', - 'phps' => 'application/x-httpd-phps', - 'pic' => 'image/x-pict', - 'pkg' => 'application/octet-stream', - 'pki' => 'application/pkixcmp', - 'pkipath' => 'application/pkix-pkipath', - 'plb' => 'application/vnd.3gpp.pic-bw-large', - 'plc' => 'application/vnd.mobius.plc', - 'plf' => 'application/vnd.pocketlearn', - 'pls' => 'application/pls+xml', - 'pml' => 'application/vnd.ctc-posml', - 'png' => 'image/png', - 'pnm' => 'image/x-portable-anymap', - 'portpkg' => 'application/vnd.macports.portpkg', - 'pot' => 'application/vnd.ms-powerpoint', - 'potm' => 'application/vnd.ms-powerpoint.template.macroenabled.12', - 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', - 'ppam' => 'application/vnd.ms-powerpoint.addin.macroenabled.12', - 'ppd' => 'application/vnd.cups-ppd', - 'ppm' => 'image/x-portable-pixmap', - 'pps' => 'application/vnd.ms-powerpoint', - 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', - 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', - 'ppt' => 'application/vnd.ms-powerpoint', - 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroenabled.12', - 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', - 'pqa' => 'application/vnd.palm', - 'prc' => 'application/x-mobipocket-ebook', - 'pre' => 'application/vnd.lotus-freelance', - 'prf' => 'application/pics-rules', - 'ps' => 'application/postscript', - 'psb' => 'application/vnd.3gpp.pic-bw-small', - 'psd' => 'image/vnd.adobe.photoshop', - 'psf' => 'application/x-font-linux-psf', - 'pskcxml' => 'application/pskc+xml', - 'ptid' => 'application/vnd.pvi.ptid1', - 'pub' => 'application/x-mspublisher', - 'pvb' => 'application/vnd.3gpp.pic-bw-var', - 'pwn' => 'application/vnd.3m.post-it-notes', - 'pya' => 'audio/vnd.ms-playready.media.pya', - 'pyv' => 'video/vnd.ms-playready.media.pyv', - 'qam' => 'application/vnd.epson.quickanime', - 'qbo' => 'application/vnd.intu.qbo', - 'qfx' => 'application/vnd.intu.qfx', - 'qps' => 'application/vnd.publishare-delta-tree', - 'qt' => 'video/quicktime', - 'qwd' => 'application/vnd.quark.quarkxpress', - 'qwt' => 'application/vnd.quark.quarkxpress', - 'qxb' => 'application/vnd.quark.quarkxpress', - 'qxd' => 'application/vnd.quark.quarkxpress', - 'qxl' => 'application/vnd.quark.quarkxpress', - 'qxt' => 'application/vnd.quark.quarkxpress', - 'ra' => 'audio/x-pn-realaudio', - 'ram' => 'audio/x-pn-realaudio', - 'rar' => 'application/x-rar-compressed', - 'ras' => 'image/x-cmu-raster', - 'rb' => 'text/plain', - 'rcprofile' => 'application/vnd.ipunplugged.rcprofile', - 'rdf' => 'application/rdf+xml', - 'rdz' => 'application/vnd.data-vision.rdz', - 'rep' => 'application/vnd.businessobjects', - 'res' => 'application/x-dtbresource+xml', - 'resx' => 'text/xml', - 'rgb' => 'image/x-rgb', - 'rif' => 'application/reginfo+xml', - 'rip' => 'audio/vnd.rip', - 'rl' => 'application/resource-lists+xml', - 'rlc' => 'image/vnd.fujixerox.edmics-rlc', - 'rld' => 'application/resource-lists-diff+xml', - 'rm' => 'application/vnd.rn-realmedia', - 'rmi' => 'audio/midi', - 'rmp' => 'audio/x-pn-realaudio-plugin', - 'rms' => 'application/vnd.jcp.javame.midlet-rms', - 'rnc' => 'application/relax-ng-compact-syntax', - 'roff' => 'text/troff', - 'rp9' => 'application/vnd.cloanto.rp9', - 'rpss' => 'application/vnd.nokia.radio-presets', - 'rpst' => 'application/vnd.nokia.radio-preset', - 'rq' => 'application/sparql-query', - 'rs' => 'application/rls-services+xml', - 'rsd' => 'application/rsd+xml', - 'rss' => 'application/rss+xml', - 'rtf' => 'application/rtf', - 'rtx' => 'text/richtext', - 's' => 'text/x-asm', - 'saf' => 'application/vnd.yamaha.smaf-audio', - 'sbml' => 'application/sbml+xml', - 'sc' => 'application/vnd.ibm.secure-container', - 'scd' => 'application/x-msschedule', - 'scm' => 'application/vnd.lotus-screencam', - 'scq' => 'application/scvp-cv-request', - 'scs' => 'application/scvp-cv-response', - 'scurl' => 'text/vnd.curl.scurl', - 'sda' => 'application/vnd.stardivision.draw', - 'sdc' => 'application/vnd.stardivision.calc', - 'sdd' => 'application/vnd.stardivision.impress', - 'sdkd' => 'application/vnd.solent.sdkm+xml', - 'sdkm' => 'application/vnd.solent.sdkm+xml', - 'sdp' => 'application/sdp', - 'sdw' => 'application/vnd.stardivision.writer', - 'see' => 'application/vnd.seemail', - 'seed' => 'application/vnd.fdsn.seed', - 'sema' => 'application/vnd.sema', - 'semd' => 'application/vnd.semd', - 'semf' => 'application/vnd.semf', - 'ser' => 'application/java-serialized-object', - 'setpay' => 'application/set-payment-initiation', - 'setreg' => 'application/set-registration-initiation', - 'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data', - 'sfs' => 'application/vnd.spotfire.sfs', - 'sgl' => 'application/vnd.stardivision.writer-global', - 'sgm' => 'text/sgml', - 'sgml' => 'text/sgml', - 'sh' => 'application/x-sh', - 'shar' => 'application/x-shar', - 'shf' => 'application/shf+xml', - 'sig' => 'application/pgp-signature', - 'silo' => 'model/mesh', - 'sis' => 'application/vnd.symbian.install', - 'sisx' => 'application/vnd.symbian.install', - 'sit' => 'application/x-stuffit', - 'sitx' => 'application/x-stuffitx', - 'skd' => 'application/vnd.koan', - 'skm' => 'application/vnd.koan', - 'skp' => 'application/vnd.koan', - 'skt' => 'application/vnd.koan', - 'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12', - 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', - 'slt' => 'application/vnd.epson.salt', - 'sm' => 'application/vnd.stepmania.stepchart', - 'smf' => 'application/vnd.stardivision.math', - 'smi' => 'application/smil+xml', - 'smil' => 'application/smil+xml', - 'snd' => 'audio/basic', - 'snf' => 'application/x-font-snf', - 'so' => 'application/octet-stream', - 'spc' => 'application/x-pkcs7-certificates', - 'spf' => 'application/vnd.yamaha.smaf-phrase', - 'spl' => 'application/x-futuresplash', - 'spot' => 'text/vnd.in3d.spot', - 'spp' => 'application/scvp-vp-response', - 'spq' => 'application/scvp-vp-request', - 'spx' => 'audio/ogg', - 'src' => 'application/x-wais-source', - 'sru' => 'application/sru+xml', - 'srx' => 'application/sparql-results+xml', - 'sse' => 'application/vnd.kodak-descriptor', - 'ssf' => 'application/vnd.epson.ssf', - 'ssml' => 'application/ssml+xml', - 'st' => 'application/vnd.sailingtracker.track', - 'stc' => 'application/vnd.sun.xml.calc.template', - 'std' => 'application/vnd.sun.xml.draw.template', - 'stf' => 'application/vnd.wt.stf', - 'sti' => 'application/vnd.sun.xml.impress.template', - 'stk' => 'application/hyperstudio', - 'stl' => 'application/vnd.ms-pki.stl', - 'str' => 'application/vnd.pg.format', - 'stw' => 'application/vnd.sun.xml.writer.template', - 'sub' => 'image/vnd.dvb.subtitle', - 'sus' => 'application/vnd.sus-calendar', - 'susp' => 'application/vnd.sus-calendar', - 'sv4cpio' => 'application/x-sv4cpio', - 'sv4crc' => 'application/x-sv4crc', - 'svc' => 'application/vnd.dvb.service', - 'svd' => 'application/vnd.svd', - 'svg' => 'image/svg+xml', - 'svgz' => 'image/svg+xml', - 'swa' => 'application/x-director', - 'swf' => 'application/x-shockwave-flash', - 'swi' => 'application/vnd.aristanetworks.swi', - 'sxc' => 'application/vnd.sun.xml.calc', - 'sxd' => 'application/vnd.sun.xml.draw', - 'sxg' => 'application/vnd.sun.xml.writer.global', - 'sxi' => 'application/vnd.sun.xml.impress', - 'sxm' => 'application/vnd.sun.xml.math', - 'sxw' => 'application/vnd.sun.xml.writer', - 't' => 'text/troff', - 'tao' => 'application/vnd.tao.intent-module-archive', - 'tar' => 'application/x-tar', - 'tcap' => 'application/vnd.3gpp2.tcap', - 'tcl' => 'application/x-tcl', - 'teacher' => 'application/vnd.smart.teacher', - 'tei' => 'application/tei+xml', - 'teicorpus' => 'application/tei+xml', - 'tex' => 'application/x-tex', - 'texi' => 'application/x-texinfo', - 'texinfo' => 'application/x-texinfo', - 'text' => 'text/plain', - 'tfi' => 'application/thraud+xml', - 'tfm' => 'application/x-tex-tfm', - 'thmx' => 'application/vnd.ms-officetheme', - 'tif' => 'image/tiff', - 'tiff' => 'image/tiff', - 'tmo' => 'application/vnd.tmobile-livetv', - 'torrent' => 'application/x-bittorrent', - 'tpl' => 'application/vnd.groove-tool-template', - 'tpt' => 'application/vnd.trid.tpt', - 'tr' => 'text/troff', - 'tra' => 'application/vnd.trueapp', - 'trm' => 'application/x-msterminal', - 'tsd' => 'application/timestamped-data', - 'tsv' => 'text/tab-separated-values', - 'ttc' => 'application/x-font-ttf', - 'ttf' => 'application/x-font-ttf', - 'ttl' => 'text/turtle', - 'twd' => 'application/vnd.simtech-mindmapper', - 'twds' => 'application/vnd.simtech-mindmapper', - 'txd' => 'application/vnd.genomatix.tuxedo', - 'txf' => 'application/vnd.mobius.txf', - 'txt' => 'text/plain', - 'u32' => 'application/x-authorware-bin', - 'udeb' => 'application/x-debian-package', - 'ufd' => 'application/vnd.ufdl', - 'ufdl' => 'application/vnd.ufdl', - 'umj' => 'application/vnd.umajin', - 'unityweb' => 'application/vnd.unity', - 'uoml' => 'application/vnd.uoml+xml', - 'uri' => 'text/uri-list', - 'uris' => 'text/uri-list', - 'urls' => 'text/uri-list', - 'ustar' => 'application/x-ustar', - 'utz' => 'application/vnd.uiq.theme', - 'uu' => 'text/x-uuencode', - 'uva' => 'audio/vnd.dece.audio', - 'uvd' => 'application/vnd.dece.data', - 'uvf' => 'application/vnd.dece.data', - 'uvg' => 'image/vnd.dece.graphic', - 'uvh' => 'video/vnd.dece.hd', - 'uvi' => 'image/vnd.dece.graphic', - 'uvm' => 'video/vnd.dece.mobile', - 'uvp' => 'video/vnd.dece.pd', - 'uvs' => 'video/vnd.dece.sd', - 'uvt' => 'application/vnd.dece.ttml+xml', - 'uvu' => 'video/vnd.uvvu.mp4', - 'uvv' => 'video/vnd.dece.video', - 'uvva' => 'audio/vnd.dece.audio', - 'uvvd' => 'application/vnd.dece.data', - 'uvvf' => 'application/vnd.dece.data', - 'uvvg' => 'image/vnd.dece.graphic', - 'uvvh' => 'video/vnd.dece.hd', - 'uvvi' => 'image/vnd.dece.graphic', - 'uvvm' => 'video/vnd.dece.mobile', - 'uvvp' => 'video/vnd.dece.pd', - 'uvvs' => 'video/vnd.dece.sd', - 'uvvt' => 'application/vnd.dece.ttml+xml', - 'uvvu' => 'video/vnd.uvvu.mp4', - 'uvvv' => 'video/vnd.dece.video', - 'uvvx' => 'application/vnd.dece.unspecified', - 'uvx' => 'application/vnd.dece.unspecified', - 'vcd' => 'application/x-cdlink', - 'vcf' => 'text/x-vcard', - 'vcg' => 'application/vnd.groove-vcard', - 'vcs' => 'text/x-vcalendar', - 'vcx' => 'application/vnd.vcx', - 'vis' => 'application/vnd.visionary', - 'viv' => 'video/vnd.vivo', - 'vor' => 'application/vnd.stardivision.writer', - 'vox' => 'application/x-authorware-bin', - 'vrml' => 'model/vrml', - 'vsd' => 'application/vnd.visio', - 'vsf' => 'application/vnd.vsf', - 'vss' => 'application/vnd.visio', - 'vst' => 'application/vnd.visio', - 'vsw' => 'application/vnd.visio', - 'vtu' => 'model/vnd.vtu', - 'vxml' => 'application/voicexml+xml', - 'w3d' => 'application/x-director', - 'wad' => 'application/x-doom', - 'wav' => 'audio/x-wav', - 'wax' => 'audio/x-ms-wax', - 'wbmp' => 'image/vnd.wap.wbmp', - 'wbs' => 'application/vnd.criticaltools.wbs+xml', - 'wbxml' => 'application/vnd.wap.wbxml', - 'wcm' => 'application/vnd.ms-works', - 'wdb' => 'application/vnd.ms-works', - 'weba' => 'audio/webm', - 'webm' => 'video/webm', - 'webp' => 'image/webp', - 'wg' => 'application/vnd.pmi.widget', - 'wgt' => 'application/widget', - 'wks' => 'application/vnd.ms-works', - 'wm' => 'video/x-ms-wm', - 'wma' => 'audio/x-ms-wma', - 'wmd' => 'application/x-ms-wmd', - 'wmf' => 'application/x-msmetafile', - 'wml' => 'text/vnd.wap.wml', - 'wmlc' => 'application/vnd.wap.wmlc', - 'wmls' => 'text/vnd.wap.wmlscript', - 'wmlsc' => 'application/vnd.wap.wmlscriptc', - 'wmv' => 'video/x-ms-wmv', - 'wmx' => 'video/x-ms-wmx', - 'wmz' => 'application/x-ms-wmz', - 'woff' => 'application/x-font-woff', - 'wpd' => 'application/vnd.wordperfect', - 'wpl' => 'application/vnd.ms-wpl', - 'wps' => 'application/vnd.ms-works', - 'wqd' => 'application/vnd.wqd', - 'wri' => 'application/x-mswrite', - 'wrl' => 'model/vrml', - 'wsdl' => 'application/wsdl+xml', - 'wspolicy' => 'application/wspolicy+xml', - 'wtb' => 'application/vnd.webturbo', - 'wvx' => 'video/x-ms-wvx', - 'x32' => 'application/x-authorware-bin', - 'x3d' => 'application/vnd.hzn-3d-crossword', - 'xap' => 'application/x-silverlight-app', - 'xar' => 'application/vnd.xara', - 'xbap' => 'application/x-ms-xbap', - 'xbd' => 'application/vnd.fujixerox.docuworks.binder', - 'xbm' => 'image/x-xbitmap', - 'xdf' => 'application/xcap-diff+xml', - 'xdm' => 'application/vnd.syncml.dm+xml', - 'xdp' => 'application/vnd.adobe.xdp+xml', - 'xdssc' => 'application/dssc+xml', - 'xdw' => 'application/vnd.fujixerox.docuworks', - 'xenc' => 'application/xenc+xml', - 'xer' => 'application/patch-ops-error+xml', - 'xfdf' => 'application/vnd.adobe.xfdf', - 'xfdl' => 'application/vnd.xfdl', - 'xht' => 'application/xhtml+xml', - 'xhtml' => 'application/xhtml+xml', - 'xhvml' => 'application/xv+xml', - 'xif' => 'image/vnd.xiff', - 'xla' => 'application/vnd.ms-excel', - 'xlam' => 'application/vnd.ms-excel.addin.macroenabled.12', - 'xlc' => 'application/vnd.ms-excel', - 'xlm' => 'application/vnd.ms-excel', - 'xls' => 'application/vnd.ms-excel', - 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroenabled.12', - 'xlsm' => 'application/vnd.ms-excel.sheet.macroenabled.12', - 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'xlt' => 'application/vnd.ms-excel', - 'xltm' => 'application/vnd.ms-excel.template.macroenabled.12', - 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', - 'xlw' => 'application/vnd.ms-excel', - 'xml' => 'application/xml', - 'xo' => 'application/vnd.olpc-sugar', - 'xop' => 'application/xop+xml', - 'xpi' => 'application/x-xpinstall', - 'xpm' => 'image/x-xpixmap', - 'xpr' => 'application/vnd.is-xpr', - 'xps' => 'application/vnd.ms-xpsdocument', - 'xpw' => 'application/vnd.intercon.formnet', - 'xpx' => 'application/vnd.intercon.formnet', - 'xsl' => 'application/xml', - 'xslt' => 'application/xslt+xml', - 'xsm' => 'application/vnd.syncml+xml', - 'xspf' => 'application/xspf+xml', - 'xul' => 'application/vnd.mozilla.xul+xml', - 'xvm' => 'application/xv+xml', - 'xvml' => 'application/xv+xml', - 'xwd' => 'image/x-xwindowdump', - 'xyz' => 'chemical/x-xyz', - 'yaml' => 'text/yaml', - 'yang' => 'application/yang', - 'yin' => 'application/yin+xml', - 'yml' => 'text/yaml', - 'zaz' => 'application/vnd.zzazz.deck+xml', - 'zip' => 'application/zip', - 'zir' => 'application/vnd.zul', - 'zirz' => 'application/vnd.zul', - 'zmm' => 'application/vnd.handheld-entertainment+xml' - ); - - /** - * Get a singleton instance of the class - * - * @return self - * @codeCoverageIgnore - */ - public static function getInstance() - { - if (!self::$instance) { - self::$instance = new self(); - } - - return self::$instance; - } - - /** - * Get a mimetype value from a file extension - * - * @param string $extension File extension - * - * @return string|null - * - */ - public function fromExtension($extension) - { - return isset($this->mimetypes[$extension]) ? $this->mimetypes[$extension] : null; - } - - /** - * Get a mimetype from a filename - * - * @param string $filename Filename to generate a mimetype from - * - * @return string|null - */ - public function fromFilename($filename) - { - return $this->fromExtension(pathinfo($filename, PATHINFO_EXTENSION)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/CommaAggregator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/CommaAggregator.php deleted file mode 100644 index 5a60e93..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/CommaAggregator.php +++ /dev/null @@ -1,23 +0,0 @@ -isUrlEncoding()) { - return array($query->encodeValue($key) => implode(',', array_map(array($query, 'encodeValue'), $value))); - } else { - return array($key => implode(',', $value)); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/DuplicateAggregator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/DuplicateAggregator.php deleted file mode 100644 index eb46614..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/DuplicateAggregator.php +++ /dev/null @@ -1,25 +0,0 @@ -isUrlEncoding()) { - return array($query->encodeValue($key) => array_map(array($query, 'encodeValue'), $value)); - } else { - return array($key => $value); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/PhpAggregator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/PhpAggregator.php deleted file mode 100644 index ce87391..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/PhpAggregator.php +++ /dev/null @@ -1,30 +0,0 @@ - $v) { - $k = "{$key}[{$k}]"; - if (is_array($v)) { - $ret = array_merge($ret, self::aggregate($k, $v, $query)); - } else { - $ret[$query->encodeValue($k)] = $query->encodeValue($v); - } - } - - return $ret; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/QueryAggregatorInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/QueryAggregatorInterface.php deleted file mode 100644 index 72bee62..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/QueryAggregatorInterface.php +++ /dev/null @@ -1,22 +0,0 @@ -add($key, rawurldecode(str_replace('+', '%20', $parts[1]))); - } else { - $q->add($key, ''); - } - } - } - - return $q; - } - - /** - * Convert the query string parameters to a query string string - * - * @return string - */ - public function __toString() - { - if (empty($this->data)) { - return ''; - } - - $queryString = ''; - $firstValue = true; - - foreach ($this->prepareData($this->data) as $name => $value) { - $value = $value === null ? array('') : (array) $value; - foreach ($value as $v) { - if ($firstValue) { - $firstValue = false; - } else { - $queryString .= $this->fieldSeparator; - } - $queryString .= $name; - if ($v !== self::BLANK) { - $queryString .= $this->valueSeparator . $v; - } - } - } - - return $queryString; - } - - /** - * Get the query string field separator - * - * @return string - */ - public function getFieldSeparator() - { - return $this->fieldSeparator; - } - - /** - * Get the query string value separator - * - * @return string - */ - public function getValueSeparator() - { - return $this->valueSeparator; - } - - /** - * Returns the type of URL encoding used by the query string - * - * One of: false, "RFC 3986", or "application/x-www-form-urlencoded" - * - * @return bool|string - */ - public function getUrlEncoding() - { - return $this->urlEncode; - } - - /** - * Returns true or false if using URL encoding - * - * @return bool - */ - public function isUrlEncoding() - { - return $this->urlEncode !== false; - } - - /** - * Provide a function for combining multi-valued query string parameters into a single or multiple fields - * - * @param null|QueryAggregatorInterface $aggregator Pass in a QueryAggregatorInterface object to handle converting - * deeply nested query string variables into a flattened array. - * Pass null to use the default PHP style aggregator. For legacy - * reasons, this function accepts a callable that must accepts a - * $key, $value, and query object. - * @return self - * @see \Guzzle\Http\QueryString::aggregateUsingComma() - */ - public function setAggregator(QueryAggregatorInterface $aggregator = null) - { - // Use the default aggregator if none was set - if (!$aggregator) { - if (!self::$defaultAggregator) { - self::$defaultAggregator = new PhpAggregator(); - } - $aggregator = self::$defaultAggregator; - } - - $this->aggregator = $aggregator; - - return $this; - } - - /** - * Set whether or not field names and values should be rawurlencoded - * - * @param bool|string $encode Set to TRUE to use RFC 3986 encoding (rawurlencode), false to disable encoding, or - * form_urlencoding to use application/x-www-form-urlencoded encoding (urlencode) - * @return self - */ - public function useUrlEncoding($encode) - { - $this->urlEncode = ($encode === true) ? self::RFC_3986 : $encode; - - return $this; - } - - /** - * Set the query string separator - * - * @param string $separator The query string separator that will separate fields - * - * @return self - */ - public function setFieldSeparator($separator) - { - $this->fieldSeparator = $separator; - - return $this; - } - - /** - * Set the query string value separator - * - * @param string $separator The query string separator that will separate values from fields - * - * @return self - */ - public function setValueSeparator($separator) - { - $this->valueSeparator = $separator; - - return $this; - } - - /** - * Returns an array of url encoded field names and values - * - * @return array - */ - public function urlEncode() - { - return $this->prepareData($this->data); - } - - /** - * URL encodes a value based on the url encoding type of the query string object - * - * @param string $value Value to encode - * - * @return string - */ - public function encodeValue($value) - { - if ($this->urlEncode == self::RFC_3986) { - return rawurlencode($value); - } elseif ($this->urlEncode == self::FORM_URLENCODED) { - return urlencode($value); - } else { - return (string) $value; - } - } - - /** - * Url encode parameter data and convert nested query strings into a flattened hash. - * - * @param array $data The data to encode - * - * @return array Returns an array of encoded values and keys - */ - protected function prepareData(array $data) - { - // If no aggregator is present then set the default - if (!$this->aggregator) { - $this->setAggregator(null); - } - - $temp = array(); - foreach ($data as $key => $value) { - if (is_array($value)) { - $temp = array_merge($temp, $this->aggregator->aggregate($key, $value, $this)); - } else { - $temp[$this->encodeValue($key)] = $this->encodeValue($value); - } - } - - return $temp; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/ReadLimitEntityBody.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/ReadLimitEntityBody.php deleted file mode 100644 index 4aabde7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/ReadLimitEntityBody.php +++ /dev/null @@ -1,116 +0,0 @@ -setLimit($limit)->setOffset($offset); - $this->body->seek($offset); - } - - /** - * Returns only a subset of the decorated entity body when cast as a string - * {@inheritdoc} - */ - public function __toString() - { - return substr((string) $this->body, $this->offset, $this->limit); - } - - /** - * {@inheritdoc} - */ - public function isConsumed() - { - return (($this->offset + $this->limit) - $this->body->ftell()) <= 0; - } - - /** - * Returns the Content-Length of the limited subset of data - * {@inheritdoc} - */ - public function getContentLength() - { - $length = $this->body->getContentLength(); - - return $length === false - ? $this->limit - : min($this->limit, min($length, $this->offset + $this->limit) - $this->offset); - } - - /** - * Allow for a bounded seek on the read limited entity body - * {@inheritdoc} - */ - public function seek($offset, $whence = SEEK_SET) - { - return $whence === SEEK_SET - ? $this->body->seek(max($this->offset, min($this->offset + $this->limit, $offset))) - : false; - } - - /** - * Set the offset to start limiting from - * - * @param int $offset Offset to seek to and begin byte limiting from - * - * @return self - */ - public function setOffset($offset) - { - $this->body->seek($offset); - $this->offset = $offset; - - return $this; - } - - /** - * Set the limit of bytes that the decorator allows to be read from the stream - * - * @param int $limit Total number of bytes to allow to be read from the stream - * - * @return self - */ - public function setLimit($limit) - { - $this->limit = $limit; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function read($length) - { - // Check if the current position is less than the total allowed bytes + original offset - $remaining = ($this->offset + $this->limit) - $this->body->ftell(); - if ($remaining > 0) { - // Only return the amount of requested data, ensuring that the byte limit is not exceeded - return $this->body->read(min($remaining, $length)); - } else { - return false; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/RedirectPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/RedirectPlugin.php deleted file mode 100644 index 89595bb..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/RedirectPlugin.php +++ /dev/null @@ -1,230 +0,0 @@ - array('onRequestSent', 100), - 'request.clone' => 'onRequestClone' - ); - } - - /** - * Clean up the parameters of a request when it is cloned - * - * @param Event $event Event emitted - */ - public function onRequestClone(Event $event) - { - $event['request']->getParams()->remove(self::REDIRECT_COUNT)->remove(self::PARENT_REQUEST); - } - - /** - * Called when a request receives a redirect response - * - * @param Event $event Event emitted - */ - public function onRequestSent(Event $event) - { - $response = $event['response']; - $request = $event['request']; - - // Only act on redirect requests with Location headers - if (!$response || !$response->isRedirect() || !$response->hasHeader('Location') - || $request->getParams()->get(self::DISABLE) - ) { - return; - } - - // Prepare the request for a redirect and grab the original request that started the transaction - $originalRequest = $this->prepareRedirection($request); - - // Create a redirect request based on the redirect rules set on the request - $redirectRequest = $this->createRedirectRequest( - $request, - $event['response']->getStatusCode(), - trim($response->getHeader('Location')), - $originalRequest - ); - - // Send the redirect request and hijack the response of the original request - $redirectResponse = $redirectRequest->send(); - $request->setResponse($redirectResponse); - if (!$redirectResponse->getPreviousResponse()) { - $redirectResponse->setPreviousResponse($response); - } - } - - /** - * Create a redirect request for a specific request object - * - * Takes into account strict RFC compliant redirection (e.g. redirect POST with POST) vs doing what most clients do - * (e.g. redirect POST with GET). - * - * @param RequestInterface $request Request being redirected - * @param RequestInterface $original Original request - * @param int $statusCode Status code of the redirect - * @param string $location Location header of the redirect - * - * @return RequestInterface Returns a new redirect request - * @throws CouldNotRewindStreamException If the body needs to be rewound but cannot - */ - protected function createRedirectRequest( - RequestInterface $request, - $statusCode, - $location, - RequestInterface $original - ) { - $redirectRequest = null; - $strict = $original->getParams()->get(self::STRICT_REDIRECTS); - // Use a GET request if this is an entity enclosing request and we are not forcing RFC compliance, but rather - // emulating what all browsers would do - if ($request instanceof EntityEnclosingRequestInterface && !$strict && $statusCode <= 302) { - $redirectRequest = $this->cloneRequestWithGetMethod($request); - } else { - $redirectRequest = clone $request; - } - - // Always use the same response body when redirecting - $redirectRequest->setResponseBody($request->getResponseBody()); - - $location = Url::factory($location); - // If the location is not absolute, then combine it with the original URL - if (!$location->isAbsolute()) { - $originalUrl = $redirectRequest->getUrl(true); - // Remove query string parameters and just take what is present on the redirect Location header - $originalUrl->getQuery()->clear(); - $location = $originalUrl->combine((string) $location); - } - - $redirectRequest->setUrl($location); - $redirectRequest->getParams()->set(self::PARENT_REQUEST, $request); - - // Rewind the entity body of the request if needed - if ($redirectRequest instanceof EntityEnclosingRequestInterface && $redirectRequest->getBody()) { - $body = $redirectRequest->getBody(); - // Only rewind the body if some of it has been read already, and throw an exception if the rewind fails - if ($body->ftell() && !$body->rewind()) { - throw new CouldNotRewindStreamException( - 'Unable to rewind the non-seekable entity body of the request after redirecting. cURL probably ' - . 'sent part of body before the redirect occurred. Try adding acustom rewind function using on the ' - . 'entity body of the request using setRewindFunction().' - ); - } - } - - return $redirectRequest; - } - - /** - * Clone a request while changing the method to GET. Emulates the behavior of - * {@see Guzzle\Http\Message\Request::clone}, but can change the HTTP method. - * - * @param EntityEnclosingRequestInterface $request Request to clone - * - * @return RequestInterface Returns a GET request - */ - protected function cloneRequestWithGetMethod(EntityEnclosingRequestInterface $request) - { - // Create a new GET request using the original request's URL - $redirectRequest = $request->getClient()->get($request->getUrl()); - $redirectRequest->getCurlOptions()->replace($request->getCurlOptions()->getAll()); - // Copy over the headers, while ensuring that the Content-Length is not copied - $redirectRequest->setHeaders($request->getHeaders()->getAll())->removeHeader('Content-Length'); - $redirectRequest->setEventDispatcher(clone $request->getEventDispatcher()); - $redirectRequest->getParams() - ->replace($request->getParams()->getAll()) - ->remove('curl_handle')->remove('queued_response')->remove('curl_multi'); - - return $redirectRequest; - } - - /** - * Prepare the request for redirection and enforce the maximum number of allowed redirects per client - * - * @param RequestInterface $request Request to prepare and validate - * - * @return RequestInterface Returns the original request - */ - protected function prepareRedirection(RequestInterface $request) - { - $original = $request; - // The number of redirects is held on the original request, so determine which request that is - while ($parent = $original->getParams()->get(self::PARENT_REQUEST)) { - $original = $parent; - } - - // Always associate the parent response with the current response so that a chain can be established - if ($parent = $request->getParams()->get(self::PARENT_REQUEST)) { - $request->getResponse()->setPreviousResponse($parent->getResponse()); - } - - $params = $original->getParams(); - // This is a new redirect, so increment the redirect counter - $current = $params->get(self::REDIRECT_COUNT) + 1; - $params->set(self::REDIRECT_COUNT, $current); - - // Use a provided maximum value or default to a max redirect count of 5 - $max = $params->hasKey(self::MAX_REDIRECTS) - ? $params->get(self::MAX_REDIRECTS) - : $this->defaultMaxRedirects; - - // Throw an exception if the redirect count is exceeded - if ($current > $max) { - return $this->throwTooManyRedirectsException($request); - } - - return $original; - } - - /** - * Throw a too many redirects exception for a request - * - * @param RequestInterface $request Request - * @throws TooManyRedirectsException when too many redirects have been issued - */ - protected function throwTooManyRedirectsException(RequestInterface $request) - { - $responses = array(); - - // Create a nice message to use when throwing the exception that shows each request/response transaction - do { - $response = $request->getResponse(); - $responses[] = '> ' . $request->getRawHeaders() . "\n\n< " . $response->getRawHeaders(); - $request = $response->getPreviousResponse() ? $response->getPreviousResponse()->getRequest() : null; - } while ($request); - - $transaction = implode("* Sending redirect request\n", array_reverse($responses)); - - throw new TooManyRedirectsException("Too many redirects were issued for this transaction:\n{$transaction}"); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem deleted file mode 100644 index 8660a40..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem +++ /dev/null @@ -1,3849 +0,0 @@ -## -## ca-bundle.crt -- Bundle of CA Root Certificates -## -## Certificate data from Mozilla as of: Thu Jun 28 13:50:18 2012 -## -## This is a bundle of X.509 certificates of public Certificate Authorities -## (CA). These were automatically extracted from Mozilla's root certificates -## file (certdata.txt). This file can be found in the mozilla source tree: -## http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 -## -## It contains the certificates in PEM format and therefore -## can be directly used with curl / libcurl / php_curl, or with -## an Apache+mod_ssl webserver for SSL client authentication. -## Just configure this file as the SSLCACertificateFile. -## - -# @(#) $RCSfile: certdata.txt,v $ $Revision: 1.85 $ $Date: 2012/06/28 13:50:18 $ - -GTE CyberTrust Global Root -========================== ------BEGIN CERTIFICATE----- -MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9HVEUg -Q29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNvbHV0aW9ucywgSW5jLjEjMCEG -A1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJvb3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEz -MjM1OTAwWjB1MQswCQYDVQQGEwJVUzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQL -Ex5HVEUgQ3liZXJUcnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0 -IEdsb2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrHiM3dFw4u -sJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTSr41tiGeA5u2ylc9yMcql -HHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X404Wqk2kmhXBIgD8SFcd5tB8FLztimQID -AQABMA0GCSqGSIb3DQEBBAUAA4GBAG3rGwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMW -M4ETCJ57NE7fQMh017l93PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OF -NMQkpw0PlZPvy5TYnh+dXIVtx6quTx8itc2VrbqnzPmrC3p/ ------END CERTIFICATE----- - -Thawte Server CA -================ ------BEGIN CERTIFICATE----- -MIIDEzCCAnygAwIBAgIBATANBgkqhkiG9w0BAQQFADCBxDELMAkGA1UEBhMCWkExFTATBgNVBAgT -DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3Vs -dGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcGA1UE -AxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5j -b20wHhcNOTYwODAxMDAwMDAwWhcNMjAxMjMxMjM1OTU5WjCBxDELMAkGA1UEBhMCWkExFTATBgNV -BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29u -c3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcG -A1UEAxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0 -ZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANOkUG7I/1Zr5s9dtuoMaHVHoqrC2oQl -/Kj0R1HahbUgdJSGHg91yekIYfUGbTBuFRkC6VLAYttNmZ7iagxEOM3+vuNkCXDF/rFrKbYvScg7 -1CcEJRCXL+eQbcAoQpnXTEPew/UhbVSfXcNY4cDk2VuwuNy0e982OsK1ZiIS1ocNAgMBAAGjEzAR -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAB/pMaVz7lcxG7oWDTSEwjsrZqG9J -GubaUeNgcGyEYRGhGshIPllDfU+VPaGLtwtimHp1it2ITk6eQNuozDJ0uW8NxuOzRAvZim+aKZuZ -GCg70eNAKJpaPNW15yAbi8qkq43pUdniTCxZqdq5snUb9kLy78fyGPmJvKP/iiMucEc= ------END CERTIFICATE----- - -Thawte Premium Server CA -======================== ------BEGIN CERTIFICATE----- -MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkExFTATBgNVBAgT -DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3Vs -dGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UE -AxMYVGhhd3RlIFByZW1pdW0gU2VydmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZl -ckB0aGF3dGUuY29tMB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYT -AlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsGA1UEChMU -VGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2 -aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNlcnZlciBDQTEoMCYGCSqGSIb3DQEJARYZ -cHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2 -aovXwlue2oFBYo847kkEVdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIh -Udib0GfQug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMRuHM/ -qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQAm -SCwWwlj66BZ0DKqqX1Q/8tfJeGBeXm43YyJ3Nn6yF8Q0ufUIhfzJATj/Tb7yFkJD57taRvvBxhEf -8UqwKEbJw8RCfbz6q1lu1bdRiBHjpIUZa4JMpAwSremkrj/xw0llmozFyD4lt5SZu5IycQfwhl7t -UCemDaYj+bvLpgcUQg== ------END CERTIFICATE----- - -Equifax Secure CA -================= ------BEGIN CERTIFICATE----- -MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJVUzEQMA4GA1UE -ChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 -MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoT -B0VxdWlmYXgxLTArBgNVBAsTJEVxdWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCB -nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPR -fM6fBeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+AcJkVV5MW -8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kCAwEAAaOCAQkwggEFMHAG -A1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UE -CxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoG -A1UdEAQTMBGBDzIwMTgwODIyMTY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvS -spXXR9gjIBBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdEwQFMAMB -Af8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUAA4GBAFjOKer89961 -zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y7qj/WsjTVbJmcVfewCHrPSqnI0kB -BIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee95 -70+sB3c4 ------END CERTIFICATE----- - -Digital Signature Trust Co. Global CA 1 -======================================= ------BEGIN CERTIFICATE----- -MIIDKTCCApKgAwIBAgIENnAVljANBgkqhkiG9w0BAQUFADBGMQswCQYDVQQGEwJVUzEkMCIGA1UE -ChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMREwDwYDVQQLEwhEU1RDQSBFMTAeFw05ODEy -MTAxODEwMjNaFw0xODEyMTAxODQwMjNaMEYxCzAJBgNVBAYTAlVTMSQwIgYDVQQKExtEaWdpdGFs -IFNpZ25hdHVyZSBUcnVzdCBDby4xETAPBgNVBAsTCERTVENBIEUxMIGdMA0GCSqGSIb3DQEBAQUA -A4GLADCBhwKBgQCgbIGpzzQeJN3+hijM3oMv+V7UQtLodGBmE5gGHKlREmlvMVW5SXIACH7TpWJE -NySZj9mDSI+ZbZUTu0M7LklOiDfBu1h//uG9+LthzfNHwJmm8fOR6Hh8AMthyUQncWlVSn5JTe2i -o74CTADKAqjuAQIxZA9SLRN0dja1erQtcQIBA6OCASQwggEgMBEGCWCGSAGG+EIBAQQEAwIABzBo -BgNVHR8EYTBfMF2gW6BZpFcwVTELMAkGA1UEBhMCVVMxJDAiBgNVBAoTG0RpZ2l0YWwgU2lnbmF0 -dXJlIFRydXN0IENvLjERMA8GA1UECxMIRFNUQ0EgRTExDTALBgNVBAMTBENSTDEwKwYDVR0QBCQw -IoAPMTk5ODEyMTAxODEwMjNagQ8yMDE4MTIxMDE4MTAyM1owCwYDVR0PBAQDAgEGMB8GA1UdIwQY -MBaAFGp5fpFpRhgTCgJ3pVlbYJglDqL4MB0GA1UdDgQWBBRqeX6RaUYYEwoCd6VZW2CYJQ6i+DAM -BgNVHRMEBTADAQH/MBkGCSqGSIb2fQdBAAQMMAobBFY0LjADAgSQMA0GCSqGSIb3DQEBBQUAA4GB -ACIS2Hod3IEGtgllsofIH160L+nEHvI8wbsEkBFKg05+k7lNQseSJqBcNJo4cvj9axY+IO6CizEq -kzaFI4iKPANo08kJD038bKTaKHKTDomAsH3+gG9lbRgzl4vCa4nuYD3Im+9/KzJic5PLPON74nZ4 -RbyhkwS7hp86W0N6w4pl ------END CERTIFICATE----- - -Digital Signature Trust Co. Global CA 3 -======================================= ------BEGIN CERTIFICATE----- -MIIDKTCCApKgAwIBAgIENm7TzjANBgkqhkiG9w0BAQUFADBGMQswCQYDVQQGEwJVUzEkMCIGA1UE -ChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMREwDwYDVQQLEwhEU1RDQSBFMjAeFw05ODEy -MDkxOTE3MjZaFw0xODEyMDkxOTQ3MjZaMEYxCzAJBgNVBAYTAlVTMSQwIgYDVQQKExtEaWdpdGFs -IFNpZ25hdHVyZSBUcnVzdCBDby4xETAPBgNVBAsTCERTVENBIEUyMIGdMA0GCSqGSIb3DQEBAQUA -A4GLADCBhwKBgQC/k48Xku8zExjrEH9OFr//Bo8qhbxe+SSmJIi2A7fBw18DW9Fvrn5C6mYjuGOD -VvsoLeE4i7TuqAHhzhy2iCoiRoX7n6dwqUcUP87eZfCocfdPJmyMvMa1795JJ/9IKn3oTQPMx7JS -xhcxEzu1TdvIxPbDDyQq2gyd55FbgM2UnQIBA6OCASQwggEgMBEGCWCGSAGG+EIBAQQEAwIABzBo -BgNVHR8EYTBfMF2gW6BZpFcwVTELMAkGA1UEBhMCVVMxJDAiBgNVBAoTG0RpZ2l0YWwgU2lnbmF0 -dXJlIFRydXN0IENvLjERMA8GA1UECxMIRFNUQ0EgRTIxDTALBgNVBAMTBENSTDEwKwYDVR0QBCQw -IoAPMTk5ODEyMDkxOTE3MjZagQ8yMDE4MTIwOTE5MTcyNlowCwYDVR0PBAQDAgEGMB8GA1UdIwQY -MBaAFB6CTShlgDzJQW6sNS5ay97u+DlbMB0GA1UdDgQWBBQegk0oZYA8yUFurDUuWsve7vg5WzAM -BgNVHRMEBTADAQH/MBkGCSqGSIb2fQdBAAQMMAobBFY0LjADAgSQMA0GCSqGSIb3DQEBBQUAA4GB -AEeNg61i8tuwnkUiBbmi1gMOOHLnnvx75pO2mqWilMg0HZHRxdf0CiUPPXiBng+xZ8SQTGPdXqfi -up/1902lMXucKS1M/mQ+7LZT/uqb7YLbdHVLB3luHtgZg3Pe9T7Qtd7nS2h9Qy4qIOF+oHhEngj1 -mPnHfxsb1gYgAlihw6ID ------END CERTIFICATE----- - -Verisign Class 3 Public Primary Certification Authority -======================================================= ------BEGIN CERTIFICATE----- -MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5 -IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVow -XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz -IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94 -f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol -hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBAgUAA4GBALtMEivPLCYA -TxQT3ab7/AoRhIzzKBxnki98tsX63/Dolbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59Ah -WM1pF+NEHJwZRDmJXNycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2Omuf -Tqj/ZA1k ------END CERTIFICATE----- - -Verisign Class 1 Public Primary Certification Authority - G2 -============================================================ ------BEGIN CERTIFICATE----- -MIIDAjCCAmsCEEzH6qqYPnHTkxD4PTqJkZIwDQYJKoZIhvcNAQEFBQAwgcExCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMSBQdWJsaWMgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln -biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz -dCBOZXR3b3JrMB4XDTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMSBQdWJsaWMgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln -biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz -dCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq0Lq+Fi24g9TK0g+8djHKlNgd -k4xWArzZbxpvUjZudVYKVdPfQ4chEWWKfo+9Id5rMj8bhDSVBZ1BNeuS65bdqlk/AVNtmU/t5eIq -WpDBucSmFc/IReumXY6cPvBkJHalzasab7bYe1FhbqZ/h8jit+U03EGI6glAvnOSPWvndQIDAQAB -MA0GCSqGSIb3DQEBBQUAA4GBAKlPww3HZ74sy9mozS11534Vnjty637rXC0Jh9ZrbWB85a7FkCMM -XErQr7Fd88e2CtvgFZMN3QO8x3aKtd1Pw5sTdbgBwObJW2uluIncrKTdcu1OofdPvAbT6shkdHvC -lUGcZXNY8ZCaPGqxmMnEh7zPRW1F4m4iP/68DzFc6PLZ ------END CERTIFICATE----- - -Verisign Class 2 Public Primary Certification Authority - G2 -============================================================ ------BEGIN CERTIFICATE----- -MIIDAzCCAmwCEQC5L2DMiJ+hekYJuFtwbIqvMA0GCSqGSIb3DQEBBQUAMIHBMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xPDA6BgNVBAsTM0NsYXNzIDIgUHVibGljIFByaW1h -cnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjE6MDgGA1UECxMxKGMpIDE5OTggVmVyaVNp -Z24sIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 -c3QgTmV0d29yazAeFw05ODA1MTgwMDAwMDBaFw0yODA4MDEyMzU5NTlaMIHBMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xPDA6BgNVBAsTM0NsYXNzIDIgUHVibGljIFByaW1h -cnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjE6MDgGA1UECxMxKGMpIDE5OTggVmVyaVNp -Z24sIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 -c3QgTmV0d29yazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAp4gBIXQs5xoD8JjhlzwPIQjx -nNuX6Zr8wgQGE75fUsjMHiwSViy4AWkszJkfrbCWrnkE8hM5wXuYuggs6MKEEyyqaekJ9MepAqRC -wiNPStjwDqL7MWzJ5m+ZJwf15vRMeJ5t60aG+rmGyVTyssSv1EYcWskVMP8NbPUtDm3Of3cCAwEA -ATANBgkqhkiG9w0BAQUFAAOBgQByLvl/0fFx+8Se9sVeUYpAmLho+Jscg9jinb3/7aHmZuovCfTK -1+qlK5X2JGCGTUQug6XELaDTrnhpb3LabK4I8GOSN+a7xDAXrXfMSTWqz9iP0b63GJZHc2pUIjRk -LbYWm1lbtFFZOrMLFPQS32eg9K0yZF6xRnInjBJ7xUS0rg== ------END CERTIFICATE----- - -Verisign Class 3 Public Primary Certification Authority - G2 -============================================================ ------BEGIN CERTIFICATE----- -MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln -biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz -dCBOZXR3b3JrMB4XDTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln -biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz -dCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMXtERXVxp0KvTuWpMmR9ZmDCO -FoUgRm1HP9SFIIThbbP4pO0M8RcPO/mn+SXXwc+EY/J8Y8+iR/LGWzOOZEAEaMGAuWQcRXfH2G71 -lSk8UOg013gfqLptQ5GVj0VXXn7F+8qkBOvqlzdUMG+7AUcyM83cV5tkaWH4mx0ciU9cZwIDAQAB -MA0GCSqGSIb3DQEBBQUAA4GBAFFNzb5cy5gZnBWyATl4Lk0PZ3BwmcYQWpSkU01UbSuvDV1Ai2TT -1+7eVmGSX6bEHRBhNtMsJzzoKQm5EWR0zLVznxxIqbxhAe7iF6YM40AIOw7n60RzKprxaZLvcRTD -Oaxxp5EJb+RxBrO6WVcmeQD2+A2iMzAo1KpYoJ2daZH9 ------END CERTIFICATE----- - -GlobalSign Root CA -================== ------BEGIN CERTIFICATE----- -MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkGA1UEBhMCQkUx -GTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jvb3QgQ0ExGzAZBgNVBAMTEkds -b2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAwMDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNV -BAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYD -VQQDExJHbG9iYWxTaWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDa -DuaZjc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavpxy0Sy6sc -THAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp1Wrjsok6Vjk4bwY8iGlb -Kk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdGsnUOhugZitVtbNV4FpWi6cgKOOvyJBNP -c1STE4U6G7weNLWLBYy5d4ux2x8gkasJU26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrX -gzT/LCrBbBlDSgeF59N89iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV -HRMBAf8EBTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0BAQUF -AAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOzyj1hTdNGCbM+w6Dj -Y1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE38NflNUVyRRBnMRddWQVDf9VMOyG -j/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymPAbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhH -hm4qxFYxldBniYUr+WymXUadDKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveC -X4XSQRjbgbMEHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A== ------END CERTIFICATE----- - -GlobalSign Root CA - R2 -======================= ------BEGIN CERTIFICATE----- -MIIDujCCAqKgAwIBAgILBAAAAAABD4Ym5g0wDQYJKoZIhvcNAQEFBQAwTDEgMB4GA1UECxMXR2xv -YmFsU2lnbiBSb290IENBIC0gUjIxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2Jh -bFNpZ24wHhcNMDYxMjE1MDgwMDAwWhcNMjExMjE1MDgwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxT -aWduIFJvb3QgQ0EgLSBSMjETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2ln -bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKbPJA6+Lm8omUVCxKs+IVSbC9N/hHD6 -ErPLv4dfxn+G07IwXNb9rfF73OX4YJYJkhD10FPe+3t+c4isUoh7SqbKSaZeqKeMWhG8eoLrvozp -s6yWJQeXSpkqBy+0Hne/ig+1AnwblrjFuTosvNYSuetZfeLQBoZfXklqtTleiDTsvHgMCJiEbKjN -S7SgfQx5TfC4LcshytVsW33hoCmEofnTlEnLJGKRILzdC9XZzPnqJworc5HGnRusyMvo4KD0L5CL -TfuwNhv2GXqF4G3yYROIXJ/gkwpRl4pazq+r1feqCapgvdzZX99yqWATXgAByUr6P6TqBwMhAo6C -ygPCm48CAwEAAaOBnDCBmTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E -FgQUm+IHV2ccHsBqBt5ZtJot39wZhi4wNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2NybC5nbG9i -YWxzaWduLm5ldC9yb290LXIyLmNybDAfBgNVHSMEGDAWgBSb4gdXZxwewGoG3lm0mi3f3BmGLjAN -BgkqhkiG9w0BAQUFAAOCAQEAmYFThxxol4aR7OBKuEQLq4GsJ0/WwbgcQ3izDJr86iw8bmEbTUsp -9Z8FHSbBuOmDAGJFtqkIk7mpM0sYmsL4h4hO291xNBrBVNpGP+DTKqttVCL1OmLNIG+6KYnX3ZHu -01yiPqFbQfXf5WRDLenVOavSot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG7 -9G+dwfCMNYxdAfvDbbnvRG15RjF+Cv6pgsH/76tuIMRQyV+dTZsXjAzlAcmgQWpzU/qlULRuJQ/7 -TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg== ------END CERTIFICATE----- - -ValiCert Class 1 VA -=================== ------BEGIN CERTIFICATE----- -MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp -b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs -YXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZh -bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNTIy -MjM0OFoXDTE5MDYyNTIyMjM0OFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 -d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDEg -UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 -LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDYWYJ6ibiWuqYvaG9YLqdUHAZu9OqNSLwxlBfw8068srg1knaw0KWlAdcAAxIi -GQj4/xEjm84H9b9pGib+TunRf50sQB1ZaG6m+FiwnRqP0z/x3BkGgagO4DrdyFNFCQbmD3DD+kCm -DuJWBQ8YTfwggtFzVXSNdnKgHZ0dwN0/cQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFBoPUn0LBwG -lN+VYH+Wexf+T3GtZMjdd9LvWVXoP+iOBSoh8gfStadS/pyxtuJbdxdA6nLWI8sogTLDAHkY7FkX -icnGah5xyf23dKUlRWnFSKsZ4UWKJWsZ7uW7EvV/96aNUcPwnXS3qT6gpf+2SQMT2iLM7XGCK5nP -Orf1LXLI ------END CERTIFICATE----- - -ValiCert Class 2 VA -=================== ------BEGIN CERTIFICATE----- -MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp -b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs -YXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZh -bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAw -MTk1NFoXDTE5MDYyNjAwMTk1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 -d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIg -UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 -LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDOOnHK5avIWZJV16vYdA757tn2VUdZZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVC -CSRrCl6zfN1SLUzm1NZ9WlmpZdRJEy0kTRxQb7XBhVQ7/nHk01xC+YDgkRoKWzk2Z/M/VXwbP7Rf -ZHM047QSv4dk+NoS/zcnwbNDu+97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBADt/UG9vUJSZ -SWI4OB9L+KXIPqeCgfYrx+jFzug6EILLGACOTb2oWH+heQC1u+mNr0HZDzTuIYEZoDJJKPTEjlbV -UjP9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4QssxsodyamEwCW/POuZ6lcg5Ktz885hZo+L7tdEy8 -W9ViH0Pd ------END CERTIFICATE----- - -RSA Root Certificate 1 -====================== ------BEGIN CERTIFICATE----- -MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp -b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs -YXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZh -bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAw -MjIzM1oXDTE5MDYyNjAwMjIzM1owgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 -d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDMg -UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 -LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDjmFGWHOjVsQaBalfDcnWTq8+epvzzFlLWLU2fNUSoLgRNB0mKOCn1dzfnt6td -3zZxFJmP3MKS8edgkpfs2Ejcv8ECIMYkpChMMFp2bbFc893enhBxoYjHW5tBbcqwuI4V7q0zK89H -BFx1cQqYJJgpp0lZpd34t0NiYfPT4tBVPwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFa7AliEZwgs -3x/be0kz9dNnnfS0ChCzycUs4pJqcXgn8nCDQtM+z6lU9PHYkhaM0QTLS6vJn0WuPIqpsHEzXcjF -V9+vqDWzf4mH6eglkrh/hXqu1rweN1gqZ8mRzyqBPu3GOd/APhmcGcwTTYJBtYze4D1gCCAPRX5r -on+jjBXu ------END CERTIFICATE----- - -Verisign Class 1 Public Primary Certification Authority - G3 -============================================================ ------BEGIN CERTIFICATE----- -MIIEGjCCAwICEQCLW3VWhFSFCwDPrzhIzrGkMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv -cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl -IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDEgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw -CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy -dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDEgUHVibGljIFByaW1hcnkg -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAN2E1Lm0+afY8wR4nN493GwTFtl63SRRZsDHJlkNrAYIwpTRMx/wgzUfbhvI3qpuFU5UJ+/E -bRrsC+MO8ESlV8dAWB6jRx9x7GD2bZTIGDnt/kIYVt/kTEkQeE4BdjVjEjbdZrwBBDajVWjVojYJ -rKshJlQGrT/KFOCsyq0GHZXi+J3x4GD/wn91K0zM2v6HmSHquv4+VNfSWXjbPG7PoBMAGrgnoeS+ -Z5bKoMWznN3JdZ7rMJpfo83ZrngZPyPpXNspva1VyBtUjGP26KbqxzcSXKMpHgLZ2x87tNcPVkeB -FQRKr4Mn0cVYiMHd9qqnoxjaaKptEVHhv2Vrn5Z20T0CAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA -q2aN17O6x5q25lXQBfGfMY1aqtmqRiYPce2lrVNWYgFHKkTp/j90CxObufRNG7LRX7K20ohcs5/N -y9Sn2WCVhDr4wTcdYcrnsMXlkdpUpqwxga6X3s0IrLjAl4B/bnKk52kTlWUfxJM8/XmPBNQ+T+r3 -ns7NZ3xPZQL/kYVUc8f/NveGLezQXk//EZ9yBta4GvFMDSZl4kSAHsef493oCtrspSCAaWihT37h -a88HQfqDjrw43bAuEbFrskLMmrz5SCJ5ShkPshw+IHTZasO+8ih4E1Z5T21Q6huwtVexN2ZYI/Pc -D98Kh8TvhgXVOBRgmaNL3gaWcSzy27YfpO8/7g== ------END CERTIFICATE----- - -Verisign Class 2 Public Primary Certification Authority - G3 -============================================================ ------BEGIN CERTIFICATE----- -MIIEGTCCAwECEGFwy0mMX5hFKeewptlQW3owDQYJKoZIhvcNAQEFBQAwgcoxCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y -azE6MDgGA1UECxMxKGMpIDE5OTkgVmVyaVNpZ24sIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ug -b25seTFFMEMGA1UEAxM8VmVyaVNpZ24gQ2xhc3MgMiBQdWJsaWMgUHJpbWFyeSBDZXJ0aWZpY2F0 -aW9uIEF1dGhvcml0eSAtIEczMB4XDTk5MTAwMTAwMDAwMFoXDTM2MDcxNjIzNTk1OVowgcoxCzAJ -BgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 -c3QgTmV0d29yazE6MDgGA1UECxMxKGMpIDE5OTkgVmVyaVNpZ24sIEluYy4gLSBGb3IgYXV0aG9y -aXplZCB1c2Ugb25seTFFMEMGA1UEAxM8VmVyaVNpZ24gQ2xhc3MgMiBQdWJsaWMgUHJpbWFyeSBD -ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEArwoNwtUs22e5LeWUJ92lvuCwTY+zYVY81nzD9M0+hsuiiOLh2KRpxbXiv8GmR1BeRjmL1Za6 -tW8UvxDOJxOeBUebMXoT2B/Z0wI3i60sR/COgQanDTAM6/c8DyAd3HJG7qUCyFvDyVZpTMUYwZF7 -C9UTAJu878NIPkZgIIUq1ZC2zYugzDLdt/1AVbJQHFauzI13TccgTacxdu9okoqQHgiBVrKtaaNS -0MscxCM9H5n+TOgWY47GCI72MfbS+uV23bUckqNJzc0BzWjNqWm6o+sdDZykIKbBoMXRRkwXbdKs -Zj+WjOCE1Db/IlnF+RFgqF8EffIa9iVCYQ/ESrg+iQIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQA0 -JhU8wI1NQ0kdvekhktdmnLfexbjQ5F1fdiLAJvmEOjr5jLX77GDx6M4EsMjdpwOPMPOY36TmpDHf -0xwLRtxyID+u7gU8pDM/CzmscHhzS5kr3zDCVLCoO1Wh/hYozUK9dG6A2ydEp85EXdQbkJgNHkKU -sQAsBNB0owIFImNjzYO1+8FtYmtpdf1dcEG59b98377BMnMiIYtYgXsVkXq642RIsH/7NiXaldDx -JBQX3RiAa0YjOVT1jmIJBB2UkKab5iXiQkWquJCtvgiPqQtCGJTPcjnhsUPgKM+351psE2tJs//j -GHyJizNdrDPXp/naOlXJWBD5qu9ats9LS98q ------END CERTIFICATE----- - -Verisign Class 3 Public Primary Certification Authority - G3 -============================================================ ------BEGIN CERTIFICATE----- -MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv -cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl -IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw -CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy -dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkg -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAMu6nFL8eB8aHm8bN3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1 -EUGO+i2tKmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGukxUc -cLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBmCC+Vk7+qRy+oRpfw -EuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJXwzw3sJ2zq/3avL6QaaiMxTJ5Xpj -055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWuimi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA -ERSWwauSCPc/L8my/uRan2Te2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5f -j267Cz3qWhMeDGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC -/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565pF4ErWjfJXir0 -xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGtTxzhT5yvDwyd93gN2PQ1VoDa -t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ== ------END CERTIFICATE----- - -Verisign Class 4 Public Primary Certification Authority - G3 -============================================================ ------BEGIN CERTIFICATE----- -MIIEGjCCAwICEQDsoKeLbnVqAc/EfMwvlF7XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv -cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl -IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw -CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy -dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDQgUHVibGljIFByaW1hcnkg -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAK3LpRFpxlmr8Y+1GQ9Wzsy1HyDkniYlS+BzZYlZ3tCD5PUPtbut8XzoIfzk6AzufEUiGXaS -tBO3IFsJ+mGuqPKljYXCKtbeZjbSmwL0qJJgfJxptI8kHtCGUvYynEFYHiK9zUVilQhu0GbdU6LM -8BDcVHOLBKFGMzNcF0C5nk3T875Vg+ixiY5afJqWIpA7iCXy0lOIAgwLePLmNxdLMEYH5IBtptiW -Lugs+BGzOA1mppvqySNb247i8xOOGlktqgLw7KSHZtzBP/XYufTsgsbSPZUd5cBPhMnZo0QoBmrX -Razwa2rvTl/4EYIeOGM0ZlDUPpNz+jDDZq3/ky2X7wMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA -j/ola09b5KROJ1WrIhVZPMq1CtRK26vdoV9TxaBXOcLORyu+OshWv8LZJxA6sQU8wHcxuzrTBXtt -mhwwjIDLk5Mqg6sFUYICABFna/OIYUdfA5PVWw3g8dShMjWFsjrbsIKr0csKvE+MW8VLADsfKoKm -fjaF3H48ZwC15DtS4KjrXRX5xm3wrR0OhbepmnMUWluPQSjA1egtTaRezarZ7c7c2NU8Qh0XwRJd -RTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/bLvSHgCwIe34QWKCudiyxLtG -UPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg== ------END CERTIFICATE----- - -Entrust.net Secure Server CA -============================ ------BEGIN CERTIFICATE----- -MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMCVVMxFDASBgNV -BAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5uZXQvQ1BTIGluY29ycC4gYnkg -cmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRl -ZDE6MDgGA1UEAxMxRW50cnVzdC5uZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhv -cml0eTAeFw05OTA1MjUxNjA5NDBaFw0xOTA1MjUxNjM5NDBaMIHDMQswCQYDVQQGEwJVUzEUMBIG -A1UEChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5jb3JwLiBi -eSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBFbnRydXN0Lm5ldCBMaW1p -dGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENlcnRpZmljYXRpb24gQXV0 -aG9yaXR5MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDNKIM0VBuJ8w+vN5Ex/68xYMmo6LIQ -aO2f55M28Qpku0f1BBc/I0dNxScZgSYMVHINiC3ZH5oSn7yzcdOAGT9HZnuMNSjSuQrfJNqc1lB5 -gXpa0zf3wkrYKZImZNHkmGw6AIr1NJtl+O3jEP/9uElY3KDegjlrgbEWGWG5VLbmQwIBA6OCAdcw -ggHTMBEGCWCGSAGG+EIBAQQEAwIABzCCARkGA1UdHwSCARAwggEMMIHeoIHboIHYpIHVMIHSMQsw -CQYDVQQGEwJVUzEUMBIGA1UEChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5l -dC9DUFMgaW5jb3JwLiBieSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBF -bnRydXN0Lm5ldCBMaW1pdGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENl -cnRpZmljYXRpb24gQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMCmgJ6AlhiNodHRwOi8vd3d3LmVu -dHJ1c3QubmV0L0NSTC9uZXQxLmNybDArBgNVHRAEJDAigA8xOTk5MDUyNTE2MDk0MFqBDzIwMTkw -NTI1MTYwOTQwWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAU8BdiE1U9s/8KAGv7UISX8+1i0Bow -HQYDVR0OBBYEFPAXYhNVPbP/CgBr+1CEl/PtYtAaMAwGA1UdEwQFMAMBAf8wGQYJKoZIhvZ9B0EA -BAwwChsEVjQuMAMCBJAwDQYJKoZIhvcNAQEFBQADgYEAkNwwAvpkdMKnCqV8IY00F6j7Rw7/JXyN -Ewr75Ji174z4xRAN95K+8cPV1ZVqBLssziY2ZcgxxufuP+NXdYR6Ee9GTxj005i7qIcyunL2POI9 -n9cd2cNgQ4xYDiKWL2KjLB+6rQXvqzJ4h6BUcxm1XAX5Uj5tLUUL9wqT6u0G+bI= ------END CERTIFICATE----- - -Entrust.net Premium 2048 Secure Server CA -========================================= ------BEGIN CERTIFICATE----- -MIIEXDCCA0SgAwIBAgIEOGO5ZjANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChMLRW50cnVzdC5u -ZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBpbmNvcnAuIGJ5IHJlZi4gKGxp -bWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNV -BAMTKkVudHJ1c3QubmV0IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQx -NzUwNTFaFw0xOTEyMjQxODIwNTFaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3 -d3d3LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTEl -MCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEGA1UEAxMqRW50cnVzdC5u -ZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgpMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEArU1LqRKGsuqjIAcVFmQqK0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOL -Gp18EzoOH1u3Hs/lJBQesYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3edVc3kw37XamSr -hRSGlVuXMlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4LeksyZB2ZnuU4q941mVTXTzW -nLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5CFVghTAp+XtIpGmG4zU/HoZdenoVve8AjhUi -VBcAkCaTvA5JaJG/+EfTnZVCwQ5N328mz8MYIWJmQ3DW1cAH4QIDAQABo3QwcjARBglghkgBhvhC -AQEEBAMCAAcwHwYDVR0jBBgwFoAUVeSB0RGAvtiJuQijMfmhJAkWuXAwHQYDVR0OBBYEFFXkgdER -gL7YibkIozH5oSQJFrlwMB0GCSqGSIb2fQdBAAQQMA4bCFY1LjA6NC4wAwIEkDANBgkqhkiG9w0B -AQUFAAOCAQEAWUesIYSKF8mciVMeuoCFGsY8Tj6xnLZ8xpJdGGQC49MGCBFhfGPjK50xA3B20qMo -oPS7mmNz7W3lKtvtFKkrxjYR0CvrB4ul2p5cGZ1WEvVUKcgF7bISKo30Axv/55IQh7A6tcOdBTcS -o8f0FbnVpDkWm1M6I5HxqIKiaohowXkCIryqptau37AUX7iH0N18f3v/rxzP5tsHrV7bhZ3QKw0z -2wTR5klAEyt2+z7pnIkPFc4YsIV4IU9rTw76NmfNB/L/CNDi3tm/Kq+4h4YhPATKt5Rof8886ZjX -OP/swNlQ8C5LWK5Gb9Auw2DaclVyvUxFnmG6v4SBkgPR0ml8xQ== ------END CERTIFICATE----- - -Baltimore CyberTrust Root -========================= ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJRTESMBAGA1UE -ChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYDVQQDExlCYWx0aW1vcmUgQ3li -ZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoXDTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMC -SUUxEjAQBgNVBAoTCUJhbHRpbW9yZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFs -dGltb3JlIEN5YmVyVHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKME -uyKrmD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjrIZ3AQSsB -UnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeKmpYcqWe4PwzV9/lSEy/C -G9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSuXmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9 -XbIGevOF6uvUA65ehD5f/xXtabz5OTZydc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjpr -l3RjM71oGDHweI12v/yejl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoI -VDaGezq1BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEB -BQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT929hkTI7gQCvlYpNRh -cL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3WgxjkzSswF07r51XgdIGn9w/xZchMB5 -hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsa -Y71k5h+3zvDyny67G7fyUIhzksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9H -RCwBXbsdtTLSR9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp ------END CERTIFICATE----- - -Equifax Secure Global eBusiness CA -================================== ------BEGIN CERTIFICATE----- -MIICkDCCAfmgAwIBAgIBATANBgkqhkiG9w0BAQQFADBaMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -RXF1aWZheCBTZWN1cmUgSW5jLjEtMCsGA1UEAxMkRXF1aWZheCBTZWN1cmUgR2xvYmFsIGVCdXNp -bmVzcyBDQS0xMB4XDTk5MDYyMTA0MDAwMFoXDTIwMDYyMTA0MDAwMFowWjELMAkGA1UEBhMCVVMx -HDAaBgNVBAoTE0VxdWlmYXggU2VjdXJlIEluYy4xLTArBgNVBAMTJEVxdWlmYXggU2VjdXJlIEds -b2JhbCBlQnVzaW5lc3MgQ0EtMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuucXkAJlsTRV -PEnCUdXfp9E3j9HngXNBUmCbnaEXJnitx7HoJpQytd4zjTov2/KaelpzmKNc6fuKcxtc58O/gGzN -qfTWK8D3+ZmqY6KxRwIP1ORROhI8bIpaVIRw28HFkM9yRcuoWcDNM50/o5brhTMhHD4ePmBudpxn -hcXIw2ECAwEAAaNmMGQwEQYJYIZIAYb4QgEBBAQDAgAHMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j -BBgwFoAUvqigdHJQa0S3ySPY+6j/s1draGwwHQYDVR0OBBYEFL6ooHRyUGtEt8kj2Puo/7NXa2hs -MA0GCSqGSIb3DQEBBAUAA4GBADDiAVGqx+pf2rnQZQ8w1j7aDRRJbpGTJxQx78T3LUX47Me/okEN -I7SS+RkAZ70Br83gcfxaz2TE4JaY0KNA4gGK7ycH8WUBikQtBmV1UsCGECAhX2xrD2yuCRyv8qIY -NMR1pHMc8Y3c7635s3a0kr/clRAevsvIO1qEYBlWlKlV ------END CERTIFICATE----- - -Equifax Secure eBusiness CA 1 -============================= ------BEGIN CERTIFICATE----- -MIICgjCCAeugAwIBAgIBBDANBgkqhkiG9w0BAQQFADBTMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -RXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNzIENB -LTEwHhcNOTkwNjIxMDQwMDAwWhcNMjAwNjIxMDQwMDAwWjBTMQswCQYDVQQGEwJVUzEcMBoGA1UE -ChMTRXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNz -IENBLTEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAM4vGbwXt3fek6lfWg0XTzQaDJj0ItlZ -1MRoRvC0NcWFAyDGr0WlIVFFQesWWDYyb+JQYmT5/VGcqiTZ9J2DKocKIdMSODRsjQBuWqDZQu4a -IZX5UkxVWsUPOE9G+m34LjXWHXzr4vCwdYDIqROsvojvOm6rXyo4YgKwEnv+j6YDAgMBAAGjZjBk -MBEGCWCGSAGG+EIBAQQEAwIABzAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFEp4MlIR21kW -Nl7fwRQ2QGpHfEyhMB0GA1UdDgQWBBRKeDJSEdtZFjZe38EUNkBqR3xMoTANBgkqhkiG9w0BAQQF -AAOBgQB1W6ibAxHm6VZMzfmpTMANmvPMZWnmJXbMWbfWVMMdzZmsGd20hdXgPfxiIKeES1hl8eL5 -lSE/9dR+WB5Hh1Q+WKG1tfgq73HnvMP2sUlG4tega+VWeponmHxGYhTnyfxuAxJ5gDgdSIKN/Bf+ -KpYrtWKmpj29f5JZzVoqgrI3eQ== ------END CERTIFICATE----- - -Equifax Secure eBusiness CA 2 -============================= ------BEGIN CERTIFICATE----- -MIIDIDCCAomgAwIBAgIEN3DPtTANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJVUzEXMBUGA1UE -ChMORXF1aWZheCBTZWN1cmUxJjAkBgNVBAsTHUVxdWlmYXggU2VjdXJlIGVCdXNpbmVzcyBDQS0y -MB4XDTk5MDYyMzEyMTQ0NVoXDTE5MDYyMzEyMTQ0NVowTjELMAkGA1UEBhMCVVMxFzAVBgNVBAoT -DkVxdWlmYXggU2VjdXJlMSYwJAYDVQQLEx1FcXVpZmF4IFNlY3VyZSBlQnVzaW5lc3MgQ0EtMjCB -nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA5Dk5kx5SBhsoNviyoynF7Y6yEb3+6+e0dMKP/wXn -2Z0GvxLIPw7y1tEkshHe0XMJitSxLJgJDR5QRrKDpkWNYmi7hRsgcDKqQM2mll/EcTc/BPO3QSQ5 -BxoeLmFYoBIL5aXfxavqN3HMHMg3OrmXUqesxWoklE6ce8/AatbfIb0CAwEAAaOCAQkwggEFMHAG -A1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEXMBUGA1UEChMORXF1aWZheCBTZWN1cmUx -JjAkBgNVBAsTHUVxdWlmYXggU2VjdXJlIGVCdXNpbmVzcyBDQS0yMQ0wCwYDVQQDEwRDUkwxMBoG -A1UdEAQTMBGBDzIwMTkwNjIzMTIxNDQ1WjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUUJ4L6q9e -uSBIplBqy/3YIHqngnYwHQYDVR0OBBYEFFCeC+qvXrkgSKZQasv92CB6p4J2MAwGA1UdEwQFMAMB -Af8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUAA4GBAAyGgq3oThr1 -jokn4jVYPSm0B482UJW/bsGe68SQsoWou7dC4A8HOd/7npCy0cE+U58DRLB+S/Rv5Hwf5+Kx5Lia -78O9zt4LMjTZ3ijtM2vE1Nc9ElirfQkty3D1E4qUoSek1nDFbZS1yX2doNLGCEnZZpum0/QL3MUm -V+GRMOrN ------END CERTIFICATE----- - -AddTrust Low-Value Services Root -================================ ------BEGIN CERTIFICATE----- -MIIEGDCCAwCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJTRTEUMBIGA1UEChML -QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYDVQQDExhBZGRU -cnVzdCBDbGFzcyAxIENBIFJvb3QwHhcNMDAwNTMwMTAzODMxWhcNMjAwNTMwMTAzODMxWjBlMQsw -CQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBO -ZXR3b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwggEiMA0GCSqGSIb3DQEB -AQUAA4IBDwAwggEKAoIBAQCWltQhSWDia+hBBwzexODcEyPNwTXH+9ZOEQpnXvUGW2ulCDtbKRY6 -54eyNAbFvAWlA3yCyykQruGIgb3WntP+LVbBFc7jJp0VLhD7Bo8wBN6ntGO0/7Gcrjyvd7ZWxbWr -oulpOj0OM3kyP3CCkplhbY0wCI9xP6ZIVxn4JdxLZlyldI+Yrsj5wAYi56xz36Uu+1LcsRVlIPo1 -Zmne3yzxbrww2ywkEtvrNTVokMsAsJchPXQhI2U0K7t4WaPW4XY5mqRJjox0r26kmqPZm9I4XJui -GMx1I4S+6+JNM3GOGvDC+Mcdoq0Dlyz4zyXG9rgkMbFjXZJ/Y/AlyVMuH79NAgMBAAGjgdIwgc8w -HQYDVR0OBBYEFJWxtPCUtr3H2tERCSG+wa9J/RB7MAsGA1UdDwQEAwIBBjAPBgNVHRMBAf8EBTAD -AQH/MIGPBgNVHSMEgYcwgYSAFJWxtPCUtr3H2tERCSG+wa9J/RB7oWmkZzBlMQswCQYDVQQGEwJT -RTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEw -HwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBACxt -ZBsfzQ3duQH6lmM0MkhHma6X7f1yFqZzR1r0693p9db7RcwpiURdv0Y5PejuvE1Uhh4dbOMXJ0Ph -iVYrqW9yTkkz43J8KiOavD7/KCrto/8cI7pDVwlnTUtiBi34/2ydYB7YHEt9tTEv2dB8Xfjea4MY -eDdXL+gzB2ffHsdrKpV2ro9Xo/D0UrSpUwjP4E/TelOL/bscVjby/rK25Xa71SJlpz/+0WatC7xr -mYbvP33zGDLKe8bjq2RGlfgmadlVg3sslgf/WSxEo8bl6ancoWOAWiFeIc9TVPC6b4nbqKqVz4vj -ccweGyBECMB6tkD9xOQ14R0WHNC8K47Wcdk= ------END CERTIFICATE----- - -AddTrust External Root -====================== ------BEGIN CERTIFICATE----- -MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEUMBIGA1UEChML -QWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYD -VQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEw -NDgzOFowbzELMAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRU -cnVzdCBFeHRlcm5hbCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0Eg -Um9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvtH7xsD821 -+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9uMq/NzgtHj6RQa1wVsfw -Tz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzXmk6vBbOmcZSccbNQYArHE504B4YCqOmo -aSYYkKtMsE8jqzpPhNjfzp/haW+710LXa0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy -2xSoRcRdKn23tNbE7qzNE0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv7 -7+ldU9U0WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYDVR0P -BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0Jvf6xCZU7wO94CTL -VBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRk -VHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENB -IFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZl -j7DYd7usQWxHYINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5 -6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvCNr4TDea9Y355 -e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEXc4g/VhsxOBi0cQ+azcgOno4u -G+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5amnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ= ------END CERTIFICATE----- - -AddTrust Public Services Root -============================= ------BEGIN CERTIFICATE----- -MIIEFTCCAv2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBkMQswCQYDVQQGEwJTRTEUMBIGA1UEChML -QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSAwHgYDVQQDExdBZGRU -cnVzdCBQdWJsaWMgQ0EgUm9vdDAeFw0wMDA1MzAxMDQxNTBaFw0yMDA1MzAxMDQxNTBaMGQxCzAJ -BgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5l -dHdvcmsxIDAeBgNVBAMTF0FkZFRydXN0IFB1YmxpYyBDQSBSb290MIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEA6Rowj4OIFMEg2Dybjxt+A3S72mnTRqX4jsIMEZBRpS9mVEBV6tsfSlbu -nyNu9DnLoblv8n75XYcmYZ4c+OLspoH4IcUkzBEMP9smcnrHAZcHF/nXGCwwfQ56HmIexkvA/X1i -d9NEHif2P0tEs7c42TkfYNVRknMDtABp4/MUTu7R3AnPdzRGULD4EfL+OHn3Bzn+UZKXC1sIXzSG -Aa2Il+tmzV7R/9x98oTaunet3IAIx6eH1lWfl2royBFkuucZKT8Rs3iQhCBSWxHveNCD9tVIkNAw -HM+A+WD+eeSI8t0A65RF62WUaUC6wNW0uLp9BBGo6zEFlpROWCGOn9Bg/QIDAQABo4HRMIHOMB0G -A1UdDgQWBBSBPjfYkrAfd59ctKtzquf2NGAv+jALBgNVHQ8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB -/zCBjgYDVR0jBIGGMIGDgBSBPjfYkrAfd59ctKtzquf2NGAv+qFopGYwZDELMAkGA1UEBhMCU0Ux -FDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQLExRBZGRUcnVzdCBUVFAgTmV0d29yazEgMB4G -A1UEAxMXQWRkVHJ1c3QgUHVibGljIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBAAP3FUr4 -JNojVhaTdt02KLmuG7jD8WS6IBh4lSknVwW8fCr0uVFV2ocC3g8WFzH4qnkuCRO7r7IgGRLlk/lL -+YPoRNWyQSW/iHVv/xD8SlTQX/D67zZzfRs2RcYhbbQVuE7PnFylPVoAjgbjPGsye/Kf8Lb93/Ao -GEjwxrzQvzSAlsJKsW2Ox5BF3i9nrEUEo3rcVZLJR2bYGozH7ZxOmuASu7VqTITh4SINhwBk/ox9 -Yjllpu9CtoAlEmEBqCQTcAARJl/6NVDFSMwGR+gn2HCNX2TmoUQmXiLsks3/QppEIW1cxeMiHV9H -EufOX1362KqxMy3ZdvJOOjMMK7MtkAY= ------END CERTIFICATE----- - -AddTrust Qualified Certificates Root -==================================== ------BEGIN CERTIFICATE----- -MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJTRTEUMBIGA1UEChML -QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSMwIQYDVQQDExpBZGRU -cnVzdCBRdWFsaWZpZWQgQ0EgUm9vdDAeFw0wMDA1MzAxMDQ0NTBaFw0yMDA1MzAxMDQ0NTBaMGcx -CzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQ -IE5ldHdvcmsxIzAhBgNVBAMTGkFkZFRydXN0IFF1YWxpZmllZCBDQSBSb290MIIBIjANBgkqhkiG -9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5B6a/twJWoekn0e+EV+vhDTbYjx5eLfpMLXsDBwqxBb/4Oxx -64r1EW7tTw2R0hIYLUkVAcKkIhPHEWT/IhKauY5cLwjPcWqzZwFZ8V1G87B4pfYOQnrjfxvM0PC3 -KP0q6p6zsLkEqv32x7SxuCqg+1jxGaBvcCV+PmlKfw8i2O+tCBGaKZnhqkRFmhJePp1tUvznoD1o -L/BLcHwTOK28FSXx1s6rosAx1i+f4P8UWfyEk9mHfExUE+uf0S0R+Bg6Ot4l2ffTQO2kBhLEO+GR -wVY18BTcZTYJbqukB8c10cIDMzZbdSZtQvESa0NvS3GU+jQd7RNuyoB/mC9suWXY6QIDAQABo4HU -MIHRMB0GA1UdDgQWBBQ5lYtii1zJ1IC6WA+XPxUIQ8yYpzALBgNVHQ8EBAMCAQYwDwYDVR0TAQH/ -BAUwAwEB/zCBkQYDVR0jBIGJMIGGgBQ5lYtii1zJ1IC6WA+XPxUIQ8yYp6FrpGkwZzELMAkGA1UE -BhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQLExRBZGRUcnVzdCBUVFAgTmV0d29y -azEjMCEGA1UEAxMaQWRkVHJ1c3QgUXVhbGlmaWVkIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQAD -ggEBABmrder4i2VhlRO6aQTvhsoToMeqT2QbPxj2qC0sVY8FtzDqQmodwCVRLae/DLPt7wh/bDxG -GuoYQ992zPlmhpwsaPXpF/gxsxjE1kh9I0xowX67ARRvxdlu3rsEQmr49lx95dr6h+sNNVJn0J6X -dgWTP5XHAeZpVTh/EGGZyeNfpso+gmNIquIISD6q8rKFYqa0p9m9N5xotS1WfbC3P6CxB9bpT9ze -RXEwMn8bLgn5v1Kh7sKAPgZcLlVAwRv1cEWw3F369nJad9Jjzc9YiQBCYz95OdBEsIJuQRno3eDB -iFrRHnGTHyQwdOUeqN48Jzd/g66ed8/wMLH/S5noxqE= ------END CERTIFICATE----- - -Entrust Root Certification Authority -==================================== ------BEGIN CERTIFICATE----- -MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCVVMxFjAUBgNV -BAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0Lm5ldC9DUFMgaXMgaW5jb3Jw -b3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMWKGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsG -A1UEAxMkRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0 -MloXDTI2MTEyNzIwNTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMu -MTkwNwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSByZWZlcmVu -Y2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNVBAMTJEVudHJ1c3QgUm9v -dCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ALaVtkNC+sZtKm9I35RMOVcF7sN5EUFoNu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYsz -A9u3g3s+IIRe7bJWKKf44LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOww -Cj0Yzfv9KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGIrb68 -j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi94DkZfs0Nw4pgHBN -rziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOBsDCBrTAOBgNVHQ8BAf8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAigA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1 -MzQyWjAfBgNVHSMEGDAWgBRokORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DH -hmak8fdLQ/uEvW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA -A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9tO1KzKtvn1ISM -Y/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6ZuaAGAT/3B+XxFNSRuzFVJ7yVTa -v52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTS -W3iDVuycNsMm4hH2Z0kdkquM++v/eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0 -tHuu2guQOHXvgR1m0vdXcDazv/wor3ElhVsT/h5/WrQ8 ------END CERTIFICATE----- - -RSA Security 2048 v3 -==================== ------BEGIN CERTIFICATE----- -MIIDYTCCAkmgAwIBAgIQCgEBAQAAAnwAAAAKAAAAAjANBgkqhkiG9w0BAQUFADA6MRkwFwYDVQQK -ExBSU0EgU2VjdXJpdHkgSW5jMR0wGwYDVQQLExRSU0EgU2VjdXJpdHkgMjA0OCBWMzAeFw0wMTAy -MjIyMDM5MjNaFw0yNjAyMjIyMDM5MjNaMDoxGTAXBgNVBAoTEFJTQSBTZWN1cml0eSBJbmMxHTAb -BgNVBAsTFFJTQSBTZWN1cml0eSAyMDQ4IFYzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAt49VcdKA3XtpeafwGFAyPGJn9gqVB93mG/Oe2dJBVGutn3y+Gc37RqtBaB4Y6lXIL5F4iSj7 -Jylg/9+PjDvJSZu1pJTOAeo+tWN7fyb9Gd3AIb2E0S1PRsNO3Ng3OTsor8udGuorryGlwSMiuLgb -WhOHV4PR8CDn6E8jQrAApX2J6elhc5SYcSa8LWrg903w8bYqODGBDSnhAMFRD0xS+ARaqn1y07iH -KrtjEAMqs6FPDVpeRrc9DvV07Jmf+T0kgYim3WBU6JU2PcYJk5qjEoAAVZkZR73QpXzDuvsf9/UP -+Ky5tfQ3mBMY3oVbtwyCO4dvlTlYMNpuAWgXIszACwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/ -MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBQHw1EwpKrpRa41JPr/JCwz0LGdjDAdBgNVHQ4E -FgQUB8NRMKSq6UWuNST6/yQsM9CxnYwwDQYJKoZIhvcNAQEFBQADggEBAF8+hnZuuDU8TjYcHnmY -v/3VEhF5Ug7uMYm83X/50cYVIeiKAVQNOvtUudZj1LGqlk2iQk3UUx+LEN5/Zb5gEydxiKRz44Rj -0aRV4VCT5hsOedBnvEbIvz8XDZXmxpBp3ue0L96VfdASPz0+f00/FGj1EVDVwfSQpQgdMWD/YIwj -VAqv/qFuxdF6Kmh4zx6CCiC0H63lhbJqaHVOrSU3lIW+vaHU6rcMSzyd6BIA8F+sDeGscGNz9395 -nzIlQnQFgCi/vcEkllgVsRch6YlL2weIZ/QVrXA+L02FO8K32/6YaCOJ4XQP3vTFhGMpG8zLB8kA -pKnXwiJPZ9d37CAFYd4= ------END CERTIFICATE----- - -GeoTrust Global CA -================== ------BEGIN CERTIFICATE----- -MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVTMRYwFAYDVQQK -Ew1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9iYWwgQ0EwHhcNMDIwNTIxMDQw -MDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5j -LjEbMBkGA1UEAxMSR2VvVHJ1c3QgR2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEA2swYYzD99BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjo -BbdqfnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDviS2Aelet -8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU1XupGc1V3sjs0l44U+Vc -T4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+bw8HHa8sHo9gOeL6NlMTOdReJivbPagU -vTLrGAMoUgRx5aszPeE4uwc2hGKceeoWMPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTAD -AQH/MB0GA1UdDgQWBBTAephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVk -DBF9qn1luMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKInZ57Q -zxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfStQWVYrmm3ok9Nns4 -d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcFPseKUgzbFbS9bZvlxrFUaKnjaZC2 -mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Unhw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6p -XE0zX5IJL4hmXXeXxx12E6nV5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvm -Mw== ------END CERTIFICATE----- - -GeoTrust Global CA 2 -==================== ------BEGIN CERTIFICATE----- -MIIDZjCCAk6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJVUzEWMBQGA1UEChMN -R2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMUR2VvVHJ1c3QgR2xvYmFsIENBIDIwHhcNMDQwMzA0MDUw -MDAwWhcNMTkwMzA0MDUwMDAwWjBEMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5j -LjEdMBsGA1UEAxMUR2VvVHJ1c3QgR2xvYmFsIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQDvPE1APRDfO1MA4Wf+lGAVPoWI8YkNkMgoI5kF6CsgncbzYEbYwbLVjDHZ3CB5JIG/ -NTL8Y2nbsSpr7iFY8gjpeMtvy/wWUsiRxP89c96xPqfCfWbB9X5SJBri1WeR0IIQ13hLTytCOb1k -LUCgsBDTOEhGiKEMuzozKmKY+wCdE1l/bztyqu6mD4b5BWHqZ38MN5aL5mkWRxHCJ1kDs6ZgwiFA -Vvqgx306E+PsV8ez1q6diYD3Aecs9pYrEw15LNnA5IZ7S4wMcoKK+xfNAGw6EzywhIdLFnopsk/b -HdQL82Y3vdj2V7teJHq4PIu5+pIaGoSe2HSPqht/XvT+RSIhAgMBAAGjYzBhMA8GA1UdEwEB/wQF -MAMBAf8wHQYDVR0OBBYEFHE4NvICMVNHK266ZUapEBVYIAUJMB8GA1UdIwQYMBaAFHE4NvICMVNH -K266ZUapEBVYIAUJMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQUFAAOCAQEAA/e1K6tdEPx7 -srJerJsOflN4WT5CBP51o62sgU7XAotexC3IUnbHLB/8gTKY0UvGkpMzNTEv/NgdRN3ggX+d6Yvh -ZJFiCzkIjKx0nVnZellSlxG5FntvRdOW2TF9AjYPnDtuzywNA0ZF66D0f0hExghAzN4bcLUprbqL -OzRldRtxIR0sFAqwlpW41uryZfspuk/qkZN0abby/+Ea0AzRdoXLiiW9l14sbxWZJue2Kf8i7MkC -x1YAzUm5s2x7UwQa4qjJqhIFI8LO57sEAszAR6LkxCkvW0VXiVHuPOtSCP8HNR6fNWpHSlaY0VqF -H4z1Ir+rzoPz4iIprn2DQKi6bA== ------END CERTIFICATE----- - -GeoTrust Universal CA -===================== ------BEGIN CERTIFICATE----- -MIIFaDCCA1CgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJVUzEWMBQGA1UEChMN -R2VvVHJ1c3QgSW5jLjEeMBwGA1UEAxMVR2VvVHJ1c3QgVW5pdmVyc2FsIENBMB4XDTA0MDMwNDA1 -MDAwMFoXDTI5MDMwNDA1MDAwMFowRTELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IElu -Yy4xHjAcBgNVBAMTFUdlb1RydXN0IFVuaXZlcnNhbCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBAKYVVaCjxuAfjJ0hUNfBvitbtaSeodlyWL0AG0y/YckUHUWCq8YdgNY96xCcOq9t -JPi8cQGeBvV8Xx7BDlXKg5pZMK4ZyzBIle0iN430SppyZj6tlcDgFgDgEB8rMQ7XlFTTQjOgNB0e -RXbdT8oYN+yFFXoZCPzVx5zw8qkuEKmS5j1YPakWaDwvdSEYfyh3peFhF7em6fgemdtzbvQKoiFs -7tqqhZJmr/Z6a4LauiIINQ/PQvE1+mrufislzDoR5G2vc7J2Ha3QsnhnGqQ5HFELZ1aD/ThdDc7d -8Lsrlh/eezJS/R27tQahsiFepdaVaH/wmZ7cRQg+59IJDTWU3YBOU5fXtQlEIGQWFwMCTFMNaN7V -qnJNk22CDtucvc+081xdVHppCZbW2xHBjXWotM85yM48vCR85mLK4b19p71XZQvk/iXttmkQ3Cga -Rr0BHdCXteGYO8A3ZNY9lO4L4fUorgtWv3GLIylBjobFS1J72HGrH4oVpjuDWtdYAVHGTEHZf9hB -Z3KiKN9gg6meyHv8U3NyWfWTehd2Ds735VzZC1U0oqpbtWpU5xPKV+yXbfReBi9Fi1jUIxaS5BZu -KGNZMN9QAZxjiRqf2xeUgnA3wySemkfWWspOqGmJch+RbNt+nhutxx9z3SxPGWX9f5NAEC7S8O08 -ni4oPmkmM8V7AgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNq7LqqwDLiIJlF0 -XG0D08DYj3rWMB8GA1UdIwQYMBaAFNq7LqqwDLiIJlF0XG0D08DYj3rWMA4GA1UdDwEB/wQEAwIB -hjANBgkqhkiG9w0BAQUFAAOCAgEAMXjmx7XfuJRAyXHEqDXsRh3ChfMoWIawC/yOsjmPRFWrZIRc -aanQmjg8+uUfNeVE44B5lGiku8SfPeE0zTBGi1QrlaXv9z+ZhP015s8xxtxqv6fXIwjhmF7DWgh2 -qaavdy+3YL1ERmrvl/9zlcGO6JP7/TG37FcREUWbMPEaiDnBTzynANXH/KttgCJwpQzgXQQpAvvL -oJHRfNbDflDVnVi+QTjruXU8FdmbyUqDWcDaU/0zuzYYm4UPFd3uLax2k7nZAY1IEKj79TiG8dsK -xr2EoyNB3tZ3b4XUhRxQ4K5RirqNPnbiucon8l+f725ZDQbYKxek0nxru18UGkiPGkzns0ccjkxF -KyDuSN/n3QmOGKjaQI2SJhFTYXNd673nxE0pN2HrrDktZy4W1vUAg4WhzH92xH3kt0tm7wNFYGm2 -DFKWkoRepqO1pD4r2czYG0eq8kTaT/kD6PAUyz/zg97QwVTjt+gKN02LIFkDMBmhLMi9ER/frslK -xfMnZmaGrGiR/9nmUxwPi1xpZQomyB40w11Re9epnAahNt3ViZS82eQtDF4JbAiXfKM9fJP/P6EU -p8+1Xevb2xzEdt+Iub1FBZUbrvxGakyvSOPOrg/SfuvmbJxPgWp6ZKy7PtXny3YuxadIwVyQD8vI -P/rmMuGNG2+k5o7Y+SlIis5z/iw= ------END CERTIFICATE----- - -GeoTrust Universal CA 2 -======================= ------BEGIN CERTIFICATE----- -MIIFbDCCA1SgAwIBAgIBATANBgkqhkiG9w0BAQUFADBHMQswCQYDVQQGEwJVUzEWMBQGA1UEChMN -R2VvVHJ1c3QgSW5jLjEgMB4GA1UEAxMXR2VvVHJ1c3QgVW5pdmVyc2FsIENBIDIwHhcNMDQwMzA0 -MDUwMDAwWhcNMjkwMzA0MDUwMDAwWjBHMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3Qg -SW5jLjEgMB4GA1UEAxMXR2VvVHJ1c3QgVW5pdmVyc2FsIENBIDIwggIiMA0GCSqGSIb3DQEBAQUA -A4ICDwAwggIKAoICAQCzVFLByT7y2dyxUxpZKeexw0Uo5dfR7cXFS6GqdHtXr0om/Nj1XqduGdt0 -DE81WzILAePb63p3NeqqWuDW6KFXlPCQo3RWlEQwAx5cTiuFJnSCegx2oG9NzkEtoBUGFF+3Qs17 -j1hhNNwqCPkuwwGmIkQcTAeC5lvO0Ep8BNMZcyfwqph/Lq9O64ceJHdqXbboW0W63MOhBW9Wjo8Q -JqVJwy7XQYci4E+GymC16qFjwAGXEHm9ADwSbSsVsaxLse4YuU6W3Nx2/zu+z18DwPw76L5GG//a -QMJS9/7jOvdqdzXQ2o3rXhhqMcceujwbKNZrVMaqW9eiLBsZzKIC9ptZvTdrhrVtgrrY6slWvKk2 -WP0+GfPtDCapkzj4T8FdIgbQl+rhrcZV4IErKIM6+vR7IVEAvlI4zs1meaj0gVbi0IMJR1FbUGrP -20gaXT73y/Zl92zxlfgCOzJWgjl6W70viRu/obTo/3+NjN8D8WBOWBFM66M/ECuDmgFz2ZRthAAn -ZqzwcEAJQpKtT5MNYQlRJNiS1QuUYbKHsu3/mjX/hVTK7URDrBs8FmtISgocQIgfksILAAX/8sgC -SqSqqcyZlpwvWOB94b67B9xfBHJcMTTD7F8t4D1kkCLm0ey4Lt1ZrtmhN79UNdxzMk+MBB4zsslG -8dhcyFVQyWi9qLo2CQIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBR281Xh+qQ2 -+/CfXGJx7Tz0RzgQKzAfBgNVHSMEGDAWgBR281Xh+qQ2+/CfXGJx7Tz0RzgQKzAOBgNVHQ8BAf8E -BAMCAYYwDQYJKoZIhvcNAQEFBQADggIBAGbBxiPz2eAubl/oz66wsCVNK/g7WJtAJDday6sWSf+z -dXkzoS9tcBc0kf5nfo/sm+VegqlVHy/c1FEHEv6sFj4sNcZj/NwQ6w2jqtB8zNHQL1EuxBRa3ugZ -4T7GzKQp5y6EqgYweHZUcyiYWTjgAA1i00J9IZ+uPTqM1fp3DRgrFg5fNuH8KrUwJM/gYwx7WBr+ -mbpCErGR9Hxo4sjoryzqyX6uuyo9DRXcNJW2GHSoag/HtPQTxORb7QrSpJdMKu0vbBKJPfEncKpq -A1Ihn0CoZ1Dy81of398j9tx4TuaYT1U6U+Pv8vSfx3zYWK8pIpe44L2RLrB27FcRz+8pRPPphXpg -Y+RdM4kX2TGq2tbzGDVyz4crL2MjhF2EjD9XoIj8mZEoJmmZ1I+XRL6O1UixpCgp8RW04eWe3fiP -pm8m1wk8OhwRDqZsN/etRIcsKMfYdIKz0G9KV7s1KSegi+ghp4dkNl3M2Basx7InQJJVOCiNUW7d -FGdTbHFcJoRNdVq2fmBWqU2t+5sel/MN2dKXVHfaPRK34B7vCAas+YWH6aLcr34YEoP9VhdBLtUp -gn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwXQMAJKOSLakhT2+zNVVXxxvjpoixMptEm -X36vWkzaH6byHCx+rgIW0lbQL1dTR+iS ------END CERTIFICATE----- - -UTN-USER First-Network Applications -=================================== ------BEGIN CERTIFICATE----- -MIIEZDCCA0ygAwIBAgIQRL4Mi1AAJLQR0zYwS8AzdzANBgkqhkiG9w0BAQUFADCBozELMAkGA1UE -BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl -IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xKzAp -BgNVBAMTIlVUTi1VU0VSRmlyc3QtTmV0d29yayBBcHBsaWNhdGlvbnMwHhcNOTkwNzA5MTg0ODM5 -WhcNMTkwNzA5MTg1NzQ5WjCBozELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5T -YWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho -dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xKzApBgNVBAMTIlVUTi1VU0VSRmlyc3QtTmV0d29yayBB -cHBsaWNhdGlvbnMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCz+5Gh5DZVhawGNFug -mliy+LUPBXeDrjKxdpJo7CNKyXY/45y2N3kDuatpjQclthln5LAbGHNhSuh+zdMvZOOmfAz6F4Cj -DUeJT1FxL+78P/m4FoCHiZMlIJpDgmkkdihZNaEdwH+DBmQWICzTSaSFtMBhf1EI+GgVkYDLpdXu -Ozr0hAReYFmnjDRy7rh4xdE7EkpvfmUnuaRVxblvQ6TFHSyZwFKkeEwVs0CYCGtDxgGwenv1axwi -P8vv/6jQOkt2FZ7S0cYu49tXGzKiuG/ohqY/cKvlcJKrRB5AUPuco2LkbG6gyN7igEL66S/ozjIE -j3yNtxyjNTwV3Z7DrpelAgMBAAGjgZEwgY4wCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8w -HQYDVR0OBBYEFPqGydvguul49Uuo1hXf8NPhahQ8ME8GA1UdHwRIMEYwRKBCoECGPmh0dHA6Ly9j -cmwudXNlcnRydXN0LmNvbS9VVE4tVVNFUkZpcnN0LU5ldHdvcmtBcHBsaWNhdGlvbnMuY3JsMA0G -CSqGSIb3DQEBBQUAA4IBAQCk8yXM0dSRgyLQzDKrm5ZONJFUICU0YV8qAhXhi6r/fWRRzwr/vH3Y -IWp4yy9Rb/hCHTO967V7lMPDqaAt39EpHx3+jz+7qEUqf9FuVSTiuwL7MT++6LzsQCv4AdRWOOTK -RIK1YSAhZ2X28AvnNPilwpyjXEAfhZOVBt5P1CeptqX8Fs1zMT+4ZSfP1FMa8Kxun08FDAOBp4Qp -xFq9ZFdyrTvPNximmMatBrTcCKME1SmklpoSZ0qMYEWd8SOasACcaLWYUNPvji6SZbFIPiG+FTAq -DbUMo2s/rn9X9R+WfN9v3YIwLGUbQErNaLly7HF27FSOH4UMAWr6pjisH8SE ------END CERTIFICATE----- - -America Online Root Certification Authority 1 -============================================= ------BEGIN CERTIFICATE----- -MIIDpDCCAoygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -QW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBPbmxpbmUgUm9vdCBDZXJ0aWZp -Y2F0aW9uIEF1dGhvcml0eSAxMB4XDTAyMDUyODA2MDAwMFoXDTM3MTExOTIwNDMwMFowYzELMAkG -A1UEBhMCVVMxHDAaBgNVBAoTE0FtZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2Eg -T25saW5lIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMTCCASIwDQYJKoZIhvcNAQEBBQAD -ggEPADCCAQoCggEBAKgv6KRpBgNHw+kqmP8ZonCaxlCyfqXfaE0bfA+2l2h9LaaLl+lkhsmj76CG -v2BlnEtUiMJIxUo5vxTjWVXlGbR0yLQFOVwWpeKVBeASrlmLojNoWBym1BW32J/X3HGrfpq/m44z -DyL9Hy7nBzbvYjnF3cu6JRQj3gzGPTzOggjmZj7aUTsWOqMFf6Dch9Wc/HKpoH145LcxVR5lu9Rh -sCFg7RAycsWSJR74kEoYeEfffjA3PlAb2xzTa5qGUwew76wGePiEmf4hjUyAtgyC9mZweRrTT6PP -8c9GsEsPPt2IYriMqQkoO3rHl+Ee5fSfwMCuJKDIodkP1nsmgmkyPacCAwEAAaNjMGEwDwYDVR0T -AQH/BAUwAwEB/zAdBgNVHQ4EFgQUAK3Zo/Z59m50qX8zPYEX10zPM94wHwYDVR0jBBgwFoAUAK3Z -o/Z59m50qX8zPYEX10zPM94wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBBQUAA4IBAQB8itEf -GDeC4Liwo+1WlchiYZwFos3CYiZhzRAW18y0ZTTQEYqtqKkFZu90821fnZmv9ov761KyBZiibyrF -VL0lvV+uyIbqRizBs73B6UlwGBaXCBOMIOAbLjpHyx7kADCVW/RFo8AasAFOq73AI25jP4BKxQft -3OJvx8Fi8eNy1gTIdGcL+oiroQHIb/AUr9KZzVGTfu0uOMe9zkZQPXLjeSWdm4grECDdpbgyn43g -Kd8hdIaC2y+CMMbHNYaz+ZZfRtsMRf3zUMNvxsNIrUam4SdHCh0Om7bCd39j8uB9Gr784N/Xx6ds -sPmuujz9dLQR6FgNgLzTqIA6me11zEZ7 ------END CERTIFICATE----- - -America Online Root Certification Authority 2 -============================================= ------BEGIN CERTIFICATE----- -MIIFpDCCA4ygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -QW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBPbmxpbmUgUm9vdCBDZXJ0aWZp -Y2F0aW9uIEF1dGhvcml0eSAyMB4XDTAyMDUyODA2MDAwMFoXDTM3MDkyOTE0MDgwMFowYzELMAkG -A1UEBhMCVVMxHDAaBgNVBAoTE0FtZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2Eg -T25saW5lIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAMxBRR3pPU0Q9oyxQcngXssNt79Hc9PwVU3dxgz6sWYFas14tNwC206B89en -fHG8dWOgXeMHDEjsJcQDIPT/DjsS/5uN4cbVG7RtIuOx238hZK+GvFciKtZHgVdEglZTvYYUAQv8 -f3SkWq7xuhG1m1hagLQ3eAkzfDJHA1zEpYNI9FdWboE2JxhP7JsowtS013wMPgwr38oE18aO6lhO -qKSlGBxsRZijQdEt0sdtjRnxrXm3gT+9BoInLRBYBbV4Bbkv2wxrkJB+FFk4u5QkE+XRnRTf04JN -RvCAOVIyD+OEsnpD8l7eXz8d3eOyG6ChKiMDbi4BFYdcpnV1x5dhvt6G3NRI270qv0pV2uh9UPu0 -gBe4lL8BPeraunzgWGcXuVjgiIZGZ2ydEEdYMtA1fHkqkKJaEBEjNa0vzORKW6fIJ/KD3l67Xnfn -6KVuY8INXWHQjNJsWiEOyiijzirplcdIz5ZvHZIlyMbGwcEMBawmxNJ10uEqZ8A9W6Wa6897Gqid -FEXlD6CaZd4vKL3Ob5Rmg0gp2OpljK+T2WSfVVcmv2/LNzGZo2C7HK2JNDJiuEMhBnIMoVxtRsX6 -Kc8w3onccVvdtjc+31D1uAclJuW8tf48ArO3+L5DwYcRlJ4jbBeKuIonDFRH8KmzwICMoCfrHRnj -B453cMor9H124HhnAgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFE1FwWg4u3Op -aaEg5+31IqEjFNeeMB8GA1UdIwQYMBaAFE1FwWg4u3OpaaEg5+31IqEjFNeeMA4GA1UdDwEB/wQE -AwIBhjANBgkqhkiG9w0BAQUFAAOCAgEAZ2sGuV9FOypLM7PmG2tZTiLMubekJcmnxPBUlgtk87FY -T15R/LKXeydlwuXK5w0MJXti4/qftIe3RUavg6WXSIylvfEWK5t2LHo1YGwRgJfMqZJS5ivmae2p -+DYtLHe/YUjRYwu5W1LtGLBDQiKmsXeu3mnFzcccobGlHBD7GL4acN3Bkku+KVqdPzW+5X1R+FXg -JXUjhx5c3LqdsKyzadsXg8n33gy8CNyRnqjQ1xU3c6U1uPx+xURABsPr+CKAXEfOAuMRn0T//Zoy -zH1kUQ7rVyZ2OuMeIjzCpjbdGe+n/BLzJsBZMYVMnNjP36TMzCmT/5RtdlwTCJfy7aULTd3oyWgO -ZtMADjMSW7yV5TKQqLPGbIOtd+6Lfn6xqavT4fG2wLHqiMDn05DpKJKUe2h7lyoKZy2FAjgQ5ANh -1NolNscIWC2hp1GvMApJ9aZphwctREZ2jirlmjvXGKL8nDgQzMY70rUXOm/9riW99XJZZLF0Kjhf -GEzfz3EEWjbUvy+ZnOjZurGV5gJLIaFb1cFPj65pbVPbAZO1XB4Y3WRayhgoPmMEEf0cjQAPuDff -Z4qdZqkCapH/E8ovXYO8h5Ns3CRRFgQlZvqz2cK6Kb6aSDiCmfS/O0oxGfm/jiEzFMpPVF/7zvuP -cX/9XhmgD0uRuMRUvAawRY8mkaKO/qk= ------END CERTIFICATE----- - -Visa eCommerce Root -=================== ------BEGIN CERTIFICATE----- -MIIDojCCAoqgAwIBAgIQE4Y1TR0/BvLB+WUF1ZAcYjANBgkqhkiG9w0BAQUFADBrMQswCQYDVQQG -EwJVUzENMAsGA1UEChMEVklTQTEvMC0GA1UECxMmVmlzYSBJbnRlcm5hdGlvbmFsIFNlcnZpY2Ug -QXNzb2NpYXRpb24xHDAaBgNVBAMTE1Zpc2EgZUNvbW1lcmNlIFJvb3QwHhcNMDIwNjI2MDIxODM2 -WhcNMjIwNjI0MDAxNjEyWjBrMQswCQYDVQQGEwJVUzENMAsGA1UEChMEVklTQTEvMC0GA1UECxMm -VmlzYSBJbnRlcm5hdGlvbmFsIFNlcnZpY2UgQXNzb2NpYXRpb24xHDAaBgNVBAMTE1Zpc2EgZUNv -bW1lcmNlIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvV95WHm6h2mCxlCfL -F9sHP4CFT8icttD0b0/Pmdjh28JIXDqsOTPHH2qLJj0rNfVIsZHBAk4ElpF7sDPwsRROEW+1QK8b -RaVK7362rPKgH1g/EkZgPI2h4H3PVz4zHvtH8aoVlwdVZqW1LS7YgFmypw23RuwhY/81q6UCzyr0 -TP579ZRdhE2o8mCP2w4lPJ9zcc+U30rq299yOIzzlr3xF7zSujtFWsan9sYXiwGd/BmoKoMWuDpI -/k4+oKsGGelT84ATB+0tvz8KPFUgOSwsAGl0lUq8ILKpeeUYiZGo3BxN77t+Nwtd/jmliFKMAGzs -GHxBvfaLdXe6YJ2E5/4tAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEG -MB0GA1UdDgQWBBQVOIMPPyw/cDMezUb+B4wg4NfDtzANBgkqhkiG9w0BAQUFAAOCAQEAX/FBfXxc -CLkr4NWSR/pnXKUTwwMhmytMiUbPWU3J/qVAtmPN3XEolWcRzCSs00Rsca4BIGsDoo8Ytyk6feUW -YFN4PMCvFYP3j1IzJL1kk5fui/fbGKhtcbP3LBfQdCVp9/5rPJS+TUtBjE7ic9DjkCJzQ83z7+pz -zkWKsKZJ/0x9nXGIxHYdkFsd7v3M9+79YKWxehZx0RbQfBI8bGmX265fOZpwLwU8GUYEmSA20GBu -YQa7FkKMcPcw++DbZqMAAb3mLNqRX6BGi01qnD093QVG/na/oAo85ADmJ7f/hC3euiInlhBx6yLt -398znM/jra6O1I7mT1GvFpLgXPYHDw== ------END CERTIFICATE----- - -Certum Root CA -============== ------BEGIN CERTIFICATE----- -MIIDDDCCAfSgAwIBAgIDAQAgMA0GCSqGSIb3DQEBBQUAMD4xCzAJBgNVBAYTAlBMMRswGQYDVQQK -ExJVbml6ZXRvIFNwLiB6IG8uby4xEjAQBgNVBAMTCUNlcnR1bSBDQTAeFw0wMjA2MTExMDQ2Mzla -Fw0yNzA2MTExMDQ2MzlaMD4xCzAJBgNVBAYTAlBMMRswGQYDVQQKExJVbml6ZXRvIFNwLiB6IG8u -by4xEjAQBgNVBAMTCUNlcnR1bSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM6x -wS7TT3zNJc4YPk/EjG+AanPIW1H4m9LcuwBcsaD8dQPugfCI7iNS6eYVM42sLQnFdvkrOYCJ5JdL -kKWoePhzQ3ukYbDYWMzhbGZ+nPMJXlVjhNWo7/OxLjBos8Q82KxujZlakE403Daaj4GIULdtlkIJ -89eVgw1BS7Bqa/j8D35in2fE7SZfECYPCE/wpFcozo+47UX2bu4lXapuOb7kky/ZR6By6/qmW6/K -Uz/iDsaWVhFu9+lmqSbYf5VT7QqFiLpPKaVCjF62/IUgAKpoC6EahQGcxEZjgoi2IrHu/qpGWX7P -NSzVttpd90gzFFS269lvzs2I1qsb2pY7HVkCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkq -hkiG9w0BAQUFAAOCAQEAuI3O7+cUus/usESSbLQ5PqKEbq24IXfS1HeCh+YgQYHu4vgRt2PRFze+ -GXYkHAQaTOs9qmdvLdTN/mUxcMUbpgIKumB7bVjCmkn+YzILa+M6wKyrO7Do0wlRjBCDxjTgxSvg -GrZgFCdsMneMvLJymM/NzD+5yCRCFNZX/OYmQ6kd5YCQzgNUKD73P9P4Te1qCjqTE5s7FCMTY5w/ -0YcneeVMUeMBrYVdGjux1XMQpNPyvG5k9VpWkKjHDkx0Dy5xO/fIR/RpbxXyEV6DHpx8Uq79AtoS -qFlnGNu8cN2bsWntgM6JQEhqDjXKKWYVIZQs6GAqm4VKQPNriiTsBhYscw== ------END CERTIFICATE----- - -Comodo AAA Services root -======================== ------BEGIN CERTIFICATE----- -MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS -R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg -TGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAw -MFoXDTI4MTIzMTIzNTk1OVowezELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hl -c3RlcjEQMA4GA1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNV -BAMMGEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQuaBtDFcCLNSS1UY8y2bmhG -C1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe3M/vg4aijJRPn2jymJBGhCfHdr/jzDUs -i14HZGWCwEiwqJH5YZ92IFCokcdmtet4YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszW -Y19zjNoFmag4qMsXeDZRrOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjH -Ypy+g8cmez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQUoBEK -Iz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wewYDVR0f -BHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20vQUFBQ2VydGlmaWNhdGVTZXJ2aWNl -cy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29tb2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2Vz -LmNybDANBgkqhkiG9w0BAQUFAAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm -7l3sAg9g1o1QGE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz -Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2G9w84FoVxp7Z -8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsil2D4kF501KKaU73yqWjgom7C -12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg== ------END CERTIFICATE----- - -Comodo Secure Services root -=========================== ------BEGIN CERTIFICATE----- -MIIEPzCCAyegAwIBAgIBATANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS -R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg -TGltaXRlZDEkMCIGA1UEAwwbU2VjdXJlIENlcnRpZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAw -MDAwMFoXDTI4MTIzMTIzNTk1OVowfjELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFu -Y2hlc3RlcjEQMA4GA1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxJDAi -BgNVBAMMG1NlY3VyZSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP -ADCCAQoCggEBAMBxM4KK0HDrc4eCQNUd5MvJDkKQ+d40uaG6EfQlhfPMcm3ye5drswfxdySRXyWP -9nQ95IDC+DwN879A6vfIUtFyb+/Iq0G4bi4XKpVpDM3SHpR7LZQdqnXXs5jLrLxkU0C8j6ysNstc -rbvd4JQX7NFc0L/vpZXJkMWwrPsbQ996CF23uPJAGysnnlDOXmWCiIxe004MeuoIkbY2qitC++rC -oznl2yY4rYsK7hljxxwk3wN42ubqwUcaCwtGCd0C/N7Lh1/XMGNooa7cMqG6vv5Eq2i2pRcV/b3V -p6ea5EQz6YiO/O1R65NxTq0B50SOqy3LqP4BSUjwwN3HaNiS/j0CAwEAAaOBxzCBxDAdBgNVHQ4E -FgQUPNiTiMLAggnMAZkGkyDpnnAJY08wDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8w -gYEGA1UdHwR6MHgwO6A5oDeGNWh0dHA6Ly9jcmwuY29tb2RvY2EuY29tL1NlY3VyZUNlcnRpZmlj -YXRlU2VydmljZXMuY3JsMDmgN6A1hjNodHRwOi8vY3JsLmNvbW9kby5uZXQvU2VjdXJlQ2VydGlm -aWNhdGVTZXJ2aWNlcy5jcmwwDQYJKoZIhvcNAQEFBQADggEBAIcBbSMdflsXfcFhMs+P5/OKlFlm -4J4oqF7Tt/Q05qo5spcWxYJvMqTpjOev/e/C6LlLqqP05tqNZSH7uoDrJiiFGv45jN5bBAS0VPmj -Z55B+glSzAVIqMk/IQQezkhr/IXownuvf7fM+F86/TXGDe+X3EyrEeFryzHRbPtIgKvcnDe4IRRL -DXE97IMzbtFuMhbsmMcWi1mmNKsFVy2T96oTy9IT4rcuO81rUBcJaD61JlfutuC23bkpgHl9j6Pw -pCikFcSF9CfUa7/lXORlAnZUtOM3ZiTTGWHIUhDlizeauan5Hb/qmZJhlv8BzaFfDbxxvA6sCx1H -RR3B7Hzs/Sk= ------END CERTIFICATE----- - -Comodo Trusted Services root -============================ ------BEGIN CERTIFICATE----- -MIIEQzCCAyugAwIBAgIBATANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS -R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg -TGltaXRlZDElMCMGA1UEAwwcVHJ1c3RlZCBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczAeFw0wNDAxMDEw -MDAwMDBaFw0yODEyMzEyMzU5NTlaMH8xCzAJBgNVBAYTAkdCMRswGQYDVQQIDBJHcmVhdGVyIE1h -bmNoZXN0ZXIxEDAOBgNVBAcMB1NhbGZvcmQxGjAYBgNVBAoMEUNvbW9kbyBDQSBMaW1pdGVkMSUw -IwYDVQQDDBxUcnVzdGVkIENlcnRpZmljYXRlIFNlcnZpY2VzMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA33FvNlhTWvI2VFeAxHQIIO0Yfyod5jWaHiWsnOWWfnJSoBVC21ndZHoa0Lh7 -3TkVvFVIxO06AOoxEbrycXQaZ7jPM8yoMa+j49d/vzMtTGo87IvDktJTdyR0nAducPy9C1t2ul/y -/9c3S0pgePfw+spwtOpZqqPOSC+pw7ILfhdyFgymBwwbOM/JYrc/oJOlh0Hyt3BAd9i+FHzjqMB6 -juljatEPmsbS9Is6FARW1O24zG71++IsWL1/T2sr92AkWCTOJu80kTrV44HQsvAEAtdbtz6SrGsS -ivnkBbA7kUlcsutT6vifR4buv5XAwAaf0lteERv0xwQ1KdJVXOTt6wIDAQABo4HJMIHGMB0GA1Ud -DgQWBBTFe1i97doladL3WRaoszLAeydb9DAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB -/zCBgwYDVR0fBHwwejA8oDqgOIY2aHR0cDovL2NybC5jb21vZG9jYS5jb20vVHJ1c3RlZENlcnRp -ZmljYXRlU2VydmljZXMuY3JsMDqgOKA2hjRodHRwOi8vY3JsLmNvbW9kby5uZXQvVHJ1c3RlZENl -cnRpZmljYXRlU2VydmljZXMuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQDIk4E7ibSvuIQSTI3S8Ntw -uleGFTQQuS9/HrCoiWChisJ3DFBKmwCL2Iv0QeLQg4pKHBQGsKNoBXAxMKdTmw7pSqBYaWcOrp32 -pSxBvzwGa+RZzG0Q8ZZvH9/0BAKkn0U+yNj6NkZEUD+Cl5EfKNsYEYwq5GWDVxISjBc/lDb+XbDA -BHcTuPQV1T84zJQ6VdCsmPW6AF/ghhmBeC8owH7TzEIK9a5QoNE+xqFx7D+gIIxmOom0jtTYsU0l -R+4viMi14QVFwL4Ucd56/Y57fU0IlqUSc/AtyjcndBInTMu2l+nZrghtWjlA3QVHdWpaIbOjGM9O -9y5Xt5hwXsjEeLBi ------END CERTIFICATE----- - -QuoVadis Root CA -================ ------BEGIN CERTIFICATE----- -MIIF0DCCBLigAwIBAgIEOrZQizANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJCTTEZMBcGA1UE -ChMQUXVvVmFkaXMgTGltaXRlZDElMCMGA1UECxMcUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0 -eTEuMCwGA1UEAxMlUXVvVmFkaXMgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wMTAz -MTkxODMzMzNaFw0yMTAzMTcxODMzMzNaMH8xCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRp -cyBMaW1pdGVkMSUwIwYDVQQLExxSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MS4wLAYDVQQD -EyVRdW9WYWRpcyBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEAv2G1lVO6V/z68mcLOhrfEYBklbTRvM16z/Ypli4kVEAkOPcahdxYTMuk -J0KX0J+DisPkBgNbAKVRHnAEdOLB1Dqr1607BxgFjv2DrOpm2RgbaIr1VxqYuvXtdj182d6UajtL -F8HVj71lODqV0D1VNk7feVcxKh7YWWVJWCCYfqtffp/p1k3sg3Spx2zY7ilKhSoGFPlU5tPaZQeL -YzcS19Dsw3sgQUSj7cugF+FxZc4dZjH3dgEZyH0DWLaVSR2mEiboxgx24ONmy+pdpibu5cxfvWen -AScOospUxbF6lR1xHkopigPcakXBpBlebzbNw6Kwt/5cOOJSvPhEQ+aQuwIDAQABo4ICUjCCAk4w -PQYIKwYBBQUHAQEEMTAvMC0GCCsGAQUFBzABhiFodHRwczovL29jc3AucXVvdmFkaXNvZmZzaG9y -ZS5jb20wDwYDVR0TAQH/BAUwAwEB/zCCARoGA1UdIASCAREwggENMIIBCQYJKwYBBAG+WAABMIH7 -MIHUBggrBgEFBQcCAjCBxxqBxFJlbGlhbmNlIG9uIHRoZSBRdW9WYWRpcyBSb290IENlcnRpZmlj -YXRlIGJ5IGFueSBwYXJ0eSBhc3N1bWVzIGFjY2VwdGFuY2Ugb2YgdGhlIHRoZW4gYXBwbGljYWJs -ZSBzdGFuZGFyZCB0ZXJtcyBhbmQgY29uZGl0aW9ucyBvZiB1c2UsIGNlcnRpZmljYXRpb24gcHJh -Y3RpY2VzLCBhbmQgdGhlIFF1b1ZhZGlzIENlcnRpZmljYXRlIFBvbGljeS4wIgYIKwYBBQUHAgEW -Fmh0dHA6Ly93d3cucXVvdmFkaXMuYm0wHQYDVR0OBBYEFItLbe3TKbkGGew5Oanwl4Rqy+/fMIGu -BgNVHSMEgaYwgaOAFItLbe3TKbkGGew5Oanwl4Rqy+/foYGEpIGBMH8xCzAJBgNVBAYTAkJNMRkw -FwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMSUwIwYDVQQLExxSb290IENlcnRpZmljYXRpb24gQXV0 -aG9yaXR5MS4wLAYDVQQDEyVRdW9WYWRpcyBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggQ6 -tlCLMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAitQUtf70mpKnGdSkfnIYj9lo -fFIk3WdvOXrEql494liwTXCYhGHoG+NpGA7O+0dQoE7/8CQfvbLO9Sf87C9TqnN7Az10buYWnuul -LsS/VidQK2K6vkscPFVcQR0kvoIgR13VRH56FmjffU1RcHhXHTMe/QKZnAzNCgVPx7uOpHX6Sm2x -gI4JVrmcGmD+XcHXetwReNDWXcG31a0ymQM6isxUJTkxgXsTIlG6Rmyhu576BGxJJnSP0nPrzDCi -5upZIof4l/UO/erMkqQWxFIY6iHOsfHmhIHluqmGKPJDWl0Snawe2ajlCmqnf6CHKc/yiU3U7MXi -5nrQNiOKSnQ2+Q== ------END CERTIFICATE----- - -QuoVadis Root CA 2 -================== ------BEGIN CERTIFICATE----- -MIIFtzCCA5+gAwIBAgICBQkwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQk0xGTAXBgNVBAoT -EFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMTElF1b1ZhZGlzIFJvb3QgQ0EgMjAeFw0wNjExMjQx -ODI3MDBaFw0zMTExMjQxODIzMzNaMEUxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM -aW1pdGVkMRswGQYDVQQDExJRdW9WYWRpcyBSb290IENBIDIwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQCaGMpLlA0ALa8DKYrwD4HIrkwZhR0In6spRIXzL4GtMh6QRr+jhiYaHv5+HBg6 -XJxgFyo6dIMzMH1hVBHL7avg5tKifvVrbxi3Cgst/ek+7wrGsxDp3MJGF/hd/aTa/55JWpzmM+Yk -lvc/ulsrHHo1wtZn/qtmUIttKGAr79dgw8eTvI02kfN/+NsRE8Scd3bBrrcCaoF6qUWD4gXmuVbB -lDePSHFjIuwXZQeVikvfj8ZaCuWw419eaxGrDPmF60Tp+ARz8un+XJiM9XOva7R+zdRcAitMOeGy -lZUtQofX1bOQQ7dsE/He3fbE+Ik/0XX1ksOR1YqI0JDs3G3eicJlcZaLDQP9nL9bFqyS2+r+eXyt -66/3FsvbzSUr5R/7mp/iUcw6UwxI5g69ybR2BlLmEROFcmMDBOAENisgGQLodKcftslWZvB1Jdxn -wQ5hYIizPtGo/KPaHbDRsSNU30R2be1B2MGyIrZTHN81Hdyhdyox5C315eXbyOD/5YDXC2Og/zOh -D7osFRXql7PSorW+8oyWHhqPHWykYTe5hnMz15eWniN9gqRMgeKh0bpnX5UHoycR7hYQe7xFSkyy -BNKr79X9DFHOUGoIMfmR2gyPZFwDwzqLID9ujWc9Otb+fVuIyV77zGHcizN300QyNQliBJIWENie -J0f7OyHj+OsdWwIDAQABo4GwMIGtMA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgEGMB0GA1Ud -DgQWBBQahGK8SEwzJQTU7tD2A8QZRtGUazBuBgNVHSMEZzBlgBQahGK8SEwzJQTU7tD2A8QZRtGU -a6FJpEcwRTELMAkGA1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMT -ElF1b1ZhZGlzIFJvb3QgQ0EgMoICBQkwDQYJKoZIhvcNAQEFBQADggIBAD4KFk2fBluornFdLwUv -Z+YTRYPENvbzwCYMDbVHZF34tHLJRqUDGCdViXh9duqWNIAXINzng/iN/Ae42l9NLmeyhP3ZRPx3 -UIHmfLTJDQtyU/h2BwdBR5YM++CCJpNVjP4iH2BlfF/nJrP3MpCYUNQ3cVX2kiF495V5+vgtJodm -VjB3pjd4M1IQWK4/YY7yarHvGH5KWWPKjaJW1acvvFYfzznB4vsKqBUsfU16Y8Zsl0Q80m/DShcK -+JDSV6IZUaUtl0HaB0+pUNqQjZRG4T7wlP0QADj1O+hA4bRuVhogzG9Yje0uRY/W6ZM/57Es3zrW -IozchLsib9D45MY56QSIPMO661V6bYCZJPVsAfv4l7CUW+v90m/xd2gNNWQjrLhVoQPRTUIZ3Ph1 -WVaj+ahJefivDrkRoHy3au000LYmYjgahwz46P0u05B/B5EqHdZ+XIWDmbA4CD/pXvk1B+TJYm5X -f6dQlfe6yJvmjqIBxdZmv3lh8zwc4bmCXF2gw+nYSL0ZohEUGW6yhhtoPkg3Goi3XZZenMfvJ2II -4pEZXNLxId26F0KCl3GBUzGpn/Z9Yr9y4aOTHcyKJloJONDO1w2AFrR4pTqHTI2KpdVGl/IsELm8 -VCLAAVBpQ570su9t+Oza8eOx79+Rj1QqCyXBJhnEUhAFZdWCEOrCMc0u ------END CERTIFICATE----- - -QuoVadis Root CA 3 -================== ------BEGIN CERTIFICATE----- -MIIGnTCCBIWgAwIBAgICBcYwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQk0xGTAXBgNVBAoT -EFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMTElF1b1ZhZGlzIFJvb3QgQ0EgMzAeFw0wNjExMjQx -OTExMjNaFw0zMTExMjQxOTA2NDRaMEUxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM -aW1pdGVkMRswGQYDVQQDExJRdW9WYWRpcyBSb290IENBIDMwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQDMV0IWVJzmmNPTTe7+7cefQzlKZbPoFog02w1ZkXTPkrgEQK0CSzGrvI2RaNgg -DhoB4hp7Thdd4oq3P5kazethq8Jlph+3t723j/z9cI8LoGe+AaJZz3HmDyl2/7FWeUUrH556VOij -KTVopAFPD6QuN+8bv+OPEKhyq1hX51SGyMnzW9os2l2ObjyjPtr7guXd8lyyBTNvijbO0BNO/79K -DDRMpsMhvVAEVeuxu537RR5kFd5VAYwCdrXLoT9CabwvvWhDFlaJKjdhkf2mrk7AyxRllDdLkgbv -BNDInIjbC3uBr7E9KsRlOni27tyAsdLTmZw67mtaa7ONt9XOnMK+pUsvFrGeaDsGb659n/je7Mwp -p5ijJUMv7/FfJuGITfhebtfZFG4ZM2mnO4SJk8RTVROhUXhA+LjJou57ulJCg54U7QVSWllWp5f8 -nT8KKdjcT5EOE7zelaTfi5m+rJsziO+1ga8bxiJTyPbH7pcUsMV8eFLI8M5ud2CEpukqdiDtWAEX -MJPpGovgc2PZapKUSU60rUqFxKMiMPwJ7Wgic6aIDFUhWMXhOp8q3crhkODZc6tsgLjoC2SToJyM -Gf+z0gzskSaHirOi4XCPLArlzW1oUevaPwV/izLmE1xr/l9A4iLItLRkT9a6fUg+qGkM17uGcclz -uD87nSVL2v9A6wIDAQABo4IBlTCCAZEwDwYDVR0TAQH/BAUwAwEB/zCB4QYDVR0gBIHZMIHWMIHT -BgkrBgEEAb5YAAMwgcUwgZMGCCsGAQUFBwICMIGGGoGDQW55IHVzZSBvZiB0aGlzIENlcnRpZmlj -YXRlIGNvbnN0aXR1dGVzIGFjY2VwdGFuY2Ugb2YgdGhlIFF1b1ZhZGlzIFJvb3QgQ0EgMyBDZXJ0 -aWZpY2F0ZSBQb2xpY3kgLyBDZXJ0aWZpY2F0aW9uIFByYWN0aWNlIFN0YXRlbWVudC4wLQYIKwYB -BQUHAgEWIWh0dHA6Ly93d3cucXVvdmFkaXNnbG9iYWwuY29tL2NwczALBgNVHQ8EBAMCAQYwHQYD -VR0OBBYEFPLAE+CCQz777i9nMpY1XNu4ywLQMG4GA1UdIwRnMGWAFPLAE+CCQz777i9nMpY1XNu4 -ywLQoUmkRzBFMQswCQYDVQQGEwJCTTEZMBcGA1UEChMQUXVvVmFkaXMgTGltaXRlZDEbMBkGA1UE -AxMSUXVvVmFkaXMgUm9vdCBDQSAzggIFxjANBgkqhkiG9w0BAQUFAAOCAgEAT62gLEz6wPJv92ZV -qyM07ucp2sNbtrCD2dDQ4iH782CnO11gUyeim/YIIirnv6By5ZwkajGxkHon24QRiSemd1o417+s -hvzuXYO8BsbRd2sPbSQvS3pspweWyuOEn62Iix2rFo1bZhfZFvSLgNLd+LJ2w/w4E6oM3kJpK27z -POuAJ9v1pkQNn1pVWQvVDVJIxa6f8i+AxeoyUDUSly7B4f/xI4hROJ/yZlZ25w9Rl6VSDE1JUZU2 -Pb+iSwwQHYaZTKrzchGT5Or2m9qoXadNt54CrnMAyNojA+j56hl0YgCUyyIgvpSnWbWCar6ZeXqp -8kokUvd0/bpO5qgdAm6xDYBEwa7TIzdfu4V8K5Iu6H6li92Z4b8nby1dqnuH/grdS/yO9SbkbnBC -bjPsMZ57k8HkyWkaPcBrTiJt7qtYTcbQQcEr6k8Sh17rRdhs9ZgC06DYVYoGmRmioHfRMJ6szHXu -g/WwYjnPbFfiTNKRCw51KBuav/0aQ/HKd/s7j2G4aSgWQgRecCocIdiP4b0jWy10QJLZYxkNc91p -vGJHvOB0K7Lrfb5BG7XARsWhIstfTsEokt4YutUqKLsRixeTmJlglFwjz1onl14LBQaTNx47aTbr -qZ5hHY8y2o4M1nQ+ewkk2gF3R8Q7zTSMmfXK4SVhM7JZG+Ju1zdXtg2pEto= ------END CERTIFICATE----- - -Security Communication Root CA -============================== ------BEGIN CERTIFICATE----- -MIIDWjCCAkKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMP -U0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEw -HhcNMDMwOTMwMDQyMDQ5WhcNMjMwOTMwMDQyMDQ5WjBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMP -U0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEw -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCzs/5/022x7xZ8V6UMbXaKL0u/ZPtM7orw -8yl89f/uKuDp6bpbZCKamm8sOiZpUQWZJtzVHGpxxpp9Hp3dfGzGjGdnSj74cbAZJ6kJDKaVv0uM -DPpVmDvY6CKhS3E4eayXkmmziX7qIWgGmBSWh9JhNrxtJ1aeV+7AwFb9Ms+k2Y7CI9eNqPPYJayX -5HA49LY6tJ07lyZDo6G8SVlyTCMwhwFY9k6+HGhWZq/NQV3Is00qVUarH9oe4kA92819uZKAnDfd -DJZkndwi92SL32HeFZRSFaB9UslLqCHJxrHty8OVYNEP8Ktw+N/LTX7s1vqr2b1/VPKl6Xn62dZ2 -JChzAgMBAAGjPzA9MB0GA1UdDgQWBBSgc0mZaNyFW2XjmygvV5+9M7wHSDALBgNVHQ8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaECpqLvkT115swW1F7NgE+vGkl3g -0dNq/vu+m22/xwVtWSDEHPC32oRYAmP6SBbvT6UL90qY8j+eG61Ha2POCEfrUj94nK9NrvjVT8+a -mCoQQTlSxN3Zmw7vkwGusi7KaEIkQmywszo+zenaSMQVy+n5Bw+SUEmK3TGXX8npN6o7WWWXlDLJ -s58+OmJYxUmtYg5xpTKqL8aJdkNAExNnPaJUJRDL8Try2frbSVa7pv6nQTXD4IhhyYjH3zYQIphZ -6rBK+1YWc26sTfcioU+tHXotRSflMMFe8toTyyVCUZVHA4xsIcx0Qu1T/zOLjw9XARYvz6buyXAi -FL39vmwLAw== ------END CERTIFICATE----- - -Sonera Class 1 Root CA -====================== ------BEGIN CERTIFICATE----- -MIIDIDCCAgigAwIBAgIBJDANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJGSTEPMA0GA1UEChMG -U29uZXJhMRkwFwYDVQQDExBTb25lcmEgQ2xhc3MxIENBMB4XDTAxMDQwNjEwNDkxM1oXDTIxMDQw -NjEwNDkxM1owOTELMAkGA1UEBhMCRkkxDzANBgNVBAoTBlNvbmVyYTEZMBcGA1UEAxMQU29uZXJh -IENsYXNzMSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALWJHytPZwp5/8Ue+H88 -7dF+2rDNbS82rDTG29lkFwhjMDMiikzujrsPDUJVyZ0upe/3p4zDq7mXy47vPxVnqIJyY1MPQYx9 -EJUkoVqlBvqSV536pQHydekfvFYmUk54GWVYVQNYwBSujHxVX3BbdyMGNpfzJLWaRpXk3w0LBUXl -0fIdgrvGE+D+qnr9aTCU89JFhfzyMlsy3uhsXR/LpCJ0sICOXZT3BgBLqdReLjVQCfOAl/QMF645 -2F/NM8EcyonCIvdFEu1eEpOdY6uCLrnrQkFEy0oaAIINnvmLVz5MxxftLItyM19yejhW1ebZrgUa -HXVFsculJRwSVzb9IjcCAwEAAaMzMDEwDwYDVR0TAQH/BAUwAwEB/zARBgNVHQ4ECgQIR+IMi/ZT -iFIwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQCLGrLJXWG04bkruVPRsoWdd44W7hE9 -28Jj2VuXZfsSZ9gqXLar5V7DtxYvyOirHYr9qxp81V9jz9yw3Xe5qObSIjiHBxTZ/75Wtf0HDjxV -yhbMp6Z3N/vbXB9OWQaHowND9Rart4S9Tu+fMTfwRvFAttEMpWT4Y14h21VOTzF2nBBhjrZTOqMR -vq9tfB69ri3iDGnHhVNoomG6xT60eVR4ngrHAr5i0RGCS2UvkVrCqIexVmiUefkl98HVrhq4uz2P -qYo4Ffdz0Fpg0YCw8NzVUM1O7pJIae2yIx4wzMiUyLb1O4Z/P6Yun/Y+LLWSlj7fLJOK/4GMDw9Z -IRlXvVWa ------END CERTIFICATE----- - -Sonera Class 2 Root CA -====================== ------BEGIN CERTIFICATE----- -MIIDIDCCAgigAwIBAgIBHTANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJGSTEPMA0GA1UEChMG -U29uZXJhMRkwFwYDVQQDExBTb25lcmEgQ2xhc3MyIENBMB4XDTAxMDQwNjA3Mjk0MFoXDTIxMDQw -NjA3Mjk0MFowOTELMAkGA1UEBhMCRkkxDzANBgNVBAoTBlNvbmVyYTEZMBcGA1UEAxMQU29uZXJh -IENsYXNzMiBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJAXSjWdyvANlsdE+hY3 -/Ei9vX+ALTU74W+oZ6m/AxxNjG8yR9VBaKQTBME1DJqEQ/xcHf+Js+gXGM2RX/uJ4+q/Tl18GybT -dXnt5oTjV+WtKcT0OijnpXuENmmz/V52vaMtmdOQTiMofRhj8VQ7Jp12W5dCsv+u8E7s3TmVToMG -f+dJQMjFAbJUWmYdPfz56TwKnoG4cPABi+QjVHzIrviQHgCWctRUz2EjvOr7nQKV0ba5cTppCD8P -tOFCx4j1P5iop7oc4HFx71hXgVB6XGt0Rg6DA5jDjqhu8nYybieDwnPz3BjotJPqdURrBGAgcVeH -nfO+oJAjPYok4doh28MCAwEAAaMzMDEwDwYDVR0TAQH/BAUwAwEB/zARBgNVHQ4ECgQISqCqWITT -XjwwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQBazof5FnIVV0sd2ZvnoiYw7JNn39Yt -0jSv9zilzqsWuasvfDXLrNAPtEwr/IDva4yRXzZ299uzGxnq9LIR/WFxRL8oszodv7ND6J+/3DEI -cbCdjdY0RzKQxmUk96BKfARzjzlvF4xytb1LyHr4e4PDKE6cCepnP7JnBBvDFNr450kkkdAdavph -Oe9r5yF1BgfYErQhIHBCcYHaPJo2vqZbDWpsmh+Re/n570K6Tk6ezAyNlNzZRZxe7EJQY670XcSx -EtzKO6gunRRaBXW37Ndj4ro1tgQIkejanZz2ZrUYrAqmVCY0M9IbwdR/GjqOC6oybtv8TyWf2TLH -llpwrN9M ------END CERTIFICATE----- - -Staat der Nederlanden Root CA -============================= ------BEGIN CERTIFICATE----- -MIIDujCCAqKgAwIBAgIEAJiWijANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJOTDEeMBwGA1UE -ChMVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSYwJAYDVQQDEx1TdGFhdCBkZXIgTmVkZXJsYW5kZW4g -Um9vdCBDQTAeFw0wMjEyMTcwOTIzNDlaFw0xNTEyMTYwOTE1MzhaMFUxCzAJBgNVBAYTAk5MMR4w -HAYDVQQKExVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xJjAkBgNVBAMTHVN0YWF0IGRlciBOZWRlcmxh -bmRlbiBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmNK1URF6gaYUmHFt -vsznExvWJw56s2oYHLZhWtVhCb/ekBPHZ+7d89rFDBKeNVU+LCeIQGv33N0iYfXCxw719tV2U02P -jLwYdjeFnejKScfST5gTCaI+Ioicf9byEGW07l8Y1Rfj+MX94p2i71MOhXeiD+EwR+4A5zN9RGca -C1Hoi6CeUJhoNFIfLm0B8mBF8jHrqTFoKbt6QZ7GGX+UtFE5A3+y3qcym7RHjm+0Sq7lr7HcsBth -vJly3uSJt3omXdozSVtSnA71iq3DuD3oBmrC1SoLbHuEvVYFy4ZlkuxEK7COudxwC0barbxjiDn6 -22r+I/q85Ej0ZytqERAhSQIDAQABo4GRMIGOMAwGA1UdEwQFMAMBAf8wTwYDVR0gBEgwRjBEBgRV -HSAAMDwwOgYIKwYBBQUHAgEWLmh0dHA6Ly93d3cucGtpb3ZlcmhlaWQubmwvcG9saWNpZXMvcm9v -dC1wb2xpY3kwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSofeu8Y6R0E3QA7Jbg0zTBLL9s+DAN -BgkqhkiG9w0BAQUFAAOCAQEABYSHVXQ2YcG70dTGFagTtJ+k/rvuFbQvBgwp8qiSpGEN/KtcCFtR -EytNwiphyPgJWPwtArI5fZlmgb9uXJVFIGzmeafR2Bwp/MIgJ1HI8XxdNGdphREwxgDS1/PTfLbw -MVcoEoJz6TMvplW0C5GUR5z6u3pCMuiufi3IvKwUv9kP2Vv8wfl6leF9fpb8cbDCTMjfRTTJzg3y -nGQI0DvDKcWy7ZAEwbEpkcUwb8GpcjPM/l0WFywRaed+/sWDCN+83CI6LiBpIzlWYGeQiy52OfsR -iJf2fL1LuCAWZwWN4jvBcj+UlTfHXbme2JOhF4//DGYVwSR8MnwDHTuhWEUykw== ------END CERTIFICATE----- - -TDC Internet Root CA -==================== ------BEGIN CERTIFICATE----- -MIIEKzCCAxOgAwIBAgIEOsylTDANBgkqhkiG9w0BAQUFADBDMQswCQYDVQQGEwJESzEVMBMGA1UE -ChMMVERDIEludGVybmV0MR0wGwYDVQQLExRUREMgSW50ZXJuZXQgUm9vdCBDQTAeFw0wMTA0MDUx -NjMzMTdaFw0yMTA0MDUxNzAzMTdaMEMxCzAJBgNVBAYTAkRLMRUwEwYDVQQKEwxUREMgSW50ZXJu -ZXQxHTAbBgNVBAsTFFREQyBJbnRlcm5ldCBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEAxLhAvJHVYx/XmaCLDEAedLdInUaMArLgJF/wGROnN4NrXceO+YQwzho7+vvOi20j -xsNuZp+Jpd/gQlBn+h9sHvTQBda/ytZO5GhgbEaqHF1j4QeGDmUApy6mcca8uYGoOn0a0vnRrEvL -znWv3Hv6gXPU/Lq9QYjUdLP5Xjg6PEOo0pVOd20TDJ2PeAG3WiAfAzc14izbSysseLlJ28TQx5yc -5IogCSEWVmb/Bexb4/DPqyQkXsN/cHoSxNK1EKC2IeGNeGlVRGn1ypYcNIUXJXfi9i8nmHj9eQY6 -otZaQ8H/7AQ77hPv01ha/5Lr7K7a8jcDR0G2l8ktCkEiu7vmpwIDAQABo4IBJTCCASEwEQYJYIZI -AYb4QgEBBAQDAgAHMGUGA1UdHwReMFwwWqBYoFakVDBSMQswCQYDVQQGEwJESzEVMBMGA1UEChMM -VERDIEludGVybmV0MR0wGwYDVQQLExRUREMgSW50ZXJuZXQgUm9vdCBDQTENMAsGA1UEAxMEQ1JM -MTArBgNVHRAEJDAigA8yMDAxMDQwNTE2MzMxN1qBDzIwMjEwNDA1MTcwMzE3WjALBgNVHQ8EBAMC -AQYwHwYDVR0jBBgwFoAUbGQBx/2FbazI2p5QCIUItTxWqFAwHQYDVR0OBBYEFGxkAcf9hW2syNqe -UAiFCLU8VqhQMAwGA1UdEwQFMAMBAf8wHQYJKoZIhvZ9B0EABBAwDhsIVjUuMDo0LjADAgSQMA0G -CSqGSIb3DQEBBQUAA4IBAQBOQ8zR3R0QGwZ/t6T609lN+yOfI1Rb5osvBCiLtSdtiaHsmGnc540m -gwV5dOy0uaOXwTUA/RXaOYE6lTGQ3pfphqiZdwzlWqCE/xIWrG64jcN7ksKsLtB9KOy282A4aW8+ -2ARVPp7MVdK6/rtHBNcK2RYKNCn1WBPVT8+PVkuzHu7TmHnaCB4Mb7j4Fifvwm899qNLPg7kbWzb -O0ESm70NRyN/PErQr8Cv9u8btRXE64PECV90i9kR+8JWsTz4cMo0jUNAE4z9mQNUecYu6oah9jrU -Cbz0vGbMPVjQV0kK7iXiQe4T+Zs4NNEA9X7nlB38aQNiuJkFBT1reBK9sG9l ------END CERTIFICATE----- - -TDC OCES Root CA -================ ------BEGIN CERTIFICATE----- -MIIFGTCCBAGgAwIBAgIEPki9xDANBgkqhkiG9w0BAQUFADAxMQswCQYDVQQGEwJESzEMMAoGA1UE -ChMDVERDMRQwEgYDVQQDEwtUREMgT0NFUyBDQTAeFw0wMzAyMTEwODM5MzBaFw0zNzAyMTEwOTA5 -MzBaMDExCzAJBgNVBAYTAkRLMQwwCgYDVQQKEwNUREMxFDASBgNVBAMTC1REQyBPQ0VTIENBMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArGL2YSCyz8DGhdfjeebM7fI5kqSXLmSjhFuH -nEz9pPPEXyG9VhDr2y5h7JNp46PMvZnDBfwGuMo2HP6QjklMxFaaL1a8z3sM8W9Hpg1DTeLpHTk0 -zY0s2RKY+ePhwUp8hjjEqcRhiNJerxomTdXkoCJHhNlktxmW/OwZ5LKXJk5KTMuPJItUGBxIYXvV -iGjaXbXqzRowwYCDdlCqT9HU3Tjw7xb04QxQBr/q+3pJoSgrHPb8FTKjdGqPqcNiKXEx5TukYBde -dObaE+3pHx8b0bJoc8YQNHVGEBDjkAB2QMuLt0MJIf+rTpPGWOmlgtt3xDqZsXKVSQTwtyv6e1mO -3QIDAQABo4ICNzCCAjMwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwgewGA1UdIASB -5DCB4TCB3gYIKoFQgSkBAQEwgdEwLwYIKwYBBQUHAgEWI2h0dHA6Ly93d3cuY2VydGlmaWthdC5k -ay9yZXBvc2l0b3J5MIGdBggrBgEFBQcCAjCBkDAKFgNUREMwAwIBARqBgUNlcnRpZmlrYXRlciBm -cmEgZGVubmUgQ0EgdWRzdGVkZXMgdW5kZXIgT0lEIDEuMi4yMDguMTY5LjEuMS4xLiBDZXJ0aWZp -Y2F0ZXMgZnJvbSB0aGlzIENBIGFyZSBpc3N1ZWQgdW5kZXIgT0lEIDEuMi4yMDguMTY5LjEuMS4x -LjARBglghkgBhvhCAQEEBAMCAAcwgYEGA1UdHwR6MHgwSKBGoESkQjBAMQswCQYDVQQGEwJESzEM -MAoGA1UEChMDVERDMRQwEgYDVQQDEwtUREMgT0NFUyBDQTENMAsGA1UEAxMEQ1JMMTAsoCqgKIYm -aHR0cDovL2NybC5vY2VzLmNlcnRpZmlrYXQuZGsvb2Nlcy5jcmwwKwYDVR0QBCQwIoAPMjAwMzAy -MTEwODM5MzBagQ8yMDM3MDIxMTA5MDkzMFowHwYDVR0jBBgwFoAUYLWF7FZkfhIZJ2cdUBVLc647 -+RIwHQYDVR0OBBYEFGC1hexWZH4SGSdnHVAVS3OuO/kSMB0GCSqGSIb2fQdBAAQQMA4bCFY2LjA6 -NC4wAwIEkDANBgkqhkiG9w0BAQUFAAOCAQEACromJkbTc6gJ82sLMJn9iuFXehHTuJTXCRBuo7E4 -A9G28kNBKWKnctj7fAXmMXAnVBhOinxO5dHKjHiIzxvTkIvmI/gLDjNDfZziChmPyQE+dF10yYsc -A+UYyAFMP8uXBV2YcaaYb7Z8vTd/vuGTJW1v8AqtFxjhA7wHKcitJuj4YfD9IQl+mo6paH1IYnK9 -AOoBmbgGglGBTvH1tJFUuSN6AJqfXY3gPGS5GhKSKseCRHI53OI8xthV9RVOyAUO28bQYqbsFbS1 -AoLbrIyigfCbmTH1ICCoiGEKB5+U/NDXG8wuF/MEJ3Zn61SD/aSQfgY9BKNDLdr8C2LqL19iUw== ------END CERTIFICATE----- - -UTN DATACorp SGC Root CA -======================== ------BEGIN CERTIFICATE----- -MIIEXjCCA0agAwIBAgIQRL4Mi1AAIbQR0ypoBqmtaTANBgkqhkiG9w0BAQUFADCBkzELMAkGA1UE -BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl -IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xGzAZ -BgNVBAMTElVUTiAtIERBVEFDb3JwIFNHQzAeFw05OTA2MjQxODU3MjFaFw0xOTA2MjQxOTA2MzBa -MIGTMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4w -HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsTGGh0dHA6Ly93d3cudXNlcnRy -dXN0LmNvbTEbMBkGA1UEAxMSVVROIC0gREFUQUNvcnAgU0dDMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA3+5YEKIrblXEjr8uRgnn4AgPLit6E5Qbvfa2gI5lBZMAHryv4g+OGQ0SR+ys -raP6LnD43m77VkIVni5c7yPeIbkFdicZD0/Ww5y0vpQZY/KmEQrrU0icvvIpOxboGqBMpsn0GFlo -wHDyUwDAXlCCpVZvNvlK4ESGoE1O1kduSUrLZ9emxAW5jh70/P/N5zbgnAVssjMiFdC04MwXwLLA -9P4yPykqlXvY8qdOD1R8oQ2AswkDwf9c3V6aPryuvEeKaq5xyh+xKrhfQgUL7EYw0XILyulWbfXv -33i+Ybqypa4ETLyorGkVl73v67SMvzX41MPRKA5cOp9wGDMgd8SirwIDAQABo4GrMIGoMAsGA1Ud -DwQEAwIBxjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRTMtGzz3/64PGgXYVOktKeRR20TzA9 -BgNVHR8ENjA0MDKgMKAuhixodHRwOi8vY3JsLnVzZXJ0cnVzdC5jb20vVVROLURBVEFDb3JwU0dD -LmNybDAqBgNVHSUEIzAhBggrBgEFBQcDAQYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMA0GCSqGSIb3 -DQEBBQUAA4IBAQAnNZcAiosovcYzMB4p/OL31ZjUQLtgyr+rFywJNn9Q+kHcrpY6CiM+iVnJowft -Gzet/Hy+UUla3joKVAgWRcKZsYfNjGjgaQPpxE6YsjuMFrMOoAyYUJuTqXAJyCyjj98C5OBxOvG0 -I3KgqgHf35g+FFCgMSa9KOlaMCZ1+XtgHI3zzVAmbQQnmt/VDUVHKWss5nbZqSl9Mt3JNjy9rjXx -EZ4du5A/EkdOjtd+D2JzHVImOBwYSf0wdJrE5SIv2MCN7ZF6TACPcn9d2t0bi0Vr591pl6jFVkwP -DPafepE39peC4N1xaf92P2BNPM/3mfnGV/TJVTl4uix5yaaIK/QI ------END CERTIFICATE----- - -UTN USERFirst Email Root CA -=========================== ------BEGIN CERTIFICATE----- -MIIEojCCA4qgAwIBAgIQRL4Mi1AAJLQR0zYlJWfJiTANBgkqhkiG9w0BAQUFADCBrjELMAkGA1UE -BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl -IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xNjA0 -BgNVBAMTLVVUTi1VU0VSRmlyc3QtQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBFbWFpbDAeFw05 -OTA3MDkxNzI4NTBaFw0xOTA3MDkxNzM2NThaMIGuMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQx -FzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsx -ITAfBgNVBAsTGGh0dHA6Ly93d3cudXNlcnRydXN0LmNvbTE2MDQGA1UEAxMtVVROLVVTRVJGaXJz -dC1DbGllbnQgQXV0aGVudGljYXRpb24gYW5kIEVtYWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEAsjmFpPJ9q0E7YkY3rs3BYHW8OWX5ShpHornMSMxqmNVNNRm5pELlzkniii8efNIx -B8dOtINknS4p1aJkxIW9hVE1eaROaJB7HHqkkqgX8pgV8pPMyaQylbsMTzC9mKALi+VuG6JG+ni8 -om+rWV6lL8/K2m2qL+usobNqqrcuZzWLeeEeaYji5kbNoKXqvgvOdjp6Dpvq/NonWz1zHyLmSGHG -TPNpsaguG7bUMSAsvIKKjqQOpdeJQ/wWWq8dcdcRWdq6hw2v+vPhwvCkxWeM1tZUOt4KpLoDd7Nl -yP0e03RiqhjKaJMeoYV+9Udly/hNVyh00jT/MLbu9mIwFIws6wIDAQABo4G5MIG2MAsGA1UdDwQE -AwIBxjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSJgmd9xJ0mcABLtFBIfN49rgRufTBYBgNV -HR8EUTBPME2gS6BJhkdodHRwOi8vY3JsLnVzZXJ0cnVzdC5jb20vVVROLVVTRVJGaXJzdC1DbGll -bnRBdXRoZW50aWNhdGlvbmFuZEVtYWlsLmNybDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUH -AwQwDQYJKoZIhvcNAQEFBQADggEBALFtYV2mGn98q0rkMPxTbyUkxsrt4jFcKw7u7mFVbwQ+zzne -xRtJlOTrIEy05p5QLnLZjfWqo7NK2lYcYJeA3IKirUq9iiv/Cwm0xtcgBEXkzYABurorbs6q15L+ -5K/r9CYdFip/bDCVNy8zEqx/3cfREYxRmLLQo5HQrfafnoOTHh1CuEava2bwm3/q4wMC5QJRwarV -NZ1yQAOJujEdxRBoUp7fooXFXAimeOZTT7Hot9MUnpOmw2TjrH5xzbyf6QMbzPvprDHBr3wVdAKZ -w7JHpsIyYdfHb0gkUSeh1YdV8nuPmD0Wnu51tvjQjvLzxq4oW6fw8zYX/MMF08oDSlQ= ------END CERTIFICATE----- - -UTN USERFirst Hardware Root CA -============================== ------BEGIN CERTIFICATE----- -MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCBlzELMAkGA1UE -BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl -IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAd -BgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgx -OTIyWjCBlzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0 -eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVz -ZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdhcmUwggEiMA0GCSqGSIb3 -DQEBAQUAA4IBDwAwggEKAoIBAQCx98M4P7Sof885glFn0G2f0v9Y8+efK+wNiVSZuTiZFvfgIXlI -wrthdBKWHTxqctU8EGc6Oe0rE81m65UJM6Rsl7HoxuzBdXmcRl6Nq9Bq/bkqVRcQVLMZ8Jr28bFd -tqdt++BxF2uiiPsA3/4aMXcMmgF6sTLjKwEHOG7DpV4jvEWbe1DByTCP2+UretNb+zNAHqDVmBe8 -i4fDidNdoI6yqqr2jmmIBsX6iSHzCJ1pLgkzmykNRg+MzEk0sGlRvfkGzWitZky8PqxhvQqIDsjf -Pe58BEydCl5rkdbux+0ojatNh4lz0G6k0B4WixThdkQDf2Os5M1JnMWS9KsyoUhbAgMBAAGjgbkw -gbYwCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFKFyXyYbKJhDlV0HN9WF -lp1L0sNFMEQGA1UdHwQ9MDswOaA3oDWGM2h0dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9VVE4tVVNF -UkZpcnN0LUhhcmR3YXJlLmNybDAxBgNVHSUEKjAoBggrBgEFBQcDAQYIKwYBBQUHAwUGCCsGAQUF -BwMGBggrBgEFBQcDBzANBgkqhkiG9w0BAQUFAAOCAQEARxkP3nTGmZev/K0oXnWO6y1n7k57K9cM -//bey1WiCuFMVGWTYGufEpytXoMs61quwOQt9ABjHbjAbPLPSbtNk28GpgoiskliCE7/yMgUsogW -XecB5BKV5UU0s4tpvc+0hY91UZ59Ojg6FEgSxvunOxqNDYJAB+gECJChicsZUN/KHAG8HQQZexB2 -lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kn -iCrVWFCVH/A7HFe7fRQ5YiuayZSSKqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67 -nfhmqA== ------END CERTIFICATE----- - -UTN USERFirst Object Root CA -============================ ------BEGIN CERTIFICATE----- -MIIEZjCCA06gAwIBAgIQRL4Mi1AAJLQR0zYt4LNfGzANBgkqhkiG9w0BAQUFADCBlTELMAkGA1UE -BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl -IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHTAb -BgNVBAMTFFVUTi1VU0VSRmlyc3QtT2JqZWN0MB4XDTk5MDcwOTE4MzEyMFoXDTE5MDcwOTE4NDAz -NlowgZUxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkx -HjAcBgNVBAoTFVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2Vy -dHJ1c3QuY29tMR0wGwYDVQQDExRVVE4tVVNFUkZpcnN0LU9iamVjdDCCASIwDQYJKoZIhvcNAQEB -BQADggEPADCCAQoCggEBAM6qgT+jo2F4qjEAVZURnicPHxzfOpuCaDDASmEd8S8O+r5596Uj71VR -loTN2+O5bj4x2AogZ8f02b+U60cEPgLOKqJdhwQJ9jCdGIqXsqoc/EHSoTbL+z2RuufZcDX65OeQ -w5ujm9M89RKZd7G3CeBo5hy485RjiGpq/gt2yb70IuRnuasaXnfBhQfdDWy/7gbHd2pBnqcP1/vu -lBe3/IW+pKvEHDHd17bR5PDv3xaPslKT16HUiaEHLr/hARJCHhrh2JU022R5KP+6LhHC5ehbkkj7 -RwvCbNqtMoNB86XlQXD9ZZBt+vpRxPm9lisZBCzTbafc8H9vg2XiaquHhnUCAwEAAaOBrzCBrDAL -BgNVHQ8EBAMCAcYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU2u1kdBScFDyr3ZmpvVsoTYs8 -ydgwQgYDVR0fBDswOTA3oDWgM4YxaHR0cDovL2NybC51c2VydHJ1c3QuY29tL1VUTi1VU0VSRmly -c3QtT2JqZWN0LmNybDApBgNVHSUEIjAgBggrBgEFBQcDAwYIKwYBBQUHAwgGCisGAQQBgjcKAwQw -DQYJKoZIhvcNAQEFBQADggEBAAgfUrE3RHjb/c652pWWmKpVZIC1WkDdIaXFwfNfLEzIR1pp6ujw -NTX00CXzyKakh0q9G7FzCL3Uw8q2NbtZhncxzaeAFK4T7/yxSPlrJSUtUbYsbUXBmMiKVl0+7kNO -PmsnjtA6S4ULX9Ptaqd1y9Fahy85dRNacrACgZ++8A+EVCBibGnU4U3GDZlDAQ0Slox4nb9QorFE -qmrPF3rPbw/U+CRVX/A0FklmPlBGyWNxODFiuGK581OtbLUrohKqGU8J2l7nk8aOFAj+8DCAGKCG -hU3IfdeLA/5u1fedFqySLKAj5ZyRUh+U3xeUc8OzwcFxBSAAeL0TUh2oPs0AH8g= ------END CERTIFICATE----- - -Camerfirma Chambers of Commerce Root -==================================== ------BEGIN CERTIFICATE----- -MIIEvTCCA6WgAwIBAgIBADANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJFVTEnMCUGA1UEChMe -QUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1i -ZXJzaWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdDAeFw0wMzA5MzAx -NjEzNDNaFw0zNzA5MzAxNjEzNDRaMH8xCzAJBgNVBAYTAkVVMScwJQYDVQQKEx5BQyBDYW1lcmZp -cm1hIFNBIENJRiBBODI3NDMyODcxIzAhBgNVBAsTGmh0dHA6Ly93d3cuY2hhbWJlcnNpZ24ub3Jn -MSIwIAYDVQQDExlDaGFtYmVycyBvZiBDb21tZXJjZSBSb290MIIBIDANBgkqhkiG9w0BAQEFAAOC -AQ0AMIIBCAKCAQEAtzZV5aVdGDDg2olUkfzIx1L4L1DZ77F1c2VHfRtbunXF/KGIJPov7coISjlU -xFF6tdpg6jg8gbLL8bvZkSM/SAFwdakFKq0fcfPJVD0dBmpAPrMMhe5cG3nCYsS4No41XQEMIwRH -NaqbYE6gZj3LJgqcQKH0XZi/caulAGgq7YN6D6IUtdQis4CwPAxaUWktWBiP7Zme8a7ileb2R6jW -DA+wWFjbw2Y3npuRVDM30pQcakjJyfKl2qUMI/cjDpwyVV5xnIQFUZot/eZOKjRa3spAN2cMVCFV -d9oKDMyXroDclDZK9D7ONhMeU+SsTjoF7Nuucpw4i9A5O4kKPnf+dQIBA6OCAUQwggFAMBIGA1Ud -EwEB/wQIMAYBAf8CAQwwPAYDVR0fBDUwMzAxoC+gLYYraHR0cDovL2NybC5jaGFtYmVyc2lnbi5v -cmcvY2hhbWJlcnNyb290LmNybDAdBgNVHQ4EFgQU45T1sU3p26EpW1eLTXYGduHRooowDgYDVR0P -AQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzAnBgNVHREEIDAegRxjaGFtYmVyc3Jvb3RAY2hh -bWJlcnNpZ24ub3JnMCcGA1UdEgQgMB6BHGNoYW1iZXJzcm9vdEBjaGFtYmVyc2lnbi5vcmcwWAYD -VR0gBFEwTzBNBgsrBgEEAYGHLgoDATA+MDwGCCsGAQUFBwIBFjBodHRwOi8vY3BzLmNoYW1iZXJz -aWduLm9yZy9jcHMvY2hhbWJlcnNyb290Lmh0bWwwDQYJKoZIhvcNAQEFBQADggEBAAxBl8IahsAi -fJ/7kPMa0QOx7xP5IV8EnNrJpY0nbJaHkb5BkAFyk+cefV/2icZdp0AJPaxJRUXcLo0waLIJuvvD -L8y6C98/d3tGfToSJI6WjzwFCm/SlCgdbQzALogi1djPHRPH8EjX1wWnz8dHnjs8NMiAT9QUu/wN -UPf6s+xCX6ndbcj0dc97wXImsQEcXCz9ek60AcUFV7nnPKoF2YjpB0ZBzu9Bga5Y34OirsrXdx/n -ADydb47kMgkdTXg0eDQ8lJsm7U9xxhl6vSAiSFr+S30Dt+dYvsYyTnQeaN2oaFuzPu5ifdmA6Ap1 -erfutGWaIZDgqtCYvDi1czyL+Nw= ------END CERTIFICATE----- - -Camerfirma Global Chambersign Root -================================== ------BEGIN CERTIFICATE----- -MIIExTCCA62gAwIBAgIBADANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJFVTEnMCUGA1UEChMe -QUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1i -ZXJzaWduLm9yZzEgMB4GA1UEAxMXR2xvYmFsIENoYW1iZXJzaWduIFJvb3QwHhcNMDMwOTMwMTYx -NDE4WhcNMzcwOTMwMTYxNDE4WjB9MQswCQYDVQQGEwJFVTEnMCUGA1UEChMeQUMgQ2FtZXJmaXJt -YSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1iZXJzaWduLm9yZzEg -MB4GA1UEAxMXR2xvYmFsIENoYW1iZXJzaWduIFJvb3QwggEgMA0GCSqGSIb3DQEBAQUAA4IBDQAw -ggEIAoIBAQCicKLQn0KuWxfH2H3PFIP8T8mhtxOviteePgQKkotgVvq0Mi+ITaFgCPS3CU6gSS9J -1tPfnZdan5QEcOw/Wdm3zGaLmFIoCQLfxS+EjXqXd7/sQJ0lcqu1PzKY+7e3/HKE5TWH+VX6ox8O -by4o3Wmg2UIQxvi1RMLQQ3/bvOSiPGpVeAp3qdjqGTK3L/5cPxvusZjsyq16aUXjlg9V9ubtdepl -6DJWk0aJqCWKZQbua795B9Dxt6/tLE2Su8CoX6dnfQTyFQhwrJLWfQTSM/tMtgsL+xrJxI0DqX5c -8lCrEqWhz0hQpe/SyBoT+rB/sYIcd2oPX9wLlY/vQ37mRQklAgEDo4IBUDCCAUwwEgYDVR0TAQH/ -BAgwBgEB/wIBDDA/BgNVHR8EODA2MDSgMqAwhi5odHRwOi8vY3JsLmNoYW1iZXJzaWduLm9yZy9j -aGFtYmVyc2lnbnJvb3QuY3JsMB0GA1UdDgQWBBRDnDafsJ4wTcbOX60Qq+UDpfqpFDAOBgNVHQ8B -Af8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgAHMCoGA1UdEQQjMCGBH2NoYW1iZXJzaWducm9vdEBj -aGFtYmVyc2lnbi5vcmcwKgYDVR0SBCMwIYEfY2hhbWJlcnNpZ25yb290QGNoYW1iZXJzaWduLm9y -ZzBbBgNVHSAEVDBSMFAGCysGAQQBgYcuCgEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly9jcHMuY2hh -bWJlcnNpZ24ub3JnL2Nwcy9jaGFtYmVyc2lnbnJvb3QuaHRtbDANBgkqhkiG9w0BAQUFAAOCAQEA -PDtwkfkEVCeR4e3t/mh/YV3lQWVPMvEYBZRqHN4fcNs+ezICNLUMbKGKfKX0j//U2K0X1S0E0T9Y -gOKBWYi+wONGkyT+kL0mojAt6JcmVzWJdJYY9hXiryQZVgICsroPFOrGimbBhkVVi76SvpykBMdJ -PJ7oKXqJ1/6v/2j1pReQvayZzKWGVwlnRtvWFsJG8eSpUPWP0ZIV018+xgBJOm5YstHRJw0lyDL4 -IBHNfTIzSJRUTN3cecQwn+uOuFW114hcxWokPbLTBQNRxgfvzBRydD1ucs4YKIxKoHflCStFREes -t2d/AYoFWpO+ocH/+OcOZ6RHSXZddZAa9SaP8A== ------END CERTIFICATE----- - -NetLock Qualified (Class QA) Root -================================= ------BEGIN CERTIFICATE----- -MIIG0TCCBbmgAwIBAgIBezANBgkqhkiG9w0BAQUFADCByTELMAkGA1UEBhMCSFUxETAPBgNVBAcT -CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV -BAsTEVRhbnVzaXR2YW55a2lhZG9rMUIwQAYDVQQDEzlOZXRMb2NrIE1pbm9zaXRldHQgS296amVn -eXpvaSAoQ2xhc3MgUUEpIFRhbnVzaXR2YW55a2lhZG8xHjAcBgkqhkiG9w0BCQEWD2luZm9AbmV0 -bG9jay5odTAeFw0wMzAzMzAwMTQ3MTFaFw0yMjEyMTUwMTQ3MTFaMIHJMQswCQYDVQQGEwJIVTER -MA8GA1UEBxMIQnVkYXBlc3QxJzAlBgNVBAoTHk5ldExvY2sgSGFsb3phdGJpenRvbnNhZ2kgS2Z0 -LjEaMBgGA1UECxMRVGFudXNpdHZhbnlraWFkb2sxQjBABgNVBAMTOU5ldExvY2sgTWlub3NpdGV0 -dCBLb3pqZWd5em9pIChDbGFzcyBRQSkgVGFudXNpdHZhbnlraWFkbzEeMBwGCSqGSIb3DQEJARYP -aW5mb0BuZXRsb2NrLmh1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx1Ilstg91IRV -CacbvWy5FPSKAtt2/GoqeKvld/Bu4IwjZ9ulZJm53QE+b+8tmjwi8F3JV6BVQX/yQ15YglMxZc4e -8ia6AFQer7C8HORSjKAyr7c3sVNnaHRnUPYtLmTeriZ539+Zhqurf4XsoPuAzPS4DB6TRWO53Lhb -m+1bOdRfYrCnjnxmOCyqsQhjF2d9zL2z8cM/z1A57dEZgxXbhxInlrfa6uWdvLrqOU+L73Sa58XQ -0uqGURzk/mQIKAR5BevKxXEOC++r6uwSEaEYBTJp0QwsGj0lmT+1fMptsK6ZmfoIYOcZwvK9UdPM -0wKswREMgM6r3JSda6M5UzrWhQIDAMV9o4ICwDCCArwwEgYDVR0TAQH/BAgwBgEB/wIBBDAOBgNV -HQ8BAf8EBAMCAQYwggJ1BglghkgBhvhCAQ0EggJmFoICYkZJR1lFTEVNISBFemVuIHRhbnVzaXR2 -YW55IGEgTmV0TG9jayBLZnQuIE1pbm9zaXRldHQgU3pvbGdhbHRhdGFzaSBTemFiYWx5emF0YWJh -biBsZWlydCBlbGphcmFzb2sgYWxhcGphbiBrZXN6dWx0LiBBIG1pbm9zaXRldHQgZWxla3Ryb25p -a3VzIGFsYWlyYXMgam9naGF0YXMgZXJ2ZW55ZXN1bGVzZW5laywgdmFsYW1pbnQgZWxmb2dhZGFz -YW5hayBmZWx0ZXRlbGUgYSBNaW5vc2l0ZXR0IFN6b2xnYWx0YXRhc2kgU3phYmFseXphdGJhbiwg -YXogQWx0YWxhbm9zIFN6ZXJ6b2Rlc2kgRmVsdGV0ZWxla2JlbiBlbG9pcnQgZWxsZW5vcnplc2kg -ZWxqYXJhcyBtZWd0ZXRlbGUuIEEgZG9rdW1lbnR1bW9rIG1lZ3RhbGFsaGF0b2sgYSBodHRwczov -L3d3dy5uZXRsb2NrLmh1L2RvY3MvIGNpbWVuIHZhZ3kga2VyaGV0b2sgYXogaW5mb0BuZXRsb2Nr -Lm5ldCBlLW1haWwgY2ltZW4uIFdBUk5JTkchIFRoZSBpc3N1YW5jZSBhbmQgdGhlIHVzZSBvZiB0 -aGlzIGNlcnRpZmljYXRlIGFyZSBzdWJqZWN0IHRvIHRoZSBOZXRMb2NrIFF1YWxpZmllZCBDUFMg -YXZhaWxhYmxlIGF0IGh0dHBzOi8vd3d3Lm5ldGxvY2suaHUvZG9jcy8gb3IgYnkgZS1tYWlsIGF0 -IGluZm9AbmV0bG9jay5uZXQwHQYDVR0OBBYEFAlqYhaSsFq7VQ7LdTI6MuWyIckoMA0GCSqGSIb3 -DQEBBQUAA4IBAQCRalCc23iBmz+LQuM7/KbD7kPgz/PigDVJRXYC4uMvBcXxKufAQTPGtpvQMznN -wNuhrWw3AkxYQTvyl5LGSKjN5Yo5iWH5Upfpvfb5lHTocQ68d4bDBsxafEp+NFAwLvt/MpqNPfMg -W/hqyobzMUwsWYACff44yTB1HLdV47yfuqhthCgFdbOLDcCRVCHnpgu0mfVRQdzNo0ci2ccBgcTc -R08m6h/t280NmPSjnLRzMkqWmf68f8glWPhY83ZmiVSkpj7EUFy6iRiCdUgh0k8T6GB+B3bbELVR -5qq5aKrN9p2QdRLqOBrKROi3macqaJVmlaut74nLYKkGEsaUR+ko ------END CERTIFICATE----- - -NetLock Notary (Class A) Root -============================= ------BEGIN CERTIFICATE----- -MIIGfTCCBWWgAwIBAgICAQMwDQYJKoZIhvcNAQEEBQAwga8xCzAJBgNVBAYTAkhVMRAwDgYDVQQI -EwdIdW5nYXJ5MREwDwYDVQQHEwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6 -dG9uc2FnaSBLZnQuMRowGAYDVQQLExFUYW51c2l0dmFueWtpYWRvazE2MDQGA1UEAxMtTmV0TG9j -ayBLb3pqZWd5em9pIChDbGFzcyBBKSBUYW51c2l0dmFueWtpYWRvMB4XDTk5MDIyNDIzMTQ0N1oX -DTE5MDIxOTIzMTQ0N1owga8xCzAJBgNVBAYTAkhVMRAwDgYDVQQIEwdIdW5nYXJ5MREwDwYDVQQH -EwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6dG9uc2FnaSBLZnQuMRowGAYD -VQQLExFUYW51c2l0dmFueWtpYWRvazE2MDQGA1UEAxMtTmV0TG9jayBLb3pqZWd5em9pIChDbGFz -cyBBKSBUYW51c2l0dmFueWtpYWRvMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvHSM -D7tM9DceqQWC2ObhbHDqeLVu0ThEDaiDzl3S1tWBxdRL51uUcCbbO51qTGL3cfNk1mE7PetzozfZ -z+qMkjvN9wfcZnSX9EUi3fRc4L9t875lM+QVOr/bmJBVOMTtplVjC7B4BPTjbsE/jvxReB+SnoPC -/tmwqcm8WgD/qaiYdPv2LD4VOQ22BFWoDpggQrOxJa1+mm9dU7GrDPzr4PN6s6iz/0b2Y6LYOph7 -tqyF/7AlT3Rj5xMHpQqPBffAZG9+pyeAlt7ULoZgx2srXnN7F+eRP2QM2EsiNCubMvJIH5+hCoR6 -4sKtlz2O1cH5VqNQ6ca0+pii7pXmKgOM3wIDAQABo4ICnzCCApswDgYDVR0PAQH/BAQDAgAGMBIG -A1UdEwEB/wQIMAYBAf8CAQQwEQYJYIZIAYb4QgEBBAQDAgAHMIICYAYJYIZIAYb4QgENBIICURaC -Ak1GSUdZRUxFTSEgRXplbiB0YW51c2l0dmFueSBhIE5ldExvY2sgS2Z0LiBBbHRhbGFub3MgU3pv -bGdhbHRhdGFzaSBGZWx0ZXRlbGVpYmVuIGxlaXJ0IGVsamFyYXNvayBhbGFwamFuIGtlc3p1bHQu -IEEgaGl0ZWxlc2l0ZXMgZm9seWFtYXRhdCBhIE5ldExvY2sgS2Z0LiB0ZXJtZWtmZWxlbG9zc2Vn -LWJpenRvc2l0YXNhIHZlZGkuIEEgZGlnaXRhbGlzIGFsYWlyYXMgZWxmb2dhZGFzYW5hayBmZWx0 -ZXRlbGUgYXogZWxvaXJ0IGVsbGVub3J6ZXNpIGVsamFyYXMgbWVndGV0ZWxlLiBBeiBlbGphcmFz -IGxlaXJhc2EgbWVndGFsYWxoYXRvIGEgTmV0TG9jayBLZnQuIEludGVybmV0IGhvbmxhcGphbiBh -IGh0dHBzOi8vd3d3Lm5ldGxvY2submV0L2RvY3MgY2ltZW4gdmFneSBrZXJoZXRvIGF6IGVsbGVu -b3J6ZXNAbmV0bG9jay5uZXQgZS1tYWlsIGNpbWVuLiBJTVBPUlRBTlQhIFRoZSBpc3N1YW5jZSBh -bmQgdGhlIHVzZSBvZiB0aGlzIGNlcnRpZmljYXRlIGlzIHN1YmplY3QgdG8gdGhlIE5ldExvY2sg -Q1BTIGF2YWlsYWJsZSBhdCBodHRwczovL3d3dy5uZXRsb2NrLm5ldC9kb2NzIG9yIGJ5IGUtbWFp -bCBhdCBjcHNAbmV0bG9jay5uZXQuMA0GCSqGSIb3DQEBBAUAA4IBAQBIJEb3ulZv+sgoA0BO5TE5 -ayZrU3/b39/zcT0mwBQOxmd7I6gMc90Bu8bKbjc5VdXHjFYgDigKDtIqpLBJUsY4B/6+CgmM0ZjP -ytoUMaFP0jn8DxEsQ8Pdq5PHVT5HfBgaANzze9jyf1JsIPQLX2lS9O74silg6+NJMSEN1rUQQeJB -CWziGppWS3cC9qCbmieH6FUpccKQn0V4GuEVZD3QDtigdp+uxdAu6tYPVuxkf1qbFFgBJ34TUMdr -KuZoPL9coAob4Q566eKAw+np9v1sEZ7Q5SgnK1QyQhSCdeZK8CtmdWOMovsEPoMOmzbwGOQmIMOM -8CgHrTwXZoi1/baI ------END CERTIFICATE----- - -NetLock Business (Class B) Root -=============================== ------BEGIN CERTIFICATE----- -MIIFSzCCBLSgAwIBAgIBaTANBgkqhkiG9w0BAQQFADCBmTELMAkGA1UEBhMCSFUxETAPBgNVBAcT -CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV -BAsTEVRhbnVzaXR2YW55a2lhZG9rMTIwMAYDVQQDEylOZXRMb2NrIFV6bGV0aSAoQ2xhc3MgQikg -VGFudXNpdHZhbnlraWFkbzAeFw05OTAyMjUxNDEwMjJaFw0xOTAyMjAxNDEwMjJaMIGZMQswCQYD -VQQGEwJIVTERMA8GA1UEBxMIQnVkYXBlc3QxJzAlBgNVBAoTHk5ldExvY2sgSGFsb3phdGJpenRv -bnNhZ2kgS2Z0LjEaMBgGA1UECxMRVGFudXNpdHZhbnlraWFkb2sxMjAwBgNVBAMTKU5ldExvY2sg -VXpsZXRpIChDbGFzcyBCKSBUYW51c2l0dmFueWtpYWRvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCx6gTsIKAjwo84YM/HRrPVG/77uZmeBNwcf4xKgZjupNTKihe5In+DCnVMm8Bp2GQ5o+2S -o/1bXHQawEfKOml2mrriRBf8TKPV/riXiK+IA4kfpPIEPsgHC+b5sy96YhQJRhTKZPWLgLViqNhr -1nGTLbO/CVRY7QbrqHvcQ7GhaQIDAQABo4ICnzCCApswEgYDVR0TAQH/BAgwBgEB/wIBBDAOBgNV -HQ8BAf8EBAMCAAYwEQYJYIZIAYb4QgEBBAQDAgAHMIICYAYJYIZIAYb4QgENBIICURaCAk1GSUdZ -RUxFTSEgRXplbiB0YW51c2l0dmFueSBhIE5ldExvY2sgS2Z0LiBBbHRhbGFub3MgU3pvbGdhbHRh -dGFzaSBGZWx0ZXRlbGVpYmVuIGxlaXJ0IGVsamFyYXNvayBhbGFwamFuIGtlc3p1bHQuIEEgaGl0 -ZWxlc2l0ZXMgZm9seWFtYXRhdCBhIE5ldExvY2sgS2Z0LiB0ZXJtZWtmZWxlbG9zc2VnLWJpenRv -c2l0YXNhIHZlZGkuIEEgZGlnaXRhbGlzIGFsYWlyYXMgZWxmb2dhZGFzYW5hayBmZWx0ZXRlbGUg -YXogZWxvaXJ0IGVsbGVub3J6ZXNpIGVsamFyYXMgbWVndGV0ZWxlLiBBeiBlbGphcmFzIGxlaXJh -c2EgbWVndGFsYWxoYXRvIGEgTmV0TG9jayBLZnQuIEludGVybmV0IGhvbmxhcGphbiBhIGh0dHBz -Oi8vd3d3Lm5ldGxvY2submV0L2RvY3MgY2ltZW4gdmFneSBrZXJoZXRvIGF6IGVsbGVub3J6ZXNA -bmV0bG9jay5uZXQgZS1tYWlsIGNpbWVuLiBJTVBPUlRBTlQhIFRoZSBpc3N1YW5jZSBhbmQgdGhl -IHVzZSBvZiB0aGlzIGNlcnRpZmljYXRlIGlzIHN1YmplY3QgdG8gdGhlIE5ldExvY2sgQ1BTIGF2 -YWlsYWJsZSBhdCBodHRwczovL3d3dy5uZXRsb2NrLm5ldC9kb2NzIG9yIGJ5IGUtbWFpbCBhdCBj -cHNAbmV0bG9jay5uZXQuMA0GCSqGSIb3DQEBBAUAA4GBAATbrowXr/gOkDFOzT4JwG06sPgzTEdM -43WIEJessDgVkcYplswhwG08pXTP2IKlOcNl40JwuyKQ433bNXbhoLXan3BukxowOR0w2y7jfLKR -stE3Kfq51hdcR0/jHTjrn9V7lagonhVK0dHQKwCXoOKSNitjrFgBazMpUIaD8QFI ------END CERTIFICATE----- - -NetLock Express (Class C) Root -============================== ------BEGIN CERTIFICATE----- -MIIFTzCCBLigAwIBAgIBaDANBgkqhkiG9w0BAQQFADCBmzELMAkGA1UEBhMCSFUxETAPBgNVBAcT -CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV -BAsTEVRhbnVzaXR2YW55a2lhZG9rMTQwMgYDVQQDEytOZXRMb2NrIEV4cHJlc3N6IChDbGFzcyBD -KSBUYW51c2l0dmFueWtpYWRvMB4XDTk5MDIyNTE0MDgxMVoXDTE5MDIyMDE0MDgxMVowgZsxCzAJ -BgNVBAYTAkhVMREwDwYDVQQHEwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6 -dG9uc2FnaSBLZnQuMRowGAYDVQQLExFUYW51c2l0dmFueWtpYWRvazE0MDIGA1UEAxMrTmV0TG9j -ayBFeHByZXNzeiAoQ2xhc3MgQykgVGFudXNpdHZhbnlraWFkbzCBnzANBgkqhkiG9w0BAQEFAAOB -jQAwgYkCgYEA6+ywbGGKIyWvYCDj2Z/8kwvbXY2wobNAOoLO/XXgeDIDhlqGlZHtU/qdQPzm6N3Z -W3oDvV3zOwzDUXmbrVWg6dADEK8KuhRC2VImESLH0iDMgqSaqf64gXadarfSNnU+sYYJ9m5tfk63 -euyucYT2BDMIJTLrdKwWRMbkQJMdf60CAwEAAaOCAp8wggKbMBIGA1UdEwEB/wQIMAYBAf8CAQQw -DgYDVR0PAQH/BAQDAgAGMBEGCWCGSAGG+EIBAQQEAwIABzCCAmAGCWCGSAGG+EIBDQSCAlEWggJN -RklHWUVMRU0hIEV6ZW4gdGFudXNpdHZhbnkgYSBOZXRMb2NrIEtmdC4gQWx0YWxhbm9zIFN6b2xn -YWx0YXRhc2kgRmVsdGV0ZWxlaWJlbiBsZWlydCBlbGphcmFzb2sgYWxhcGphbiBrZXN6dWx0LiBB -IGhpdGVsZXNpdGVzIGZvbHlhbWF0YXQgYSBOZXRMb2NrIEtmdC4gdGVybWVrZmVsZWxvc3NlZy1i -aXp0b3NpdGFzYSB2ZWRpLiBBIGRpZ2l0YWxpcyBhbGFpcmFzIGVsZm9nYWRhc2FuYWsgZmVsdGV0 -ZWxlIGF6IGVsb2lydCBlbGxlbm9yemVzaSBlbGphcmFzIG1lZ3RldGVsZS4gQXogZWxqYXJhcyBs -ZWlyYXNhIG1lZ3RhbGFsaGF0byBhIE5ldExvY2sgS2Z0LiBJbnRlcm5ldCBob25sYXBqYW4gYSBo -dHRwczovL3d3dy5uZXRsb2NrLm5ldC9kb2NzIGNpbWVuIHZhZ3kga2VyaGV0byBheiBlbGxlbm9y -emVzQG5ldGxvY2submV0IGUtbWFpbCBjaW1lbi4gSU1QT1JUQU5UISBUaGUgaXNzdWFuY2UgYW5k -IHRoZSB1c2Ugb2YgdGhpcyBjZXJ0aWZpY2F0ZSBpcyBzdWJqZWN0IHRvIHRoZSBOZXRMb2NrIENQ -UyBhdmFpbGFibGUgYXQgaHR0cHM6Ly93d3cubmV0bG9jay5uZXQvZG9jcyBvciBieSBlLW1haWwg -YXQgY3BzQG5ldGxvY2submV0LjANBgkqhkiG9w0BAQQFAAOBgQAQrX/XDDKACtiG8XmYta3UzbM2 -xJZIwVzNmtkFLp++UOv0JhQQLdRmF/iewSf98e3ke0ugbLWrmldwpu2gpO0u9f38vf5NNwgMvOOW -gyL1SRt/Syu0VMGAfJlOHdCM7tCs5ZL6dVb+ZKATj7i4Fp1hBWeAyNDYpQcCNJgEjTME1A== ------END CERTIFICATE----- - -XRamp Global CA Root -==================== ------BEGIN CERTIFICATE----- -MIIEMDCCAxigAwIBAgIQUJRs7Bjq1ZxN1ZfvdY+grTANBgkqhkiG9w0BAQUFADCBgjELMAkGA1UE -BhMCVVMxHjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2Vj -dXJpdHkgU2VydmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwHhcNMDQxMTAxMTcxNDA0WhcNMzUwMTAxMDUzNzE5WjCBgjELMAkGA1UEBhMCVVMx -HjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2VjdXJpdHkg -U2VydmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3Jp -dHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCYJB69FbS638eMpSe2OAtp87ZOqCwu -IR1cRN8hXX4jdP5efrRKt6atH67gBhbim1vZZ3RrXYCPKZ2GG9mcDZhtdhAoWORlsH9KmHmf4MMx -foArtYzAQDsRhtDLooY2YKTVMIJt2W7QDxIEM5dfT2Fa8OT5kavnHTu86M/0ay00fOJIYRyO82FE -zG+gSqmUsE3a56k0enI4qEHMPJQRfevIpoy3hsvKMzvZPTeL+3o+hiznc9cKV6xkmxnr9A8ECIqs -AxcZZPRaJSKNNCyy9mgdEm3Tih4U2sSPpuIjhdV6Db1q4Ons7Be7QhtnqiXtRYMh/MHJfNViPvry -xS3T/dRlAgMBAAGjgZ8wgZwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud -EwEB/wQFMAMBAf8wHQYDVR0OBBYEFMZPoj0GY4QJnM5i5ASsjVy16bYbMDYGA1UdHwQvMC0wK6Ap -oCeGJWh0dHA6Ly9jcmwueHJhbXBzZWN1cml0eS5jb20vWEdDQS5jcmwwEAYJKwYBBAGCNxUBBAMC -AQEwDQYJKoZIhvcNAQEFBQADggEBAJEVOQMBG2f7Shz5CmBbodpNl2L5JFMn14JkTpAuw0kbK5rc -/Kh4ZzXxHfARvbdI4xD2Dd8/0sm2qlWkSLoC295ZLhVbO50WfUfXN+pfTXYSNrsf16GBBEYgoyxt -qZ4Bfj8pzgCT3/3JknOJiWSe5yvkHJEs0rnOfc5vMZnT5r7SHpDwCRR5XCOrTdLaIR9NmXmd4c8n -nxCbHIgNsIpkQTG4DmyQJKSbXHGPurt+HBvbaoAPIbzp26a3QPSyi6mx5O+aGtA9aZnuqCij4Tyz -8LIRnM98QObd50N9otg6tamN8jSZxNQQ4Qb9CYQQO+7ETPTsJ3xCwnR8gooJybQDJbw= ------END CERTIFICATE----- - -Go Daddy Class 2 CA -=================== ------BEGIN CERTIFICATE----- -MIIEADCCAuigAwIBAgIBADANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMY -VGhlIEdvIERhZGR5IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRp -ZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0MDYyOTE3MDYyMFoXDTM0MDYyOTE3MDYyMFowYzELMAkG -A1UEBhMCVVMxITAfBgNVBAoTGFRoZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28g -RGFkZHkgQ2xhc3MgMiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQAD -ggENADCCAQgCggEBAN6d1+pXGEmhW+vXX0iG6r7d/+TvZxz0ZWizV3GgXne77ZtJ6XCAPVYYYwhv -2vLM0D9/AlQiVBDYsoHUwHU9S3/Hd8M+eKsaA7Ugay9qK7HFiH7Eux6wwdhFJ2+qN1j3hybX2C32 -qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLOtXiEqITLdiOr18SPaAIBQi2XKVlOARFmR6j -YGB0xUGlcmIbYsUfb18aQr4CUWWoriMYavx4A6lNf4DD+qta/KFApMoZFv6yyO9ecw3ud72a9nmY -vLEHZ6IVDd2gWMZEewo+YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0O -BBYEFNLEsNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h/t2o -atTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMu -MTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwG -A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wim -PQoZ+YeAEW5p5JYXMP80kWNyOO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKt -I3lpjbi2Tc7PTMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ -HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mERdEr/VxqHD3VI -Ls9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5CufReYNnyicsbkqWletNw+vHX/b -vZ8= ------END CERTIFICATE----- - -Starfield Class 2 CA -==================== ------BEGIN CERTIFICATE----- -MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzElMCMGA1UEChMc -U3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZpZWxkIENsYXNzIDIg -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQwNjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBo -MQswCQYDVQQGEwJVUzElMCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAG -A1UECxMpU3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEgMA0GCSqG -SIb3DQEBAQUAA4IBDQAwggEIAoIBAQC3Msj+6XGmBIWtDBFk385N78gDGIc/oav7PKaf8MOh2tTY -bitTkPskpD6E8J7oX+zlJ0T1KKY/e97gKvDIr1MvnsoFAZMej2YcOadN+lq2cwQlZut3f+dZxkqZ -JRRU6ybH838Z1TBwj6+wRir/resp7defqgSHo9T5iaU0X9tDkYI22WY8sbi5gv2cOj4QyDvvBmVm -epsZGD3/cVE8MC5fvj13c7JdBmzDI1aaK4UmkhynArPkPw2vCHmCuDY96pzTNbO8acr1zJ3o/WSN -F4Azbl5KXZnJHoe0nRrA1W4TNSNe35tfPe/W93bC6j67eA0cQmdrBNj41tpvi/JEoAGrAgEDo4HF -MIHCMB0GA1UdDgQWBBS/X7fRzt0fhvRbVazc1xDCDqmI5zCBkgYDVR0jBIGKMIGHgBS/X7fRzt0f -hvRbVazc1xDCDqmI56FspGowaDELMAkGA1UEBhMCVVMxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNo -bm9sb2dpZXMsIEluYy4xMjAwBgNVBAsTKVN0YXJmaWVsZCBDbGFzcyAyIENlcnRpZmljYXRpb24g -QXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAAWdP4id0ckaVaGs -afPzWdqbAYcaT1epoXkJKtv3L7IezMdeatiDh6GX70k1PncGQVhiv45YuApnP+yz3SFmH8lU+nLM -PUxA2IGvd56Deruix/U0F47ZEUD0/CwqTRV/p2JdLiXTAAsgGh1o+Re49L2L7ShZ3U0WixeDyLJl -xy16paq8U4Zt3VekyvggQQto8PT7dL5WXXp59fkdheMtlb71cZBDzI0fmgAKhynpVSJYACPq4xJD -KVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEYWQPJIrSPnNVeKtelttQKbfi3 -QBFGmh95DmK/D5fs4C8fF5Q= ------END CERTIFICATE----- - -StartCom Certification Authority -================================ ------BEGIN CERTIFICATE----- -MIIHyTCCBbGgAwIBAgIBATANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMN -U3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmlu -ZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0 -NjM2WhcNMzYwOTE3MTk0NjM2WjB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRk -LjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMg -U3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw -ggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZkpMyONvg45iPwbm2xPN1y -o4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rfOQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/ -Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/CJi/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/d -eMotHweXMAEtcnn6RtYTKqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt -2PZE4XNiHzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMMAv+Z -6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w+2OqqGwaVLRcJXrJ -osmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/ -untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVc -UjyJthkqcwEKDwOzEmDyei+B26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT -37uMdBNSSwIDAQABo4ICUjCCAk4wDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAa4wHQYDVR0OBBYE -FE4L7xqkQFulF2mHMMo0aEPQQa7yMGQGA1UdHwRdMFswLKAqoCiGJmh0dHA6Ly9jZXJ0LnN0YXJ0 -Y29tLm9yZy9zZnNjYS1jcmwuY3JsMCugKaAnhiVodHRwOi8vY3JsLnN0YXJ0Y29tLm9yZy9zZnNj -YS1jcmwuY3JsMIIBXQYDVR0gBIIBVDCCAVAwggFMBgsrBgEEAYG1NwEBATCCATswLwYIKwYBBQUH -AgEWI2h0dHA6Ly9jZXJ0LnN0YXJ0Y29tLm9yZy9wb2xpY3kucGRmMDUGCCsGAQUFBwIBFilodHRw -Oi8vY2VydC5zdGFydGNvbS5vcmcvaW50ZXJtZWRpYXRlLnBkZjCB0AYIKwYBBQUHAgIwgcMwJxYg -U3RhcnQgQ29tbWVyY2lhbCAoU3RhcnRDb20pIEx0ZC4wAwIBARqBl0xpbWl0ZWQgTGlhYmlsaXR5 -LCByZWFkIHRoZSBzZWN0aW9uICpMZWdhbCBMaW1pdGF0aW9ucyogb2YgdGhlIFN0YXJ0Q29tIENl -cnRpZmljYXRpb24gQXV0aG9yaXR5IFBvbGljeSBhdmFpbGFibGUgYXQgaHR0cDovL2NlcnQuc3Rh -cnRjb20ub3JnL3BvbGljeS5wZGYwEQYJYIZIAYb4QgEBBAQDAgAHMDgGCWCGSAGG+EIBDQQrFilT -dGFydENvbSBGcmVlIFNTTCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTANBgkqhkiG9w0BAQUFAAOC -AgEAFmyZ9GYMNPXQhV59CuzaEE44HF7fpiUFS5Eyweg78T3dRAlbB0mKKctmArexmvclmAk8jhvh -3TaHK0u7aNM5Zj2gJsfyOZEdUauCe37Vzlrk4gNXcGmXCPleWKYK34wGmkUWFjgKXlf2Ysd6AgXm -vB618p70qSmD+LIU424oh0TDkBreOKk8rENNZEXO3SipXPJzewT4F+irsfMuXGRuczE6Eri8sxHk -fY+BUZo7jYn0TZNmezwD7dOaHZrzZVD1oNB1ny+v8OqCQ5j4aZyJecRDjkZy42Q2Eq/3JR44iZB3 -fsNrarnDy0RLrHiQi+fHLB5LEUTINFInzQpdn4XBidUaePKVEFMy3YCEZnXZtWgo+2EuvoSoOMCZ -EoalHmdkrQYuL6lwhceWD3yJZfWOQ1QOq92lgDmUYMA0yZZwLKMS9R9Ie70cfmu3nZD0Ijuu+Pwq -yvqCUqDvr0tVk+vBtfAii6w0TiYiBKGHLHVKt+V9E9e4DGTANtLJL4YSjCMJwRuCO3NJo2pXh5Tl -1njFmUNj403gdy3hZZlyaQQaRwnmDwFWJPsfvw55qVguucQJAX6Vum0ABj6y6koQOdjQK/W/7HW/ -lwLFCRsI3FU34oH7N4RDYiDK51ZLZer+bMEkkyShNOsF/5oirpt9P/FlUQqmMGqz9IgcgA38coro -g14= ------END CERTIFICATE----- - -Taiwan GRCA -=========== ------BEGIN CERTIFICATE----- -MIIFcjCCA1qgAwIBAgIQH51ZWtcvwgZEpYAIaeNe9jANBgkqhkiG9w0BAQUFADA/MQswCQYDVQQG -EwJUVzEwMC4GA1UECgwnR292ZXJubWVudCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4X -DTAyMTIwNTEzMjMzM1oXDTMyMTIwNTEzMjMzM1owPzELMAkGA1UEBhMCVFcxMDAuBgNVBAoMJ0dv -dmVybm1lbnQgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAJoluOzMonWoe/fOW1mKydGGEghU7Jzy50b2iPN86aXfTEc2pBsBHH8eV4qN -w8XRIePaJD9IK/ufLqGU5ywck9G/GwGHU5nOp/UKIXZ3/6m3xnOUT0b3EEk3+qhZSV1qgQdW8or5 -BtD3cCJNtLdBuTK4sfCxw5w/cP1T3YGq2GN49thTbqGsaoQkclSGxtKyyhwOeYHWtXBiCAEuTk8O -1RGvqa/lmr/czIdtJuTJV6L7lvnM4T9TjGxMfptTCAtsF/tnyMKtsc2AtJfcdgEWFelq16TheEfO -htX7MfP6Mb40qij7cEwdScevLJ1tZqa2jWR+tSBqnTuBto9AAGdLiYa4zGX+FVPpBMHWXx1E1wov -J5pGfaENda1UhhXcSTvxls4Pm6Dso3pdvtUqdULle96ltqqvKKyskKw4t9VoNSZ63Pc78/1Fm9G7 -Q3hub/FCVGqY8A2tl+lSXunVanLeavcbYBT0peS2cWeqH+riTcFCQP5nRhc4L0c/cZyu5SHKYS1t -B6iEfC3uUSXxY5Ce/eFXiGvviiNtsea9P63RPZYLhY3Naye7twWb7LuRqQoHEgKXTiCQ8P8NHuJB -O9NAOueNXdpm5AKwB1KYXA6OM5zCppX7VRluTI6uSw+9wThNXo+EHWbNxWCWtFJaBYmOlXqYwZE8 -lSOyDvR5tMl8wUohAgMBAAGjajBoMB0GA1UdDgQWBBTMzO/MKWCkO7GStjz6MmKPrCUVOzAMBgNV -HRMEBTADAQH/MDkGBGcqBwAEMTAvMC0CAQAwCQYFKw4DAhoFADAHBgVnKgMAAAQUA5vwIhP/lSg2 -09yewDL7MTqKUWUwDQYJKoZIhvcNAQEFBQADggIBAECASvomyc5eMN1PhnR2WPWus4MzeKR6dBcZ -TulStbngCnRiqmjKeKBMmo4sIy7VahIkv9Ro04rQ2JyftB8M3jh+Vzj8jeJPXgyfqzvS/3WXy6Tj -Zwj/5cAWtUgBfen5Cv8b5Wppv3ghqMKnI6mGq3ZW6A4M9hPdKmaKZEk9GhiHkASfQlK3T8v+R0F2 -Ne//AHY2RTKbxkaFXeIksB7jSJaYV0eUVXoPQbFEJPPB/hprv4j9wabak2BegUqZIJxIZhm1AHlU -D7gsL0u8qV1bYH+Mh6XgUmMqvtg7hUAV/h62ZT/FS9p+tXo1KaMuephgIqP0fSdOLeq0dDzpD6Qz -DxARvBMB1uUO07+1EqLhRSPAzAhuYbeJq4PjJB7mXQfnHyA+z2fI56wwbSdLaG5LKlwCCDTb+Hbk -Z6MmnD+iMsJKxYEYMRBWqoTvLQr/uB930r+lWKBi5NdLkXWNiYCYfm3LU05er/ayl4WXudpVBrkk -7tfGOB5jGxI7leFYrPLfhNVfmS8NVVvmONsuP3LpSIXLuykTjx44VbnzssQwmSNOXfJIoRIM3BKQ -CZBUkQM8R+XVyWXgt0t97EfTsws+rZ7QdAAO671RrcDeLMDDav7v3Aun+kbfYNucpllQdSNpc5Oy -+fwC00fmcc4QAu4njIT/rEUNE1yDMuAlpYYsfPQS ------END CERTIFICATE----- - -Firmaprofesional Root CA -======================== ------BEGIN CERTIFICATE----- -MIIEVzCCAz+gAwIBAgIBATANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCRVMxIjAgBgNVBAcT -GUMvIE11bnRhbmVyIDI0NCBCYXJjZWxvbmExQjBABgNVBAMTOUF1dG9yaWRhZCBkZSBDZXJ0aWZp -Y2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2ODEmMCQGCSqGSIb3DQEJARYXY2FA -ZmlybWFwcm9mZXNpb25hbC5jb20wHhcNMDExMDI0MjIwMDAwWhcNMTMxMDI0MjIwMDAwWjCBnTEL -MAkGA1UEBhMCRVMxIjAgBgNVBAcTGUMvIE11bnRhbmVyIDI0NCBCYXJjZWxvbmExQjBABgNVBAMT -OUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2 -ODEmMCQGCSqGSIb3DQEJARYXY2FAZmlybWFwcm9mZXNpb25hbC5jb20wggEiMA0GCSqGSIb3DQEB -AQUAA4IBDwAwggEKAoIBAQDnIwNvbyOlXnjOlSztlB5uCp4Bx+ow0Syd3Tfom5h5VtP8c9/Qit5V -j1H5WuretXDE7aTt/6MNbg9kUDGvASdYrv5sp0ovFy3Tc9UTHI9ZpTQsHVQERc1ouKDAA6XPhUJH -lShbz++AbOCQl4oBPB3zhxAwJkh91/zpnZFx/0GaqUC1N5wpIE8fUuOgfRNtVLcK3ulqTgesrBlf -3H5idPayBQC6haD9HThuy1q7hryUZzM1gywfI834yJFxzJeL764P3CkDG8A563DtwW4O2GcLiam8 -NeTvtjS0pbbELaW+0MOUJEjb35bTALVmGotmBQ/dPz/LP6pemkr4tErvlTcbAgMBAAGjgZ8wgZww -KgYDVR0RBCMwIYYfaHR0cDovL3d3dy5maXJtYXByb2Zlc2lvbmFsLmNvbTASBgNVHRMBAf8ECDAG -AQH/AgEBMCsGA1UdEAQkMCKADzIwMDExMDI0MjIwMDAwWoEPMjAxMzEwMjQyMjAwMDBaMA4GA1Ud -DwEB/wQEAwIBBjAdBgNVHQ4EFgQUMwugZtHq2s7eYpMEKFK1FH84aLcwDQYJKoZIhvcNAQEFBQAD -ggEBAEdz/o0nVPD11HecJ3lXV7cVVuzH2Fi3AQL0M+2TUIiefEaxvT8Ub/GzR0iLjJcG1+p+o1wq -u00vR+L4OQbJnC4xGgN49Lw4xiKLMzHwFgQEffl25EvXwOaD7FnMP97/T2u3Z36mhoEyIwOdyPdf -wUpgpZKpsaSgYMN4h7Mi8yrrW6ntBas3D7Hi05V2Y1Z0jFhyGzflZKG+TQyTmAyX9odtsz/ny4Cm -7YjHX1BiAuiZdBbQ5rQ58SfLyEDW44YQqSMSkuBpQWOnryULwMWSyx6Yo1q6xTMPoJcB3X/ge9YG -VM+h4k0460tQtcsm9MracEpqoeJ5quGnM/b9Sh/22WA= ------END CERTIFICATE----- - -Wells Fargo Root CA -=================== ------BEGIN CERTIFICATE----- -MIID5TCCAs2gAwIBAgIEOeSXnjANBgkqhkiG9w0BAQUFADCBgjELMAkGA1UEBhMCVVMxFDASBgNV -BAoTC1dlbGxzIEZhcmdvMSwwKgYDVQQLEyNXZWxscyBGYXJnbyBDZXJ0aWZpY2F0aW9uIEF1dGhv -cml0eTEvMC0GA1UEAxMmV2VsbHMgRmFyZ28gUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcN -MDAxMDExMTY0MTI4WhcNMjEwMTE0MTY0MTI4WjCBgjELMAkGA1UEBhMCVVMxFDASBgNVBAoTC1dl -bGxzIEZhcmdvMSwwKgYDVQQLEyNXZWxscyBGYXJnbyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEv -MC0GA1UEAxMmV2VsbHMgRmFyZ28gUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqG -SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDVqDM7Jvk0/82bfuUER84A4n135zHCLielTWi5MbqNQ1mX -x3Oqfz1cQJ4F5aHiidlMuD+b+Qy0yGIZLEWukR5zcUHESxP9cMIlrCL1dQu3U+SlK93OvRw6esP3 -E48mVJwWa2uv+9iWsWCaSOAlIiR5NM4OJgALTqv9i86C1y8IcGjBqAr5dE8Hq6T54oN+J3N0Prj5 -OEL8pahbSCOz6+MlsoCultQKnMJ4msZoGK43YjdeUXWoWGPAUe5AeH6orxqg4bB4nVCMe+ez/I4j -sNtlAHCEAQgAFG5Uhpq6zPk3EPbg3oQtnaSFN9OH4xXQwReQfhkhahKpdv0SAulPIV4XAgMBAAGj -YTBfMA8GA1UdEwEB/wQFMAMBAf8wTAYDVR0gBEUwQzBBBgtghkgBhvt7hwcBCzAyMDAGCCsGAQUF -BwIBFiRodHRwOi8vd3d3LndlbGxzZmFyZ28uY29tL2NlcnRwb2xpY3kwDQYJKoZIhvcNAQEFBQAD -ggEBANIn3ZwKdyu7IvICtUpKkfnRLb7kuxpo7w6kAOnu5+/u9vnldKTC2FJYxHT7zmu1Oyl5GFrv -m+0fazbuSCUlFLZWohDo7qd/0D+j0MNdJu4HzMPBJCGHHt8qElNvQRbn7a6U+oxy+hNH8Dx+rn0R -OhPs7fpvcmR7nX1/Jv16+yWt6j4pf0zjAFcysLPp7VMX2YuyFA4w6OXVE8Zkr8QA1dhYJPz1j+zx -x32l2w8n0cbyQIjmH/ZhqPRCyLk306m+LFZ4wnKbWV01QIroTmMatukgalHizqSQ33ZwmVxwQ023 -tqcZZE6St8WRPH9IFmV7Fv3L/PvZ1dZPIWU7Sn9Ho/s= ------END CERTIFICATE----- - -Swisscom Root CA 1 -================== ------BEGIN CERTIFICATE----- -MIIF2TCCA8GgAwIBAgIQXAuFXAvnWUHfV8w/f52oNjANBgkqhkiG9w0BAQUFADBkMQswCQYDVQQG -EwJjaDERMA8GA1UEChMIU3dpc3Njb20xJTAjBgNVBAsTHERpZ2l0YWwgQ2VydGlmaWNhdGUgU2Vy -dmljZXMxGzAZBgNVBAMTElN3aXNzY29tIFJvb3QgQ0EgMTAeFw0wNTA4MTgxMjA2MjBaFw0yNTA4 -MTgyMjA2MjBaMGQxCzAJBgNVBAYTAmNoMREwDwYDVQQKEwhTd2lzc2NvbTElMCMGA1UECxMcRGln -aXRhbCBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEbMBkGA1UEAxMSU3dpc3Njb20gUm9vdCBDQSAxMIIC -IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0LmwqAzZuz8h+BvVM5OAFmUgdbI9m2BtRsiM -MW8Xw/qabFbtPMWRV8PNq5ZJkCoZSx6jbVfd8StiKHVFXqrWW/oLJdihFvkcxC7mlSpnzNApbjyF -NDhhSbEAn9Y6cV9Nbc5fuankiX9qUvrKm/LcqfmdmUc/TilftKaNXXsLmREDA/7n29uj/x2lzZAe -AR81sH8A25Bvxn570e56eqeqDFdvpG3FEzuwpdntMhy0XmeLVNxzh+XTF3xmUHJd1BpYwdnP2IkC -b6dJtDZd0KTeByy2dbcokdaXvij1mB7qWybJvbCXc9qukSbraMH5ORXWZ0sKbU/Lz7DkQnGMU3nn -7uHbHaBuHYwadzVcFh4rUx80i9Fs/PJnB3r1re3WmquhsUvhzDdf/X/NTa64H5xD+SpYVUNFvJbN -cA78yeNmuk6NO4HLFWR7uZToXTNShXEuT46iBhFRyePLoW4xCGQMwtI89Tbo19AOeCMgkckkKmUp -WyL3Ic6DXqTz3kvTaI9GdVyDCW4pa8RwjPWd1yAv/0bSKzjCL3UcPX7ape8eYIVpQtPM+GP+HkM5 -haa2Y0EQs3MevNP6yn0WR+Kn1dCjigoIlmJWbjTb2QK5MHXjBNLnj8KwEUAKrNVxAmKLMb7dxiNY -MUJDLXT5xp6mig/p/r+D5kNXJLrvRjSq1xIBOO0CAwEAAaOBhjCBgzAOBgNVHQ8BAf8EBAMCAYYw -HQYDVR0hBBYwFDASBgdghXQBUwABBgdghXQBUwABMBIGA1UdEwEB/wQIMAYBAf8CAQcwHwYDVR0j -BBgwFoAUAyUv3m+CATpcLNwroWm1Z9SM0/0wHQYDVR0OBBYEFAMlL95vggE6XCzcK6FptWfUjNP9 -MA0GCSqGSIb3DQEBBQUAA4ICAQA1EMvspgQNDQ/NwNurqPKIlwzfky9NfEBWMXrrpA9gzXrzvsMn -jgM+pN0S734edAY8PzHyHHuRMSG08NBsl9Tpl7IkVh5WwzW9iAUPWxAaZOHHgjD5Mq2eUCzneAXQ -MbFamIp1TpBcahQq4FJHgmDmHtqBsfsUC1rxn9KVuj7QG9YVHaO+htXbD8BJZLsuUBlL0iT43R4H -VtA4oJVwIHaM190e3p9xxCPvgxNcoyQVTSlAPGrEqdi3pkSlDfTgnXceQHAm/NrZNuR55LU/vJtl -vrsRls/bxig5OgjOR1tTWsWZ/l2p3e9M1MalrQLmjAcSHm8D0W+go/MpvRLHUKKwf4ipmXeascCl -OS5cfGniLLDqN2qk4Vrh9VDlg++luyqI54zb/W1elxmofmZ1a3Hqv7HHb6D0jqTsNFFbjCYDcKF3 -1QESVwA12yPeDooomf2xEG9L/zgtYE4snOtnta1J7ksfrK/7DZBaZmBwXarNeNQk7shBoJMBkpxq -nvy5JMWzFYJ+vq6VK+uxwNrjAWALXmmshFZhvnEX/h0TD/7Gh0Xp/jKgGg0TpJRVcaUWi7rKibCy -x/yP2FS1k2Kdzs9Z+z0YzirLNRWCXf9UIltxUvu3yf5gmwBBZPCqKuy2QkPOiWaByIufOVQDJdMW -NY6E0F/6MBr1mmz0DlP5OlvRHA== ------END CERTIFICATE----- - -DigiCert Assured ID Root CA -=========================== ------BEGIN CERTIFICATE----- -MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw -IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzEx -MTEwMDAwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL -ExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0Ew -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7cJpSIqvTO -9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYPmDI2dsze3Tyoou9q+yHy -UmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW -/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpy -oeb6pNnVFzF1roV9Iq4/AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whf -GHdPAgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRF -66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYunpyGd823IDzANBgkq -hkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRCdWKuh+vy1dneVrOfzM4UKLkNl2Bc -EkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTffwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38Fn -SbNd67IJKusm7Xi+fT8r87cmNW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i -8b5QZ7dsvfPxH2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe -+o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g== ------END CERTIFICATE----- - -DigiCert Global Root CA -======================= ------BEGIN CERTIFICATE----- -MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBhMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAw -HgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBDQTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAw -MDAwMDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3 -dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkq -hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsBCSDMAZOn -TjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97nh6Vfe63SKMI2tavegw5 -BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt43C/dxC//AH2hdmoRBBYMql1GNXRor5H -4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7PT19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y -7vrTC0LUq7dBMtoM1O/4gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQAB -o2MwYTAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbRTLtm -8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUwDQYJKoZIhvcNAQEF -BQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/EsrhMAtudXH/vTBH1jLuG2cenTnmCmr -EbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIt -tep3Sp+dWOIrWcBAI+0tKIJFPnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886 -UAb3LujEV0lsYSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk -CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4= ------END CERTIFICATE----- - -DigiCert High Assurance EV Root CA -================================== ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBsMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSsw -KQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5jZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAw -MFoXDTMxMTExMDAwMDAwMFowbDELMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZ -MBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFu -Y2UgRVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm+9S75S0t -Mqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTWPNt0OKRKzE0lgvdKpVMS -OO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEMxChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3 -MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFBIk5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQ -NAQTXKFx01p8VdteZOE3hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUe -h10aUAsgEsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMB -Af8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaAFLE+w2kD+L9HAdSY -JhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3NecnzyIZgYIVyHbIUf4KmeqvxgydkAQ -V8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6zeM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFp -myPInngiK3BD41VHMWEZ71jFhS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkK -mNEVX58Svnw2Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe -vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep+OkuE6N36B9K ------END CERTIFICATE----- - -Certplus Class 2 Primary CA -=========================== ------BEGIN CERTIFICATE----- -MIIDkjCCAnqgAwIBAgIRAIW9S/PY2uNp9pTXX8OlRCMwDQYJKoZIhvcNAQEFBQAwPTELMAkGA1UE -BhMCRlIxETAPBgNVBAoTCENlcnRwbHVzMRswGQYDVQQDExJDbGFzcyAyIFByaW1hcnkgQ0EwHhcN -OTkwNzA3MTcwNTAwWhcNMTkwNzA2MjM1OTU5WjA9MQswCQYDVQQGEwJGUjERMA8GA1UEChMIQ2Vy -dHBsdXMxGzAZBgNVBAMTEkNsYXNzIDIgUHJpbWFyeSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP -ADCCAQoCggEBANxQltAS+DXSCHh6tlJw/W/uz7kRy1134ezpfgSN1sxvc0NXYKwzCkTsA18cgCSR -5aiRVhKC9+Ar9NuuYS6JEI1rbLqzAr3VNsVINyPi8Fo3UjMXEuLRYE2+L0ER4/YXJQyLkcAbmXuZ -Vg2v7tK8R1fjeUl7NIknJITesezpWE7+Tt9avkGtrAjFGA7v0lPubNCdEgETjdyAYveVqUSISnFO -YFWe2yMZeVYHDD9jC1yw4r5+FfyUM1hBOHTE4Y+L3yasH7WLO7dDWWuwJKZtkIvEcupdM5i3y95e -e++U8Rs+yskhwcWYAqqi9lt3m/V+llU0HGdpwPFC40es/CgcZlUCAwEAAaOBjDCBiTAPBgNVHRME -CDAGAQH/AgEKMAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQU43Mt38sOKAze3bOkynm4jrvoMIkwEQYJ -YIZIAYb4QgEBBAQDAgEGMDcGA1UdHwQwMC4wLKAqoCiGJmh0dHA6Ly93d3cuY2VydHBsdXMuY29t -L0NSTC9jbGFzczIuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQCnVM+IRBnL39R/AN9WM2K191EBkOvD -P9GIROkkXe/nFL0gt5o8AP5tn9uQ3Nf0YtaLcF3n5QRIqWh8yfFC82x/xXp8HVGIutIKPidd3i1R -TtMTZGnkLuPT55sJmabglZvOGtd/vjzOUrMRFcEPF80Du5wlFbqidon8BvEY0JNLDnyCt6X09l/+ -7UCmnYR0ObncHoUW2ikbhiMAybuJfm6AiB4vFLQDJKgybwOaRywwvlbGp0ICcBvqQNi6BQNwB6SW -//1IMwrh3KWBkJtN3X3n57LNXMhqlfil9o3EXXgIvnsG1knPGTZQIy4I5p4FTUcY1Rbpsda2ENW7 -l7+ijrRU ------END CERTIFICATE----- - -DST Root CA X3 -============== ------BEGIN CERTIFICATE----- -MIIDSjCCAjKgAwIBAgIQRK+wgNajJ7qJMDmGLvhAazANBgkqhkiG9w0BAQUFADA/MSQwIgYDVQQK -ExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMTDkRTVCBSb290IENBIFgzMB4X -DTAwMDkzMDIxMTIxOVoXDTIxMDkzMDE0MDExNVowPzEkMCIGA1UEChMbRGlnaXRhbCBTaWduYXR1 -cmUgVHJ1c3QgQ28uMRcwFQYDVQQDEw5EU1QgUm9vdCBDQSBYMzCCASIwDQYJKoZIhvcNAQEBBQAD -ggEPADCCAQoCggEBAN+v6ZdQCINXtMxiZfaQguzH0yxrMMpb7NnDfcdAwRgUi+DoM3ZJKuM/IUmT -rE4Orz5Iy2Xu/NMhD2XSKtkyj4zl93ewEnu1lcCJo6m67XMuegwGMoOifooUMM0RoOEqOLl5CjH9 -UL2AZd+3UWODyOKIYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9bxiqKqy69cK3FCxolkHRy -xXtqqzTWMIn/5WgTe1QLyNau7Fqckh49ZLOMxt+/yUFw7BZy1SbsOFU5Q9D8/RhcQPGX69Wam40d -utolucbY38EVAjqr2m7xPi71XAicPNaDaeQQmxkqtilX4+U9m5/wAl0CAwEAAaNCMEAwDwYDVR0T -AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62+FLkHX/xBVghYkQ -MA0GCSqGSIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69ikug -dB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXrAvHRAosZy5Q6XkjE -GB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZzR8srzJmwN0jP41ZL9c8PDHIyh8bw -RLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubS -fZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ ------END CERTIFICATE----- - -DST ACES CA X6 -============== ------BEGIN CERTIFICATE----- -MIIECTCCAvGgAwIBAgIQDV6ZCtadt3js2AdWO4YV2TANBgkqhkiG9w0BAQUFADBbMQswCQYDVQQG -EwJVUzEgMB4GA1UEChMXRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QxETAPBgNVBAsTCERTVCBBQ0VT -MRcwFQYDVQQDEw5EU1QgQUNFUyBDQSBYNjAeFw0wMzExMjAyMTE5NThaFw0xNzExMjAyMTE5NTha -MFsxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExdEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdDERMA8GA1UE -CxMIRFNUIEFDRVMxFzAVBgNVBAMTDkRTVCBBQ0VTIENBIFg2MIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEAuT31LMmU3HWKlV1j6IR3dma5WZFcRt2SPp/5DgO0PWGSvSMmtWPuktKe1jzI -DZBfZIGxqAgNTNj50wUoUrQBJcWVHAx+PhCEdc/BGZFjz+iokYi5Q1K7gLFViYsx+tC3dr5BPTCa -pCIlF3PoHuLTrCq9Wzgh1SpL11V94zpVvddtawJXa+ZHfAjIgrrep4c9oW24MFbCswKBXy314pow -GCi4ZtPLAZZv6opFVdbgnf9nKxcCpk4aahELfrd755jWjHZvwTvbUJN+5dCOHze4vbrGn2zpfDPy -MjwmR/onJALJfh1biEITajV8fTXpLmaRcpPVMibEdPVTo7NdmvYJywIDAQABo4HIMIHFMA8GA1Ud -EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgHGMB8GA1UdEQQYMBaBFHBraS1vcHNAdHJ1c3Rkc3Qu -Y29tMGIGA1UdIARbMFkwVwYKYIZIAWUDAgEBATBJMEcGCCsGAQUFBwIBFjtodHRwOi8vd3d3LnRy -dXN0ZHN0LmNvbS9jZXJ0aWZpY2F0ZXMvcG9saWN5L0FDRVMtaW5kZXguaHRtbDAdBgNVHQ4EFgQU -CXIGThhDD+XWzMNqizF7eI+og7gwDQYJKoZIhvcNAQEFBQADggEBAKPYjtay284F5zLNAdMEA+V2 -5FYrnJmQ6AgwbN99Pe7lv7UkQIRJ4dEorsTCOlMwiPH1d25Ryvr/ma8kXxug/fKshMrfqfBfBC6t -Fr8hlxCBPeP/h40y3JTlR4peahPJlJU90u7INJXQgNStMgiAVDzgvVJT11J8smk/f3rPanTK+gQq -nExaBqXpIK1FZg9p8d2/6eMyi/rgwYZNcjwu2JN4Cir42NInPRmJX1p7ijvMDNpRrscL9yuwNwXs -vFcj4jjSm2jzVhKIT0J8uDHEtdvkyCE06UgRNe76x5JXxZ805Mf29w4LTJxoeHtxMcfrHuBnQfO3 -oKfN5XozNmr6mis= ------END CERTIFICATE----- - -TURKTRUST Certificate Services Provider Root 1 -============================================== ------BEGIN CERTIFICATE----- -MIID+zCCAuOgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBtzE/MD0GA1UEAww2VMOcUktUUlVTVCBF -bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGDAJUUjEP -MA0GA1UEBwwGQU5LQVJBMVYwVAYDVQQKDE0oYykgMjAwNSBUw5xSS1RSVVNUIEJpbGdpIMSwbGV0 -acWfaW0gdmUgQmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLjAeFw0wNTA1MTMx -MDI3MTdaFw0xNTAzMjIxMDI3MTdaMIG3MT8wPQYDVQQDDDZUw5xSS1RSVVNUIEVsZWt0cm9uaWsg -U2VydGlmaWthIEhpem1ldCBTYcSfbGF5xLFjxLFzxLExCzAJBgNVBAYMAlRSMQ8wDQYDVQQHDAZB -TktBUkExVjBUBgNVBAoMTShjKSAyMDA1IFTDnFJLVFJVU1QgQmlsZ2kgxLBsZXRpxZ9pbSB2ZSBC -aWxpxZ9pbSBHw7x2ZW5sacSfaSBIaXptZXRsZXJpIEEuxZ4uMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEAylIF1mMD2Bxf3dJ7XfIMYGFbazt0K3gNfUW9InTojAPBxhEqPZW8qZSwu5GX -yGl8hMW0kWxsE2qkVa2kheiVfrMArwDCBRj1cJ02i67L5BuBf5OI+2pVu32Fks66WJ/bMsW9Xe8i -Si9BB35JYbOG7E6mQW6EvAPs9TscyB/C7qju6hJKjRTP8wrgUDn5CDX4EVmt5yLqS8oUBt5CurKZ -8y1UiBAG6uEaPj1nH/vO+3yC6BFdSsG5FOpU2WabfIl9BJpiyelSPJ6c79L1JuTm5Rh8i27fbMx4 -W09ysstcP4wFjdFMjK2Sx+F4f2VsSQZQLJ4ywtdKxnWKWU51b0dewQIDAQABoxAwDjAMBgNVHRME -BTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQAV9VX/N5aAWSGk/KEVTCD21F/aAyT8z5Aa9CEKmu46 -sWrv7/hg0Uw2ZkUd82YCdAR7kjCo3gp2D++Vbr3JN+YaDayJSFvMgzbC9UZcWYJWtNX+I7TYVBxE -q8Sn5RTOPEFhfEPmzcSBCYsk+1Ql1haolgxnB2+zUEfjHCQo3SqYpGH+2+oSN7wBGjSFvW5P55Fy -B0SFHljKVETd96y5y4khctuPwGkplyqjrhgjlxxBKot8KsF8kOipKMDTkcatKIdAaLX/7KfS0zgY -nNN9aV3wxqUeJBujR/xpB2jn5Jq07Q+hh4cCzofSSE7hvP/L8XKSRGQDJereW26fyfJOrN3H ------END CERTIFICATE----- - -TURKTRUST Certificate Services Provider Root 2 -============================================== ------BEGIN CERTIFICATE----- -MIIEPDCCAySgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBvjE/MD0GA1UEAww2VMOcUktUUlVTVCBF -bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGEwJUUjEP -MA0GA1UEBwwGQW5rYXJhMV0wWwYDVQQKDFRUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUg -QmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAoYykgS2FzxLFtIDIwMDUwHhcN -MDUxMTA3MTAwNzU3WhcNMTUwOTE2MTAwNzU3WjCBvjE/MD0GA1UEAww2VMOcUktUUlVTVCBFbGVr -dHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGEwJUUjEPMA0G -A1UEBwwGQW5rYXJhMV0wWwYDVQQKDFRUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUgQmls -acWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAoYykgS2FzxLFtIDIwMDUwggEiMA0G -CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpNn7DkUNMwxmYCMjHWHtPFoylzkkBH3MOrHUTpvqe -LCDe2JAOCtFp0if7qnefJ1Il4std2NiDUBd9irWCPwSOtNXwSadktx4uXyCcUHVPr+G1QRT0mJKI -x+XlZEdhR3n9wFHxwZnn3M5q+6+1ATDcRhzviuyV79z/rxAc653YsKpqhRgNF8k+v/Gb0AmJQv2g -QrSdiVFVKc8bcLyEVK3BEx+Y9C52YItdP5qtygy/p1Zbj3e41Z55SZI/4PGXJHpsmxcPbe9TmJEr -5A++WXkHeLuXlfSfadRYhwqp48y2WBmfJiGxxFmNskF1wK1pzpwACPI2/z7woQ8arBT9pmAPAgMB -AAGjQzBBMB0GA1UdDgQWBBTZN7NOBf3Zz58SFq62iS/rJTqIHDAPBgNVHQ8BAf8EBQMDBwYAMA8G -A1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAHJglrfJ3NgpXiOFX7KzLXb7iNcX/ntt -Rbj2hWyfIvwqECLsqrkw9qtY1jkQMZkpAL2JZkH7dN6RwRgLn7Vhy506vvWolKMiVW4XSf/SKfE4 -Jl3vpao6+XF75tpYHdN0wgH6PmlYX63LaL4ULptswLbcoCb6dxriJNoaN+BnrdFzgw2lGh1uEpJ+ -hGIAF728JRhX8tepb1mIvDS3LoV4nZbcFMMsilKbloxSZj2GFotHuFEJjOp9zYhys2AzsfAKRO8P -9Qk3iCQOLGsgOqL6EfJANZxEaGM7rDNvY7wsu/LSy3Z9fYjYHcgFHW68lKlmjHdxx/qR+i9Rnuk5 -UrbnBEI= ------END CERTIFICATE----- - -SwissSign Platinum CA - G2 -========================== ------BEGIN CERTIFICATE----- -MIIFwTCCA6mgAwIBAgIITrIAZwwDXU8wDQYJKoZIhvcNAQEFBQAwSTELMAkGA1UEBhMCQ0gxFTAT -BgNVBAoTDFN3aXNzU2lnbiBBRzEjMCEGA1UEAxMaU3dpc3NTaWduIFBsYXRpbnVtIENBIC0gRzIw -HhcNMDYxMDI1MDgzNjAwWhcNMzYxMDI1MDgzNjAwWjBJMQswCQYDVQQGEwJDSDEVMBMGA1UEChMM -U3dpc3NTaWduIEFHMSMwIQYDVQQDExpTd2lzc1NpZ24gUGxhdGludW0gQ0EgLSBHMjCCAiIwDQYJ -KoZIhvcNAQEBBQADggIPADCCAgoCggIBAMrfogLi2vj8Bxax3mCq3pZcZB/HL37PZ/pEQtZ2Y5Wu -669yIIpFR4ZieIbWIDkm9K6j/SPnpZy1IiEZtzeTIsBQnIJ71NUERFzLtMKfkr4k2HtnIuJpX+UF -eNSH2XFwMyVTtIc7KZAoNppVRDBopIOXfw0enHb/FZ1glwCNioUD7IC+6ixuEFGSzH7VozPY1kne -WCqv9hbrS3uQMpe5up1Y8fhXSQQeol0GcN1x2/ndi5objM89o03Oy3z2u5yg+gnOI2Ky6Q0f4nIo -j5+saCB9bzuohTEJfwvH6GXp43gOCWcwizSC+13gzJ2BbWLuCB4ELE6b7P6pT1/9aXjvCR+htL/6 -8++QHkwFix7qepF6w9fl+zC8bBsQWJj3Gl/QKTIDE0ZNYWqFTFJ0LwYfexHihJfGmfNtf9dng34T -aNhxKFrYzt3oEBSa/m0jh26OWnA81Y0JAKeqvLAxN23IhBQeW71FYyBrS3SMvds6DsHPWhaPpZjy -domyExI7C3d3rLvlPClKknLKYRorXkzig3R3+jVIeoVNjZpTxN94ypeRSCtFKwH3HBqi7Ri6Cr2D -+m+8jVeTO9TUps4e8aCxzqv9KyiaTxvXw3LbpMS/XUz13XuWae5ogObnmLo2t/5u7Su9IPhlGdpV -CX4l3P5hYnL5fhgC72O00Puv5TtjjGePAgMBAAGjgawwgakwDgYDVR0PAQH/BAQDAgEGMA8GA1Ud -EwEB/wQFMAMBAf8wHQYDVR0OBBYEFFCvzAeHFUdvOMW0ZdHelarp35zMMB8GA1UdIwQYMBaAFFCv -zAeHFUdvOMW0ZdHelarp35zMMEYGA1UdIAQ/MD0wOwYJYIV0AVkBAQEBMC4wLAYIKwYBBQUHAgEW -IGh0dHA6Ly9yZXBvc2l0b3J5LnN3aXNzc2lnbi5jb20vMA0GCSqGSIb3DQEBBQUAA4ICAQAIhab1 -Fgz8RBrBY+D5VUYI/HAcQiiWjrfFwUF1TglxeeVtlspLpYhg0DB0uMoI3LQwnkAHFmtllXcBrqS3 -NQuB2nEVqXQXOHtYyvkv+8Bldo1bAbl93oI9ZLi+FHSjClTTLJUYFzX1UWs/j6KWYTl4a0vlpqD4 -U99REJNi54Av4tHgvI42Rncz7Lj7jposiU0xEQ8mngS7twSNC/K5/FqdOxa3L8iYq/6KUFkuozv8 -KV2LwUvJ4ooTHbG/u0IdUt1O2BReEMYxB+9xJ/cbOQncguqLs5WGXv312l0xpuAxtpTmREl0xRbl -9x8DYSjFyMsSoEJL+WuICI20MhjzdZ/EfwBPBZWcoxcCw7NTm6ogOSkrZvqdr16zktK1puEa+S1B -aYEUtLS17Yk9zvupnTVCRLEcFHOBzyoBNZox1S2PbYTfgE1X4z/FhHXaicYwu+uPyyIIoK6q8QNs -OktNCaUOcsZWayFCTiMlFGiudgp8DAdwZPmaL/YFOSbGDI8Zf0NebvRbFS/bYV3mZy8/CJT5YLSY -Mdp08YSTcU1f+2BY0fvEwW2JorsgH51xkcsymxM9Pn2SUjWskpSi0xjCfMfqr3YFFt1nJ8J+HAci -IfNAChs0B0QTwoRqjt8ZWr9/6x3iGjjRXK9HkmuAtTClyY3YqzGBH9/CZjfTk6mFhnll0g== ------END CERTIFICATE----- - -SwissSign Gold CA - G2 -====================== ------BEGIN CERTIFICATE----- -MIIFujCCA6KgAwIBAgIJALtAHEP1Xk+wMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkNIMRUw -EwYDVQQKEwxTd2lzc1NpZ24gQUcxHzAdBgNVBAMTFlN3aXNzU2lnbiBHb2xkIENBIC0gRzIwHhcN -MDYxMDI1MDgzMDM1WhcNMzYxMDI1MDgzMDM1WjBFMQswCQYDVQQGEwJDSDEVMBMGA1UEChMMU3dp -c3NTaWduIEFHMR8wHQYDVQQDExZTd2lzc1NpZ24gR29sZCBDQSAtIEcyMIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEAr+TufoskDhJuqVAtFkQ7kpJcyrhdhJJCEyq8ZVeCQD5XJM1QiyUq -t2/876LQwB8CJEoTlo8jE+YoWACjR8cGp4QjK7u9lit/VcyLwVcfDmJlD909Vopz2q5+bbqBHH5C -jCA12UNNhPqE21Is8w4ndwtrvxEvcnifLtg+5hg3Wipy+dpikJKVyh+c6bM8K8vzARO/Ws/BtQpg -vd21mWRTuKCWs2/iJneRjOBiEAKfNA+k1ZIzUd6+jbqEemA8atufK+ze3gE/bk3lUIbLtK/tREDF -ylqM2tIrfKjuvqblCqoOpd8FUrdVxyJdMmqXl2MT28nbeTZ7hTpKxVKJ+STnnXepgv9VHKVxaSvR -AiTysybUa9oEVeXBCsdtMDeQKuSeFDNeFhdVxVu1yzSJkvGdJo+hB9TGsnhQ2wwMC3wLjEHXuend -jIj3o02yMszYF9rNt85mndT9Xv+9lz4pded+p2JYryU0pUHHPbwNUMoDAw8IWh+Vc3hiv69yFGkO -peUDDniOJihC8AcLYiAQZzlG+qkDzAQ4embvIIO1jEpWjpEA/I5cgt6IoMPiaG59je883WX0XaxR -7ySArqpWl2/5rX3aYT+YdzylkbYcjCbaZaIJbcHiVOO5ykxMgI93e2CaHt+28kgeDrpOVG2Y4OGi -GqJ3UM/EY5LsRxmd6+ZrzsECAwEAAaOBrDCBqTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw -AwEB/zAdBgNVHQ4EFgQUWyV7lqRlUX64OfPAeGZe6Drn8O4wHwYDVR0jBBgwFoAUWyV7lqRlUX64 -OfPAeGZe6Drn8O4wRgYDVR0gBD8wPTA7BglghXQBWQECAQEwLjAsBggrBgEFBQcCARYgaHR0cDov -L3JlcG9zaXRvcnkuc3dpc3NzaWduLmNvbS8wDQYJKoZIhvcNAQEFBQADggIBACe645R88a7A3hfm -5djV9VSwg/S7zV4Fe0+fdWavPOhWfvxyeDgD2StiGwC5+OlgzczOUYrHUDFu4Up+GC9pWbY9ZIEr -44OE5iKHjn3g7gKZYbge9LgriBIWhMIxkziWMaa5O1M/wySTVltpkuzFwbs4AOPsF6m43Md8AYOf -Mke6UiI0HTJ6CVanfCU2qT1L2sCCbwq7EsiHSycR+R4tx5M/nttfJmtS2S6K8RTGRI0Vqbe/vd6m -Gu6uLftIdxf+u+yvGPUqUfA5hJeVbG4bwyvEdGB5JbAKJ9/fXtI5z0V9QkvfsywexcZdylU6oJxp -mo/a77KwPJ+HbBIrZXAVUjEaJM9vMSNQH4xPjyPDdEFjHFWoFN0+4FFQz/EbMFYOkrCChdiDyyJk -vC24JdVUorgG6q2SpCSgwYa1ShNqR88uC1aVVMvOmttqtKay20EIhid392qgQmwLOM7XdVAyksLf -KzAiSNDVQTglXaTpXZ/GlHXQRf0wl0OPkKsKx4ZzYEppLd6leNcG2mqeSz53OiATIgHQv2ieY2Br -NU0LbbqhPcCT4H8js1WtciVORvnSFu+wZMEBnunKoGqYDs/YYPIvSbjkQuE4NRb0yG5P94FW6Lqj -viOvrv1vA+ACOzB2+httQc8Bsem4yWb02ybzOqR08kkkW8mw0FfB+j564ZfJ ------END CERTIFICATE----- - -SwissSign Silver CA - G2 -======================== ------BEGIN CERTIFICATE----- -MIIFvTCCA6WgAwIBAgIITxvUL1S7L0swDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UEBhMCQ0gxFTAT -BgNVBAoTDFN3aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMB4X -DTA2MTAyNTA4MzI0NloXDTM2MTAyNTA4MzI0NlowRzELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFN3 -aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMIICIjANBgkqhkiG -9w0BAQEFAAOCAg8AMIICCgKCAgEAxPGHf9N4Mfc4yfjDmUO8x/e8N+dOcbpLj6VzHVxumK4DV644 -N0MvFz0fyM5oEMF4rhkDKxD6LHmD9ui5aLlV8gREpzn5/ASLHvGiTSf5YXu6t+WiE7brYT7QbNHm -+/pe7R20nqA1W6GSy/BJkv6FCgU+5tkL4k+73JU3/JHpMjUi0R86TieFnbAVlDLaYQ1HTWBCrpJH -6INaUFjpiou5XaHc3ZlKHzZnu0jkg7Y360g6rw9njxcH6ATK72oxh9TAtvmUcXtnZLi2kUpCe2Uu -MGoM9ZDulebyzYLs2aFK7PayS+VFheZteJMELpyCbTapxDFkH4aDCyr0NQp4yVXPQbBH6TCfmb5h -qAaEuSh6XzjZG6k4sIN/c8HDO0gqgg8hm7jMqDXDhBuDsz6+pJVpATqJAHgE2cn0mRmrVn5bi4Y5 -FZGkECwJMoBgs5PAKrYYC51+jUnyEEp/+dVGLxmSo5mnJqy7jDzmDrxHB9xzUfFwZC8I+bRHHTBs -ROopN4WSaGa8gzj+ezku01DwH/teYLappvonQfGbGHLy9YR0SslnxFSuSGTfjNFusB3hB48IHpmc -celM2KX3RxIfdNFRnobzwqIjQAtz20um53MGjMGg6cFZrEb65i/4z3GcRm25xBWNOHkDRUjvxF3X -CO6HOSKGsg0PWEP3calILv3q1h8CAwEAAaOBrDCBqTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/ -BAUwAwEB/zAdBgNVHQ4EFgQUF6DNweRBtjpbO8tFnb0cwpj6hlgwHwYDVR0jBBgwFoAUF6DNweRB -tjpbO8tFnb0cwpj6hlgwRgYDVR0gBD8wPTA7BglghXQBWQEDAQEwLjAsBggrBgEFBQcCARYgaHR0 -cDovL3JlcG9zaXRvcnkuc3dpc3NzaWduLmNvbS8wDQYJKoZIhvcNAQEFBQADggIBAHPGgeAn0i0P -4JUw4ppBf1AsX19iYamGamkYDHRJ1l2E6kFSGG9YrVBWIGrGvShpWJHckRE1qTodvBqlYJ7YH39F -kWnZfrt4csEGDyrOj4VwYaygzQu4OSlWhDJOhrs9xCrZ1x9y7v5RoSJBsXECYxqCsGKrXlcSH9/L -3XWgwF15kIwb4FDm3jH+mHtwX6WQ2K34ArZv02DdQEsixT2tOnqfGhpHkXkzuoLcMmkDlm4fS/Bx -/uNncqCxv1yL5PqZIseEuRuNI5c/7SXgz2W79WEE790eslpBIlqhn10s6FvJbakMDHiqYMZWjwFa -DGi8aRl5xB9+lwW/xekkUV7U1UtT7dkjWjYDZaPBA61BMPNGG4WQr2W11bHkFlt4dR2Xem1ZqSqP -e97Dh4kQmUlzeMg9vVE1dCrV8X5pGyq7O70luJpaPXJhkGaH7gzWTdQRdAtq/gsD/KNVV4n+Ssuu -WxcFyPKNIzFTONItaj+CuY0IavdeQXRuwxF+B6wpYJE/OMpXEA29MC/HpeZBoNquBYeaoKRlbEwJ -DIm6uNO5wJOKMPqN5ZprFQFOZ6raYlY+hAhm0sQ2fac+EPyI4NSA5QC9qvNOBqN6avlicuMJT+ub -DgEj8Z+7fNzcbBGXJbLytGMU0gYqZ4yD9c7qB9iaah7s5Aq7KkzrCWA5zspi2C5u ------END CERTIFICATE----- - -GeoTrust Primary Certification Authority -======================================== ------BEGIN CERTIFICATE----- -MIIDfDCCAmSgAwIBAgIQGKy1av1pthU6Y2yv2vrEoTANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQG -EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjExMC8GA1UEAxMoR2VvVHJ1c3QgUHJpbWFyeSBD -ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjExMjcwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMFgx -CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTEwLwYDVQQDEyhHZW9UcnVzdCBQ -cmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEAvrgVe//UfH1nrYNke8hCUy3f9oQIIGHWAVlqnEQRr+92/ZV+zmEwu3qDXwK9AWbK7hWN -b6EwnL2hhZ6UOvNWiAAxz9juapYC2e0DjPt1befquFUWBRaa9OBesYjAZIVcFU2Ix7e64HXprQU9 -nceJSOC7KMgD4TCTZF5SwFlwIjVXiIrxlQqD17wxcwE07e9GceBrAqg1cmuXm2bgyxx5X9gaBGge -RwLmnWDiNpcB3841kt++Z8dtd1k7j53WkBWUvEI0EME5+bEnPn7WinXFsq+W06Lem+SYvn3h6YGt -tm/81w7a4DSwDRp35+MImO9Y+pyEtzavwt+s0vQQBnBxNQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQULNVQQZcVi/CPNmFbSvtr2ZnJM5IwDQYJKoZI -hvcNAQEFBQADggEBAFpwfyzdtzRP9YZRqSa+S7iq8XEN3GHHoOo0Hnp3DwQ16CePbJC/kRYkRj5K -Ts4rFtULUh38H2eiAkUxT87z+gOneZ1TatnaYzr4gNfTmeGl4b7UVXGYNTq+k+qurUKykG/g/CFN -NWMziUnWm07Kx+dOCQD32sfvmWKZd7aVIl6KoKv0uHiYyjgZmclynnjNS6yvGaBzEi38wkG6gZHa -Floxt/m0cYASSJlyc1pZU8FjUjPtp8nSOQJw+uCxQmYpqptR7TBUIhRf2asdweSU8Pj1K/fqynhG -1riR/aYNKxoUAT6A8EKglQdebc3MS6RFjasS6LPeWuWgfOgPIh1a6Vk= ------END CERTIFICATE----- - -thawte Primary Root CA -====================== ------BEGIN CERTIFICATE----- -MIIEIDCCAwigAwIBAgIQNE7VVyDV7exJ9C/ON9srbTANBgkqhkiG9w0BAQUFADCBqTELMAkGA1UE -BhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2 -aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIwMDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxHzAdBgNVBAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwHhcNMDYxMTE3 -MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCBqTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwg -SW5jLjEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMv -KGMpIDIwMDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxHzAdBgNVBAMT -FnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCs -oPD7gFnUnMekz52hWXMJEEUMDSxuaPFsW0hoSVk3/AszGcJ3f8wQLZU0HObrTQmnHNK4yZc2AreJ -1CRfBsDMRJSUjQJib+ta3RGNKJpchJAQeg29dGYvajig4tVUROsdB58Hum/u6f1OCyn1PoSgAfGc -q/gcfomk6KHYcWUNo1F77rzSImANuVud37r8UVsLr5iy6S7pBOhih94ryNdOwUxkHt3Ph1i6Sk/K -aAcdHJ1KxtUvkcx8cXIcxcBn6zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy94JNqR32HuHUETVPm4p -afs5SSYeCaWAe0At6+gnhcn+Yf1+5nyXHdWdAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD -VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7W0XPr87Lev0xkhpqtvNG61dIUDANBgkqhkiG9w0BAQUF -AAOCAQEAeRHAS7ORtvzw6WfUDW5FvlXok9LOAz/t2iWwHVfLHjp2oEzsUHboZHIMpKnxuIvW1oeE -uzLlQRHAd9mzYJ3rG9XRbkREqaYB7FViHXe4XI5ISXycO1cRrK1zN44veFyQaEfZYGDm/Ac9IiAX -xPcW6cTYcvnIc3zfFi8VqT79aie2oetaupgf1eNNZAqdE8hhuvU5HIe6uL17In/2/qxAeeWsEG89 -jxt5dovEN7MhGITlNgDrYyCZuen+MwS7QcjBAvlEYyCegc5C09Y/LHbTY5xZ3Y+m4Q6gLkH3LpVH -z7z9M/P2C2F+fpErgUfCJzDupxBdN49cOSvkBPB7jVaMaA== ------END CERTIFICATE----- - -VeriSign Class 3 Public Primary Certification Authority - G5 -============================================================ ------BEGIN CERTIFICATE----- -MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCByjELMAkGA1UE -BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO -ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk -IHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRp -ZmljYXRpb24gQXV0aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCB -yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2ln -biBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2lnbiwgSW5jLiAtIEZvciBh -dXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmlt -YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCvJAgIKXo1nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKz -j/i5Vbext0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIzSdhD -Y2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQGBO+QueQA5N06tRn/ -Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+rCpSx4/VBEnkjWNHiDxpg8v+R70r -fk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/ -BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2Uv -Z2lmMCEwHzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy -aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKvMzEzMA0GCSqG -SIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzEp6B4Eq1iDkVwZMXnl2YtmAl+ -X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKE -KQsTb47bDN0lAtukixlE0kF6BWlKWE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiC -Km0oHw0LxOXnGiYZ4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vE -ZV8NhnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq ------END CERTIFICATE----- - -SecureTrust CA -============== ------BEGIN CERTIFICATE----- -MIIDuDCCAqCgAwIBAgIQDPCOXAgWpa1Cf/DrJxhZ0DANBgkqhkiG9w0BAQUFADBIMQswCQYDVQQG -EwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xFzAVBgNVBAMTDlNlY3VyZVRy -dXN0IENBMB4XDTA2MTEwNzE5MzExOFoXDTI5MTIzMTE5NDA1NVowSDELMAkGA1UEBhMCVVMxIDAe -BgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9uMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTCC -ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKukgeWVzfX2FI7CT8rU4niVWJxB4Q2ZQCQX -OZEzZum+4YOvYlyJ0fwkW2Gz4BERQRwdbvC4u/jep4G6pkjGnx29vo6pQT64lO0pGtSO0gMdA+9t -DWccV9cGrcrI9f4Or2YlSASWC12juhbDCE/RRvgUXPLIXgGZbf2IzIaowW8xQmxSPmjL8xk037uH -GFaAJsTQ3MBv396gwpEWoGQRS0S8Hvbn+mPeZqx2pHGj7DaUaHp3pLHnDi+BeuK1cobvomuL8A/b -01k/unK8RCSc43Oz969XL0Imnal0ugBS8kvNU3xHCzaFDmapCJcWNFfBZveA4+1wVMeT4C4oFVmH -ursCAwEAAaOBnTCBmjATBgkrBgEEAYI3FAIEBh4EAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/ -BAUwAwEB/zAdBgNVHQ4EFgQUQjK2FvoE/f5dS3rD/fdMQB1aQ68wNAYDVR0fBC0wKzApoCegJYYj -aHR0cDovL2NybC5zZWN1cmV0cnVzdC5jb20vU1RDQS5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJ -KoZIhvcNAQEFBQADggEBADDtT0rhWDpSclu1pqNlGKa7UTt36Z3q059c4EVlew3KW+JwULKUBRSu -SceNQQcSc5R+DCMh/bwQf2AQWnL1mA6s7Ll/3XpvXdMc9P+IBWlCqQVxyLesJugutIxq/3HcuLHf -mbx8IVQr5Fiiu1cprp6poxkmD5kuCLDv/WnPmRoJjeOnnyvJNjR7JLN4TJUXpAYmHrZkUjZfYGfZ -nMUFdAvnZyPSCPyI6a6Lf+Ew9Dd+/cYy2i2eRDAwbO4H3tI0/NL/QPZL9GZGBlSm8jIKYyYwa5vR -3ItHuuG51WLQoqD0ZwV4KWMabwTW+MZMo5qxN7SN5ShLHZ4swrhovO0C7jE= ------END CERTIFICATE----- - -Secure Global CA -================ ------BEGIN CERTIFICATE----- -MIIDvDCCAqSgAwIBAgIQB1YipOjUiolN9BPI8PjqpTANBgkqhkiG9w0BAQUFADBKMQswCQYDVQQG -EwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xGTAXBgNVBAMTEFNlY3VyZSBH -bG9iYWwgQ0EwHhcNMDYxMTA3MTk0MjI4WhcNMjkxMjMxMTk1MjA2WjBKMQswCQYDVQQGEwJVUzEg -MB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xGTAXBgNVBAMTEFNlY3VyZSBHbG9iYWwg -Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvNS7YrGxVaQZx5RNoJLNP2MwhR/jx -YDiJiQPpvepeRlMJ3Fz1Wuj3RSoC6zFh1ykzTM7HfAo3fg+6MpjhHZevj8fcyTiW89sa/FHtaMbQ -bqR8JNGuQsiWUGMu4P51/pinX0kuleM5M2SOHqRfkNJnPLLZ/kG5VacJjnIFHovdRIWCQtBJwB1g -8NEXLJXr9qXBkqPFwqcIYA1gBBCWeZ4WNOaptvolRTnIHmX5k/Wq8VLcmZg9pYYaDDUz+kulBAYV -HDGA76oYa8J719rO+TMg1fW9ajMtgQT7sFzUnKPiXB3jqUJ1XnvUd+85VLrJChgbEplJL4hL/VBi -0XPnj3pDAgMBAAGjgZ0wgZowEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud -EwEB/wQFMAMBAf8wHQYDVR0OBBYEFK9EBMJBfkiD2045AuzshHrmzsmkMDQGA1UdHwQtMCswKaAn -oCWGI2h0dHA6Ly9jcmwuc2VjdXJldHJ1c3QuY29tL1NHQ0EuY3JsMBAGCSsGAQQBgjcVAQQDAgEA -MA0GCSqGSIb3DQEBBQUAA4IBAQBjGghAfaReUw132HquHw0LURYD7xh8yOOvaliTFGCRsoTciE6+ -OYo68+aCiV0BN7OrJKQVDpI1WkpEXk5X+nXOH0jOZvQ8QCaSmGwb7iRGDBezUqXbpZGRzzfTb+cn -CDpOGR86p1hcF895P4vkp9MmI50mD1hp/Ed+stCNi5O/KU9DaXR2Z0vPB4zmAve14bRDtUstFJ/5 -3CYNv6ZHdAbYiNE6KTCEztI5gGIbqMdXSbxqVVFnFUq+NQfk1XWYN3kwFNspnWzFacxHVaIw98xc -f8LDmBxrThaA63p4ZUWiABqvDA1VZDRIuJK58bRQKfJPIx/abKwfROHdI3hRW8cW ------END CERTIFICATE----- - -COMODO Certification Authority -============================== ------BEGIN CERTIFICATE----- -MIIEHTCCAwWgAwIBAgIQToEtioJl4AsC7j41AkblPTANBgkqhkiG9w0BAQUFADCBgTELMAkGA1UE -BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG -A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxJzAlBgNVBAMTHkNPTU9ETyBDZXJ0aWZpY2F0aW9uIEF1 -dGhvcml0eTAeFw0wNjEyMDEwMDAwMDBaFw0yOTEyMzEyMzU5NTlaMIGBMQswCQYDVQQGEwJHQjEb -MBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFD -T01PRE8gQ0EgTGltaXRlZDEnMCUGA1UEAxMeQ09NT0RPIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0ECLi3LjkRv3UcEbVASY06m/weaKXTuH -+7uIzg3jLz8GlvCiKVCZrts7oVewdFFxze1CkU1B/qnI2GqGd0S7WWaXUF601CxwRM/aN5VCaTww -xHGzUvAhTaHYujl8HJ6jJJ3ygxaYqhZ8Q5sVW7euNJH+1GImGEaaP+vB+fGQV+useg2L23IwambV -4EajcNxo2f8ESIl33rXp+2dtQem8Ob0y2WIC8bGoPW43nOIv4tOiJovGuFVDiOEjPqXSJDlqR6sA -1KGzqSX+DT+nHbrTUcELpNqsOO9VUCQFZUaTNE8tja3G1CEZ0o7KBWFxB3NH5YoZEr0ETc5OnKVI -rLsm9wIDAQABo4GOMIGLMB0GA1UdDgQWBBQLWOWLxkwVN6RAqTCpIb5HNlpW/zAOBgNVHQ8BAf8E -BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zBJBgNVHR8EQjBAMD6gPKA6hjhodHRwOi8vY3JsLmNvbW9k -b2NhLmNvbS9DT01PRE9DZXJ0aWZpY2F0aW9uQXV0aG9yaXR5LmNybDANBgkqhkiG9w0BAQUFAAOC -AQEAPpiem/Yb6dc5t3iuHXIYSdOH5EOC6z/JqvWote9VfCFSZfnVDeFs9D6Mk3ORLgLETgdxb8CP -OGEIqB6BCsAvIC9Bi5HcSEW88cbeunZrM8gALTFGTO3nnc+IlP8zwFboJIYmuNg4ON8qa90SzMc/ -RxdMosIGlgnW2/4/PEZB31jiVg88O8EckzXZOFKs7sjsLjBOlDW0JB9LeGna8gI4zJVSk/BwJVmc -IGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5ddBA6+C4OmF4O5MBKgxTMVBbkN -+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IBZQ== ------END CERTIFICATE----- - -Network Solutions Certificate Authority -======================================= ------BEGIN CERTIFICATE----- -MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQG -EwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydOZXR3b3Jr -IFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDYxMjAxMDAwMDAwWhcNMjkxMjMx -MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMu -MTAwLgYDVQQDEydOZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0G -CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkvH6SMG3G2I4rC7xGzuAnlt7e+foS0zwzc7MEL7xx -jOWftiJgPl9dzgn/ggwbmlFQGiaJ3dVhXRncEg8tCqJDXRfQNJIg6nPPOCwGJgl6cvf6UDL4wpPT -aaIjzkGxzOTVHzbRijr4jGPiFFlp7Q3Tf2vouAPlT2rlmGNpSAW+Lv8ztumXWWn4Zxmuk2GWRBXT -crA/vGp97Eh/jcOrqnErU2lBUzS1sLnFBgrEsEX1QV1uiUV7PTsmjHTC5dLRfbIR1PtYMiKagMnc -/Qzpf14Dl847ABSHJ3A4qY5usyd2mFHgBeMhqxrVhSI8KbWaFsWAqPS7azCPL0YCorEMIuDTAgMB -AAGjgZcwgZQwHQYDVR0OBBYEFCEwyfsA106Y2oeqKtCnLrFAMadMMA4GA1UdDwEB/wQEAwIBBjAP -BgNVHRMBAf8EBTADAQH/MFIGA1UdHwRLMEkwR6BFoEOGQWh0dHA6Ly9jcmwubmV0c29sc3NsLmNv -bS9OZXR3b3JrU29sdXRpb25zQ2VydGlmaWNhdGVBdXRob3JpdHkuY3JsMA0GCSqGSIb3DQEBBQUA -A4IBAQC7rkvnt1frf6ott3NHhWrB5KUd5Oc86fRZZXe1eltajSU24HqXLjjAV2CDmAaDn7l2em5Q -4LqILPxFzBiwmZVRDuwduIj/h1AcgsLj4DKAv6ALR8jDMe+ZZzKATxcheQxpXN5eNK4CtSbqUN9/ -GGUsyfJj4akH/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv -wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHNpGxlaKFJdlxD -ydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey ------END CERTIFICATE----- - -WellsSecure Public Root Certificate Authority -============================================= ------BEGIN CERTIFICATE----- -MIIEvTCCA6WgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBhTELMAkGA1UEBhMCVVMxIDAeBgNVBAoM -F1dlbGxzIEZhcmdvIFdlbGxzU2VjdXJlMRwwGgYDVQQLDBNXZWxscyBGYXJnbyBCYW5rIE5BMTYw -NAYDVQQDDC1XZWxsc1NlY3VyZSBQdWJsaWMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcN -MDcxMjEzMTcwNzU0WhcNMjIxMjE0MDAwNzU0WjCBhTELMAkGA1UEBhMCVVMxIDAeBgNVBAoMF1dl -bGxzIEZhcmdvIFdlbGxzU2VjdXJlMRwwGgYDVQQLDBNXZWxscyBGYXJnbyBCYW5rIE5BMTYwNAYD -VQQDDC1XZWxsc1NlY3VyZSBQdWJsaWMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0G -CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDub7S9eeKPCCGeOARBJe+rWxxTkqxtnt3CxC5FlAM1 -iGd0V+PfjLindo8796jE2yljDpFoNoqXjopxaAkH5OjUDk/41itMpBb570OYj7OeUt9tkTmPOL13 -i0Nj67eT/DBMHAGTthP796EfvyXhdDcsHqRePGj4S78NuR4uNuip5Kf4D8uCdXw1LSLWwr8L87T8 -bJVhHlfXBIEyg1J55oNjz7fLY4sR4r1e6/aN7ZVyKLSsEmLpSjPmgzKuBXWVvYSV2ypcm44uDLiB -K0HmOFafSZtsdvqKXfcBeYF8wYNABf5x/Qw/zE5gCQ5lRxAvAcAFP4/4s0HvWkJ+We/SlwxlAgMB -AAGjggE0MIIBMDAPBgNVHRMBAf8EBTADAQH/MDkGA1UdHwQyMDAwLqAsoCqGKGh0dHA6Ly9jcmwu -cGtpLndlbGxzZmFyZ28uY29tL3dzcHJjYS5jcmwwDgYDVR0PAQH/BAQDAgHGMB0GA1UdDgQWBBQm -lRkQ2eihl5H/3BnZtQQ+0nMKajCBsgYDVR0jBIGqMIGngBQmlRkQ2eihl5H/3BnZtQQ+0nMKaqGB -i6SBiDCBhTELMAkGA1UEBhMCVVMxIDAeBgNVBAoMF1dlbGxzIEZhcmdvIFdlbGxzU2VjdXJlMRww -GgYDVQQLDBNXZWxscyBGYXJnbyBCYW5rIE5BMTYwNAYDVQQDDC1XZWxsc1NlY3VyZSBQdWJsaWMg -Um9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHmCAQEwDQYJKoZIhvcNAQEFBQADggEBALkVsUSRzCPI -K0134/iaeycNzXK7mQDKfGYZUMbVmO2rvwNa5U3lHshPcZeG1eMd/ZDJPHV3V3p9+N701NX3leZ0 -bh08rnyd2wIDBSxxSyU+B+NemvVmFymIGjifz6pBA4SXa5M4esowRBskRDPQ5NHcKDj0E0M1NSlj -qHyita04pO2t/caaH/+Xc/77szWnk4bGdpEA5qxRFsQnMlzbc9qlk1eOPm01JghZ1edE13YgY+es -E2fDbbFwRnzVlhE9iW9dqKHrjQrawx0zbKPqZxmamX9LPYNRKh3KL4YMon4QLSvUFpULB6ouFJJJ -tylv2G0xffX8oRAHh84vWdw+WNs= ------END CERTIFICATE----- - -COMODO ECC Certification Authority -================================== ------BEGIN CERTIFICATE----- -MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTELMAkGA1UEBhMC -R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE -ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwHhcNMDgwMzA2MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0Ix -GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR -Q09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRo -b3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSRFtSrYpn1PlILBs5BAH+X -4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0JcfRK9ChQtP6IHG4/bC8vCVlbpVsLM5ni -wz2J+Wos77LTBumjQjBAMB0GA1UdDgQWBBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8E -BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VG -FAkK+qDmfQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdvGDeA -U/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= ------END CERTIFICATE----- - -IGC/A -===== ------BEGIN CERTIFICATE----- -MIIEAjCCAuqgAwIBAgIFORFFEJQwDQYJKoZIhvcNAQEFBQAwgYUxCzAJBgNVBAYTAkZSMQ8wDQYD -VQQIEwZGcmFuY2UxDjAMBgNVBAcTBVBhcmlzMRAwDgYDVQQKEwdQTS9TR0ROMQ4wDAYDVQQLEwVE -Q1NTSTEOMAwGA1UEAxMFSUdDL0ExIzAhBgkqhkiG9w0BCQEWFGlnY2FAc2dkbi5wbS5nb3V2LmZy -MB4XDTAyMTIxMzE0MjkyM1oXDTIwMTAxNzE0MjkyMlowgYUxCzAJBgNVBAYTAkZSMQ8wDQYDVQQI -EwZGcmFuY2UxDjAMBgNVBAcTBVBhcmlzMRAwDgYDVQQKEwdQTS9TR0ROMQ4wDAYDVQQLEwVEQ1NT -STEOMAwGA1UEAxMFSUdDL0ExIzAhBgkqhkiG9w0BCQEWFGlnY2FAc2dkbi5wbS5nb3V2LmZyMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsh/R0GLFMzvABIaIs9z4iPf930Pfeo2aSVz2 -TqrMHLmh6yeJ8kbpO0px1R2OLc/mratjUMdUC24SyZA2xtgv2pGqaMVy/hcKshd+ebUyiHDKcMCW -So7kVc0dJ5S/znIq7Fz5cyD+vfcuiWe4u0dzEvfRNWk68gq5rv9GQkaiv6GFGvm/5P9JhfejcIYy -HF2fYPepraX/z9E0+X1bF8bc1g4oa8Ld8fUzaJ1O/Id8NhLWo4DoQw1VYZTqZDdH6nfK0LJYBcNd -frGoRpAxVs5wKpayMLh35nnAvSk7/ZR3TL0gzUEl4C7HG7vupARB0l2tEmqKm0f7yd1GQOGdPDPQ -tQIDAQABo3cwdTAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBRjAVBgNVHSAEDjAMMAoGCCqB -egF5AQEBMB0GA1UdDgQWBBSjBS8YYFDCiQrdKyFP/45OqDAxNjAfBgNVHSMEGDAWgBSjBS8YYFDC -iQrdKyFP/45OqDAxNjANBgkqhkiG9w0BAQUFAAOCAQEABdwm2Pp3FURo/C9mOnTgXeQp/wYHE4RK -q89toB9RlPhJy3Q2FLwV3duJL92PoF189RLrn544pEfMs5bZvpwlqwN+Mw+VgQ39FuCIvjfwbF3Q -MZsyK10XZZOYYLxuj7GoPB7ZHPOpJkL5ZB3C55L29B5aqhlSXa/oovdgoPaN8In1buAKBQGVyYsg -Crpa/JosPL3Dt8ldeCUFP1YUmwza+zpI/pdpXsoQhvdOlgQITeywvl3cO45Pwf2aNjSaTFR+FwNI -lQgRHAdvhQh+XU3Endv7rs6y0bO4g2wdsrN58dhwmX7wEwLOXt1R0982gaEbeC9xs/FZTEYYKKuF -0mBWWg== ------END CERTIFICATE----- - -Security Communication EV RootCA1 -================================= ------BEGIN CERTIFICATE----- -MIIDfTCCAmWgAwIBAgIBADANBgkqhkiG9w0BAQUFADBgMQswCQYDVQQGEwJKUDElMCMGA1UEChMc -U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEqMCgGA1UECxMhU2VjdXJpdHkgQ29tbXVuaWNh -dGlvbiBFViBSb290Q0ExMB4XDTA3MDYwNjAyMTIzMloXDTM3MDYwNjAyMTIzMlowYDELMAkGA1UE -BhMCSlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xKjAoBgNVBAsTIVNl -Y3VyaXR5IENvbW11bmljYXRpb24gRVYgUm9vdENBMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBALx/7FebJOD+nLpCeamIivqA4PUHKUPqjgo0No0c+qe1OXj/l3X3L+SqawSERMqm4miO -/VVQYg+kcQ7OBzgtQoVQrTyWb4vVog7P3kmJPdZkLjjlHmy1V4qe70gOzXppFodEtZDkBp2uoQSX -WHnvIEqCa4wiv+wfD+mEce3xDuS4GBPMVjZd0ZoeUWs5bmB2iDQL87PRsJ3KYeJkHcFGB7hj3R4z -ZbOOCVVSPbW9/wfrrWFVGCypaZhKqkDFMxRldAD5kd6vA0jFQFTcD4SQaCDFkpbcLuUCRarAX1T4 -bepJz11sS6/vmsJWXMY1VkJqMF/Cq/biPT+zyRGPMUzXn0kCAwEAAaNCMEAwHQYDVR0OBBYEFDVK -9U2vP9eCOKyrcWUXdYydVZPmMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqG -SIb3DQEBBQUAA4IBAQCoh+ns+EBnXcPBZsdAS5f8hxOQWsTvoMpfi7ent/HWtWS3irO4G8za+6xm -iEHO6Pzk2x6Ipu0nUBsCMCRGef4Eh3CXQHPRwMFXGZpppSeZq51ihPZRwSzJIxXYKLerJRO1RuGG -Av8mjMSIkh1W/hln8lXkgKNrnKt34VFxDSDbEJrbvXZ5B3eZKK2aXtqxT0QsNY6llsf9g/BYxnnW -mHyojf6GPgcWkuF75x3sM3Z+Qi5KhfmRiWiEA4Glm5q+4zfFVKtWOxgtQaQM+ELbmaDgcm+7XeEW -T1MKZPlO9L9OVL14bIjqv5wTJMJwaaJ/D8g8rQjJsJhAoyrniIPtd490 ------END CERTIFICATE----- - -OISTE WISeKey Global Root GA CA -=============================== ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIQQT1yx/RrH4FDffHSKFTfmjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UE -BhMCQ0gxEDAOBgNVBAoTB1dJU2VLZXkxGzAZBgNVBAsTEkNvcHlyaWdodCAoYykgMjAwNTEiMCAG -A1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNlZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBH -bG9iYWwgUm9vdCBHQSBDQTAeFw0wNTEyMTExNjAzNDRaFw0zNzEyMTExNjA5NTFaMIGKMQswCQYD -VQQGEwJDSDEQMA4GA1UEChMHV0lTZUtleTEbMBkGA1UECxMSQ29weXJpZ2h0IChjKSAyMDA1MSIw -IAYDVQQLExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5 -IEdsb2JhbCBSb290IEdBIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy0+zAJs9 -Nt350UlqaxBJH+zYK7LG+DKBKUOVTJoZIyEVRd7jyBxRVVuuk+g3/ytr6dTqvirdqFEr12bDYVxg -Asj1znJ7O7jyTmUIms2kahnBAbtzptf2w93NvKSLtZlhuAGio9RN1AU9ka34tAhxZK9w8RxrfvbD -d50kc3vkDIzh2TbhmYsFmQvtRTEJysIA2/dyoJaqlYfQjse2YXMNdmaM3Bu0Y6Kff5MTMPGhJ9vZ -/yxViJGg4E8HsChWjBgbl0SOid3gF27nKu+POQoxhILYQBRJLnpB5Kf+42TMwVlxSywhp1t94B3R -LoGbw9ho972WG6xwsRYUC9tguSYBBQIDAQABo1EwTzALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUw -AwEB/zAdBgNVHQ4EFgQUswN+rja8sHnR3JQmthG+IbJphpQwEAYJKwYBBAGCNxUBBAMCAQAwDQYJ -KoZIhvcNAQEFBQADggEBAEuh/wuHbrP5wUOxSPMowB0uyQlB+pQAHKSkq0lPjz0e701vvbyk9vIm -MMkQyh2I+3QZH4VFvbBsUfk2ftv1TDI6QU9bR8/oCy22xBmddMVHxjtqD6wU2zz0c5ypBd8A3HR4 -+vg1YFkCExh8vPtNsCBtQ7tgMHpnM1zFmdH4LTlSc/uMqpclXHLZCB6rTjzjgTGfA6b7wP4piFXa -hNVQA7bihKOmNqoROgHhGEvWRGizPflTdISzRpFGlgC3gCy24eMQ4tui5yiPAZZiFj4A4xylNoEY -okxSdsARo27mHbrjWr42U8U+dY+GaSlYU7Wcu2+fXMUY7N0v4ZjJ/L7fCg0= ------END CERTIFICATE----- - -S-TRUST Authentication and Encryption Root CA 2005 PN -===================================================== ------BEGIN CERTIFICATE----- -MIIEezCCA2OgAwIBAgIQNxkY5lNUfBq1uMtZWts1tzANBgkqhkiG9w0BAQUFADCBrjELMAkGA1UE -BhMCREUxIDAeBgNVBAgTF0JhZGVuLVd1ZXJ0dGVtYmVyZyAoQlcpMRIwEAYDVQQHEwlTdHV0dGdh -cnQxKTAnBgNVBAoTIERldXRzY2hlciBTcGFya2Fzc2VuIFZlcmxhZyBHbWJIMT4wPAYDVQQDEzVT -LVRSVVNUIEF1dGhlbnRpY2F0aW9uIGFuZCBFbmNyeXB0aW9uIFJvb3QgQ0EgMjAwNTpQTjAeFw0w -NTA2MjIwMDAwMDBaFw0zMDA2MjEyMzU5NTlaMIGuMQswCQYDVQQGEwJERTEgMB4GA1UECBMXQmFk -ZW4tV3VlcnR0ZW1iZXJnIChCVykxEjAQBgNVBAcTCVN0dXR0Z2FydDEpMCcGA1UEChMgRGV1dHNj -aGVyIFNwYXJrYXNzZW4gVmVybGFnIEdtYkgxPjA8BgNVBAMTNVMtVFJVU1QgQXV0aGVudGljYXRp -b24gYW5kIEVuY3J5cHRpb24gUm9vdCBDQSAyMDA1OlBOMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEA2bVKwdMz6tNGs9HiTNL1toPQb9UY6ZOvJ44TzbUlNlA0EmQpoVXhOmCTnijJ4/Ob -4QSwI7+Vio5bG0F/WsPoTUzVJBY+h0jUJ67m91MduwwA7z5hca2/OnpYH5Q9XIHV1W/fuJvS9eXL -g3KSwlOyggLrra1fFi2SU3bxibYs9cEv4KdKb6AwajLrmnQDaHgTncovmwsdvs91DSaXm8f1Xgqf -eN+zvOyauu9VjxuapgdjKRdZYgkqeQd3peDRF2npW932kKvimAoA0SVtnteFhy+S8dF2g08LOlk3 -KC8zpxdQ1iALCvQm+Z845y2kuJuJja2tyWp9iRe79n+Ag3rm7QIDAQABo4GSMIGPMBIGA1UdEwEB -/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFTVFJv -bmxpbmUxLTIwNDgtNTAdBgNVHQ4EFgQUD8oeXHngovMpttKFswtKtWXsa1IwHwYDVR0jBBgwFoAU -D8oeXHngovMpttKFswtKtWXsa1IwDQYJKoZIhvcNAQEFBQADggEBAK8B8O0ZPCjoTVy7pWMciDMD -pwCHpB8gq9Yc4wYfl35UvbfRssnV2oDsF9eK9XvCAPbpEW+EoFolMeKJ+aQAPzFoLtU96G7m1R08 -P7K9n3frndOMusDXtk3sU5wPBG7qNWdX4wple5A64U8+wwCSersFiXOMy6ZNwPv2AtawB6MDwidA -nwzkhYItr5pCHdDHjfhA7p0GVxzZotiAFP7hYy0yh9WUUpY6RsZxlj33mA6ykaqP2vROJAA5Veit -F7nTNCtKqUDMFypVZUF0Qn71wK/Ik63yGFs9iQzbRzkk+OBM8h+wPQrKBU6JIRrjKpms/H+h8Q8b -Hz2eBIPdltkdOpQ= ------END CERTIFICATE----- - -Microsec e-Szigno Root CA -========================= ------BEGIN CERTIFICATE----- -MIIHqDCCBpCgAwIBAgIRAMy4579OKRr9otxmpRwsDxEwDQYJKoZIhvcNAQEFBQAwcjELMAkGA1UE -BhMCSFUxETAPBgNVBAcTCEJ1ZGFwZXN0MRYwFAYDVQQKEw1NaWNyb3NlYyBMdGQuMRQwEgYDVQQL -EwtlLVN6aWdubyBDQTEiMCAGA1UEAxMZTWljcm9zZWMgZS1Temlnbm8gUm9vdCBDQTAeFw0wNTA0 -MDYxMjI4NDRaFw0xNzA0MDYxMjI4NDRaMHIxCzAJBgNVBAYTAkhVMREwDwYDVQQHEwhCdWRhcGVz -dDEWMBQGA1UEChMNTWljcm9zZWMgTHRkLjEUMBIGA1UECxMLZS1Temlnbm8gQ0ExIjAgBgNVBAMT -GU1pY3Jvc2VjIGUtU3ppZ25vIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -AQDtyADVgXvNOABHzNuEwSFpLHSQDCHZU4ftPkNEU6+r+ICbPHiN1I2uuO/TEdyB5s87lozWbxXG -d36hL+BfkrYn13aaHUM86tnsL+4582pnS4uCzyL4ZVX+LMsvfUh6PXX5qqAnu3jCBspRwn5mS6/N -oqdNAoI/gqyFxuEPkEeZlApxcpMqyabAvjxWTHOSJ/FrtfX9/DAFYJLG65Z+AZHCabEeHXtTRbjc -QR/Ji3HWVBTji1R4P770Yjtb9aPs1ZJ04nQw7wHb4dSrmZsqa/i9phyGI0Jf7Enemotb9HI6QMVJ -PqW+jqpx62z69Rrkav17fVVA71hu5tnVvCSrwe+3AgMBAAGjggQ3MIIEMzBnBggrBgEFBQcBAQRb -MFkwKAYIKwYBBQUHMAGGHGh0dHBzOi8vcmNhLmUtc3ppZ25vLmh1L29jc3AwLQYIKwYBBQUHMAKG -IWh0dHA6Ly93d3cuZS1zemlnbm8uaHUvUm9vdENBLmNydDAPBgNVHRMBAf8EBTADAQH/MIIBcwYD -VR0gBIIBajCCAWYwggFiBgwrBgEEAYGoGAIBAQEwggFQMCgGCCsGAQUFBwIBFhxodHRwOi8vd3d3 -LmUtc3ppZ25vLmh1L1NaU1ovMIIBIgYIKwYBBQUHAgIwggEUHoIBEABBACAAdABhAG4A+gBzAO0A -dAB2AOEAbgB5ACAA6QByAHQAZQBsAG0AZQB6AOkAcwDpAGgAZQB6ACAA6QBzACAAZQBsAGYAbwBn -AGEAZADhAHMA4QBoAG8AegAgAGEAIABTAHoAbwBsAGcA4QBsAHQAYQB0APMAIABTAHoAbwBsAGcA -4QBsAHQAYQB0AOEAcwBpACAAUwB6AGEAYgDhAGwAeQB6AGEAdABhACAAcwB6AGUAcgBpAG4AdAAg -AGsAZQBsAGwAIABlAGwAagDhAHIAbgBpADoAIABoAHQAdABwADoALwAvAHcAdwB3AC4AZQAtAHMA -egBpAGcAbgBvAC4AaAB1AC8AUwBaAFMAWgAvMIHIBgNVHR8EgcAwgb0wgbqggbeggbSGIWh0dHA6 -Ly93d3cuZS1zemlnbm8uaHUvUm9vdENBLmNybIaBjmxkYXA6Ly9sZGFwLmUtc3ppZ25vLmh1L0NO -PU1pY3Jvc2VjJTIwZS1Temlnbm8lMjBSb290JTIwQ0EsT1U9ZS1Temlnbm8lMjBDQSxPPU1pY3Jv -c2VjJTIwTHRkLixMPUJ1ZGFwZXN0LEM9SFU/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdDtiaW5h -cnkwDgYDVR0PAQH/BAQDAgEGMIGWBgNVHREEgY4wgYuBEGluZm9AZS1zemlnbm8uaHWkdzB1MSMw -IQYDVQQDDBpNaWNyb3NlYyBlLVN6aWduw7MgUm9vdCBDQTEWMBQGA1UECwwNZS1TemlnbsOzIEhT -WjEWMBQGA1UEChMNTWljcm9zZWMgS2Z0LjERMA8GA1UEBxMIQnVkYXBlc3QxCzAJBgNVBAYTAkhV -MIGsBgNVHSMEgaQwgaGAFMegSXUWYYTbMUuE0vE3QJDvTtz3oXakdDByMQswCQYDVQQGEwJIVTER -MA8GA1UEBxMIQnVkYXBlc3QxFjAUBgNVBAoTDU1pY3Jvc2VjIEx0ZC4xFDASBgNVBAsTC2UtU3pp -Z25vIENBMSIwIAYDVQQDExlNaWNyb3NlYyBlLVN6aWdubyBSb290IENBghEAzLjnv04pGv2i3Gal -HCwPETAdBgNVHQ4EFgQUx6BJdRZhhNsxS4TS8TdAkO9O3PcwDQYJKoZIhvcNAQEFBQADggEBANMT -nGZjWS7KXHAM/IO8VbH0jgdsZifOwTsgqRy7RlRw7lrMoHfqaEQn6/Ip3Xep1fvj1KcExJW4C+FE -aGAHQzAxQmHl7tnlJNUb3+FKG6qfx1/4ehHqE5MAyopYse7tDk2016g2JnzgOsHVV4Lxdbb9iV/a -86g4nzUGCM4ilb7N1fy+W955a9x6qWVmvrElWl/tftOsRm1M9DKHtCAE4Gx4sHfRhUZLphK3dehK -yVZs15KrnfVJONJPU+NVkBHbmJbGSfI+9J8b4PeI3CVimUTYc78/MPMMNz7UwiiAc7EBt51alhQB -S6kRnSlqLtBdgcDPsiBDxwPgN05dCtxZICU= ------END CERTIFICATE----- - -Certigna -======== ------BEGIN CERTIFICATE----- -MIIDqDCCApCgAwIBAgIJAP7c4wEPyUj/MA0GCSqGSIb3DQEBBQUAMDQxCzAJBgNVBAYTAkZSMRIw -EAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hMB4XDTA3MDYyOTE1MTMwNVoXDTI3 -MDYyOTE1MTMwNVowNDELMAkGA1UEBhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczERMA8GA1UEAwwI -Q2VydGlnbmEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIaPHJ1tazNHUmgh7stL7q -XOEm7RFHYeGifBZ4QCHkYJ5ayGPhxLGWkv8YbWkj4Sti993iNi+RB7lIzw7sebYs5zRLcAglozyH -GxnygQcPOJAZ0xH+hrTy0V4eHpbNgGzOOzGTtvKg0KmVEn2lmsxryIRWijOp5yIVUxbwzBfsV1/p -ogqYCd7jX5xv3EjjhQsVWqa6n6xI4wmy9/Qy3l40vhx4XUJbzg4ij02Q130yGLMLLGq/jj8UEYkg -DncUtT2UCIf3JR7VsmAA7G8qKCVuKj4YYxclPz5EIBb2JsglrgVKtOdjLPOMFlN+XPsRGgjBRmKf -Irjxwo1p3Po6WAbfAgMBAAGjgbwwgbkwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUGu3+QTmQ -tCRZvgHyUtVF9lo53BEwZAYDVR0jBF0wW4AUGu3+QTmQtCRZvgHyUtVF9lo53BGhOKQ2MDQxCzAJ -BgNVBAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hggkA/tzjAQ/J -SP8wDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG9w0BAQUFAAOCAQEA -hQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8hbV6lUmPOEvjvKtpv6zf+EwLHyzs+ -ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFncfca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1klu -PBS1xp81HlDQwY9qcEQCYsuuHWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY -1gkIl2PlwS6wt0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw -WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg== ------END CERTIFICATE----- - -AC Ra\xC3\xADz Certic\xC3\xA1mara S.A. -====================================== ------BEGIN CERTIFICATE----- -MIIGZjCCBE6gAwIBAgIPB35Sk3vgFeNX8GmMy+wMMA0GCSqGSIb3DQEBBQUAMHsxCzAJBgNVBAYT -AkNPMUcwRQYDVQQKDD5Tb2NpZWRhZCBDYW1lcmFsIGRlIENlcnRpZmljYWNpw7NuIERpZ2l0YWwg -LSBDZXJ0aWPDoW1hcmEgUy5BLjEjMCEGA1UEAwwaQUMgUmHDrXogQ2VydGljw6FtYXJhIFMuQS4w -HhcNMDYxMTI3MjA0NjI5WhcNMzAwNDAyMjE0MjAyWjB7MQswCQYDVQQGEwJDTzFHMEUGA1UECgw+ -U29jaWVkYWQgQ2FtZXJhbCBkZSBDZXJ0aWZpY2FjacOzbiBEaWdpdGFsIC0gQ2VydGljw6FtYXJh -IFMuQS4xIzAhBgNVBAMMGkFDIFJhw616IENlcnRpY8OhbWFyYSBTLkEuMIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEAq2uJo1PMSCMI+8PPUZYILrgIem08kBeGqentLhM0R7LQcNzJPNCN -yu5LF6vQhbCnIwTLqKL85XXbQMpiiY9QngE9JlsYhBzLfDe3fezTf3MZsGqy2IiKLUV0qPezuMDU -2s0iiXRNWhU5cxh0T7XrmafBHoi0wpOQY5fzp6cSsgkiBzPZkc0OnB8OIMfuuzONj8LSWKdf/WU3 -4ojC2I+GdV75LaeHM/J4Ny+LvB2GNzmxlPLYvEqcgxhaBvzz1NS6jBUJJfD5to0EfhcSM2tXSExP -2yYe68yQ54v5aHxwD6Mq0Do43zeX4lvegGHTgNiRg0JaTASJaBE8rF9ogEHMYELODVoqDA+bMMCm -8Ibbq0nXl21Ii/kDwFJnmxL3wvIumGVC2daa49AZMQyth9VXAnow6IYm+48jilSH5L887uvDdUhf -HjlvgWJsxS3EF1QZtzeNnDeRyPYL1epjb4OsOMLzP96a++EjYfDIJss2yKHzMI+ko6Kh3VOz3vCa -Mh+DkXkwwakfU5tTohVTP92dsxA7SH2JD/ztA/X7JWR1DhcZDY8AFmd5ekD8LVkH2ZD6mq093ICK -5lw1omdMEWux+IBkAC1vImHFrEsm5VoQgpukg3s0956JkSCXjrdCx2bD0Omk1vUgjcTDlaxECp1b -czwmPS9KvqfJpxAe+59QafMCAwEAAaOB5jCB4zAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE -AwIBBjAdBgNVHQ4EFgQU0QnQ6dfOeXRU+Tows/RtLAMDG2gwgaAGA1UdIASBmDCBlTCBkgYEVR0g -ADCBiTArBggrBgEFBQcCARYfaHR0cDovL3d3dy5jZXJ0aWNhbWFyYS5jb20vZHBjLzBaBggrBgEF -BQcCAjBOGkxMaW1pdGFjaW9uZXMgZGUgZ2FyYW507WFzIGRlIGVzdGUgY2VydGlmaWNhZG8gc2Ug -cHVlZGVuIGVuY29udHJhciBlbiBsYSBEUEMuMA0GCSqGSIb3DQEBBQUAA4ICAQBclLW4RZFNjmEf -AygPU3zmpFmps4p6xbD/CHwso3EcIRNnoZUSQDWDg4902zNc8El2CoFS3UnUmjIz75uny3XlesuX -EpBcunvFm9+7OSPI/5jOCk0iAUgHforA1SBClETvv3eiiWdIG0ADBaGJ7M9i4z0ldma/Jre7Ir5v -/zlXdLp6yQGVwZVR6Kss+LGGIOk/yzVb0hfpKv6DExdA7ohiZVvVO2Dpezy4ydV/NgIlqmjCMRW3 -MGXrfx1IebHPOeJCgBbT9ZMj/EyXyVo3bHwi2ErN0o42gzmRkBDI8ck1fj+404HGIGQatlDCIaR4 -3NAvO2STdPCWkPHv+wlaNECW8DYSwaN0jJN+Qd53i+yG2dIPPy3RzECiiWZIHiCznCNZc6lEc7wk -eZBWN7PGKX6jD/EpOe9+XCgycDWs2rjIdWb8m0w5R44bb5tNAlQiM+9hup4phO9OSzNHdpdqy35f -/RWmnkJDW2ZaiogN9xa5P1FlK2Zqi9E4UqLWRhH6/JocdJ6PlwsCT2TG9WjTSy3/pDceiz+/RL5h -RqGEPQgnTIEgd4kI6mdAXmwIUV80WoyWaM3X94nCHNMyAK9Sy9NgWyo6R35rMDOhYil/SrnhLecU -Iw4OGEfhefwVVdCx/CVxY3UzHCMrr1zZ7Ud3YA47Dx7SwNxkBYn8eNZcLCZDqQ== ------END CERTIFICATE----- - -TC TrustCenter Class 2 CA II -============================ ------BEGIN CERTIFICATE----- -MIIEqjCCA5KgAwIBAgIOLmoAAQACH9dSISwRXDswDQYJKoZIhvcNAQEFBQAwdjELMAkGA1UEBhMC -REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNVBAsTGVRDIFRydXN0Q2VudGVy -IENsYXNzIDIgQ0ExJTAjBgNVBAMTHFRDIFRydXN0Q2VudGVyIENsYXNzIDIgQ0EgSUkwHhcNMDYw -MTEyMTQzODQzWhcNMjUxMjMxMjI1OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1 -c3RDZW50ZXIgR21iSDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQTElMCMGA1UE -AxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAKuAh5uO8MN8h9foJIIRszzdQ2Lu+MNF2ujhoF/RKrLqk2jftMjWQ+nEdVl//OEd+DFw -IxuInie5e/060smp6RQvkL4DUsFJzfb95AhmC1eKokKguNV/aVyQMrKXDcpK3EY+AlWJU+MaWss2 -xgdW94zPEfRMuzBwBJWl9jmM/XOBCH2JXjIeIqkiRUuwZi4wzJ9l/fzLganx4Duvo4bRierERXlQ -Xa7pIXSSTYtZgo+U4+lK8edJsBTj9WLL1XK9H7nSn6DNqPoByNkN39r8R52zyFTfSUrxIan+GE7u -SNQZu+995OKdy1u2bv/jzVrndIIFuoAlOMvkaZ6vQaoahPUCAwEAAaOCATQwggEwMA8GA1UdEwEB -/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTjq1RMgKHbVkO3kUrL84J6E1wIqzCB -7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRydXN0Y2VudGVyLmRlL2NybC92Mi90 -Y19jbGFzc18yX2NhX0lJLmNybIaBn2xkYXA6Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBU -cnVzdENlbnRlciUyMENsYXNzJTIwMiUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21i -SCxPVT1yb290Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u -TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEAjNfffu4bgBCzg/XbEeprS6iSGNn3Bzn1LL4G -dXpoUxUc6krtXvwjshOg0wn/9vYua0Fxec3ibf2uWWuFHbhOIprtZjluS5TmVfwLG4t3wVMTZonZ -KNaL80VKY7f9ewthXbhtvsPcW3nS7Yblok2+XnR8au0WOB9/WIFaGusyiC2y8zl3gK9etmF1Kdsj -TYjKUCjLhdLTEKJZbtOTVAB6okaVhgWcqRmY5TFyDADiZ9lA4CQze28suVyrZZ0srHbqNZn1l7kP -JOzHdiEoZa5X6AeIdUpWoNIFOqTmjZKILPPy4cHGYdtBxceb9w4aUUXCYWvcZCcXjFq32nQozZfk -vQ== ------END CERTIFICATE----- - -TC TrustCenter Class 3 CA II -============================ ------BEGIN CERTIFICATE----- -MIIEqjCCA5KgAwIBAgIOSkcAAQAC5aBd1j8AUb8wDQYJKoZIhvcNAQEFBQAwdjELMAkGA1UEBhMC -REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNVBAsTGVRDIFRydXN0Q2VudGVy -IENsYXNzIDMgQ0ExJTAjBgNVBAMTHFRDIFRydXN0Q2VudGVyIENsYXNzIDMgQ0EgSUkwHhcNMDYw -MTEyMTQ0MTU3WhcNMjUxMjMxMjI1OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1 -c3RDZW50ZXIgR21iSDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQTElMCMGA1UE -AxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBALTgu1G7OVyLBMVMeRwjhjEQY0NVJz/GRcekPewJDRoeIMJWHt4bNwcwIi9v8Qbxq63W -yKthoy9DxLCyLfzDlml7forkzMA5EpBCYMnMNWju2l+QVl/NHE1bWEnrDgFPZPosPIlY2C8u4rBo -6SI7dYnWRBpl8huXJh0obazovVkdKyT21oQDZogkAHhg8fir/gKya/si+zXmFtGt9i4S5Po1auUZ -uV3bOx4a+9P/FRQI2AlqukWdFHlgfa9Aigdzs5OW03Q0jTo3Kd5c7PXuLjHCINy+8U9/I1LZW+Jk -2ZyqBwi1Rb3R0DHBq1SfqdLDYmAD8bs5SpJKPQq5ncWg/jcCAwEAAaOCATQwggEwMA8GA1UdEwEB -/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTUovyfs8PYA9NXXAek0CSnwPIA1DCB -7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRydXN0Y2VudGVyLmRlL2NybC92Mi90 -Y19jbGFzc18zX2NhX0lJLmNybIaBn2xkYXA6Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBU -cnVzdENlbnRlciUyMENsYXNzJTIwMyUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21i -SCxPVT1yb290Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u -TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEANmDkcPcGIEPZIxpC8vijsrlNirTzwppVMXzE -O2eatN9NDoqTSheLG43KieHPOh6sHfGcMrSOWXaiQYUlN6AT0PV8TtXqluJucsG7Kv5sbviRmEb8 -yRtXW+rIGjs/sFGYPAfaLFkB2otE6OF0/ado3VS6g0bsyEa1+K+XwDsJHI/OcpY9M1ZwvJbL2NV9 -IJqDnxrcOfHFcqMRA/07QlIp2+gB95tejNaNhk4Z+rwcvsUhpYeeeC422wlxo3I0+GzjBgnyXlal -092Y+tTmBvTwtiBjS+opvaqCZh77gaqnN60TGOaSw4HBM7uIHqHn4rS9MWwOUT1v+5ZWgOI2F9Hc -5A== ------END CERTIFICATE----- - -TC TrustCenter Universal CA I -============================= ------BEGIN CERTIFICATE----- -MIID3TCCAsWgAwIBAgIOHaIAAQAC7LdggHiNtgYwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMC -REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNVBAsTG1RDIFRydXN0Q2VudGVy -IFVuaXZlcnNhbCBDQTEmMCQGA1UEAxMdVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBIEkwHhcN -MDYwMzIyMTU1NDI4WhcNMjUxMjMxMjI1OTU5WjB5MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMg -VHJ1c3RDZW50ZXIgR21iSDEkMCIGA1UECxMbVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBMSYw -JAYDVQQDEx1UQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0EgSTCCASIwDQYJKoZIhvcNAQEBBQAD -ggEPADCCAQoCggEBAKR3I5ZEr5D0MacQ9CaHnPM42Q9e3s9B6DGtxnSRJJZ4Hgmgm5qVSkr1YnwC -qMqs+1oEdjneX/H5s7/zA1hV0qq34wQi0fiU2iIIAI3TfCZdzHd55yx4Oagmcw6iXSVphU9VDprv -xrlE4Vc93x9UIuVvZaozhDrzznq+VZeujRIPFDPiUHDDSYcTvFHe15gSWu86gzOSBnWLknwSaHtw -ag+1m7Z3W0hZneTvWq3zwZ7U10VOylY0Ibw+F1tvdwxIAUMpsN0/lm7mlaoMwCC2/T42J5zjXM9O -gdwZu5GQfezmlwQek8wiSdeXhrYTCjxDI3d+8NzmzSQfO4ObNDqDNOMCAwEAAaNjMGEwHwYDVR0j -BBgwFoAUkqR1LKSevoFE63n8isWVpesQdXMwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AYYwHQYDVR0OBBYEFJKkdSyknr6BROt5/IrFlaXrEHVzMA0GCSqGSIb3DQEBBQUAA4IBAQAo0uCG -1eb4e/CX3CJrO5UUVg8RMKWaTzqwOuAGy2X17caXJ/4l8lfmXpWMPmRgFVp/Lw0BxbFg/UU1z/Cy -vwbZ71q+s2IhtNerNXxTPqYn8aEt2hojnczd7Dwtnic0XQ/CNnm8yUpiLe1r2X1BQ3y2qsrtYbE3 -ghUJGooWMNjsydZHcnhLEEYUjl8Or+zHL6sQ17bxbuyGssLoDZJz3KL0Dzq/YSMQiZxIQG5wALPT -ujdEWBF6AmqI8Dc08BnprNRlc/ZpjGSUOnmFKbAWKwyCPwacx/0QK54PLLae4xW/2TYcuiUaUj0a -7CIMHOCkoj3w6DnPgcB77V0fb8XQC9eY ------END CERTIFICATE----- - -Deutsche Telekom Root CA 2 -========================== ------BEGIN CERTIFICATE----- -MIIDnzCCAoegAwIBAgIBJjANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJERTEcMBoGA1UEChMT -RGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0IENlbnRlcjEjMCEG -A1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNOTkwNzA5MTIxMTAwWhcNMTkwNzA5 -MjM1OTAwWjBxMQswCQYDVQQGEwJERTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0G -A1UECxMWVC1UZWxlU2VjIFRydXN0IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBS -b290IENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCrC6M14IspFLEUha88EOQ5 -bzVdSq7d6mGNlUn0b2SjGmBmpKlAIoTZ1KXleJMOaAGtuU1cOs7TuKhCQN/Po7qCWWqSG6wcmtoI -KyUn+WkjR/Hg6yx6m/UTAtB+NHzCnjwAWav12gz1MjwrrFDa1sPeg5TKqAyZMg4ISFZbavva4VhY -AUlfckE8FQYBjl2tqriTtM2e66foai1SNNs671x1Udrb8zH57nGYMsRUFUQM+ZtV7a3fGAigo4aK -Se5TBY8ZTNXeWHmb0mocQqvF1afPaA+W5OFhmHZhyJF81j4A4pFQh+GdCuatl9Idxjp9y7zaAzTV -jlsB9WoHtxa2bkp/AgMBAAGjQjBAMB0GA1UdDgQWBBQxw3kbuvVT1xfgiXotF2wKsyudMzAPBgNV -HRMECDAGAQH/AgEFMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAlGRZrTlk5ynr -E/5aw4sTV8gEJPB0d8Bg42f76Ymmg7+Wgnxu1MM9756AbrsptJh6sTtU6zkXR34ajgv8HzFZMQSy -zhfzLMdiNlXiItiJVbSYSKpk+tYcNthEeFpaIzpXl/V6ME+un2pMSyuOoAPjPuCp1NJ70rOo4nI8 -rZ7/gFnkm0W09juwzTkZmDLl6iFhkOQxIY40sfcvNUqFENrnijchvllj4PKFiDFT1FQUhXB59C4G -dyd1Lx+4ivn+xbrYNuSD7Odlt79jWvNGr4GUN9RBjNYj1h7P9WgbRGOiWrqnNVmh5XAFmw4jV5mU -Cm26OWMohpLzGITY+9HPBVZkVw== ------END CERTIFICATE----- - -ComSign CA -========== ------BEGIN CERTIFICATE----- -MIIDkzCCAnugAwIBAgIQFBOWgxRVjOp7Y+X8NId3RDANBgkqhkiG9w0BAQUFADA0MRMwEQYDVQQD -EwpDb21TaWduIENBMRAwDgYDVQQKEwdDb21TaWduMQswCQYDVQQGEwJJTDAeFw0wNDAzMjQxMTMy -MThaFw0yOTAzMTkxNTAyMThaMDQxEzARBgNVBAMTCkNvbVNpZ24gQ0ExEDAOBgNVBAoTB0NvbVNp -Z24xCzAJBgNVBAYTAklMMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8ORUaSvTx49q -ROR+WCf4C9DklBKK8Rs4OC8fMZwG1Cyn3gsqrhqg455qv588x26i+YtkbDqthVVRVKU4VbirgwTy -P2Q298CNQ0NqZtH3FyrV7zb6MBBC11PN+fozc0yz6YQgitZBJzXkOPqUm7h65HkfM/sb2CEJKHxN -GGleZIp6GZPKfuzzcuc3B1hZKKxC+cX/zT/npfo4sdAMx9lSGlPWgcxCejVb7Us6eva1jsz/D3zk -YDaHL63woSV9/9JLEYhwVKZBqGdTUkJe5DSe5L6j7KpiXd3DTKaCQeQzC6zJMw9kglcq/QytNuEM -rkvF7zuZ2SOzW120V+x0cAwqTwIDAQABo4GgMIGdMAwGA1UdEwQFMAMBAf8wPQYDVR0fBDYwNDAy -oDCgLoYsaHR0cDovL2ZlZGlyLmNvbXNpZ24uY28uaWwvY3JsL0NvbVNpZ25DQS5jcmwwDgYDVR0P -AQH/BAQDAgGGMB8GA1UdIwQYMBaAFEsBmz5WGmU2dst7l6qSBe4y5ygxMB0GA1UdDgQWBBRLAZs+ -VhplNnbLe5eqkgXuMucoMTANBgkqhkiG9w0BAQUFAAOCAQEA0Nmlfv4pYEWdfoPPbrxHbvUanlR2 -QnG0PFg/LUAlQvaBnPGJEMgOqnhPOAlXsDzACPw1jvFIUY0McXS6hMTXcpuEfDhOZAYnKuGntewI -mbQKDdSFc8gS4TXt8QUxHXOZDOuWyt3T5oWq8Ir7dcHyCTxlZWTzTNity4hp8+SDtwy9F1qWF8pb -/627HOkthIDYIb6FUtnUdLlphbpN7Sgy6/lhSuTENh4Z3G+EER+V9YMoGKgzkkMn3V0TBEVPh9VG -zT2ouvDzuFYkRes3x+F2T3I5GN9+dHLHcy056mDmrRGiVod7w2ia/viMcKjfZTL0pECMocJEAw6U -AGegcQCCSA== ------END CERTIFICATE----- - -ComSign Secured CA -================== ------BEGIN CERTIFICATE----- -MIIDqzCCApOgAwIBAgIRAMcoRwmzuGxFjB36JPU2TukwDQYJKoZIhvcNAQEFBQAwPDEbMBkGA1UE -AxMSQ29tU2lnbiBTZWN1cmVkIENBMRAwDgYDVQQKEwdDb21TaWduMQswCQYDVQQGEwJJTDAeFw0w -NDAzMjQxMTM3MjBaFw0yOTAzMTYxNTA0NTZaMDwxGzAZBgNVBAMTEkNvbVNpZ24gU2VjdXJlZCBD -QTEQMA4GA1UEChMHQ29tU2lnbjELMAkGA1UEBhMCSUwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQDGtWhfHZQVw6QIVS3joFd67+l0Kru5fFdJGhFeTymHDEjWaueP1H5XJLkGieQcPOqs -49ohgHMhCu95mGwfCP+hUH3ymBvJVG8+pSjsIQQPRbsHPaHA+iqYHU4Gk/v1iDurX8sWv+bznkqH -7Rnqwp9D5PGBpX8QTz7RSmKtUxvLg/8HZaWSLWapW7ha9B20IZFKF3ueMv5WJDmyVIRD9YTC2LxB -kMyd1mja6YJQqTtoz7VdApRgFrFD2UNd3V2Hbuq7s8lr9gOUCXDeFhF6K+h2j0kQmHe5Y1yLM5d1 -9guMsqtb3nQgJT/j8xH5h2iGNXHDHYwt6+UarA9z1YJZQIDTAgMBAAGjgacwgaQwDAYDVR0TBAUw -AwEB/zBEBgNVHR8EPTA7MDmgN6A1hjNodHRwOi8vZmVkaXIuY29tc2lnbi5jby5pbC9jcmwvQ29t -U2lnblNlY3VyZWRDQS5jcmwwDgYDVR0PAQH/BAQDAgGGMB8GA1UdIwQYMBaAFMFL7XC29z58ADsA -j8c+DkWfHl3sMB0GA1UdDgQWBBTBS+1wtvc+fAA7AI/HPg5Fnx5d7DANBgkqhkiG9w0BAQUFAAOC -AQEAFs/ukhNQq3sUnjO2QiBq1BW9Cav8cujvR3qQrFHBZE7piL1DRYHjZiM/EoZNGeQFsOY3wo3a -BijJD4mkU6l1P7CW+6tMM1X5eCZGbxs2mPtCdsGCuY7e+0X5YxtiOzkGynd6qDwJz2w2PQ8KRUtp -FhpFfTMDZflScZAmlaxMDPWLkz/MdXSFmLr/YnpNH4n+rr2UAJm/EaXc4HnFFgt9AmEd6oX5AhVP -51qJThRv4zdLhfXBPGHg/QVBspJ/wx2g0K5SZGBrGMYmnNj1ZOQ2GmKfig8+/21OGVZOIJFsnzQz -OjRXUDpvgV4GxvU+fE6OK85lBi5d0ipTdF7Tbieejw== ------END CERTIFICATE----- - -Cybertrust Global Root -====================== ------BEGIN CERTIFICATE----- -MIIDoTCCAomgAwIBAgILBAAAAAABD4WqLUgwDQYJKoZIhvcNAQEFBQAwOzEYMBYGA1UEChMPQ3li -ZXJ0cnVzdCwgSW5jMR8wHQYDVQQDExZDeWJlcnRydXN0IEdsb2JhbCBSb290MB4XDTA2MTIxNTA4 -MDAwMFoXDTIxMTIxNTA4MDAwMFowOzEYMBYGA1UEChMPQ3liZXJ0cnVzdCwgSW5jMR8wHQYDVQQD -ExZDeWJlcnRydXN0IEdsb2JhbCBSb290MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA -+Mi8vRRQZhP/8NN57CPytxrHjoXxEnOmGaoQ25yiZXRadz5RfVb23CO21O1fWLE3TdVJDm71aofW -0ozSJ8bi/zafmGWgE07GKmSb1ZASzxQG9Dvj1Ci+6A74q05IlG2OlTEQXO2iLb3VOm2yHLtgwEZL -AfVJrn5GitB0jaEMAs7u/OePuGtm839EAL9mJRQr3RAwHQeWP032a7iPt3sMpTjr3kfb1V05/Iin -89cqdPHoWqI7n1C6poxFNcJQZZXcY4Lv3b93TZxiyWNzFtApD0mpSPCzqrdsxacwOUBdrsTiXSZT -8M4cIwhhqJQZugRiQOwfOHB3EgZxpzAYXSUnpQIDAQABo4GlMIGiMA4GA1UdDwEB/wQEAwIBBjAP -BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBS2CHsNesysIEyGVjJez6tuhS1wVzA/BgNVHR8EODA2 -MDSgMqAwhi5odHRwOi8vd3d3Mi5wdWJsaWMtdHJ1c3QuY29tL2NybC9jdC9jdHJvb3QuY3JsMB8G -A1UdIwQYMBaAFLYIew16zKwgTIZWMl7Pq26FLXBXMA0GCSqGSIb3DQEBBQUAA4IBAQBW7wojoFRO -lZfJ+InaRcHUowAl9B8Tq7ejhVhpwjCt2BWKLePJzYFa+HMjWqd8BfP9IjsO0QbE2zZMcwSO5bAi -5MXzLqXZI+O4Tkogp24CJJ8iYGd7ix1yCcUxXOl5n4BHPa2hCwcUPUf/A2kaDAtE52Mlp3+yybh2 -hO0j9n0Hq0V+09+zv+mKts2oomcrUtW3ZfA5TGOgkXmTUg9U3YO7n9GPp1Nzw8v/MOx8BLjYRB+T -X3EJIrduPuocA06dGiBh+4E37F78CkWr1+cXVdCg6mCbpvbjjFspwgZgFJ0tl0ypkxWdYcQBX0jW -WL1WMRJOEcgh4LMRkWXbtKaIOM5V ------END CERTIFICATE----- - -ePKI Root Certification Authority -================================= ------BEGIN CERTIFICATE----- -MIIFsDCCA5igAwIBAgIQFci9ZUdcr7iXAF7kBtK8nTANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQG -EwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0ZC4xKjAoBgNVBAsMIWVQS0kg -Um9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNDEyMjAwMjMxMjdaFw0zNDEyMjAwMjMx -MjdaMF4xCzAJBgNVBAYTAlRXMSMwIQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEq -MCgGA1UECwwhZVBLSSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEA4SUP7o3biDN1Z82tH306Tm2d0y8U82N0ywEhajfqhFAHSyZbCUNs -IZ5qyNUD9WBpj8zwIuQf5/dqIjG3LBXy4P4AakP/h2XGtRrBp0xtInAhijHyl3SJCRImHJ7K2RKi -lTza6We/CKBk49ZCt0Xvl/T29de1ShUCWH2YWEtgvM3XDZoTM1PRYfl61dd4s5oz9wCGzh1NlDiv -qOx4UXCKXBCDUSH3ET00hl7lSM2XgYI1TBnsZfZrxQWh7kcT1rMhJ5QQCtkkO7q+RBNGMD+XPNjX -12ruOzjjK9SXDrkb5wdJfzcq+Xd4z1TtW0ado4AOkUPB1ltfFLqfpo0kR0BZv3I4sjZsN/+Z0V0O -WQqraffAsgRFelQArr5T9rXn4fg8ozHSqf4hUmTFpmfwdQcGlBSBVcYn5AGPF8Fqcde+S/uUWH1+ -ETOxQvdibBjWzwloPn9s9h6PYq2lY9sJpx8iQkEeb5mKPtf5P0B6ebClAZLSnT0IFaUQAS2zMnao -lQ2zepr7BxB4EW/hj8e6DyUadCrlHJhBmd8hh+iVBmoKs2pHdmX2Os+PYhcZewoozRrSgx4hxyy/ -vv9haLdnG7t4TY3OZ+XkwY63I2binZB1NJipNiuKmpS5nezMirH4JYlcWrYvjB9teSSnUmjDhDXi -Zo1jDiVN1Rmy5nk3pyKdVDECAwEAAaNqMGgwHQYDVR0OBBYEFB4M97Zn8uGSJglFwFU5Lnc/Qkqi -MAwGA1UdEwQFMAMBAf8wOQYEZyoHAAQxMC8wLQIBADAJBgUrDgMCGgUAMAcGBWcqAwAABBRFsMLH -ClZ87lt4DJX5GFPBphzYEDANBgkqhkiG9w0BAQUFAAOCAgEACbODU1kBPpVJufGBuvl2ICO1J2B0 -1GqZNF5sAFPZn/KmsSQHRGoqxqWOeBLoR9lYGxMqXnmbnwoqZ6YlPwZpVnPDimZI+ymBV3QGypzq -KOg4ZyYr8dW1P2WT+DZdjo2NQCCHGervJ8A9tDkPJXtoUHRVnAxZfVo9QZQlUgjgRywVMRnVvwdV -xrsStZf0X4OFunHB2WyBEXYKCrC/gpf36j36+uwtqSiUO1bd0lEursC9CBWMd1I0ltabrNMdjmEP -NXubrjlpC2JgQCA2j6/7Nu4tCEoduL+bXPjqpRugc6bY+G7gMwRfaKonh+3ZwZCc7b3jajWvY9+r -GNm65ulK6lCKD2GTHuItGeIwlDWSXQ62B68ZgI9HkFFLLk3dheLSClIKF5r8GrBQAuUBo2M3IUxE -xJtRmREOc5wGj1QupyheRDmHVi03vYVElOEMSyycw5KFNGHLD7ibSkNS/jQ6fbjpKdx2qcgw+BRx -gMYeNkh0IkFch4LoGHGLQYlE535YW6i4jRPpp2zDR+2zGp1iro2C6pSe3VkQw63d4k3jMdXH7Ojy -sP6SHhYKGvzZ8/gntsm+HbRsZJB/9OTEW9c3rkIO3aQab3yIVMUWbuF6aC74Or8NpDyJO3inTmOD -BCEIZ43ygknQW/2xzQ+DhNQ+IIX3Sj0rnP0qCglN6oH4EZw= ------END CERTIFICATE----- - -T\xc3\x9c\x42\xC4\xB0TAK UEKAE K\xC3\xB6k Sertifika Hizmet Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1 - S\xC3\xBCr\xC3\xBCm 3 -============================================================================================================================= ------BEGIN CERTIFICATE----- -MIIFFzCCA/+gAwIBAgIBETANBgkqhkiG9w0BAQUFADCCASsxCzAJBgNVBAYTAlRSMRgwFgYDVQQH -DA9HZWJ6ZSAtIEtvY2FlbGkxRzBFBgNVBAoMPlTDvHJraXllIEJpbGltc2VsIHZlIFRla25vbG9q -aWsgQXJhxZ90xLFybWEgS3VydW11IC0gVMOcQsSwVEFLMUgwRgYDVQQLDD9VbHVzYWwgRWxla3Ry -b25payB2ZSBLcmlwdG9sb2ppIEFyYcWfdMSxcm1hIEVuc3RpdMO8c8O8IC0gVUVLQUUxIzAhBgNV -BAsMGkthbXUgU2VydGlmaWthc3lvbiBNZXJrZXppMUowSAYDVQQDDEFUw5xCxLBUQUsgVUVLQUUg -S8O2ayBTZXJ0aWZpa2EgSGl6bWV0IFNhxJ9sYXnEsWPEsXPEsSAtIFPDvHLDvG0gMzAeFw0wNzA4 -MjQxMTM3MDdaFw0xNzA4MjExMTM3MDdaMIIBKzELMAkGA1UEBhMCVFIxGDAWBgNVBAcMD0dlYnpl -IC0gS29jYWVsaTFHMEUGA1UECgw+VMO8cmtpeWUgQmlsaW1zZWwgdmUgVGVrbm9sb2ppayBBcmHF -n3TEsXJtYSBLdXJ1bXUgLSBUw5xCxLBUQUsxSDBGBgNVBAsMP1VsdXNhbCBFbGVrdHJvbmlrIHZl -IEtyaXB0b2xvamkgQXJhxZ90xLFybWEgRW5zdGl0w7xzw7wgLSBVRUtBRTEjMCEGA1UECwwaS2Ft -dSBTZXJ0aWZpa2FzeW9uIE1lcmtlemkxSjBIBgNVBAMMQVTDnELEsFRBSyBVRUtBRSBLw7ZrIFNl -cnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxIC0gU8O8csO8bSAzMIIBIjANBgkqhkiG9w0B -AQEFAAOCAQ8AMIIBCgKCAQEAim1L/xCIOsP2fpTo6iBkcK4hgb46ezzb8R1Sf1n68yJMlaCQvEhO -Eav7t7WNeoMojCZG2E6VQIdhn8WebYGHV2yKO7Rm6sxA/OOqbLLLAdsyv9Lrhc+hDVXDWzhXcLh1 -xnnRFDDtG1hba+818qEhTsXOfJlfbLm4IpNQp81McGq+agV/E5wrHur+R84EpW+sky58K5+eeROR -6Oqeyjh1jmKwlZMq5d/pXpduIF9fhHpEORlAHLpVK/swsoHvhOPc7Jg4OQOFCKlUAwUp8MmPi+oL -hmUZEdPpCSPeaJMDyTYcIW7OjGbxmTDY17PDHfiBLqi9ggtm/oLL4eAagsNAgQIDAQABo0IwQDAd -BgNVHQ4EFgQUvYiHyY/2pAoLquvF/pEjnatKijIwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF -MAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAB18+kmPNOm3JpIWmgV050vQbTlswyb2zrgxvMTfvCr4 -N5EY3ATIZJkrGG2AA1nJrvhY0D7twyOfaTyGOBye79oneNGEN3GKPEs5z35FBtYt2IpNeBLWrcLT -y9LQQfMmNkqblWwM7uXRQydmwYj3erMgbOqwaSvHIOgMA8RBBZniP+Rr+KCGgceExh/VS4ESshYh -LBOhgLJeDEoTniDYYkCrkOpkSi+sDQESeUWoL4cZaMjihccwsnX5OD+ywJO0a+IDRM5noN+J1q2M -dqMTw5RhK2vZbMEHCiIHhWyFJEapvj+LeISCfiQMnf2BN+MlqO02TpUsyZyQ2uypQjyttgI= ------END CERTIFICATE----- - -Buypass Class 2 CA 1 -==================== ------BEGIN CERTIFICATE----- -MIIDUzCCAjugAwIBAgIBATANBgkqhkiG9w0BAQUFADBLMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxHTAbBgNVBAMMFEJ1eXBhc3MgQ2xhc3MgMiBDQSAxMB4XDTA2 -MTAxMzEwMjUwOVoXDTE2MTAxMzEwMjUwOVowSzELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBh -c3MgQVMtOTgzMTYzMzI3MR0wGwYDVQQDDBRCdXlwYXNzIENsYXNzIDIgQ0EgMTCCASIwDQYJKoZI -hvcNAQEBBQADggEPADCCAQoCggEBAIs8B0XY9t/mx8q6jUPFR42wWsE425KEHK8T1A9vNkYgxC7M -cXA0ojTTNy7Y3Tp3L8DrKehc0rWpkTSHIln+zNvnma+WwajHQN2lFYxuyHyXA8vmIPLXl18xoS83 -0r7uvqmtqEyeIWZDO6i88wmjONVZJMHCR3axiFyCO7srpgTXjAePzdVBHfCuuCkslFJgNJQ72uA4 -0Z0zPhX0kzLFANq1KWYOOngPIVJfAuWSeyXTkh4vFZ2B5J2O6O+JzhRMVB0cgRJNcKi+EAUXfh/R -uFdV7c27UsKwHnjCTTZoy1YmwVLBvXb3WNVyfh9EdrsAiR0WnVE1703CVu9r4Iw7DekCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUP42aWYv8e3uco684sDntkHGA1sgwDgYDVR0P -AQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQAVGn4TirnoB6NLJzKyQJHyIdFkhb5jatLPgcIV -1Xp+DCmsNx4cfHZSldq1fyOhKXdlyTKdqC5Wq2B2zha0jX94wNWZUYN/Xtm+DKhQ7SLHrQVMdvvt -7h5HZPb3J31cKA9FxVxiXqaakZG3Uxcu3K1gnZZkOb1naLKuBctN518fV4bVIJwo+28TOPX2EZL2 -fZleHwzoq0QkKXJAPTZSr4xYkHPB7GEseaHsh7U/2k3ZIQAw3pDaDtMaSKk+hQsUi4y8QZ5q9w5w -wDX3OaJdZtB7WZ+oRxKaJyOkLY4ng5IgodcVf/EuGO70SH8vf/GhGLWhC5SgYiAynB321O+/TIho ------END CERTIFICATE----- - -Buypass Class 3 CA 1 -==================== ------BEGIN CERTIFICATE----- -MIIDUzCCAjugAwIBAgIBAjANBgkqhkiG9w0BAQUFADBLMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxHTAbBgNVBAMMFEJ1eXBhc3MgQ2xhc3MgMyBDQSAxMB4XDTA1 -MDUwOTE0MTMwM1oXDTE1MDUwOTE0MTMwM1owSzELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBh -c3MgQVMtOTgzMTYzMzI3MR0wGwYDVQQDDBRCdXlwYXNzIENsYXNzIDMgQ0EgMTCCASIwDQYJKoZI -hvcNAQEBBQADggEPADCCAQoCggEBAKSO13TZKWTeXx+HgJHqTjnmGcZEC4DVC69TB4sSveZn8AKx -ifZgisRbsELRwCGoy+Gb72RRtqfPFfV0gGgEkKBYouZ0plNTVUhjP5JW3SROjvi6K//zNIqeKNc0 -n6wv1g/xpC+9UrJJhW05NfBEMJNGJPO251P7vGGvqaMU+8IXF4Rs4HyI+MkcVyzwPX6UvCWThOia -AJpFBUJXgPROztmuOfbIUxAMZTpHe2DC1vqRycZxbL2RhzyRhkmr8w+gbCZ2Xhysm3HljbybIR6c -1jh+JIAVMYKWsUnTYjdbiAwKYjT+p0h+mbEwi5A3lRyoH6UsjfRVyNvdWQrCrXig9IsCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUOBTmyPCppAP0Tj4io1vy1uCtQHQwDgYDVR0P -AQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQABZ6OMySU9E2NdFm/soT4JXJEVKirZgCFPBdy7 -pYmrEzMqnji3jG8CcmPHc3ceCQa6Oyh7pEfJYWsICCD8igWKH7y6xsL+z27sEzNxZy5p+qksP2bA -EllNC1QCkoS72xLvg3BweMhT+t/Gxv/ciC8HwEmdMldg0/L2mSlf56oBzKwzqBwKu5HEA6BvtjT5 -htOzdlSY9EqBs1OdTUDs5XcTRa9bqh/YL0yCe/4qxFi7T/ye/QNlGioOw6UgFpRreaaiErS7GqQj -el/wroQk5PMr+4okoyeYZdowdXb8GZHo2+ubPzK/QJcHJrrM85SFSnonk8+QQtS4Wxam58tAA915 ------END CERTIFICATE----- - -EBG Elektronik Sertifika Hizmet Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1 -========================================================================== ------BEGIN CERTIFICATE----- -MIIF5zCCA8+gAwIBAgIITK9zQhyOdAIwDQYJKoZIhvcNAQEFBQAwgYAxODA2BgNVBAMML0VCRyBF -bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMTcwNQYDVQQKDC5FQkcg -QmlsacWfaW0gVGVrbm9sb2ppbGVyaSB2ZSBIaXptZXRsZXJpIEEuxZ4uMQswCQYDVQQGEwJUUjAe -Fw0wNjA4MTcwMDIxMDlaFw0xNjA4MTQwMDMxMDlaMIGAMTgwNgYDVQQDDC9FQkcgRWxla3Ryb25p -ayBTZXJ0aWZpa2EgSGl6bWV0IFNhxJ9sYXnEsWPEsXPEsTE3MDUGA1UECgwuRUJHIEJpbGnFn2lt -IFRla25vbG9qaWxlcmkgdmUgSGl6bWV0bGVyaSBBLsWeLjELMAkGA1UEBhMCVFIwggIiMA0GCSqG -SIb3DQEBAQUAA4ICDwAwggIKAoICAQDuoIRh0DpqZhAy2DE4f6en5f2h4fuXd7hxlugTlkaDT7by -X3JWbhNgpQGR4lvFzVcfd2NR/y8927k/qqk153nQ9dAktiHq6yOU/im/+4mRDGSaBUorzAzu8T2b -gmmkTPiab+ci2hC6X5L8GCcKqKpE+i4stPtGmggDg3KriORqcsnlZR9uKg+ds+g75AxuetpX/dfr -eYteIAbTdgtsApWjluTLdlHRKJ2hGvxEok3MenaoDT2/F08iiFD9rrbskFBKW5+VQarKD7JK/oCZ -TqNGFav4c0JqwmZ2sQomFd2TkuzbqV9UIlKRcF0T6kjsbgNs2d1s/OsNA/+mgxKb8amTD8UmTDGy -Y5lhcucqZJnSuOl14nypqZoaqsNW2xCaPINStnuWt6yHd6i58mcLlEOzrz5z+kI2sSXFCjEmN1Zn -uqMLfdb3ic1nobc6HmZP9qBVFCVMLDMNpkGMvQQxahByCp0OLna9XvNRiYuoP1Vzv9s6xiQFlpJI -qkuNKgPlV5EQ9GooFW5Hd4RcUXSfGenmHmMWOeMRFeNYGkS9y8RsZteEBt8w9DeiQyJ50hBs37vm -ExH8nYQKE3vwO9D8owrXieqWfo1IhR5kX9tUoqzVegJ5a9KK8GfaZXINFHDk6Y54jzJ0fFfy1tb0 -Nokb+Clsi7n2l9GkLqq+CxnCRelwXQIDAJ3Zo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB -/wQEAwIBBjAdBgNVHQ4EFgQU587GT/wWZ5b6SqMHwQSny2re2kcwHwYDVR0jBBgwFoAU587GT/wW -Z5b6SqMHwQSny2re2kcwDQYJKoZIhvcNAQEFBQADggIBAJuYml2+8ygjdsZs93/mQJ7ANtyVDR2t -FcU22NU57/IeIl6zgrRdu0waypIN30ckHrMk2pGI6YNw3ZPX6bqz3xZaPt7gyPvT/Wwp+BVGoGgm -zJNSroIBk5DKd8pNSe/iWtkqvTDOTLKBtjDOWU/aWR1qeqRFsIImgYZ29fUQALjuswnoT4cCB64k -XPBfrAowzIpAoHMEwfuJJPaaHFy3PApnNgUIMbOv2AFoKuB4j3TeuFGkjGwgPaL7s9QJ/XvCgKqT -bCmYIai7FvOpEl90tYeY8pUm3zTvilORiF0alKM/fCL414i6poyWqD1SNGKfAB5UVUJnxk1Gj7sU -RT0KlhaOEKGXmdXTMIXM3rRyt7yKPBgpaP3ccQfuJDlq+u2lrDgv+R4QDgZxGhBM/nV+/x5XOULK -1+EVoVZVWRvRo68R2E7DpSvvkL/A7IITW43WciyTTo9qKd+FPNMN4KIYEsxVL0e3p5sC/kH2iExt -2qkBR4NkJ2IQgtYSe14DHzSpyZH+r11thie3I6p1GMog57AP14kOpmciY/SDQSsGS7tY1dHXt7kQ -Y9iJSrSq3RZj9W6+YKH47ejWkE8axsWgKdOnIaj1Wjz3x0miIZpKlVIglnKaZsv30oZDfCK+lvm9 -AahH3eU7QPl1K5srRmSGjR70j/sHd9DqSaIcjVIUpgqT ------END CERTIFICATE----- - -certSIGN ROOT CA -================ ------BEGIN CERTIFICATE----- -MIIDODCCAiCgAwIBAgIGIAYFFnACMA0GCSqGSIb3DQEBBQUAMDsxCzAJBgNVBAYTAlJPMREwDwYD -VQQKEwhjZXJ0U0lHTjEZMBcGA1UECxMQY2VydFNJR04gUk9PVCBDQTAeFw0wNjA3MDQxNzIwMDRa -Fw0zMTA3MDQxNzIwMDRaMDsxCzAJBgNVBAYTAlJPMREwDwYDVQQKEwhjZXJ0U0lHTjEZMBcGA1UE -CxMQY2VydFNJR04gUk9PVCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALczuX7I -JUqOtdu0KBuqV5Do0SLTZLrTk+jUrIZhQGpgV2hUhE28alQCBf/fm5oqrl0Hj0rDKH/v+yv6efHH -rfAQUySQi2bJqIirr1qjAOm+ukbuW3N7LBeCgV5iLKECZbO9xSsAfsT8AzNXDe3i+s5dRdY4zTW2 -ssHQnIFKquSyAVwdj1+ZxLGt24gh65AIgoDzMKND5pCCrlUoSe1b16kQOA7+j0xbm0bqQfWwCHTD -0IgztnzXdN/chNFDDnU5oSVAKOp4yw4sLjmdjItuFhwvJoIQ4uNllAoEwF73XVv4EOLQunpL+943 -AAAaWyjj0pxzPjKHmKHJUS/X3qwzs08CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8B -Af8EBAMCAcYwHQYDVR0OBBYEFOCMm9slSbPxfIbWskKHC9BroNnkMA0GCSqGSIb3DQEBBQUAA4IB -AQA+0hyJLjX8+HXd5n9liPRyTMks1zJO890ZeUe9jjtbkw9QSSQTaxQGcu8J06Gh40CEyecYMnQ8 -SG4Pn0vU9x7Tk4ZkVJdjclDVVc/6IJMCopvDI5NOFlV2oHB5bc0hH88vLbwZ44gx+FkagQnIl6Z0 -x2DEW8xXjrJ1/RsCCdtZb3KTafcxQdaIOL+Hsr0Wefmq5L6IJd1hJyMctTEHBDa0GpC9oHRxUIlt -vBTjD4au8as+x6AJzKNI0eDbZOeStc+vckNwi/nDhDwTqn6Sm1dTk/pwwpEOMfmbZ13pljheX7Nz -TogVZ96edhBiIL5VaZVDADlN9u6wWk5JRFRYX0KD ------END CERTIFICATE----- - -CNNIC ROOT -========== ------BEGIN CERTIFICATE----- -MIIDVTCCAj2gAwIBAgIESTMAATANBgkqhkiG9w0BAQUFADAyMQswCQYDVQQGEwJDTjEOMAwGA1UE -ChMFQ05OSUMxEzARBgNVBAMTCkNOTklDIFJPT1QwHhcNMDcwNDE2MDcwOTE0WhcNMjcwNDE2MDcw -OTE0WjAyMQswCQYDVQQGEwJDTjEOMAwGA1UEChMFQ05OSUMxEzARBgNVBAMTCkNOTklDIFJPT1Qw -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDTNfc/c3et6FtzF8LRb+1VvG7q6KR5smzD -o+/hn7E7SIX1mlwhIhAsxYLO2uOabjfhhyzcuQxauohV3/2q2x8x6gHx3zkBwRP9SFIhxFXf2tiz -VHa6dLG3fdfA6PZZxU3Iva0fFNrfWEQlMhkqx35+jq44sDB7R3IJMfAw28Mbdim7aXZOV/kbZKKT -VrdvmW7bCgScEeOAH8tjlBAKqeFkgjH5jCftppkA9nCTGPihNIaj3XrCGHn2emU1z5DrvTOTn1Or -czvmmzQgLx3vqR1jGqCA2wMv+SYahtKNu6m+UjqHZ0gNv7Sg2Ca+I19zN38m5pIEo3/PIKe38zrK -y5nLAgMBAAGjczBxMBEGCWCGSAGG+EIBAQQEAwIABzAfBgNVHSMEGDAWgBRl8jGtKvf33VKWCscC -wQ7vptU7ETAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIB/jAdBgNVHQ4EFgQUZfIxrSr3991S -lgrHAsEO76bVOxEwDQYJKoZIhvcNAQEFBQADggEBAEs17szkrr/Dbq2flTtLP1se31cpolnKOOK5 -Gv+e5m4y3R6u6jW39ZORTtpC4cMXYFDy0VwmuYK36m3knITnA3kXr5g9lNvHugDnuL8BV8F3RTIM -O/G0HAiw/VGgod2aHRM2mm23xzy54cXZF/qD1T0VoDy7HgviyJA/qIYM/PmLXoXLT1tLYhFHxUV8 -BS9BsZ4QaRuZluBVeftOhpm4lNqGOGqTo+fLbuXf6iFViZx9fX+Y9QCJ7uOEwFyWtcVG6kbghVW2 -G8kS1sHNzYDzAgE8yGnLRUhj2JTQ7IUOO04RZfSCjKY9ri4ilAnIXOo8gV0WKgOXFlUJ24pBgp5m -mxE= ------END CERTIFICATE----- - -ApplicationCA - Japanese Government -=================================== ------BEGIN CERTIFICATE----- -MIIDoDCCAoigAwIBAgIBMTANBgkqhkiG9w0BAQUFADBDMQswCQYDVQQGEwJKUDEcMBoGA1UEChMT -SmFwYW5lc2UgR292ZXJubWVudDEWMBQGA1UECxMNQXBwbGljYXRpb25DQTAeFw0wNzEyMTIxNTAw -MDBaFw0xNzEyMTIxNTAwMDBaMEMxCzAJBgNVBAYTAkpQMRwwGgYDVQQKExNKYXBhbmVzZSBHb3Zl -cm5tZW50MRYwFAYDVQQLEw1BcHBsaWNhdGlvbkNBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEAp23gdE6Hj6UG3mii24aZS2QNcfAKBZuOquHMLtJqO8F6tJdhjYq+xpqcBrSGUeQ3DnR4 -fl+Kf5Sk10cI/VBaVuRorChzoHvpfxiSQE8tnfWuREhzNgaeZCw7NCPbXCbkcXmP1G55IrmTwcrN -wVbtiGrXoDkhBFcsovW8R0FPXjQilbUfKW1eSvNNcr5BViCH/OlQR9cwFO5cjFW6WY2H/CPek9AE -jP3vbb3QesmlOmpyM8ZKDQUXKi17safY1vC+9D/qDihtQWEjdnjDuGWk81quzMKq2edY3rZ+nYVu -nyoKb58DKTCXKB28t89UKU5RMfkntigm/qJj5kEW8DOYRwIDAQABo4GeMIGbMB0GA1UdDgQWBBRU -WssmP3HMlEYNllPqa0jQk/5CdTAOBgNVHQ8BAf8EBAMCAQYwWQYDVR0RBFIwUKROMEwxCzAJBgNV -BAYTAkpQMRgwFgYDVQQKDA/ml6XmnKzlm73mlL/lupwxIzAhBgNVBAsMGuOCouODl+ODquOCseOD -vOOCt+ODp+ODs0NBMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBADlqRHZ3ODrs -o2dGD/mLBqj7apAxzn7s2tGJfHrrLgy9mTLnsCTWw//1sogJhyzjVOGjprIIC8CFqMjSnHH2HZ9g -/DgzE+Ge3Atf2hZQKXsvcJEPmbo0NI2VdMV+eKlmXb3KIXdCEKxmJj3ekav9FfBv7WxfEPjzFvYD -io+nEhEMy/0/ecGc/WLuo89UDNErXxc+4z6/wCs+CZv+iKZ+tJIX/COUgb1up8WMwusRRdv4QcmW -dupwX3kSa+SjB1oF7ydJzyGfikwJcGapJsErEU4z0g781mzSDjJkaP+tBXhfAx2o45CsJOAPQKdL -rosot4LKGAfmt1t06SAZf7IbiVQ= ------END CERTIFICATE----- - -GeoTrust Primary Certification Authority - G3 -============================================= ------BEGIN CERTIFICATE----- -MIID/jCCAuagAwIBAgIQFaxulBmyeUtB9iepwxgPHzANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UE -BhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChjKSAyMDA4IEdlb1RydXN0 -IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMB4XDTA4MDQwMjAwMDAwMFoXDTM3MTIwMTIz -NTk1OVowgZgxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAo -YykgMjAwOCBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNVBAMT -LUdlb1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZI -hvcNAQEBBQADggEPADCCAQoCggEBANziXmJYHTNXOTIz+uvLh4yn1ErdBojqZI4xmKU4kB6Yzy5j -K/BGvESyiaHAKAxJcCGVn2TAppMSAmUmhsalifD614SgcK9PGpc/BkTVyetyEH3kMSj7HGHmKAdE -c5IiaacDiGydY8hS2pgn5whMcD60yRLBxWeDXTPzAxHsatBT4tG6NmCUgLthY2xbF37fQJQeqw3C -IShwiP/WJmxsYAQlTlV+fe+/lEjetx3dcI0FX4ilm/LC7urRQEFtYjgdVgbFA0dRIBn8exALDmKu -dlW/X3e+PkkBUz2YJQN2JFodtNuJ6nnltrM7P7pMKEF/BqxqjsHQ9gUdfeZChuOl1UcCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMR5yo6hTgMdHNxr -2zFblD4/MH8tMA0GCSqGSIb3DQEBCwUAA4IBAQAtxRPPVoB7eni9n64smefv2t+UXglpp+duaIy9 -cr5HqQ6XErhK8WTTOd8lNNTBzU6B8A8ExCSzNJbGpqow32hhc9f5joWJ7w5elShKKiePEI4ufIbE -Ap7aDHdlDkQNkv39sxY2+hENHYwOB4lqKVb3cvTdFZx3NWZXqxNT2I7BQMXXExZacse3aQHEerGD -AWh9jUGhlBjBJVz88P6DAod8DQ3PLghcSkANPuyBYeYk28rgDi0Hsj5W3I31QYUHSJsMC8tJP33s -t/3LjWeJGqvtux6jAAgIFyqCXDFdRootD4abdNlF+9RAsXqqaC2Gspki4cErx5z481+oghLrGREt ------END CERTIFICATE----- - -thawte Primary Root CA - G2 -=========================== ------BEGIN CERTIFICATE----- -MIICiDCCAg2gAwIBAgIQNfwmXNmET8k9Jj1Xm67XVjAKBggqhkjOPQQDAzCBhDELMAkGA1UEBhMC -VVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjE4MDYGA1UECxMvKGMpIDIwMDcgdGhhd3RlLCBJbmMu -IC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAiBgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3Qg -Q0EgLSBHMjAeFw0wNzExMDUwMDAwMDBaFw0zODAxMTgyMzU5NTlaMIGEMQswCQYDVQQGEwJVUzEV -MBMGA1UEChMMdGhhd3RlLCBJbmMuMTgwNgYDVQQLEy8oYykgMjAwNyB0aGF3dGUsIEluYy4gLSBG -b3IgYXV0aG9yaXplZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAt -IEcyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEotWcgnuVnfFSeIf+iha/BebfowJPDQfGAFG6DAJS -LSKkQjnE/o/qycG+1E3/n3qe4rF8mq2nhglzh9HnmuN6papu+7qzcMBniKI11KOasf2twu8x+qi5 -8/sIxpHR+ymVo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU -mtgAMADna3+FGO6Lts6KDPgR4bswCgYIKoZIzj0EAwMDaQAwZgIxAN344FdHW6fmCsO99YCKlzUN -G4k8VIZ3KMqh9HneteY4sPBlcIx/AlTCv//YoT7ZzwIxAMSNlPzcU9LcnXgWHxUzI1NS41oxXZ3K -rr0TKUQNJ1uo52icEvdYPy5yAlejj6EULg== ------END CERTIFICATE----- - -thawte Primary Root CA - G3 -=========================== ------BEGIN CERTIFICATE----- -MIIEKjCCAxKgAwIBAgIQYAGXt0an6rS0mtZLL/eQ+zANBgkqhkiG9w0BAQsFADCBrjELMAkGA1UE -BhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2 -aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIwMDggdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxJDAiBgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EgLSBHMzAeFw0w -ODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIGuMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhh -d3RlLCBJbmMuMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMTgwNgYD -VQQLEy8oYykgMjAwOCB0aGF3dGUsIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEkMCIG -A1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEAsr8nLPvb2FvdeHsbnndmgcs+vHyu86YnmjSjaDFxODNi5PNxZnmxqWWjpYvVj2At -P0LMqmsywCPLLEHd5N/8YZzic7IilRFDGF/Eth9XbAoFWCLINkw6fKXRz4aviKdEAhN0cXMKQlkC -+BsUa0Lfb1+6a4KinVvnSr0eAXLbS3ToO39/fR8EtCab4LRarEc9VbjXsCZSKAExQGbY2SS99irY -7CFJXJv2eul/VTV+lmuNk5Mny5K76qxAwJ/C+IDPXfRa3M50hqY+bAtTyr2SzhkGcuYMXDhpxwTW -vGzOW/b3aJzcJRVIiKHpqfiYnODz1TEoYRFsZ5aNOZnLwkUkOQIDAQABo0IwQDAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUrWyqlGCc7eT/+j4KdCtjA/e2Wb8wDQYJ -KoZIhvcNAQELBQADggEBABpA2JVlrAmSicY59BDlqQ5mU1143vokkbvnRFHfxhY0Cu9qRFHqKweK -A3rD6z8KLFIWoCtDuSWQP3CpMyVtRRooOyfPqsMpQhvfO0zAMzRbQYi/aytlryjvsvXDqmbOe1bu -t8jLZ8HJnBoYuMTDSQPxYA5QzUbF83d597YV4Djbxy8ooAw/dyZ02SUS2jHaGh7cKUGRIjxpp7sC -8rZcJwOJ9Abqm+RyguOhCcHpABnTPtRwa7pxpqpYrvS76Wy274fMm7v/OeZWYdMKp8RcTGB7BXcm -er/YB1IsYvdwY9k5vG8cwnncdimvzsUsZAReiDZuMdRAGmI0Nj81Aa6sY6A= ------END CERTIFICATE----- - -GeoTrust Primary Certification Authority - G2 -============================================= ------BEGIN CERTIFICATE----- -MIICrjCCAjWgAwIBAgIQPLL0SAoA4v7rJDteYD7DazAKBggqhkjOPQQDAzCBmDELMAkGA1UEBhMC -VVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChjKSAyMDA3IEdlb1RydXN0IElu -Yy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBD -ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMB4XDTA3MTEwNTAwMDAwMFoXDTM4MDExODIzNTk1 -OVowgZgxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykg -MjAwNyBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNVBAMTLUdl -b1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjB2MBAGByqGSM49AgEG -BSuBBAAiA2IABBWx6P0DFUPlrOuHNxFi79KDNlJ9RVcLSo17VDs6bl8VAsBQps8lL33KSLjHUGMc -KiEIfJo22Av+0SbFWDEwKCXzXV2juLaltJLtbCyf691DiaI8S0iRHVDsJt/WYC69IaNCMEAwDwYD -VR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFBVfNVdRVfslsq0DafwBo/q+ -EVXVMAoGCCqGSM49BAMDA2cAMGQCMGSWWaboCd6LuvpaiIjwH5HTRqjySkwCY/tsXzjbLkGTqQ7m -ndwxHLKgpxgceeHHNgIwOlavmnRs9vuD4DPTCF+hnMJbn0bWtsuRBmOiBuczrD6ogRLQy7rQkgu2 -npaqBA+K ------END CERTIFICATE----- - -VeriSign Universal Root Certification Authority -=============================================== ------BEGIN CERTIFICATE----- -MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCBvTELMAkGA1UE -BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO -ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk -IHVzZSBvbmx5MTgwNgYDVQQDEy9WZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9u -IEF1dGhvcml0eTAeFw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJV -UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv -cmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl -IG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNhbCBSb290IENlcnRpZmljYXRpb24gQXV0 -aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj -1mCOkdeQmIN65lgZOIzF9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGP -MiJhgsWHH26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+HLL72 -9fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN/BMReYTtXlT2NJ8I -AfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPTrJ9VAMf2CGqUuV/c4DPxhGD5WycR -tPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0G -CCsGAQUFBwEMBGEwX6FdoFswWTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2O -a8PPgGrUSBgsexkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud -DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4sAPmLGd75JR3 -Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+seQxIcaBlVZaDrHC1LGmWazx -Y8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTx -P/jgdFcrGJ2BtMQo2pSXpXDrrB2+BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+P -wGZsY6rp2aQW9IHRlRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4 -mJO37M2CYfE45k+XmCpajQ== ------END CERTIFICATE----- - -VeriSign Class 3 Public Primary Certification Authority - G4 -============================================================ ------BEGIN CERTIFICATE----- -MIIDhDCCAwqgAwIBAgIQL4D+I4wOIg9IZxIokYesszAKBggqhkjOPQQDAzCByjELMAkGA1UEBhMC -VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 -b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVz -ZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmlj -YXRpb24gQXV0aG9yaXR5IC0gRzQwHhcNMDcxMTA1MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCByjEL -MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBU -cnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRo -b3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5 -IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAASnVnp8 -Utpkmw4tXNherJI9/gHmGUo9FANL+mAnINmDiWn6VMaaGF5VKmTeBvaNSjutEDxlPZCIBIngMGGz -rl0Bp3vefLK+ymVhAIau2o970ImtTR1ZmkGxvEeA3J5iw/mjgbIwga8wDwYDVR0TAQH/BAUwAwEB -/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEw -HzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVyaXNpZ24u -Y29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFLMWkf3upm7ktS5Jj4d4gYDs5bG1MAoGCCqGSM49BAMD -A2gAMGUCMGYhDBgmYFo4e1ZC4Kf8NoRRkSAsdk1DPcQdhCPQrNZ8NQbOzWm9kA3bbEhCHQ6qQgIx -AJw9SDkjOVgaFRJZap7v1VmyHVIsmXHNxynfGyphe3HR3vPA5Q06Sqotp9iGKt0uEA== ------END CERTIFICATE----- - -NetLock Arany (Class Gold) Főtanúsítvány -============================================ ------BEGIN CERTIFICATE----- -MIIEFTCCAv2gAwIBAgIGSUEs5AAQMA0GCSqGSIb3DQEBCwUAMIGnMQswCQYDVQQGEwJIVTERMA8G -A1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5ldExvY2sgS2Z0LjE3MDUGA1UECwwuVGFuw7pzw610 -dsOhbnlraWFkw7NrIChDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzKTE1MDMGA1UEAwwsTmV0TG9jayBB -cmFueSAoQ2xhc3MgR29sZCkgRsWRdGFuw7pzw610dsOhbnkwHhcNMDgxMjExMTUwODIxWhcNMjgx -MjA2MTUwODIxWjCBpzELMAkGA1UEBhMCSFUxETAPBgNVBAcMCEJ1ZGFwZXN0MRUwEwYDVQQKDAxO -ZXRMb2NrIEtmdC4xNzA1BgNVBAsMLlRhbsO6c8OtdHbDoW55a2lhZMOzayAoQ2VydGlmaWNhdGlv -biBTZXJ2aWNlcykxNTAzBgNVBAMMLE5ldExvY2sgQXJhbnkgKENsYXNzIEdvbGQpIEbFkXRhbsO6 -c8OtdHbDoW55MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxCRec75LbRTDofTjl5Bu -0jBFHjzuZ9lk4BqKf8owyoPjIMHj9DrTlF8afFttvzBPhCf2nx9JvMaZCpDyD/V/Q4Q3Y1GLeqVw -/HpYzY6b7cNGbIRwXdrzAZAj/E4wqX7hJ2Pn7WQ8oLjJM2P+FpD/sLj916jAwJRDC7bVWaaeVtAk -H3B5r9s5VA1lddkVQZQBr17s9o3x/61k/iCa11zr/qYfCGSji3ZVrR47KGAuhyXoqq8fxmRGILdw -fzzeSNuWU7c5d+Qa4scWhHaXWy+7GRWF+GmF9ZmnqfI0p6m2pgP8b4Y9VHx2BJtr+UBdADTHLpl1 -neWIA6pN+APSQnbAGwIDAKiLo0UwQzASBgNVHRMBAf8ECDAGAQH/AgEEMA4GA1UdDwEB/wQEAwIB -BjAdBgNVHQ4EFgQUzPpnk/C2uNClwB7zU/2MU9+D15YwDQYJKoZIhvcNAQELBQADggEBAKt/7hwW -qZw8UQCgwBEIBaeZ5m8BiFRhbvG5GK1Krf6BQCOUL/t1fC8oS2IkgYIL9WHxHG64YTjrgfpioTta -YtOUZcTh5m2C+C8lcLIhJsFyUR+MLMOEkMNaj7rP9KdlpeuY0fsFskZ1FSNqb4VjMIDw1Z4fKRzC -bLBQWV2QWzuoDTDPv31/zvGdg73JRm4gpvlhUbohL3u+pRVjodSVh/GeufOJ8z2FuLjbvrW5Kfna -NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu -dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= ------END CERTIFICATE----- - -Staat der Nederlanden Root CA - G2 -================================== ------BEGIN CERTIFICATE----- -MIIFyjCCA7KgAwIBAgIEAJiWjDANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJOTDEeMBwGA1UE -CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSswKQYDVQQDDCJTdGFhdCBkZXIgTmVkZXJsYW5kZW4g -Um9vdCBDQSAtIEcyMB4XDTA4MDMyNjExMTgxN1oXDTIwMDMyNTExMDMxMFowWjELMAkGA1UEBhMC -TkwxHjAcBgNVBAoMFVN0YWF0IGRlciBOZWRlcmxhbmRlbjErMCkGA1UEAwwiU3RhYXQgZGVyIE5l -ZGVybGFuZGVuIFJvb3QgQ0EgLSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVZ -5291qj5LnLW4rJ4L5PnZyqtdj7U5EILXr1HgO+EASGrP2uEGQxGZqhQlEq0i6ABtQ8SpuOUfiUtn -vWFI7/3S4GCI5bkYYCjDdyutsDeqN95kWSpGV+RLufg3fNU254DBtvPUZ5uW6M7XxgpT0GtJlvOj -CwV3SPcl5XCsMBQgJeN/dVrlSPhOewMHBPqCYYdu8DvEpMfQ9XQ+pV0aCPKbJdL2rAQmPlU6Yiil -e7Iwr/g3wtG61jj99O9JMDeZJiFIhQGp5Rbn3JBV3w/oOM2ZNyFPXfUib2rFEhZgF1XyZWampzCR -OME4HYYEhLoaJXhena/MUGDWE4dS7WMfbWV9whUYdMrhfmQpjHLYFhN9C0lK8SgbIHRrxT3dsKpI -CT0ugpTNGmXZK4iambwYfp/ufWZ8Pr2UuIHOzZgweMFvZ9C+X+Bo7d7iscksWXiSqt8rYGPy5V65 -48r6f1CGPqI0GAwJaCgRHOThuVw+R7oyPxjMW4T182t0xHJ04eOLoEq9jWYv6q012iDTiIJh8BIi -trzQ1aTsr1SIJSQ8p22xcik/Plemf1WvbibG/ufMQFxRRIEKeN5KzlW/HdXZt1bv8Hb/C3m1r737 -qWmRRpdogBQ2HbN/uymYNqUg+oJgYjOk7Na6B6duxc8UpufWkjTYgfX8HV2qXB72o007uPc5AgMB -AAGjgZcwgZQwDwYDVR0TAQH/BAUwAwEB/zBSBgNVHSAESzBJMEcGBFUdIAAwPzA9BggrBgEFBQcC -ARYxaHR0cDovL3d3dy5wa2lvdmVyaGVpZC5ubC9wb2xpY2llcy9yb290LXBvbGljeS1HMjAOBgNV -HQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJFoMocVHYnitfGsNig0jQt8YojrMA0GCSqGSIb3DQEBCwUA -A4ICAQCoQUpnKpKBglBu4dfYszk78wIVCVBR7y29JHuIhjv5tLySCZa59sCrI2AGeYwRTlHSeYAz -+51IvuxBQ4EffkdAHOV6CMqqi3WtFMTC6GY8ggen5ieCWxjmD27ZUD6KQhgpxrRW/FYQoAUXvQwj -f/ST7ZwaUb7dRUG/kSS0H4zpX897IZmflZ85OkYcbPnNe5yQzSipx6lVu6xiNGI1E0sUOlWDuYaN -kqbG9AclVMwWVxJKgnjIFNkXgiYtXSAfea7+1HAWFpWD2DU5/1JddRwWxRNVz0fMdWVSSt7wsKfk -CpYL+63C4iWEst3kvX5ZbJvw8NjnyvLplzh+ib7M+zkXYT9y2zqR2GUBGR2tUKRXCnxLvJxxcypF -URmFzI79R6d0lR2o0a9OF7FpJsKqeFdbxU2n5Z4FF5TKsl+gSRiNNOkmbEgeqmiSBeGCc1qb3Adb -CG19ndeNIdn8FCCqwkXfP+cAslHkwvgFuXkajDTznlvkN1trSt8sV4pAWja63XVECDdCcAz+3F4h -oKOKwJCcaNpQ5kUQR3i2TtJlycM33+FCY7BXN0Ute4qcvwXqZVUz9zkQxSgqIXobisQk+T8VyJoV -IPVVYpbtbZNQvOSqeK3Zywplh6ZmwcSBo3c6WB4L7oOLnR7SUqTMHW+wmG2UMbX4cQrcufx9MmDm -66+KAQ== ------END CERTIFICATE----- - -CA Disig -======== ------BEGIN CERTIFICATE----- -MIIEDzCCAvegAwIBAgIBATANBgkqhkiG9w0BAQUFADBKMQswCQYDVQQGEwJTSzETMBEGA1UEBxMK -QnJhdGlzbGF2YTETMBEGA1UEChMKRGlzaWcgYS5zLjERMA8GA1UEAxMIQ0EgRGlzaWcwHhcNMDYw -MzIyMDEzOTM0WhcNMTYwMzIyMDEzOTM0WjBKMQswCQYDVQQGEwJTSzETMBEGA1UEBxMKQnJhdGlz -bGF2YTETMBEGA1UEChMKRGlzaWcgYS5zLjERMA8GA1UEAxMIQ0EgRGlzaWcwggEiMA0GCSqGSIb3 -DQEBAQUAA4IBDwAwggEKAoIBAQCS9jHBfYj9mQGp2HvycXXxMcbzdWb6UShGhJd4NLxs/LxFWYgm -GErENx+hSkS943EE9UQX4j/8SFhvXJ56CbpRNyIjZkMhsDxkovhqFQ4/61HhVKndBpnXmjxUizkD -Pw/Fzsbrg3ICqB9x8y34dQjbYkzo+s7552oftms1grrijxaSfQUMbEYDXcDtab86wYqg6I7ZuUUo -hwjstMoVvoLdtUSLLa2GDGhibYVW8qwUYzrG0ZmsNHhWS8+2rT+MitcE5eN4TPWGqvWP+j1scaMt -ymfraHtuM6kMgiioTGohQBUgDCZbg8KpFhXAJIJdKxatymP2dACw30PEEGBWZ2NFAgMBAAGjgf8w -gfwwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUjbJJaJ1yCCW5wCf1UJNWSEZx+Y8wDgYDVR0P -AQH/BAQDAgEGMDYGA1UdEQQvMC2BE2Nhb3BlcmF0b3JAZGlzaWcuc2uGFmh0dHA6Ly93d3cuZGlz -aWcuc2svY2EwZgYDVR0fBF8wXTAtoCugKYYnaHR0cDovL3d3dy5kaXNpZy5zay9jYS9jcmwvY2Ff -ZGlzaWcuY3JsMCygKqAohiZodHRwOi8vY2EuZGlzaWcuc2svY2EvY3JsL2NhX2Rpc2lnLmNybDAa -BgNVHSAEEzARMA8GDSuBHpGT5goAAAABAQEwDQYJKoZIhvcNAQEFBQADggEBAF00dGFMrzvY/59t -WDYcPQuBDRIrRhCA/ec8J9B6yKm2fnQwM6M6int0wHl5QpNt/7EpFIKrIYwvF/k/Ji/1WcbvgAa3 -mkkp7M5+cTxqEEHA9tOasnxakZzArFvITV734VP/Q3f8nktnbNfzg9Gg4H8l37iYC5oyOGwwoPP/ -CBUz91BKez6jPiCp3C9WgArtQVCwyfTssuMmRAAOb54GvCKWU3BlxFAKRmukLyeBEicTXxChds6K -ezfqwzlhA5WYOudsiCUI/HloDYd9Yvi0X/vF2Ey9WLw/Q1vUHgFNPGO+I++MzVpQuGhU+QqZMxEA -4Z7CRneC9VkGjCFMhwnN5ag= ------END CERTIFICATE----- - -Juur-SK -======= ------BEGIN CERTIFICATE----- -MIIE5jCCA86gAwIBAgIEO45L/DANBgkqhkiG9w0BAQUFADBdMRgwFgYJKoZIhvcNAQkBFglwa2lA -c2suZWUxCzAJBgNVBAYTAkVFMSIwIAYDVQQKExlBUyBTZXJ0aWZpdHNlZXJpbWlza2Vza3VzMRAw -DgYDVQQDEwdKdXVyLVNLMB4XDTAxMDgzMDE0MjMwMVoXDTE2MDgyNjE0MjMwMVowXTEYMBYGCSqG -SIb3DQEJARYJcGtpQHNrLmVlMQswCQYDVQQGEwJFRTEiMCAGA1UEChMZQVMgU2VydGlmaXRzZWVy -aW1pc2tlc2t1czEQMA4GA1UEAxMHSnV1ci1TSzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAIFxNj4zB9bjMI0TfncyRsvPGbJgMUaXhvSYRqTCZUXP00B841oiqBB4M8yIsdOBSvZiF3tf -TQou0M+LI+5PAk676w7KvRhj6IAcjeEcjT3g/1tf6mTll+g/mX8MCgkzABpTpyHhOEvWgxutr2TC -+Rx6jGZITWYfGAriPrsfB2WThbkasLnE+w0R9vXW+RvHLCu3GFH+4Hv2qEivbDtPL+/40UceJlfw -UR0zlv/vWT3aTdEVNMfqPxZIe5EcgEMPPbgFPtGzlc3Yyg/CQ2fbt5PgIoIuvvVoKIO5wTtpeyDa -Tpxt4brNj3pssAki14sL2xzVWiZbDcDq5WDQn/413z8CAwEAAaOCAawwggGoMA8GA1UdEwEB/wQF -MAMBAf8wggEWBgNVHSAEggENMIIBCTCCAQUGCisGAQQBzh8BAQEwgfYwgdAGCCsGAQUFBwICMIHD -HoHAAFMAZQBlACAAcwBlAHIAdABpAGYAaQBrAGEAYQB0ACAAbwBuACAAdgDkAGwAagBhAHMAdABh -AHQAdQBkACAAQQBTAC0AaQBzACAAUwBlAHIAdABpAGYAaQB0AHMAZQBlAHIAaQBtAGkAcwBrAGUA -cwBrAHUAcwAgAGEAbABhAG0ALQBTAEsAIABzAGUAcgB0AGkAZgBpAGsAYQBhAHQAaQBkAGUAIABr -AGkAbgBuAGkAdABhAG0AaQBzAGUAawBzMCEGCCsGAQUFBwIBFhVodHRwOi8vd3d3LnNrLmVlL2Nw -cy8wKwYDVR0fBCQwIjAgoB6gHIYaaHR0cDovL3d3dy5zay5lZS9qdXVyL2NybC8wHQYDVR0OBBYE -FASqekej5ImvGs8KQKcYP2/v6X2+MB8GA1UdIwQYMBaAFASqekej5ImvGs8KQKcYP2/v6X2+MA4G -A1UdDwEB/wQEAwIB5jANBgkqhkiG9w0BAQUFAAOCAQEAe8EYlFOiCfP+JmeaUOTDBS8rNXiRTHyo -ERF5TElZrMj3hWVcRrs7EKACr81Ptcw2Kuxd/u+gkcm2k298gFTsxwhwDY77guwqYHhpNjbRxZyL -abVAyJRld/JXIWY7zoVAtjNjGr95HvxcHdMdkxuLDF2FvZkwMhgJkVLpfKG6/2SSmuz+Ne6ML678 -IIbsSt4beDI3poHSna9aEhbKmVv8b20OxaAehsmR0FyYgl9jDIpaq9iVpszLita/ZEuOyoqysOkh -Mp6qqIWYNIE5ITuoOlIyPfZrN4YGWhWY3PARZv40ILcD9EEQfTmEeZZyY7aWAuVrua0ZTbvGRNs2 -yyqcjg== ------END CERTIFICATE----- - -Hongkong Post Root CA 1 -======================= ------BEGIN CERTIFICATE----- -MIIDMDCCAhigAwIBAgICA+gwDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UEBhMCSEsxFjAUBgNVBAoT -DUhvbmdrb25nIFBvc3QxIDAeBgNVBAMTF0hvbmdrb25nIFBvc3QgUm9vdCBDQSAxMB4XDTAzMDUx -NTA1MTMxNFoXDTIzMDUxNTA0NTIyOVowRzELMAkGA1UEBhMCSEsxFjAUBgNVBAoTDUhvbmdrb25n -IFBvc3QxIDAeBgNVBAMTF0hvbmdrb25nIFBvc3QgUm9vdCBDQSAxMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEArP84tulmAknjorThkPlAj3n54r15/gK97iSSHSL22oVyaf7XPwnU3ZG1 -ApzQjVrhVcNQhrkpJsLj2aDxaQMoIIBFIi1WpztUlVYiWR8o3x8gPW2iNr4joLFutbEnPzlTCeqr -auh0ssJlXI6/fMN4hM2eFvz1Lk8gKgifd/PFHsSaUmYeSF7jEAaPIpjhZY4bXSNmO7ilMlHIhqqh -qZ5/dpTCpmy3QfDVyAY45tQM4vM7TG1QjMSDJ8EThFk9nnV0ttgCXjqQesBCNnLsak3c78QA3xMY -V18meMjWCnl3v/evt3a5pQuEF10Q6m/hq5URX208o1xNg1vysxmKgIsLhwIDAQABoyYwJDASBgNV -HRMBAf8ECDAGAQH/AgEDMA4GA1UdDwEB/wQEAwIBxjANBgkqhkiG9w0BAQUFAAOCAQEADkbVPK7i -h9legYsCmEEIjEy82tvuJxuC52pF7BaLT4Wg87JwvVqWuspube5Gi27nKi6Wsxkz67SfqLI37pio -l7Yutmcn1KZJ/RyTZXaeQi/cImyaT/JaFTmxcdcrUehtHJjA2Sr0oYJ71clBoiMBdDhViw+5Lmei -IAQ32pwL0xch4I+XeTRvhEgCIDMb5jREn5Fw9IBehEPCKdJsEhTkYY2sEJCehFC78JZvRZ+K88ps -T/oROhUVRsPNH4NbLUES7VBnQRM9IauUiqpOfMGx+6fWtScvl6tu4B3i0RwsH0Ti/L6RoZz71ilT -c4afU9hDDl3WY4JxHYB0yvbiAmvZWg== ------END CERTIFICATE----- - -SecureSign RootCA11 -=================== ------BEGIN CERTIFICATE----- -MIIDbTCCAlWgAwIBAgIBATANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQGEwJKUDErMCkGA1UEChMi -SmFwYW4gQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcywgSW5jLjEcMBoGA1UEAxMTU2VjdXJlU2lnbiBS -b290Q0ExMTAeFw0wOTA0MDgwNDU2NDdaFw0yOTA0MDgwNDU2NDdaMFgxCzAJBgNVBAYTAkpQMSsw -KQYDVQQKEyJKYXBhbiBDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzLCBJbmMuMRwwGgYDVQQDExNTZWN1 -cmVTaWduIFJvb3RDQTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/XeqpRyQBTvL -TJszi1oURaTnkBbR31fSIRCkF/3frNYfp+TbfPfs37gD2pRY/V1yfIw/XwFndBWW4wI8h9uuywGO -wvNmxoVF9ALGOrVisq/6nL+k5tSAMJjzDbaTj6nU2DbysPyKyiyhFTOVMdrAG/LuYpmGYz+/3ZMq -g6h2uRMft85OQoWPIucuGvKVCbIFtUROd6EgvanyTgp9UK31BQ1FT0Zx/Sg+U/sE2C3XZR1KG/rP -O7AxmjVuyIsG0wCR8pQIZUyxNAYAeoni8McDWc/V1uinMrPmmECGxc0nEovMe863ETxiYAcjPitA -bpSACW22s293bzUIUPsCh8U+iQIDAQABo0IwQDAdBgNVHQ4EFgQUW/hNT7KlhtQ60vFjmqC+CfZX -t94wDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAKCh -OBZmLqdWHyGcBvod7bkixTgm2E5P7KN/ed5GIaGHd48HCJqypMWvDzKYC3xmKbabfSVSSUOrTC4r -bnpwrxYO4wJs+0LmGJ1F2FXI6Dvd5+H0LgscNFxsWEr7jIhQX5Ucv+2rIrVls4W6ng+4reV6G4pQ -Oh29Dbx7VFALuUKvVaAYga1lme++5Jy/xIWrQbJUb9wlze144o4MjQlJ3WN7WmmWAiGovVJZ6X01 -y8hSyn+B/tlr0/cR7SXf+Of5pPpyl4RTDaXQMhhRdlkUbA/r7F+AjHVDg8OFmP9Mni0N5HeDk061 -lgeLKBObjBmNQSdJQO7e5iNEOdyhIta6A/I= ------END CERTIFICATE----- - -ACEDICOM Root -============= ------BEGIN CERTIFICATE----- -MIIFtTCCA52gAwIBAgIIYY3HhjsBggUwDQYJKoZIhvcNAQEFBQAwRDEWMBQGA1UEAwwNQUNFRElD -T00gUm9vdDEMMAoGA1UECwwDUEtJMQ8wDQYDVQQKDAZFRElDT00xCzAJBgNVBAYTAkVTMB4XDTA4 -MDQxODE2MjQyMloXDTI4MDQxMzE2MjQyMlowRDEWMBQGA1UEAwwNQUNFRElDT00gUm9vdDEMMAoG -A1UECwwDUEtJMQ8wDQYDVQQKDAZFRElDT00xCzAJBgNVBAYTAkVTMIICIjANBgkqhkiG9w0BAQEF -AAOCAg8AMIICCgKCAgEA/5KV4WgGdrQsyFhIyv2AVClVYyT/kGWbEHV7w2rbYgIB8hiGtXxaOLHk -WLn709gtn70yN78sFW2+tfQh0hOR2QetAQXW8713zl9CgQr5auODAKgrLlUTY4HKRxx7XBZXehuD -YAQ6PmXDzQHe3qTWDLqO3tkE7hdWIpuPY/1NFgu3e3eM+SW10W2ZEi5PGrjm6gSSrj0RuVFCPYew -MYWveVqc/udOXpJPQ/yrOq2lEiZmueIM15jO1FillUAKt0SdE3QrwqXrIhWYENiLxQSfHY9g5QYb -m8+5eaA9oiM/Qj9r+hwDezCNzmzAv+YbX79nuIQZ1RXve8uQNjFiybwCq0Zfm/4aaJQ0PZCOrfbk -HQl/Sog4P75n/TSW9R28MHTLOO7VbKvU/PQAtwBbhTIWdjPp2KOZnQUAqhbm84F9b32qhm2tFXTT -xKJxqvQUfecyuB+81fFOvW8XAjnXDpVCOscAPukmYxHqC9FK/xidstd7LzrZlvvoHpKuE1XI2Sf2 -3EgbsCTBheN3nZqk8wwRHQ3ItBTutYJXCb8gWH8vIiPYcMt5bMlL8qkqyPyHK9caUPgn6C9D4zq9 -2Fdx/c6mUlv53U3t5fZvie27k5x2IXXwkkwp9y+cAS7+UEaeZAwUswdbxcJzbPEHXEUkFDWug/Fq -TYl6+rPYLWbwNof1K1MCAwEAAaOBqjCBpzAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFKaz -4SsrSbbXc6GqlPUB53NlTKxQMA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUprPhKytJttdzoaqU -9QHnc2VMrFAwRAYDVR0gBD0wOzA5BgRVHSAAMDEwLwYIKwYBBQUHAgEWI2h0dHA6Ly9hY2VkaWNv -bS5lZGljb21ncm91cC5jb20vZG9jMA0GCSqGSIb3DQEBBQUAA4ICAQDOLAtSUWImfQwng4/F9tqg -aHtPkl7qpHMyEVNEskTLnewPeUKzEKbHDZ3Ltvo/Onzqv4hTGzz3gvoFNTPhNahXwOf9jU8/kzJP -eGYDdwdY6ZXIfj7QeQCM8htRM5u8lOk6e25SLTKeI6RF+7YuE7CLGLHdztUdp0J/Vb77W7tH1Pwk -zQSulgUV1qzOMPPKC8W64iLgpq0i5ALudBF/TP94HTXa5gI06xgSYXcGCRZj6hitoocf8seACQl1 -ThCojz2GuHURwCRiipZ7SkXp7FnFvmuD5uHorLUwHv4FB4D54SMNUI8FmP8sX+g7tq3PgbUhh8oI -KiMnMCArz+2UW6yyetLHKKGKC5tNSixthT8Jcjxn4tncB7rrZXtaAWPWkFtPF2Y9fwsZo5NjEFIq -nxQWWOLcpfShFosOkYuByptZ+thrkQdlVV9SH686+5DdaaVbnG0OLLb6zqylfDJKZ0DcMDQj3dcE -I2bw/FWAp/tmGYI1Z2JwOV5vx+qQQEQIHriy1tvuWacNGHk0vFQYXlPKNFHtRQrmjseCNj6nOGOp -MCwXEGCSn1WHElkQwg9naRHMTh5+Spqtr0CodaxWkHS4oJyleW/c6RrIaQXpuvoDs3zk4E7Czp3o -tkYNbn5XOmeUwssfnHdKZ05phkOTOPu220+DkdRgfks+KzgHVZhepA== ------END CERTIFICATE----- - -Verisign Class 1 Public Primary Certification Authority -======================================================= ------BEGIN CERTIFICATE----- -MIICPDCCAaUCED9pHoGc8JpK83P/uUii5N0wDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5 -IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVow -XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAx -IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDlGb9to1ZhLZlIcfZn3rmN67eehoAKkQ76OCWvRoiC5XOooJskXQ0fzGVuDLDQ -VoQYh5oGmxChc9+0WDlrbsH2FdWoqD+qEgaNMax/sDTXjzRniAnNFBHiTkVWaR94AoDa3EeRKbs2 -yWNcxeDXLYd7obcysHswuiovMaruo2fa2wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFgVKTk8d6Pa -XCUDfGD67gmZPCcQcMgMCeazh88K4hiWNWLMv5sneYlfycQJ9M61Hd8qveXbhpxoJeUwfLaJFf5n -0a3hUKw8fGJLj7qE1xIVGx/KXQ/BUpQqEZnae88MNhPVNdwQGVnqlMEAv3WP2fr9dgTbYruQagPZ -RjXZ+Hxb ------END CERTIFICATE----- - -Verisign Class 3 Public Primary Certification Authority -======================================================= ------BEGIN CERTIFICATE----- -MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5 -IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVow -XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz -IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94 -f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol -hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBABByUqkFFBky -CEHwxWsKzH4PIRnN5GfcX6kb5sroc50i2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWX -bj9T/UWZYB2oK0z5XqcJ2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/ -D/xwzoiQ ------END CERTIFICATE----- - -Microsec e-Szigno Root CA 2009 -============================== ------BEGIN CERTIFICATE----- -MIIECjCCAvKgAwIBAgIJAMJ+QwRORz8ZMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYDVQQGEwJIVTER -MA8GA1UEBwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jv -c2VjIGUtU3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5o -dTAeFw0wOTA2MTYxMTMwMThaFw0yOTEyMzAxMTMwMThaMIGCMQswCQYDVQQGEwJIVTERMA8GA1UE -BwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jvc2VjIGUt -U3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5odTCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOn4j/NjrdqG2KfgQvvPkd6mJviZpWNwrZuuyjNA -fW2WbqEORO7hE52UQlKavXWFdCyoDh2Tthi3jCyoz/tccbna7P7ofo/kLx2yqHWH2Leh5TvPmUpG -0IMZfcChEhyVbUr02MelTTMuhTlAdX4UfIASmFDHQWe4oIBhVKZsTh/gnQ4H6cm6M+f+wFUoLAKA -pxn1ntxVUwOXewdI/5n7N4okxFnMUBBjjqqpGrCEGob5X7uxUG6k0QrM1XF+H6cbfPVTbiJfyyvm -1HxdrtbCxkzlBQHZ7Vf8wSN5/PrIJIOV87VqUQHQd9bpEqH5GoP7ghu5sJf0dgYzQ0mg/wu1+rUC -AwEAAaOBgDB+MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTLD8bf -QkPMPcu1SCOhGnqmKrs0aDAfBgNVHSMEGDAWgBTLD8bfQkPMPcu1SCOhGnqmKrs0aDAbBgNVHREE -FDASgRBpbmZvQGUtc3ppZ25vLmh1MA0GCSqGSIb3DQEBCwUAA4IBAQDJ0Q5eLtXMs3w+y/w9/w0o -lZMEyL/azXm4Q5DwpL7v8u8hmLzU1F0G9u5C7DBsoKqpyvGvivo/C3NqPuouQH4frlRheesuCDfX -I/OMn74dseGkddug4lQUsbocKaQY9hK6ohQU4zE1yED/t+AFdlfBHFny+L/k7SViXITwfn4fs775 -tyERzAMBVnCnEJIeGzSBHq2cGsMEPO0CYdYeBvNfOofyK/FFh+U9rNHHV4S9a67c2Pm2G2JwCz02 -yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5tHMN1Rq41Bab2XD0h7lbwyYIi -LXpUq3DDfSJlgnCW ------END CERTIFICATE----- - -E-Guven Kok Elektronik Sertifika Hizmet Saglayicisi -=================================================== ------BEGIN CERTIFICATE----- -MIIDtjCCAp6gAwIBAgIQRJmNPMADJ72cdpW56tustTANBgkqhkiG9w0BAQUFADB1MQswCQYDVQQG -EwJUUjEoMCYGA1UEChMfRWxla3Ryb25payBCaWxnaSBHdXZlbmxpZ2kgQS5TLjE8MDoGA1UEAxMz -ZS1HdXZlbiBLb2sgRWxla3Ryb25payBTZXJ0aWZpa2EgSGl6bWV0IFNhZ2xheWljaXNpMB4XDTA3 -MDEwNDExMzI0OFoXDTE3MDEwNDExMzI0OFowdTELMAkGA1UEBhMCVFIxKDAmBgNVBAoTH0VsZWt0 -cm9uaWsgQmlsZ2kgR3V2ZW5saWdpIEEuUy4xPDA6BgNVBAMTM2UtR3V2ZW4gS29rIEVsZWt0cm9u -aWsgU2VydGlmaWthIEhpem1ldCBTYWdsYXlpY2lzaTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAMMSIJ6wXgBljU5Gu4Bc6SwGl9XzcslwuedLZYDBS75+PNdUMZTe1RK6UxYC6lhj71vY -8+0qGqpxSKPcEC1fX+tcS5yWCEIlKBHMilpiAVDV6wlTL/jDj/6z/P2douNffb7tC+Bg62nsM+3Y -jfsSSYMAyYuXjDtzKjKzEve5TfL0TW3H5tYmNwjy2f1rXKPlSFxYvEK+A1qBuhw1DADT9SN+cTAI -JjjcJRFHLfO6IxClv7wC90Nex/6wN1CZew+TzuZDLMN+DfIcQ2Zgy2ExR4ejT669VmxMvLz4Bcpk -9Ok0oSy1c+HCPujIyTQlCFzz7abHlJ+tiEMl1+E5YP6sOVkCAwEAAaNCMEAwDgYDVR0PAQH/BAQD -AgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ/uRLOU1fqRTy7ZVZoEVtstxNulMA0GCSqG -SIb3DQEBBQUAA4IBAQB/X7lTW2M9dTLn+sR0GstG30ZpHFLPqk/CaOv/gKlR6D1id4k9CnU58W5d -F4dvaAXBlGzZXd/aslnLpRCKysw5zZ/rTt5S/wzw9JKp8mxTq5vSR6AfdPebmvEvFZ96ZDAYBzwq -D2fK/A+JYZ1lpTzlvBNbCNvj/+27BrtqBrF6T2XGgv0enIu1De5Iu7i9qgi0+6N8y5/NkHZchpZ4 -Vwpm+Vganf2XKWDeEaaQHBkc7gGWIjQ0LpH5t8Qn0Xvmv/uARFoW5evg1Ao4vOSR49XrXMGs3xtq -fJ7lddK2l4fbzIcrQzqECK+rPNv3PGYxhrCdU3nt+CPeQuMtgvEP5fqX ------END CERTIFICATE----- - -GlobalSign Root CA - R3 -======================= ------BEGIN CERTIFICATE----- -MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xv -YmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2Jh -bFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxT -aWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2ln -bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWt -iHL8RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsTgHeMCOFJ -0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmmKPZpO/bLyCiR5Z2KYVc3 -rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zdQQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjl -OCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZXriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2 -xmmFghcCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE -FI/wS3+oLkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZURUm7 -lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMpjjM5RcOO5LlXbKr8 -EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK6fBdRoyV3XpYKBovHd7NADdBj+1E -bddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQXmcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18 -YIvDQVETI53O9zJrlAGomecsMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7r -kpeDMdmztcpHWD9f ------END CERTIFICATE----- - -TC TrustCenter Universal CA III -=============================== ------BEGIN CERTIFICATE----- -MIID4TCCAsmgAwIBAgIOYyUAAQACFI0zFQLkbPQwDQYJKoZIhvcNAQEFBQAwezELMAkGA1UEBhMC -REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNVBAsTG1RDIFRydXN0Q2VudGVy -IFVuaXZlcnNhbCBDQTEoMCYGA1UEAxMfVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBIElJSTAe -Fw0wOTA5MDkwODE1MjdaFw0yOTEyMzEyMzU5NTlaMHsxCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNU -QyBUcnVzdENlbnRlciBHbWJIMSQwIgYDVQQLExtUQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0Ex -KDAmBgNVBAMTH1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQSBJSUkwggEiMA0GCSqGSIb3DQEB -AQUAA4IBDwAwggEKAoIBAQDC2pxisLlxErALyBpXsq6DFJmzNEubkKLF5+cvAqBNLaT6hdqbJYUt -QCggbergvbFIgyIpRJ9Og+41URNzdNW88jBmlFPAQDYvDIRlzg9uwliT6CwLOunBjvvya8o84pxO -juT5fdMnnxvVZ3iHLX8LR7PH6MlIfK8vzArZQe+f/prhsq75U7Xl6UafYOPfjdN/+5Z+s7Vy+Eut -CHnNaYlAJ/Uqwa1D7KRTyGG299J5KmcYdkhtWyUB0SbFt1dpIxVbYYqt8Bst2a9c8SaQaanVDED1 -M4BDj5yjdipFtK+/fz6HP3bFzSreIMUWWMv5G/UPyw0RUmS40nZid4PxWJ//AgMBAAGjYzBhMB8G -A1UdIwQYMBaAFFbn4VslQ4Dg9ozhcbyO5YAvxEjiMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/ -BAQDAgEGMB0GA1UdDgQWBBRW5+FbJUOA4PaM4XG8juWAL8RI4jANBgkqhkiG9w0BAQUFAAOCAQEA -g8ev6n9NCjw5sWi+e22JLumzCecYV42FmhfzdkJQEw/HkG8zrcVJYCtsSVgZ1OK+t7+rSbyUyKu+ -KGwWaODIl0YgoGhnYIg5IFHYaAERzqf2EQf27OysGh+yZm5WZ2B6dF7AbZc2rrUNXWZzwCUyRdhK -BgePxLcHsU0GDeGl6/R1yrqc0L2z0zIkTO5+4nYES0lT2PLpVDP85XEfPRRclkvxOvIAu2y0+pZV -CIgJwcyRGSmwIC3/yzikQOEXvnlhgP8HA4ZMTnsGnxGGjYnuJ8Tb4rwZjgvDwxPHLQNjO9Po5KIq -woIIlBZU8O8fJ5AluA0OKBtHd0e9HKgl8ZS0Zg== ------END CERTIFICATE----- - -Autoridad de Certificacion Firmaprofesional CIF A62634068 -========================================================= ------BEGIN CERTIFICATE----- -MIIGFDCCA/ygAwIBAgIIU+w77vuySF8wDQYJKoZIhvcNAQEFBQAwUTELMAkGA1UEBhMCRVMxQjBA -BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2 -MjYzNDA2ODAeFw0wOTA1MjAwODM4MTVaFw0zMDEyMzEwODM4MTVaMFExCzAJBgNVBAYTAkVTMUIw -QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB -NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD -Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P -B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY -7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH -ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI -plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX -MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX -LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/TKI8xWVvTyQKmtFLK -bpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF6NkBiDkal4ZkQdU7hwxu+g/GvUgU -vzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVhOSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMBIGA1Ud -EwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRlzeurNR4APn7VdMActHNH -DhpkLzCBpgYDVR0gBIGeMIGbMIGYBgRVHSAAMIGPMC8GCCsGAQUFBwIBFiNodHRwOi8vd3d3LmZp -cm1hcHJvZmVzaW9uYWwuY29tL2NwczBcBggrBgEFBQcCAjBQHk4AUABhAHMAZQBvACAAZABlACAA -bABhACAAQgBvAG4AYQBuAG8AdgBhACAANAA3ACAAQgBhAHIAYwBlAGwAbwBuAGEAIAAwADgAMAAx -ADcwDQYJKoZIhvcNAQEFBQADggIBABd9oPm03cXF661LJLWhAqvdpYhKsg9VSytXjDvlMd3+xDLx -51tkljYyGOylMnfX40S2wBEqgLk9am58m9Ot/MPWo+ZkKXzR4Tgegiv/J2Wv+xYVxC5xhOW1//qk -R71kMrv2JYSiJ0L1ILDCExARzRAVukKQKtJE4ZYm6zFIEv0q2skGz3QeqUvVhyj5eTSSPi5E6PaP -T481PyWzOdxjKpBrIF/EUhJOlywqrJ2X3kjyo2bbwtKDlaZmp54lD+kLM5FlClrD2VQS3a/DTg4f -Jl4N3LON7NWBcN7STyQF82xO9UxJZo3R/9ILJUFI/lGExkKvgATP0H5kSeTy36LssUzAKh3ntLFl -osS88Zj0qnAHY7S42jtM+kAiMFsRpvAFDsYCA0irhpuF3dvd6qJ2gHN99ZwExEWN57kci57q13XR -crHedUTnQn3iV2t93Jm8PYMo6oCTjcVMZcFwgbg4/EMxsvYDNEeyrPsiBsse3RdHHF9mudMaotoR -saS8I8nkvof/uZS2+F0gStRf571oe2XyFR7SOqkt6dhrJKyXWERHrVkY8SFlcN7ONGCoQPHzPKTD -KCOM/iczQ0CgFzzr6juwcqajuUpLXhZI9LK8yIySxZ2frHI2vDSANGupi5LAuBft7HZT9SQBjLMi -6Et8Vcad+qMUu2WFbm5PEn4KPJ2V ------END CERTIFICATE----- - -Izenpe.com -========== ------BEGIN CERTIFICATE----- -MIIF8TCCA9mgAwIBAgIQALC3WhZIX7/hy/WL1xnmfTANBgkqhkiG9w0BAQsFADA4MQswCQYDVQQG -EwJFUzEUMBIGA1UECgwLSVpFTlBFIFMuQS4xEzARBgNVBAMMCkl6ZW5wZS5jb20wHhcNMDcxMjEz -MTMwODI4WhcNMzcxMjEzMDgyNzI1WjA4MQswCQYDVQQGEwJFUzEUMBIGA1UECgwLSVpFTlBFIFMu -QS4xEzARBgNVBAMMCkl6ZW5wZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDJ -03rKDx6sp4boFmVqscIbRTJxldn+EFvMr+eleQGPicPK8lVx93e+d5TzcqQsRNiekpsUOqHnJJAK -ClaOxdgmlOHZSOEtPtoKct2jmRXagaKH9HtuJneJWK3W6wyyQXpzbm3benhB6QiIEn6HLmYRY2xU -+zydcsC8Lv/Ct90NduM61/e0aL6i9eOBbsFGb12N4E3GVFWJGjMxCrFXuaOKmMPsOzTFlUFpfnXC -PCDFYbpRR6AgkJOhkEvzTnyFRVSa0QUmQbC1TR0zvsQDyCV8wXDbO/QJLVQnSKwv4cSsPsjLkkxT -OTcj7NMB+eAJRE1NZMDhDVqHIrytG6P+JrUV86f8hBnp7KGItERphIPzidF0BqnMC9bC3ieFUCbK -F7jJeodWLBoBHmy+E60QrLUk9TiRodZL2vG70t5HtfG8gfZZa88ZU+mNFctKy6lvROUbQc/hhqfK -0GqfvEyNBjNaooXlkDWgYlwWTvDjovoDGrQscbNYLN57C9saD+veIR8GdwYDsMnvmfzAuU8Lhij+ -0rnq49qlw0dpEuDb8PYZi+17cNcC1u2HGCgsBCRMd+RIihrGO5rUD8r6ddIBQFqNeb+Lz0vPqhbB -leStTIo+F5HUsWLlguWABKQDfo2/2n+iD5dPDNMN+9fR5XJ+HMh3/1uaD7euBUbl8agW7EekFwID -AQABo4H2MIHzMIGwBgNVHREEgagwgaWBD2luZm9AaXplbnBlLmNvbaSBkTCBjjFHMEUGA1UECgw+ -SVpFTlBFIFMuQS4gLSBDSUYgQTAxMzM3MjYwLVJNZXJjLlZpdG9yaWEtR2FzdGVpeiBUMTA1NSBG -NjIgUzgxQzBBBgNVBAkMOkF2ZGEgZGVsIE1lZGl0ZXJyYW5lbyBFdG9yYmlkZWEgMTQgLSAwMTAx -MCBWaXRvcmlhLUdhc3RlaXowDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0O -BBYEFB0cZQ6o8iV7tJHP5LGx5r1VdGwFMA0GCSqGSIb3DQEBCwUAA4ICAQB4pgwWSp9MiDrAyw6l -Fn2fuUhfGI8NYjb2zRlrrKvV9pF9rnHzP7MOeIWblaQnIUdCSnxIOvVFfLMMjlF4rJUT3sb9fbga -kEyrkgPH7UIBzg/YsfqikuFgba56awmqxinuaElnMIAkejEWOVt+8Rwu3WwJrfIxwYJOubv5vr8q -hT/AQKM6WfxZSzwoJNu0FXWuDYi6LnPAvViH5ULy617uHjAimcs30cQhbIHsvm0m5hzkQiCeR7Cs -g1lwLDXWrzY0tM07+DKo7+N4ifuNRSzanLh+QBxh5z6ikixL8s36mLYp//Pye6kfLqCTVyvehQP5 -aTfLnnhqBbTFMXiJ7HqnheG5ezzevh55hM6fcA5ZwjUukCox2eRFekGkLhObNA5me0mrZJfQRsN5 -nXJQY6aYWwa9SG3YOYNw6DXwBdGqvOPbyALqfP2C2sJbUjWumDqtujWTI6cfSN01RpiyEGjkpTHC -ClguGYEQyVB1/OpaFs4R1+7vUIgtYf8/QnMFlEPVjjxOAToZpR9GTnfQXeWBIiGH/pR9hNiTrdZo -Q0iy2+tzJOeRf1SktoA+naM8THLCV8Sg1Mw4J87VBp6iSNnpn86CcDaTmjvfliHjWbcM2pE38P1Z -WrOZyGlsQyYBNWNgVYkDOnXYukrZVP/u3oDYLdE41V4tC5h9Pmzb/CaIxw== ------END CERTIFICATE----- - -Chambers of Commerce Root - 2008 -================================ ------BEGIN CERTIFICATE----- -MIIHTzCCBTegAwIBAgIJAKPaQn6ksa7aMA0GCSqGSIb3DQEBBQUAMIGuMQswCQYDVQQGEwJFVTFD -MEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNv -bS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMu -QS4xKTAnBgNVBAMTIENoYW1iZXJzIG9mIENvbW1lcmNlIFJvb3QgLSAyMDA4MB4XDTA4MDgwMTEy -Mjk1MFoXDTM4MDczMTEyMjk1MFowga4xCzAJBgNVBAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNl -ZSBjdXJyZW50IGFkZHJlc3MgYXQgd3d3LmNhbWVyZmlybWEuY29tL2FkZHJlc3MpMRIwEAYDVQQF -EwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjEpMCcGA1UEAxMgQ2hhbWJl -cnMgb2YgQ29tbWVyY2UgUm9vdCAtIDIwMDgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC -AQCvAMtwNyuAWko6bHiUfaN/Gh/2NdW928sNRHI+JrKQUrpjOyhYb6WzbZSm891kDFX29ufyIiKA -XuFixrYp4YFs8r/lfTJqVKAyGVn+H4vXPWCGhSRv4xGzdz4gljUha7MI2XAuZPeEklPWDrCQiorj -h40G072QDuKZoRuGDtqaCrsLYVAGUvGef3bsyw/QHg3PmTA9HMRFEFis1tPo1+XqxQEHd9ZR5gN/ -ikilTWh1uem8nk4ZcfUyS5xtYBkL+8ydddy/Js2Pk3g5eXNeJQ7KXOt3EgfLZEFHcpOrUMPrCXZk -NNI5t3YRCQ12RcSprj1qr7V9ZS+UWBDsXHyvfuK2GNnQm05aSd+pZgvMPMZ4fKecHePOjlO+Bd5g -D2vlGts/4+EhySnB8esHnFIbAURRPHsl18TlUlRdJQfKFiC4reRB7noI/plvg6aRArBsNlVq5331 -lubKgdaX8ZSD6e2wsWsSaR6s+12pxZjptFtYer49okQ6Y1nUCyXeG0+95QGezdIp1Z8XGQpvvwyQ -0wlf2eOKNcx5Wk0ZN5K3xMGtr/R5JJqyAQuxr1yW84Ay+1w9mPGgP0revq+ULtlVmhduYJ1jbLhj -ya6BXBg14JC7vjxPNyK5fuvPnnchpj04gftI2jE9K+OJ9dC1vX7gUMQSibMjmhAxhduub+84Mxh2 -EQIDAQABo4IBbDCCAWgwEgYDVR0TAQH/BAgwBgEB/wIBDDAdBgNVHQ4EFgQU+SSsD7K1+HnA+mCI -G8TZTQKeFxkwgeMGA1UdIwSB2zCB2IAU+SSsD7K1+HnA+mCIG8TZTQKeFxmhgbSkgbEwga4xCzAJ -BgNVBAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNlZSBjdXJyZW50IGFkZHJlc3MgYXQgd3d3LmNh -bWVyZmlybWEuY29tL2FkZHJlc3MpMRIwEAYDVQQFEwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENh -bWVyZmlybWEgUy5BLjEpMCcGA1UEAxMgQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdCAtIDIwMDiC -CQCj2kJ+pLGu2jAOBgNVHQ8BAf8EBAMCAQYwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUH -AgEWHGh0dHA6Ly9wb2xpY3kuY2FtZXJmaXJtYS5jb20wDQYJKoZIhvcNAQEFBQADggIBAJASryI1 -wqM58C7e6bXpeHxIvj99RZJe6dqxGfwWPJ+0W2aeaufDuV2I6A+tzyMP3iU6XsxPpcG1Lawk0lgH -3qLPaYRgM+gQDROpI9CF5Y57pp49chNyM/WqfcZjHwj0/gF/JM8rLFQJ3uIrbZLGOU8W6jx+ekbU -RWpGqOt1glanq6B8aBMz9p0w8G8nOSQjKpD9kCk18pPfNKXG9/jvjA9iSnyu0/VU+I22mlaHFoI6 -M6taIgj3grrqLuBHmrS1RaMFO9ncLkVAO+rcf+g769HsJtg1pDDFOqxXnrN2pSB7+R5KBWIBpih1 -YJeSDW4+TTdDDZIVnBgizVGZoCkaPF+KMjNbMMeJL0eYD6MDxvbxrN8y8NmBGuScvfaAFPDRLLmF -9dijscilIeUcE5fuDr3fKanvNFNb0+RqE4QGtjICxFKuItLcsiFCGtpA8CnJ7AoMXOLQusxI0zcK -zBIKinmwPQN/aUv0NCB9szTqjktk9T79syNnFQ0EuPAtwQlRPLJsFfClI9eDdOTlLsn+mCdCxqvG -nrDQWzilm1DefhiYtUU79nm06PcaewaD+9CL2rvHvRirCG88gGtAPxkZumWK5r7VXNM21+9AUiRg -OGcEMeyP84LG3rlV8zsxkVrctQgVrXYlCg17LofiDKYGvCYQbTed7N14jHyAxfDZd0jQ ------END CERTIFICATE----- - -Global Chambersign Root - 2008 -============================== ------BEGIN CERTIFICATE----- -MIIHSTCCBTGgAwIBAgIJAMnN0+nVfSPOMA0GCSqGSIb3DQEBBQUAMIGsMQswCQYDVQQGEwJFVTFD -MEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNv -bS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMu -QS4xJzAlBgNVBAMTHkdsb2JhbCBDaGFtYmVyc2lnbiBSb290IC0gMjAwODAeFw0wODA4MDExMjMx -NDBaFw0zODA3MzExMjMxNDBaMIGsMQswCQYDVQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUg -Y3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJ -QTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xJzAlBgNVBAMTHkdsb2JhbCBD -aGFtYmVyc2lnbiBSb290IC0gMjAwODCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMDf -VtPkOpt2RbQT2//BthmLN0EYlVJH6xedKYiONWwGMi5HYvNJBL99RDaxccy9Wglz1dmFRP+RVyXf -XjaOcNFccUMd2drvXNL7G706tcuto8xEpw2uIRU/uXpbknXYpBI4iRmKt4DS4jJvVpyR1ogQC7N0 -ZJJ0YPP2zxhPYLIj0Mc7zmFLmY/CDNBAspjcDahOo7kKrmCgrUVSY7pmvWjg+b4aqIG7HkF4ddPB -/gBVsIdU6CeQNR1MM62X/JcumIS/LMmjv9GYERTtY/jKmIhYF5ntRQOXfjyGHoiMvvKRhI9lNNgA -TH23MRdaKXoKGCQwoze1eqkBfSbW+Q6OWfH9GzO1KTsXO0G2Id3UwD2ln58fQ1DJu7xsepeY7s2M -H/ucUa6LcL0nn3HAa6x9kGbo1106DbDVwo3VyJ2dwW3Q0L9R5OP4wzg2rtandeavhENdk5IMagfe -Ox2YItaswTXbo6Al/3K1dh3ebeksZixShNBFks4c5eUzHdwHU1SjqoI7mjcv3N2gZOnm3b2u/GSF -HTynyQbehP9r6GsaPMWis0L7iwk+XwhSx2LE1AVxv8Rk5Pihg+g+EpuoHtQ2TS9x9o0o9oOpE9Jh -wZG7SMA0j0GMS0zbaRL/UJScIINZc+18ofLx/d33SdNDWKBWY8o9PeU1VlnpDsogzCtLkykPAgMB -AAGjggFqMIIBZjASBgNVHRMBAf8ECDAGAQH/AgEMMB0GA1UdDgQWBBS5CcqcHtvTbDprru1U8VuT -BjUuXjCB4QYDVR0jBIHZMIHWgBS5CcqcHtvTbDprru1U8VuTBjUuXqGBsqSBrzCBrDELMAkGA1UE -BhMCRVUxQzBBBgNVBAcTOk1hZHJpZCAoc2VlIGN1cnJlbnQgYWRkcmVzcyBhdCB3d3cuY2FtZXJm -aXJtYS5jb20vYWRkcmVzcykxEjAQBgNVBAUTCUE4Mjc0MzI4NzEbMBkGA1UEChMSQUMgQ2FtZXJm -aXJtYSBTLkEuMScwJQYDVQQDEx5HbG9iYWwgQ2hhbWJlcnNpZ24gUm9vdCAtIDIwMDiCCQDJzdPp -1X0jzjAOBgNVHQ8BAf8EBAMCAQYwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0 -dHA6Ly9wb2xpY3kuY2FtZXJmaXJtYS5jb20wDQYJKoZIhvcNAQEFBQADggIBAICIf3DekijZBZRG -/5BXqfEv3xoNa/p8DhxJJHkn2EaqbylZUohwEurdPfWbU1Rv4WCiqAm57OtZfMY18dwY6fFn5a+6 -ReAJ3spED8IXDneRRXozX1+WLGiLwUePmJs9wOzL9dWCkoQ10b42OFZyMVtHLaoXpGNR6woBrX/s -dZ7LoR/xfxKxueRkf2fWIyr0uDldmOghp+G9PUIadJpwr2hsUF1Jz//7Dl3mLEfXgTpZALVza2Mg -9jFFCDkO9HB+QHBaP9BrQql0PSgvAm11cpUJjUhjxsYjV5KTXjXBjfkK9yydYhz2rXzdpjEetrHH -foUm+qRqtdpjMNHvkzeyZi99Bffnt0uYlDXA2TopwZ2yUDMdSqlapskD7+3056huirRXhOukP9Du -qqqHW2Pok+JrqNS4cnhrG+055F3Lm6qH1U9OAP7Zap88MQ8oAgF9mOinsKJknnn4SPIVqczmyETr -P3iZ8ntxPjzxmKfFGBI/5rsoM0LpRQp8bfKGeS/Fghl9CYl8slR2iK7ewfPM4W7bMdaTrpmg7yVq -c5iJWzouE4gev8CSlDQb4ye3ix5vQv/n6TebUB0tovkC7stYWDpxvGjjqsGvHCgfotwjZT+B6q6Z -09gwzxMNTxXJhLynSC34MCN32EZLeW32jO06f2ARePTpm67VVMB0gNELQp/B ------END CERTIFICATE----- - -Go Daddy Root Certificate Authority - G2 -======================================== ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoTEUdvRGFkZHkuY29tLCBJbmMu -MTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5 -MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6 -b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8G -A1UEAxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZI -hvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKDE6bFIEMBO4Tx5oVJnyfq -9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH/PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD -+qK+ihVqf94Lw7YZFAXK6sOoBJQ7RnwyDfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutd -fMh8+7ArU6SSYmlRJQVhGkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMl -NAJWJwGRtDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFDqahQcQZyi27/a9 -BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmXWWcDYfF+OwYxdS2hII5PZYe096ac -vNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r -5N9ss4UXnT3ZJE95kTXWXwTrgIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYV -N8Gb5DKj7Tjo2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO -LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI4uJEvlz36hz1 ------END CERTIFICATE----- - -Starfield Root Certificate Authority - G2 -========================================= ------BEGIN CERTIFICATE----- -MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s -b2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVsZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0 -eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAw -DgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQg -VGVjaG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZpY2F0ZSBB -dXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL3twQP89o/8ArFv -W59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMgnLRJdzIpVv257IzdIvpy3Cdhl+72WoTs -bhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNk -N3mSwOxGXn/hbVNMYq/NHwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7Nf -ZTD4p7dNdloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0HZbU -JtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0GCSqGSIb3DQEBCwUAA4IBAQARWfol -TwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjUsHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx -4mcujJUDJi5DnUox9g61DLu34jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUw -F5okxBDgBPfg8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K -pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1mMpYjn0q7pBZ -c2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0 ------END CERTIFICATE----- - -Starfield Services Root Certificate Authority - G2 -================================================== ------BEGIN CERTIFICATE----- -MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s -b2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVsZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRl -IEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNV -BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxT -dGFyZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2VydmljZXMg -Um9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20pOsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2 -h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm28xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4Pa -hHQUw2eeBGg6345AWh1KTs9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLP -LJGmpufehRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk6mFB -rMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAwDwYDVR0TAQH/BAUw -AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+qAdcwKziIorhtSpzyEZGDMA0GCSqG -SIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMIbw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPP -E95Dz+I0swSdHynVv/heyNXBve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTy -xQGjhdByPq1zqwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd -iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn0q23KXB56jza -YyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCNsSi6 ------END CERTIFICATE----- - -AffirmTrust Commercial -====================== ------BEGIN CERTIFICATE----- -MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UEBhMCVVMxFDAS -BgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBDb21tZXJjaWFsMB4XDTEw -MDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmly -bVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6Eqdb -DuKPHx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yrba0F8PrV -C8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPALMeIrJmqbTFeurCA+ukV6 -BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1yHp52UKqK39c/s4mT6NmgTWvRLpUHhww -MmWd5jyTXlBOeuM61G7MGvv50jeuJCqrVwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNV -HQ4EFgQUnZPGU4teyq8/nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwDQYJKoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYGXUPG -hi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNjvbz4YYCanrHOQnDi -qX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivtZ8SOyUOyXGsViQK8YvxO8rUzqrJv -0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9gN53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0kh -sUlHRUe072o0EclNmsxZt9YCnlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8= ------END CERTIFICATE----- - -AffirmTrust Networking -====================== ------BEGIN CERTIFICATE----- -MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UEBhMCVVMxFDAS -BgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBOZXR3b3JraW5nMB4XDTEw -MDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmly -bVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SE -Hi3yYJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbuakCNrmreI -dIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRLQESxG9fhwoXA3hA/Pe24 -/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gb -h+0t+nvujArjqWaJGctB+d1ENmHP4ndGyH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNV -HQ4EFgQUBx/S55zawm6iQLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwDQYJKoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfOtDIu -UFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzuQY0x2+c06lkh1QF6 -12S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZLgo/bNjR9eUJtGxUAArgFU2HdW23 -WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4uolu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9 -/ZFvgrG+CJPbFEfxojfHRZ48x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s= ------END CERTIFICATE----- - -AffirmTrust Premium -=================== ------BEGIN CERTIFICATE----- -MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UEBhMCVVMxFDAS -BgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVzdCBQcmVtaXVtMB4XDTEwMDEy -OTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRy -dXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A -MIICCgKCAgEAxBLfqV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtn -BKAQJG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ+jjeRFcV -5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrSs8PhaJyJ+HoAVt70VZVs -+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmd -GPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d770O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5R -p9EixAqnOEhss/n/fauGV+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NI -S+LI+H+SqHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S5u04 -6uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4IaC1nEWTJ3s7xgaVY5 -/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TXOwF0lkLgAOIua+rF7nKsu7/+6qqo -+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYEFJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB -/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByv -MiPIs0laUZx2KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg -Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B8OWycvpEgjNC -6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQMKSOyARiqcTtNd56l+0OOF6S -L5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK -+4w1IX2COPKpVJEZNZOUbWo6xbLQu4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmV -BtWVyuEklut89pMFu+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFg -IxpHYoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8GKa1qF60 -g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaORtGdFNrHF+QFlozEJLUb -zxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6eKeC2uAloGRwYQw== ------END CERTIFICATE----- - -AffirmTrust Premium ECC -======================= ------BEGIN CERTIFICATE----- -MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMCVVMxFDASBgNV -BAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQcmVtaXVtIEVDQzAeFw0xMDAx -MjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1U -cnVzdDEgMB4GA1UEAwwXQWZmaXJtVHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQA -IgNiAAQNMF4bFZ0D0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQ -N8O9ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0GA1UdDgQW -BBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAK -BggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/VsaobgxCd05DhT1wV/GzTjxi+zygk8N53X -57hG8f2h4nECMEJZh0PUUd+60wkyWs6Iflc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKM -eQ== ------END CERTIFICATE----- - -Certum Trusted Network CA -========================= ------BEGIN CERTIFICATE----- -MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQK -ExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIy -MTIwNzM3WhcNMjkxMjMxMTIwNzM3WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBU -ZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 -MSIwIAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rHUV+rpDKmYYe2bg+G0jAC -l/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LMTXPb865Px1bVWqeWifrzq2jUI4ZZJ88J -J7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVUBBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4 -fOQtf/WsX+sWn7Et0brMkUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0 -cvW0QM8xAcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNVHRMB -Af8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNVHQ8BAf8EBAMCAQYw -DQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15ysHhE49wcrwn9I0j6vSrEuVUEtRCj -jSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfLI9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1 -mS1FhIrlQgnXdAIv94nYmem8J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5aj -Zt3hrvJBW8qYVoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI -03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw= ------END CERTIFICATE----- - -Certinomis - Autorité Racine -============================= ------BEGIN CERTIFICATE----- -MIIFnDCCA4SgAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJGUjETMBEGA1UEChMK -Q2VydGlub21pczEXMBUGA1UECxMOMDAwMiA0MzM5OTg5MDMxJjAkBgNVBAMMHUNlcnRpbm9taXMg -LSBBdXRvcml0w6kgUmFjaW5lMB4XDTA4MDkxNzA4Mjg1OVoXDTI4MDkxNzA4Mjg1OVowYzELMAkG -A1UEBhMCRlIxEzARBgNVBAoTCkNlcnRpbm9taXMxFzAVBgNVBAsTDjAwMDIgNDMzOTk4OTAzMSYw -JAYDVQQDDB1DZXJ0aW5vbWlzIC0gQXV0b3JpdMOpIFJhY2luZTCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAJ2Fn4bT46/HsmtuM+Cet0I0VZ35gb5j2CN2DpdUzZlMGvE5x4jYF1AMnmHa -wE5V3udauHpOd4cN5bjr+p5eex7Ezyh0x5P1FMYiKAT5kcOrJ3NqDi5N8y4oH3DfVS9O7cdxbwly -Lu3VMpfQ8Vh30WC8Tl7bmoT2R2FFK/ZQpn9qcSdIhDWerP5pqZ56XjUl+rSnSTV3lqc2W+HN3yNw -2F1MpQiD8aYkOBOo7C+ooWfHpi2GR+6K/OybDnT0K0kCe5B1jPyZOQE51kqJ5Z52qz6WKDgmi92N -jMD2AR5vpTESOH2VwnHu7XSu5DaiQ3XV8QCb4uTXzEIDS3h65X27uK4uIJPT5GHfceF2Z5c/tt9q -c1pkIuVC28+BA5PY9OMQ4HL2AHCs8MF6DwV/zzRpRbWT5BnbUhYjBYkOjUjkJW+zeL9i9Qf6lSTC -lrLooyPCXQP8w9PlfMl1I9f09bze5N/NgL+RiH2nE7Q5uiy6vdFrzPOlKO1Enn1So2+WLhl+HPNb -xxaOu2B9d2ZHVIIAEWBsMsGoOBvrbpgT1u449fCfDu/+MYHB0iSVL1N6aaLwD4ZFjliCK0wi1F6g -530mJ0jfJUaNSih8hp75mxpZuWW/Bd22Ql095gBIgl4g9xGC3srYn+Y3RyYe63j3YcNBZFgCQfna -4NH4+ej9Uji29YnfAgMBAAGjWzBZMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0G -A1UdDgQWBBQNjLZh2kS40RR9w759XkjwzspqsDAXBgNVHSAEEDAOMAwGCiqBegFWAgIAAQEwDQYJ -KoZIhvcNAQEFBQADggIBACQ+YAZ+He86PtvqrxyaLAEL9MW12Ukx9F1BjYkMTv9sov3/4gbIOZ/x -WqndIlgVqIrTseYyCYIDbNc/CMf4uboAbbnW/FIyXaR/pDGUu7ZMOH8oMDX/nyNTt7buFHAAQCva -R6s0fl6nVjBhK4tDrP22iCj1a7Y+YEq6QpA0Z43q619FVDsXrIvkxmUP7tCMXWY5zjKn2BCXwH40 -nJ+U8/aGH88bc62UeYdocMMzpXDn2NU4lG9jeeu/Cg4I58UvD0KgKxRA/yHgBcUn4YQRE7rWhh1B -CxMjidPJC+iKunqjo3M3NYB9Ergzd0A4wPpeMNLytqOx1qKVl4GbUu1pTP+A5FPbVFsDbVRfsbjv -JL1vnxHDx2TCDyhihWZeGnuyt++uNckZM6i4J9szVb9o4XVIRFb7zdNIu0eJOqxp9YDG5ERQL1TE -qkPFMTFYvZbF6nVsmnWxTfj3l/+WFvKXTej28xH5On2KOG4Ey+HTRRWqpdEdnV1j6CTmNhTih60b -WfVEm/vXd3wfAXBioSAaosUaKPQhA+4u2cGA6rnZgtZbdsLLO7XSAPCjDuGtbkD326C00EauFddE -wk01+dIL8hf2rGbVJLJP0RyZwG71fet0BLj5TXcJ17TPBzAJ8bgAVtkXFhYKK4bfjwEZGuW7gmP/ -vgt2Fl43N+bYdJeimUV5 ------END CERTIFICATE----- - -Root CA Generalitat Valenciana -============================== ------BEGIN CERTIFICATE----- -MIIGizCCBXOgAwIBAgIEO0XlaDANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJFUzEfMB0GA1UE -ChMWR2VuZXJhbGl0YXQgVmFsZW5jaWFuYTEPMA0GA1UECxMGUEtJR1ZBMScwJQYDVQQDEx5Sb290 -IENBIEdlbmVyYWxpdGF0IFZhbGVuY2lhbmEwHhcNMDEwNzA2MTYyMjQ3WhcNMjEwNzAxMTUyMjQ3 -WjBoMQswCQYDVQQGEwJFUzEfMB0GA1UEChMWR2VuZXJhbGl0YXQgVmFsZW5jaWFuYTEPMA0GA1UE -CxMGUEtJR1ZBMScwJQYDVQQDEx5Sb290IENBIEdlbmVyYWxpdGF0IFZhbGVuY2lhbmEwggEiMA0G -CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDGKqtXETcvIorKA3Qdyu0togu8M1JAJke+WmmmO3I2 -F0zo37i7L3bhQEZ0ZQKQUgi0/6iMweDHiVYQOTPvaLRfX9ptI6GJXiKjSgbwJ/BXufjpTjJ3Cj9B -ZPPrZe52/lSqfR0grvPXdMIKX/UIKFIIzFVd0g/bmoGlu6GzwZTNVOAydTGRGmKy3nXiz0+J2ZGQ -D0EbtFpKd71ng+CT516nDOeB0/RSrFOyA8dEJvt55cs0YFAQexvba9dHq198aMpunUEDEO5rmXte -JajCq+TA81yc477OMUxkHl6AovWDfgzWyoxVjr7gvkkHD6MkQXpYHYTqWBLI4bft75PelAgxAgMB -AAGjggM7MIIDNzAyBggrBgEFBQcBAQQmMCQwIgYIKwYBBQUHMAGGFmh0dHA6Ly9vY3NwLnBraS5n -dmEuZXMwEgYDVR0TAQH/BAgwBgEB/wIBAjCCAjQGA1UdIASCAiswggInMIICIwYKKwYBBAG/VQIB -ADCCAhMwggHoBggrBgEFBQcCAjCCAdoeggHWAEEAdQB0AG8AcgBpAGQAYQBkACAAZABlACAAQwBl -AHIAdABpAGYAaQBjAGEAYwBpAPMAbgAgAFIAYQDtAHoAIABkAGUAIABsAGEAIABHAGUAbgBlAHIA -YQBsAGkAdABhAHQAIABWAGEAbABlAG4AYwBpAGEAbgBhAC4ADQAKAEwAYQAgAEQAZQBjAGwAYQBy -AGEAYwBpAPMAbgAgAGQAZQAgAFAAcgDhAGMAdABpAGMAYQBzACAAZABlACAAQwBlAHIAdABpAGYA -aQBjAGEAYwBpAPMAbgAgAHEAdQBlACAAcgBpAGcAZQAgAGUAbAAgAGYAdQBuAGMAaQBvAG4AYQBt -AGkAZQBuAHQAbwAgAGQAZQAgAGwAYQAgAHAAcgBlAHMAZQBuAHQAZQAgAEEAdQB0AG8AcgBpAGQA -YQBkACAAZABlACAAQwBlAHIAdABpAGYAaQBjAGEAYwBpAPMAbgAgAHMAZQAgAGUAbgBjAHUAZQBu -AHQAcgBhACAAZQBuACAAbABhACAAZABpAHIAZQBjAGMAaQDzAG4AIAB3AGUAYgAgAGgAdAB0AHAA -OgAvAC8AdwB3AHcALgBwAGsAaQAuAGcAdgBhAC4AZQBzAC8AYwBwAHMwJQYIKwYBBQUHAgEWGWh0 -dHA6Ly93d3cucGtpLmd2YS5lcy9jcHMwHQYDVR0OBBYEFHs100DSHHgZZu90ECjcPk+yeAT8MIGV -BgNVHSMEgY0wgYqAFHs100DSHHgZZu90ECjcPk+yeAT8oWykajBoMQswCQYDVQQGEwJFUzEfMB0G -A1UEChMWR2VuZXJhbGl0YXQgVmFsZW5jaWFuYTEPMA0GA1UECxMGUEtJR1ZBMScwJQYDVQQDEx5S -b290IENBIEdlbmVyYWxpdGF0IFZhbGVuY2lhbmGCBDtF5WgwDQYJKoZIhvcNAQEFBQADggEBACRh -TvW1yEICKrNcda3FbcrnlD+laJWIwVTAEGmiEi8YPyVQqHxK6sYJ2fR1xkDar1CdPaUWu20xxsdz -Ckj+IHLtb8zog2EWRpABlUt9jppSCS/2bxzkoXHPjCpaF3ODR00PNvsETUlR4hTJZGH71BTg9J63 -NI8KJr2XXPR5OkowGcytT6CYirQxlyric21+eLj4iIlPsSKRZEv1UN4D2+XFducTZnV+ZfsBn5OH -iJ35Rld8TWCvmHMTI6QgkYH60GFmuH3Rr9ZvHmw96RH9qfmCIoaZM3Fa6hlXPZHNqcCjbgcTpsnt -+GijnsNacgmHKNHEc8RzGF9QdRYxn7fofMM= ------END CERTIFICATE----- - -A-Trust-nQual-03 -================ ------BEGIN CERTIFICATE----- -MIIDzzCCAregAwIBAgIDAWweMA0GCSqGSIb3DQEBBQUAMIGNMQswCQYDVQQGEwJBVDFIMEYGA1UE -Cgw/QS1UcnVzdCBHZXMuIGYuIFNpY2hlcmhlaXRzc3lzdGVtZSBpbSBlbGVrdHIuIERhdGVudmVy -a2VociBHbWJIMRkwFwYDVQQLDBBBLVRydXN0LW5RdWFsLTAzMRkwFwYDVQQDDBBBLVRydXN0LW5R -dWFsLTAzMB4XDTA1MDgxNzIyMDAwMFoXDTE1MDgxNzIyMDAwMFowgY0xCzAJBgNVBAYTAkFUMUgw -RgYDVQQKDD9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGltIGVsZWt0ci4gRGF0 -ZW52ZXJrZWhyIEdtYkgxGTAXBgNVBAsMEEEtVHJ1c3QtblF1YWwtMDMxGTAXBgNVBAMMEEEtVHJ1 -c3QtblF1YWwtMDMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtPWFuA/OQO8BBC4SA -zewqo51ru27CQoT3URThoKgtUaNR8t4j8DRE/5TrzAUjlUC5B3ilJfYKvUWG6Nm9wASOhURh73+n -yfrBJcyFLGM/BWBzSQXgYHiVEEvc+RFZznF/QJuKqiTfC0Li21a8StKlDJu3Qz7dg9MmEALP6iPE -SU7l0+m0iKsMrmKS1GWH2WrX9IWf5DMiJaXlyDO6w8dB3F/GaswADm0yqLaHNgBid5seHzTLkDx4 -iHQF63n1k3Flyp3HaxgtPVxO59X4PzF9j4fsCiIvI+n+u33J4PTs63zEsMMtYrWacdaxaujs2e3V -cuy+VwHOBVWf3tFgiBCzAgMBAAGjNjA0MA8GA1UdEwEB/wQFMAMBAf8wEQYDVR0OBAoECERqlWdV -eRFPMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAVdRU0VlIXLOThaq/Yy/kgM40 -ozRiPvbY7meIMQQDbwvUB/tOdQ/TLtPAF8fGKOwGDREkDg6lXb+MshOWcdzUzg4NCmgybLlBMRmr -sQd7TZjTXLDR8KdCoLXEjq/+8T/0709GAHbrAvv5ndJAlseIOrifEXnzgGWovR/TeIGgUUw3tKZd -JXDRZslo+S4RFGjxVJgIrCaSD96JntT6s3kr0qN51OyLrIdTaEJMUVF0HhsnLuP1Hyl0Te2v9+GS -mYHovjrHF1D2t8b8m7CKa9aIA5GPBnc6hQLdmNVDeD/GMBWsm2vLV7eJUYs66MmEDNuxUCAKGkq6 -ahq97BvIxYSazQ== ------END CERTIFICATE----- - -TWCA Root Certification Authority -================================= ------BEGIN CERTIFICATE----- -MIIDezCCAmOgAwIBAgIBATANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJUVzESMBAGA1UECgwJ -VEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NBIFJvb3QgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwHhcNMDgwODI4MDcyNDMzWhcNMzAxMjMxMTU1OTU5WjBfMQswCQYDVQQG -EwJUVzESMBAGA1UECgwJVEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NB -IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQCwfnK4pAOU5qfeCTiRShFAh6d8WWQUe7UREN3+v9XAu1bihSX0NXIP+FPQQeFEAcK0HMMx -QhZHhTMidrIKbw/lJVBPhYa+v5guEGcevhEFhgWQxFnQfHgQsIBct+HHK3XLfJ+utdGdIzdjp9xC -oi2SBBtQwXu4PhvJVgSLL1KbralW6cH/ralYhzC2gfeXRfwZVzsrb+RH9JlF/h3x+JejiB03HFyP -4HYlmlD4oFT/RJB2I9IyxsOrBr/8+7/zrX2SYgJbKdM1o5OaQ2RgXbL6Mv87BK9NQGr5x+PvI/1r -y+UPizgN7gr8/g+YnzAx3WxSZfmLgb4i4RxYA7qRG4kHAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIB -BjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqOFsmjd6LWvJPelSDGRjjCDWmujANBgkqhkiG -9w0BAQUFAAOCAQEAPNV3PdrfibqHDAhUaiBQkr6wQT25JmSDCi/oQMCXKCeCMErJk/9q56YAf4lC -mtYR5VPOL8zy2gXE/uJQxDqGfczafhAJO5I1KlOy/usrBdlsXebQ79NqZp4VKIV66IIArB6nCWlW -QtNoURi+VJq/REG6Sb4gumlc7rh3zc5sH62Dlhh9DrUUOYTxKOkto557HnpyWoOzeW/vtPzQCqVY -T0bf+215WfKEIlKuD8z7fDvnaspHYcN6+NOSBB+4IIThNlQWx0DeO4pz3N/GCUzf7Nr/1FNCocny -Yh0igzyXxfkZYiesZSLX0zzG5Y6yU8xJzrww/nsOM5D77dIUkR8Hrw== ------END CERTIFICATE----- - -Security Communication RootCA2 -============================== ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBdMQswCQYDVQQGEwJKUDElMCMGA1UEChMc -U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEnMCUGA1UECxMeU2VjdXJpdHkgQ29tbXVuaWNh -dGlvbiBSb290Q0EyMB4XDTA5MDUyOTA1MDAzOVoXDTI5MDUyOTA1MDAzOVowXTELMAkGA1UEBhMC -SlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xJzAlBgNVBAsTHlNlY3Vy -aXR5IENvbW11bmljYXRpb24gUm9vdENBMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ANAVOVKxUrO6xVmCxF1SrjpDZYBLx/KWvNs2l9amZIyoXvDjChz335c9S672XewhtUGrzbl+dp++ -+T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVMVAX3NuRFg3sUZdbcDE3R -3n4MqzvEFb46VqZab3ZpUql6ucjrappdUtAtCms1FgkQhNBqyjoGADdH5H5XTz+L62e4iKrFvlNV -spHEfbmwhRkGeC7bYRr6hfVKkaHnFtWOojnflLhwHyg/i/xAXmODPIMqGplrz95Zajv8bxbXH/1K -EOtOghY6rCcMU/Gt1SSwawNQwS08Ft1ENCcadfsCAwEAAaNCMEAwHQYDVR0OBBYEFAqFqXdlBZh8 -QIH4D5csOPEK7DzPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEB -CwUAA4IBAQBMOqNErLlFsceTfsgLCkLfZOoc7llsCLqJX2rKSpWeeo8HxdpFcoJxDjrSzG+ntKEj -u/Ykn8sX/oymzsLS28yN/HH8AynBbF0zX2S2ZTuJbxh2ePXcokgfGT+Ok+vx+hfuzU7jBBJV1uXk -3fs+BXziHV7Gp7yXT2g69ekuCkO2r1dcYmh8t/2jioSgrGK+KwmHNPBqAbubKVY8/gA3zyNs8U6q -tnRGEmyR7jTV7JqR50S+kDFy1UkC9gLl9B/rfNmWVan/7Ir5mUf/NVoCqgTLiluHcSmRvaS0eg29 -mvVXIwAHIRc/SjnRBUkLp7Y3gaVdjKozXoEofKd9J+sAro03 ------END CERTIFICATE----- - -EC-ACC -====== ------BEGIN CERTIFICATE----- -MIIFVjCCBD6gAwIBAgIQ7is969Qh3hSoYqwE893EATANBgkqhkiG9w0BAQUFADCB8zELMAkGA1UE -BhMCRVMxOzA5BgNVBAoTMkFnZW5jaWEgQ2F0YWxhbmEgZGUgQ2VydGlmaWNhY2lvIChOSUYgUS0w -ODAxMTc2LUkpMSgwJgYDVQQLEx9TZXJ2ZWlzIFB1YmxpY3MgZGUgQ2VydGlmaWNhY2lvMTUwMwYD -VQQLEyxWZWdldSBodHRwczovL3d3dy5jYXRjZXJ0Lm5ldC92ZXJhcnJlbCAoYykwMzE1MDMGA1UE -CxMsSmVyYXJxdWlhIEVudGl0YXRzIGRlIENlcnRpZmljYWNpbyBDYXRhbGFuZXMxDzANBgNVBAMT -BkVDLUFDQzAeFw0wMzAxMDcyMzAwMDBaFw0zMTAxMDcyMjU5NTlaMIHzMQswCQYDVQQGEwJFUzE7 -MDkGA1UEChMyQWdlbmNpYSBDYXRhbGFuYSBkZSBDZXJ0aWZpY2FjaW8gKE5JRiBRLTA4MDExNzYt -SSkxKDAmBgNVBAsTH1NlcnZlaXMgUHVibGljcyBkZSBDZXJ0aWZpY2FjaW8xNTAzBgNVBAsTLFZl -Z2V1IGh0dHBzOi8vd3d3LmNhdGNlcnQubmV0L3ZlcmFycmVsIChjKTAzMTUwMwYDVQQLEyxKZXJh -cnF1aWEgRW50aXRhdHMgZGUgQ2VydGlmaWNhY2lvIENhdGFsYW5lczEPMA0GA1UEAxMGRUMtQUND -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsyLHT+KXQpWIR4NA9h0X84NzJB5R85iK -w5K4/0CQBXCHYMkAqbWUZRkiFRfCQ2xmRJoNBD45b6VLeqpjt4pEndljkYRm4CgPukLjbo73FCeT -ae6RDqNfDrHrZqJyTxIThmV6PttPB/SnCWDaOkKZx7J/sxaVHMf5NLWUhdWZXqBIoH7nF2W4onW4 -HvPlQn2v7fOKSGRdghST2MDk/7NQcvJ29rNdQlB50JQ+awwAvthrDk4q7D7SzIKiGGUzE3eeml0a -E9jD2z3Il3rucO2n5nzbcc8tlGLfbdb1OL4/pYUKGbio2Al1QnDE6u/LDsg0qBIimAy4E5S2S+zw -0JDnJwIDAQABo4HjMIHgMB0GA1UdEQQWMBSBEmVjX2FjY0BjYXRjZXJ0Lm5ldDAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUoMOLRKo3pUW/l4Ba0fF4opvpXY0wfwYD -VR0gBHgwdjB0BgsrBgEEAfV4AQMBCjBlMCwGCCsGAQUFBwIBFiBodHRwczovL3d3dy5jYXRjZXJ0 -Lm5ldC92ZXJhcnJlbDA1BggrBgEFBQcCAjApGidWZWdldSBodHRwczovL3d3dy5jYXRjZXJ0Lm5l -dC92ZXJhcnJlbCAwDQYJKoZIhvcNAQEFBQADggEBAKBIW4IB9k1IuDlVNZyAelOZ1Vr/sXE7zDkJ -lF7W2u++AVtd0x7Y/X1PzaBB4DSTv8vihpw3kpBWHNzrKQXlxJ7HNd+KDM3FIUPpqojlNcAZQmNa -Al6kSBg6hW/cnbw/nZzBh7h6YQjpdwt/cKt63dmXLGQehb+8dJahw3oS7AwaboMMPOhyRp/7SNVe -l+axofjk70YllJyJ22k4vuxcDlbHZVHlUIiIv0LVKz3l+bqeLrPK9HOSAgu+TGbrIP65y7WZf+a2 -E/rKS03Z7lNGBjvGTq2TWoF+bCpLagVFjPIhpDGQh2xlnJ2lYJU6Un/10asIbvPuW/mIPX64b24D -5EI= ------END CERTIFICATE----- - -Hellenic Academic and Research Institutions RootCA 2011 -======================================================= ------BEGIN CERTIFICATE----- -MIIEMTCCAxmgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBlTELMAkGA1UEBhMCR1IxRDBCBgNVBAoT -O0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9y -aXR5MUAwPgYDVQQDEzdIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25z -IFJvb3RDQSAyMDExMB4XDTExMTIwNjEzNDk1MloXDTMxMTIwMTEzNDk1MlowgZUxCzAJBgNVBAYT -AkdSMUQwQgYDVQQKEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25z -IENlcnQuIEF1dGhvcml0eTFAMD4GA1UEAxM3SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNo -IEluc3RpdHV0aW9ucyBSb290Q0EgMjAxMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -AKlTAOMupvaO+mDYLZU++CwqVE7NuYRhlFhPjz2L5EPzdYmNUeTDN9KKiE15HrcS3UN4SoqS5tdI -1Q+kOilENbgH9mgdVc04UfCMJDGFr4PJfel3r+0ae50X+bOdOFAPplp5kYCvN66m0zH7tSYJnTxa -71HFK9+WXesyHgLacEnsbgzImjeN9/E2YEsmLIKe0HjzDQ9jpFEw4fkrJxIH2Oq9GGKYsFk3fb7u -8yBRQlqD75O6aRXxYp2fmTmCobd0LovUxQt7L/DICto9eQqakxylKHJzkUOap9FNhYS5qXSPFEDH -3N6sQWRstBmbAmNtJGSPRLIl6s5ddAxjMlyNh+UCAwEAAaOBiTCBhjAPBgNVHRMBAf8EBTADAQH/ -MAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUppFC/RNhSiOeCKQp5dgTBCPuQSUwRwYDVR0eBEAwPqA8 -MAWCAy5ncjAFggMuZXUwBoIELmVkdTAGggQub3JnMAWBAy5ncjAFgQMuZXUwBoEELmVkdTAGgQQu -b3JnMA0GCSqGSIb3DQEBBQUAA4IBAQAf73lB4XtuP7KMhjdCSk4cNx6NZrokgclPEg8hwAOXhiVt -XdMiKahsog2p6z0GW5k6x8zDmjR/qw7IThzh+uTczQ2+vyT+bOdrwg3IBp5OjWEopmr95fZi6hg8 -TqBTnbI6nOulnJEWtk2C4AwFSKls9cz4y51JtPACpf1wA+2KIaWuE4ZJwzNzvoc7dIsXRSZMFpGD -/md9zU1jZ/rzAxKWeAaNsWftjj++n08C9bMJL/NMh98qy5V8AcysNnq/onN694/BtZqhFLKPM58N -7yLcZnuEvUUXBj08yrl3NI/K6s8/MT7jiOOASSXIl7WdmplNsDz4SgCbZN2fOUvRJ9e4 ------END CERTIFICATE----- - -Actalis Authentication Root CA -============================== ------BEGIN CERTIFICATE----- -MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAM -BgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UE -AwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDky -MjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlz -IFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290 -IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJ -wkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZa -by/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6 -zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1f -YVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2 -oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8l -EfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7 -hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8 -EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5 -jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAaNjMGEwHQYDVR0OBBYEFFLY -iDrIn3hm7YnzezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbt -ifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQALe3KHwGCmSUyI -WOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70jsNjLiNmsGe+b7bAEzlgqqI0 -JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKx -K3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+ -Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC -4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo -2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhz -lefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXem -OR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9 -vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== ------END CERTIFICATE----- - -Trustis FPS Root CA -=================== ------BEGIN CERTIFICATE----- -MIIDZzCCAk+gAwIBAgIQGx+ttiD5JNM2a/fH8YygWTANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQG -EwJHQjEYMBYGA1UEChMPVHJ1c3RpcyBMaW1pdGVkMRwwGgYDVQQLExNUcnVzdGlzIEZQUyBSb290 -IENBMB4XDTAzMTIyMzEyMTQwNloXDTI0MDEyMTExMzY1NFowRTELMAkGA1UEBhMCR0IxGDAWBgNV -BAoTD1RydXN0aXMgTGltaXRlZDEcMBoGA1UECxMTVHJ1c3RpcyBGUFMgUm9vdCBDQTCCASIwDQYJ -KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVQe547NdDfxIzNjpvto8A2mfRC6qc+gIMPpqdZh8mQ -RUN+AOqGeSoDvT03mYlmt+WKVoaTnGhLaASMk5MCPjDSNzoiYYkchU59j9WvezX2fihHiTHcDnlk -H5nSW7r+f2C/revnPDgpai/lkQtV/+xvWNUtyd5MZnGPDNcE2gfmHhjjvSkCqPoc4Vu5g6hBSLwa -cY3nYuUtsuvffM/bq1rKMfFMIvMFE/eC+XN5DL7XSxzA0RU8k0Fk0ea+IxciAIleH2ulrG6nS4zt -o3Lmr2NNL4XSFDWaLk6M6jKYKIahkQlBOrTh4/L68MkKokHdqeMDx4gVOxzUGpTXn2RZEm0CAwEA -AaNTMFEwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS6+nEleYtXQSUhhgtx67JkDoshZzAd -BgNVHQ4EFgQUuvpxJXmLV0ElIYYLceuyZA6LIWcwDQYJKoZIhvcNAQEFBQADggEBAH5Y//01GX2c -GE+esCu8jowU/yyg2kdbw++BLa8F6nRIW/M+TgfHbcWzk88iNVy2P3UnXwmWzaD+vkAMXBJV+JOC -yinpXj9WV4s4NvdFGkwozZ5BuO1WTISkQMi4sKUraXAEasP41BIy+Q7DsdwyhEQsb8tGD+pmQQ9P -8Vilpg0ND2HepZ5dfWWhPBfnqFVO76DH7cZEf1T1o+CP8HxVIo8ptoGj4W1OLBuAZ+ytIJ8MYmHV -l/9D7S3B2l0pKoU/rGXuhg8FjZBf3+6f9L/uHfuY5H+QK4R4EA5sSVPvFVtlRkpdr7r7OnIdzfYl -iB6XzCGcKQENZetX2fNXlrtIzYE= ------END CERTIFICATE----- - -StartCom Certification Authority -================================ ------BEGIN CERTIFICATE----- -MIIHhzCCBW+gAwIBAgIBLTANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMN -U3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmlu -ZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0 -NjM3WhcNMzYwOTE3MTk0NjM2WjB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRk -LjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMg -U3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw -ggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZkpMyONvg45iPwbm2xPN1y -o4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rfOQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/ -Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/CJi/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/d -eMotHweXMAEtcnn6RtYTKqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt -2PZE4XNiHzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMMAv+Z -6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w+2OqqGwaVLRcJXrJ -osmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/ -untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVc -UjyJthkqcwEKDwOzEmDyei+B26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT -37uMdBNSSwIDAQABo4ICEDCCAgwwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD -VR0OBBYEFE4L7xqkQFulF2mHMMo0aEPQQa7yMB8GA1UdIwQYMBaAFE4L7xqkQFulF2mHMMo0aEPQ -Qa7yMIIBWgYDVR0gBIIBUTCCAU0wggFJBgsrBgEEAYG1NwEBATCCATgwLgYIKwYBBQUHAgEWImh0 -dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cu -c3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwgc8GCCsGAQUFBwICMIHCMCcWIFN0YXJ0IENv -bW1lcmNpYWwgKFN0YXJ0Q29tKSBMdGQuMAMCAQEagZZMaW1pdGVkIExpYWJpbGl0eSwgcmVhZCB0 -aGUgc2VjdGlvbiAqTGVnYWwgTGltaXRhdGlvbnMqIG9mIHRoZSBTdGFydENvbSBDZXJ0aWZpY2F0 -aW9uIEF1dGhvcml0eSBQb2xpY3kgYXZhaWxhYmxlIGF0IGh0dHA6Ly93d3cuc3RhcnRzc2wuY29t -L3BvbGljeS5wZGYwEQYJYIZIAYb4QgEBBAQDAgAHMDgGCWCGSAGG+EIBDQQrFilTdGFydENvbSBG -cmVlIFNTTCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTANBgkqhkiG9w0BAQsFAAOCAgEAjo/n3JR5 -fPGFf59Jb2vKXfuM/gTFwWLRfUKKvFO3lANmMD+x5wqnUCBVJX92ehQN6wQOQOY+2IirByeDqXWm -N3PH/UvSTa0XQMhGvjt/UfzDtgUx3M2FIk5xt/JxXrAaxrqTi3iSSoX4eA+D/i+tLPfkpLst0OcN -Org+zvZ49q5HJMqjNTbOx8aHmNrs++myziebiMMEofYLWWivydsQD032ZGNcpRJvkrKTlMeIFw6T -tn5ii5B/q06f/ON1FE8qMt9bDeD1e5MNq6HPh+GlBEXoPBKlCcWw0bdT82AUuoVpaiF8H3VhFyAX -e2w7QSlc4axa0c2Mm+tgHRns9+Ww2vl5GKVFP0lDV9LdJNUso/2RjSe15esUBppMeyG7Oq0wBhjA -2MFrLH9ZXF2RsXAiV+uKa0hK1Q8p7MZAwC+ITGgBF3f0JBlPvfrhsiAhS90a2Cl9qrjeVOwhVYBs -HvUwyKMQ5bLmKhQxw4UtjJixhlpPiVktucf3HMiKf8CdBUrmQk9io20ppB+Fq9vlgcitKj1MXVuE -JnHEhV5xJMqlG2zYYdMa4FTbzrqpMrUi9nNBCV24F10OD5mQ1kfabwo6YigUZ4LZ8dCAWZvLMdib -D4x3TrVoivJs9iQOLWxwxXPR3hTQcY+203sC9uO41Alua551hDnmfyWl8kgAwKQB2j8= ------END CERTIFICATE----- - -StartCom Certification Authority G2 -=================================== ------BEGIN CERTIFICATE----- -MIIFYzCCA0ugAwIBAgIBOzANBgkqhkiG9w0BAQsFADBTMQswCQYDVQQGEwJJTDEWMBQGA1UEChMN -U3RhcnRDb20gTHRkLjEsMCoGA1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg -RzIwHhcNMTAwMTAxMDEwMDAxWhcNMzkxMjMxMjM1OTAxWjBTMQswCQYDVQQGEwJJTDEWMBQGA1UE -ChMNU3RhcnRDb20gTHRkLjEsMCoGA1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3Jp -dHkgRzIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2iTZbB7cgNr2Cu+EWIAOVeq8O -o1XJJZlKxdBWQYeQTSFgpBSHO839sj60ZwNq7eEPS8CRhXBF4EKe3ikj1AENoBB5uNsDvfOpL9HG -4A/LnooUCri99lZi8cVytjIl2bLzvWXFDSxu1ZJvGIsAQRSCb0AgJnooD/Uefyf3lLE3PbfHkffi -Aez9lInhzG7TNtYKGXmu1zSCZf98Qru23QumNK9LYP5/Q0kGi4xDuFby2X8hQxfqp0iVAXV16iul -Q5XqFYSdCI0mblWbq9zSOdIxHWDirMxWRST1HFSr7obdljKF+ExP6JV2tgXdNiNnvP8V4so75qbs -O+wmETRIjfaAKxojAuuKHDp2KntWFhxyKrOq42ClAJ8Em+JvHhRYW6Vsi1g8w7pOOlz34ZYrPu8H -vKTlXcxNnw3h3Kq74W4a7I/htkxNeXJdFzULHdfBR9qWJODQcqhaX2YtENwvKhOuJv4KHBnM0D4L -nMgJLvlblnpHnOl68wVQdJVznjAJ85eCXuaPOQgeWeU1FEIT/wCc976qUM/iUUjXuG+v+E5+M5iS -FGI6dWPPe/regjupuznixL0sAA7IF6wT700ljtizkC+p2il9Ha90OrInwMEePnWjFqmveiJdnxMa -z6eg6+OGCtP95paV1yPIN93EfKo2rJgaErHgTuixO/XWb/Ew1wIDAQABo0IwQDAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUS8W0QGutHLOlHGVuRjaJhwUMDrYwDQYJ -KoZIhvcNAQELBQADggIBAHNXPyzVlTJ+N9uWkusZXn5T50HsEbZH77Xe7XRcxfGOSeD8bpkTzZ+K -2s06Ctg6Wgk/XzTQLwPSZh0avZyQN8gMjgdalEVGKua+etqhqaRpEpKwfTbURIfXUfEpY9Z1zRbk -J4kd+MIySP3bmdCPX1R0zKxnNBFi2QwKN4fRoxdIjtIXHfbX/dtl6/2o1PXWT6RbdejF0mCy2wl+ -JYt7ulKSnj7oxXehPOBKc2thz4bcQ///If4jXSRK9dNtD2IEBVeC2m6kMyV5Sy5UGYvMLD0w6dEG -/+gyRr61M3Z3qAFdlsHB1b6uJcDJHgoJIIihDsnzb02CVAAgp9KP5DlUFy6NHrgbuxu9mk47EDTc -nIhT76IxW1hPkWLIwpqazRVdOKnWvvgTtZ8SafJQYqz7Fzf07rh1Z2AQ+4NQ+US1dZxAF7L+/Xld -blhYXzD8AK6vM8EOTmy6p6ahfzLbOOCxchcKK5HsamMm7YnUeMx0HgX4a/6ManY5Ka5lIxKVCCIc -l85bBu4M4ru8H0ST9tg4RQUh7eStqxK2A6RCLi3ECToDZ2mEmuFZkIoohdVddLHRDiBYmxOlsGOm -7XtH/UVVMKTumtTm4ofvmMkyghEpIrwACjFeLQ/Ajulrso8uBtjRkcfGEvRM/TAXw8HaOFvjqerm -obp573PYtlNXLfbQ4ddI ------END CERTIFICATE----- - -Buypass Class 2 Root CA -======================= ------BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMiBSb290IENBMB4X -DTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1owTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 -eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1 -g1Lr6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPVL4O2fuPn -9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC911K2GScuVr1QGbNgGE41b -/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHxMlAQTn/0hpPshNOOvEu/XAFOBz3cFIqU -CqTqc/sLUegTBxj6DvEr0VQVfTzh97QZQmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeff -awrbD02TTqigzXsu8lkBarcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgI -zRFo1clrUs3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLiFRhn -Bkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRSP/TizPJhk9H9Z2vX -Uq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN9SG9dKpN6nIDSdvHXx1iY8f93ZHs -M+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxPAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFMmAd+BikoL1RpzzuvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF -AAOCAgEAU18h9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s -A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3tOluwlN5E40EI -osHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo+fsicdl9sz1Gv7SEr5AcD48S -aq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYd -DnkM/crqJIByw5c/8nerQyIKx+u2DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWD -LfJ6v9r9jv6ly0UsH8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0 -oyLQI+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK75t98biGC -wWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h3PFaTWwyI0PurKju7koS -CTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPzY11aWOIv4x3kqdbQCtCev9eBCfHJxyYN -rJgWVqA= ------END CERTIFICATE----- - -Buypass Class 3 Root CA -======================= ------BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMyBSb290IENBMB4X -DTEwMTAyNjA4Mjg1OFoXDTQwMTAyNjA4Mjg1OFowTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 -eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDMgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKXaCpUWUOOV8l6ddjEGMnqb8RB2uACatVI2zSRH -sJ8YZLya9vrVediQYkwiL944PdbgqOkcLNt4EemOaFEVcsfzM4fkoF0LXOBXByow9c3EN3coTRiR -5r/VUv1xLXA+58bEiuPwKAv0dpihi4dVsjoT/Lc+JzeOIuOoTyrvYLs9tznDDgFHmV0ST9tD+leh -7fmdvhFHJlsTmKtdFoqwNxxXnUX/iJY2v7vKB3tvh2PX0DJq1l1sDPGzbjniazEuOQAnFN44wOwZ -ZoYS6J1yFhNkUsepNxz9gjDthBgd9K5c/3ATAOux9TN6S9ZV+AWNS2mw9bMoNlwUxFFzTWsL8TQH -2xc519woe2v1n/MuwU8XKhDzzMro6/1rqy6any2CbgTUUgGTLT2G/H783+9CHaZr77kgxve9oKeV -/afmiSTYzIw0bOIjL9kSGiG5VZFvC5F5GQytQIgLcOJ60g7YaEi7ghM5EFjp2CoHxhLbWNvSO1UQ -RwUVZ2J+GGOmRj8JDlQyXr8NYnon74Do29lLBlo3WiXQCBJ31G8JUJc9yB3D34xFMFbG02SrZvPA -Xpacw8Tvw3xrizp5f7NJzz3iiZ+gMEuFuZyUJHmPfWupRWgPK9Dx2hzLabjKSWJtyNBjYt1gD1iq -j6G8BaVmos8bdrKEZLFMOVLAMLrwjEsCsLa3AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFEe4zf/lb+74suwvTg75JbCOPGvDMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF -AAOCAgEAACAjQTUEkMJAYmDv4jVM1z+s4jSQuKFvdvoWFqRINyzpkMLyPPgKn9iB5btb2iUspKdV -cSQy9sgL8rxq+JOssgfCX5/bzMiKqr5qb+FJEMwx14C7u8jYog5kV+qi9cKpMRXSIGrs/CIBKM+G -uIAeqcwRpTzyFrNHnfzSgCHEy9BHcEGhyoMZCCxt8l13nIoUE9Q2HJLw5QY33KbmkJs4j1xrG0aG -Q0JfPgEHU1RdZX33inOhmlRaHylDFCfChQ+1iHsaO5S3HWCntZznKWlXWpuTekMwGwPXYshApqr8 -ZORK15FTAaggiG6cX0S5y2CBNOxv033aSF/rtJC8LakcC6wc1aJoIIAE1vyxjy+7SjENSoYc6+I2 -KSb12tjE8nVhz36udmNKekBlk4f4HoCMhuWG1o8O/FMsYOgWYRqiPkN7zTlgVGr18okmAWiDSKIz -6MkEkbIRNBE+6tBDGR8Dk5AM/1E9V/RBbuHLoL7ryWPNbczk+DaqaJ3tvV2XcEQNtg413OEMXbug -UZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvDu79leNKGef9JOxqDDPDe -eOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq4/g7u9xN12TyUb7mqqta6THuBrxzvxNi -Cp/HuZc= ------END CERTIFICATE----- diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Url.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Url.php deleted file mode 100644 index c5b701b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/Url.php +++ /dev/null @@ -1,527 +0,0 @@ -getParser('url')->parseUrl($url); - - // Convert the query string into a QueryString object - if (0 !== strlen($parts['query'])) { - $parts['query'] = QueryString::fromString($parts['query']); - } - - return new self($parts['scheme'], $parts['host'], $parts['user'], - $parts['pass'], $parts['port'], $parts['path'], $parts['query'], - $parts['fragment']); - } - - /** - * Build a URL from parse_url parts. The generated URL will be a relative URL if a scheme or host are not provided. - * - * @param array $parts Array of parse_url parts - * - * @return string - */ - public static function buildUrl(array $parts) - { - $url = $scheme = ''; - - if (isset($parts['scheme'])) { - $scheme = $parts['scheme']; - $url .= $scheme . ':'; - } - - if (isset($parts['host'])) { - $url .= '//'; - if (isset($parts['user'])) { - $url .= $parts['user']; - if (isset($parts['pass'])) { - $url .= ':' . $parts['pass']; - } - $url .= '@'; - } - - $url .= $parts['host']; - - // Only include the port if it is not the default port of the scheme - if (isset($parts['port']) - && !(($scheme == 'http' && $parts['port'] == 80) || ($scheme == 'https' && $parts['port'] == 443)) - ) { - $url .= ':' . $parts['port']; - } - } - - // Add the path component if present - if (isset($parts['path']) && 0 !== strlen($parts['path'])) { - // Always ensure that the path begins with '/' if set and something is before the path - if ($url && $parts['path'][0] != '/' && substr($url, -1) != '/') { - $url .= '/'; - } - $url .= $parts['path']; - } - - // Add the query string if present - if (isset($parts['query'])) { - $url .= '?' . $parts['query']; - } - - // Ensure that # is only added to the url if fragment contains anything. - if (isset($parts['fragment'])) { - $url .= '#' . $parts['fragment']; - } - - return $url; - } - - /** - * Create a new URL from URL parts - * - * @param string $scheme Scheme of the URL - * @param string $host Host of the URL - * @param string $username Username of the URL - * @param string $password Password of the URL - * @param int $port Port of the URL - * @param string $path Path of the URL - * @param QueryString|array|string $query Query string of the URL - * @param string $fragment Fragment of the URL - */ - public function __construct($scheme, $host, $username = null, $password = null, $port = null, $path = null, QueryString $query = null, $fragment = null) - { - $this->scheme = $scheme; - $this->host = $host; - $this->port = $port; - $this->username = $username; - $this->password = $password; - $this->fragment = $fragment; - if (!$query) { - $this->query = new QueryString(); - } else { - $this->setQuery($query); - } - $this->setPath($path); - } - - /** - * Clone the URL - */ - public function __clone() - { - $this->query = clone $this->query; - } - - /** - * Returns the URL as a URL string - * - * @return string - */ - public function __toString() - { - return self::buildUrl($this->getParts()); - } - - /** - * Get the parts of the URL as an array - * - * @return array - */ - public function getParts() - { - return array( - 'scheme' => $this->scheme, - 'user' => $this->username, - 'pass' => $this->password, - 'host' => $this->host, - 'port' => $this->port, - 'path' => $this->getPath(), - 'query' => (string) $this->query ?: null, - 'fragment' => $this->fragment, - ); - } - - /** - * Set the host of the request. - * - * @param string $host Host to set (e.g. www.yahoo.com, yahoo.com) - * - * @return Url - */ - public function setHost($host) - { - if (strpos($host, ':') === false) { - $this->host = $host; - } else { - list($host, $port) = explode(':', $host); - $this->host = $host; - $this->setPort($port); - } - - return $this; - } - - /** - * Get the host part of the URL - * - * @return string - */ - public function getHost() - { - return $this->host; - } - - /** - * Set the scheme part of the URL (http, https, ftp, etc) - * - * @param string $scheme Scheme to set - * - * @return Url - */ - public function setScheme($scheme) - { - $this->scheme = $scheme; - - return $this; - } - - /** - * Get the scheme part of the URL - * - * @return string - */ - public function getScheme() - { - return $this->scheme; - } - - /** - * Set the port part of the URL - * - * @param int $port Port to set - * - * @return Url - */ - public function setPort($port) - { - $this->port = $port; - - return $this; - } - - /** - * Get the port part of the URl. Will return the default port for a given scheme if no port has been set. - * - * @return int|null - */ - public function getPort() - { - if ($this->port) { - return $this->port; - } elseif ($this->scheme == 'http') { - return 80; - } elseif ($this->scheme == 'https') { - return 443; - } - - return null; - } - - /** - * Set the path part of the URL - * - * @param array|string $path Path string or array of path segments - * - * @return Url - */ - public function setPath($path) - { - if (is_array($path)) { - $this->path = '/' . implode('/', $path); - } else { - $this->path = (string) $path; - } - - return $this; - } - - /** - * Normalize the URL so that double slashes and relative paths are removed - * - * @return Url - */ - public function normalizePath() - { - if (!$this->path || $this->path == '/' || $this->path == '*') { - return $this; - } - - // Replace // and /./ with / - $this->path = str_replace(array('/./', '//'), '/', $this->path); - - // Remove trailing relative paths if possible - $segments = $this->getPathSegments(); - $last = end($segments); - $trailingSlash = false; - if ($last === '') { - array_pop($segments); - $trailingSlash = true; - } - - while ($last == '..' || $last == '.') { - if ($last == '..') { - array_pop($segments); - $last = array_pop($segments); - } - if ($last == '.' || $last == '') { - $last = array_pop($segments); - } - } - - $this->path = implode('/', $segments); - if ($trailingSlash) { - $this->path .= '/'; - } - - return $this; - } - - /** - * Add a relative path to the currently set path - * - * @param string $relativePath Relative path to add - * - * @return Url - */ - public function addPath($relativePath) - { - if (!$relativePath || $relativePath == '/') { - return $this; - } - - // Add a leading slash if needed - if ($relativePath[0] != '/') { - $relativePath = '/' . $relativePath; - } - - return $this->setPath(str_replace('//', '/', $this->getPath() . $relativePath)); - } - - /** - * Get the path part of the URL - * - * @return string - */ - public function getPath() - { - return $this->path; - } - - /** - * Get the path segments of the URL as an array - * - * @return array - */ - public function getPathSegments() - { - return array_slice(explode('/', $this->getPath()), 1); - } - - /** - * Set the password part of the URL - * - * @param string $password Password to set - * - * @return Url - */ - public function setPassword($password) - { - $this->password = $password; - - return $this; - } - - /** - * Get the password part of the URL - * - * @return null|string - */ - public function getPassword() - { - return $this->password; - } - - /** - * Set the username part of the URL - * - * @param string $username Username to set - * - * @return Url - */ - public function setUsername($username) - { - $this->username = $username; - - return $this; - } - - /** - * Get the username part of the URl - * - * @return null|string - */ - public function getUsername() - { - return $this->username; - } - - /** - * Get the query part of the URL as a QueryString object - * - * @return QueryString - */ - public function getQuery() - { - return $this->query; - } - - /** - * Set the query part of the URL - * - * @param QueryString|string|array $query Query to set - * - * @return Url - */ - public function setQuery($query) - { - if (is_string($query)) { - $output = null; - parse_str($query, $output); - $this->query = new QueryString($output); - } elseif (is_array($query)) { - $this->query = new QueryString($query); - } elseif ($query instanceof QueryString) { - $this->query = $query; - } - - return $this; - } - - /** - * Get the fragment part of the URL - * - * @return null|string - */ - public function getFragment() - { - return $this->fragment; - } - - /** - * Set the fragment part of the URL - * - * @param string $fragment Fragment to set - * - * @return Url - */ - public function setFragment($fragment) - { - $this->fragment = $fragment; - - return $this; - } - - /** - * Check if this is an absolute URL - * - * @return bool - */ - public function isAbsolute() - { - return $this->scheme && $this->host; - } - - /** - * Combine the URL with another URL. Parts specified in the passed URL will supersede parts in the current URL. - * - * @param string $url Relative URL to combine with - * - * @return Url - * @throws InvalidArgumentException - */ - public function combine($url) - { - $absolutePath = $url[0] == '/'; - $url = self::factory($url); - - if ($buffer = $url->getScheme()) { - $this->scheme = $buffer; - } - - if ($buffer = $url->getHost()) { - $this->host = $buffer; - } - - if ($buffer = $url->getPort()) { - $this->port = $buffer; - } - - if ($buffer = $url->getUsername()) { - $this->username = $buffer; - } - - if ($buffer = $url->getPassword()) { - $this->password = $buffer; - } - - if ($buffer = $url->getFragment()) { - $this->fragment = $buffer; - } - - if ($absolutePath) { - // Replace the current URL and query if set - if ($buffer = $url->getPath()) { - $this->path = $buffer; - } - if (count($url->getQuery())) { - $this->query = $url->getQuery(); - } - } else { - // Append to the current path and query string - if ($buffer = $url->getPath()) { - $this->addPath($buffer); - } - if ($buffer = $url->getQuery()) { - $this->query->merge($buffer); - } - } - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/composer.json deleted file mode 100644 index a22677d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Http/composer.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "guzzle/http", - "description": "HTTP libraries used by Guzzle", - "homepage": "http://guzzlephp.org/", - "keywords": ["http client", "http", "client", "Guzzle", "curl"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/common": "self.version", - "guzzle/parser": "self.version", - "guzzle/stream": "self.version" - }, - "suggest": { - "ext-curl": "*" - }, - "autoload": { - "psr-0": { "Guzzle\\Http": "" } - }, - "target-dir": "Guzzle/Http", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/Inflector.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/Inflector.php deleted file mode 100644 index 1cbd210..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/Inflector.php +++ /dev/null @@ -1,46 +0,0 @@ - array(), - 'camel' => array() - ); - - /** - * @var int Max entries per cache - */ - protected $maxCacheSize; - - /** - * @var InflectorInterface Decorated inflector - */ - protected $decoratedInflector; - - /** - * @param InflectorInterface $inflector Inflector being decorated - * @param int $maxCacheSize Maximum number of cached items to hold per cache - */ - public function __construct(InflectorInterface $inflector, $maxCacheSize = 500) - { - $this->decoratedInflector = $inflector; - $this->maxCacheSize = $maxCacheSize; - } - - /** - * {@inheritdoc} - */ - public function snake($word) - { - if (!isset($this->cache['snake'][$word])) { - $this->pruneCache('snake'); - $this->cache['snake'][$word] = $this->decoratedInflector->snake($word); - } - - return $this->cache['snake'][$word]; - } - - /** - * Converts strings from snake_case to upper CamelCase - * - * @param string $word Value to convert into upper CamelCase - * - * @return string - */ - public function camel($word) - { - if (!isset($this->cache['camel'][$word])) { - $this->pruneCache('camel'); - $this->cache['camel'][$word] = $this->decoratedInflector->camel($word); - } - - return $this->cache['camel'][$word]; - } - - /** - * Prune one of the named caches by removing 20% of the cache if it is full - * - * @param string $cache Type of cache to prune - */ - protected function pruneCache($cache) - { - if (count($this->cache[$cache]) == $this->maxCacheSize) { - $this->cache[$cache] = array_slice($this->cache[$cache], $this->maxCacheSize * 0.2); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/PreComputedInflector.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/PreComputedInflector.php deleted file mode 100644 index 9e9a0ed..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/PreComputedInflector.php +++ /dev/null @@ -1,68 +0,0 @@ - array(), - 'camel' => array() - ); - - /** - * @var InflectorInterface Decorated inflector - */ - protected $decoratedInflector; - - /** - * Decorate using a pre-computed map. - * - * @param InflectorInterface $inflector Inflector being decorated - * @param array $snake Hash of pre-computed camel to snake - * @param array $camel Hash of pre-computed snake to camel - * @param bool $mirror Mirror snake and camel reflections - */ - public function __construct(InflectorInterface $inflector, array $snake = array(), array $camel = array(), $mirror = false) - { - if ($mirror) { - $camel = array_merge(array_flip($snake), $camel); - $snake = array_merge(array_flip($camel), $snake); - } - - $this->decoratedInflector = $inflector; - $this->mapping = array( - 'snake' => $snake, - 'camel' => $camel - ); - } - - /** - * {@inheritdoc} - */ - public function snake($word) - { - return isset($this->mapping['snake'][$word]) - ? $this->mapping['snake'][$word] - : $this->decoratedInflector->snake($word); - } - - /** - * Converts strings from snake_case to upper CamelCase - * - * @param string $word Value to convert into upper CamelCase - * - * @return string - */ - public function camel($word) - { - return isset($this->mapping['camel'][$word]) - ? $this->mapping['camel'][$word] - : $this->decoratedInflector->camel($word); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/composer.json deleted file mode 100644 index 43d27ff..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Inflection/composer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "guzzle/inflection", - "description": "Guzzle inflection component", - "homepage": "http://guzzlephp.org/", - "keywords": ["inflection", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2" - }, - "autoload": { - "psr-0": { "Guzzle\\Inflection": "" } - }, - "target-dir": "Guzzle/Inflection", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/AppendIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/AppendIterator.php deleted file mode 100644 index 1b6bd7e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/AppendIterator.php +++ /dev/null @@ -1,19 +0,0 @@ -getArrayIterator()->append($iterator); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/ChunkedIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/ChunkedIterator.php deleted file mode 100644 index 41a0628..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/ChunkedIterator.php +++ /dev/null @@ -1,66 +0,0 @@ -chunkSize = $chunkSize; - } - - /** - * {@inheritdoc} - */ - public function rewind() - { - $this->next(); - } - - /** - * {@inheritdoc} - */ - public function next() - { - $this->chunk = array(); - $inner = $this->getInnerIterator(); - for ($i = 0; $i < $this->chunkSize && $inner->valid(); $i++) { - $this->chunk[] = $inner->current(); - $inner->next(); - } - } - - /** - * {@inheritdoc} - */ - public function current() - { - return $this->chunk; - } - - /** - * {@inheritdoc} - */ - public function valid() - { - return !empty($this->chunk); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/FilterIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/FilterIterator.php deleted file mode 100644 index b06fd48..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/FilterIterator.php +++ /dev/null @@ -1,41 +0,0 @@ -callback = $callback; - } - - /** - * {@inheritdoc} - */ - public function accept() - { - return call_user_func($this->callback, $this->current()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/MapIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/MapIterator.php deleted file mode 100644 index e405b70..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/MapIterator.php +++ /dev/null @@ -1,39 +0,0 @@ -callback = $callback; - } - - /** - * {@inheritdoc} - */ - public function current() - { - return call_user_func($this->callback, parent::current()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/MethodProxyIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/MethodProxyIterator.php deleted file mode 100644 index de4ab03..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/MethodProxyIterator.php +++ /dev/null @@ -1,27 +0,0 @@ -getInnerIterator(); - while ($i instanceof \OuterIterator) { - $i = $i->getInnerIterator(); - } - - return call_user_func_array(array($i, $name), $args); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/README.md b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/README.md deleted file mode 100644 index 61e8f5d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/README.md +++ /dev/null @@ -1,41 +0,0 @@ -Guzzle Iterator -=============== - -[![Build Status](https://secure.travis-ci.org/guzzle/iterator.png?branch=master)](http://travis-ci.org/guzzle/guzzle) - -Component library that provides useful Iterators and Iterator decorators - -- ChunkedIterator: Pulls out chunks from an inner iterator and yields the chunks as arrays -- FilterIterator: Used when PHP 5.4's CallbackFilterIterator is not available -- MapIterator: Maps values before yielding -- MethodProxyIterator: Proxies missing method calls to the innermost iterator - -### Installing via Composer - -The recommended way to install is through [Composer](http://getcomposer.org). - -1. Add ``guzzle/iterator`` as a dependency in your project's ``composer.json`` file: - - { - "require": { - "guzzle/iterator": "*" - } - } - - Consider tightening your dependencies to a known version when deploying mission critical applications (e.g. ``2.7.*``). - -2. Download and install Composer: - - curl -s http://getcomposer.org/installer | php - -3. Install your dependencies: - - php composer.phar install - -4. Require Composer's autoloader - - Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process: - - require 'vendor/autoload.php'; - -You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at [getcomposer.org](http://getcomposer.org). diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/composer.json deleted file mode 100644 index 9633664..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Iterator/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/iterator", - "description": "Provides helpful iterators and iterator decorators", - "keywords": ["iterator", "guzzle"], - "homepage": "http://guzzlephp.org/", - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/common": ">=2.8.0" - }, - "autoload": { - "psr-0": { "Guzzle\\Iterator": "/" } - }, - "target-dir": "Guzzle/Log", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/AbstractLogAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/AbstractLogAdapter.php deleted file mode 100644 index 9f5735c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/AbstractLogAdapter.php +++ /dev/null @@ -1,19 +0,0 @@ -log; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/ArrayLogAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/ArrayLogAdapter.php deleted file mode 100644 index 17088c1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/ArrayLogAdapter.php +++ /dev/null @@ -1,37 +0,0 @@ -logs[] = array('message' => $message, 'priority' => $priority, 'extras' => $extras); - } - - /** - * Get logged entries - * - * @return array - */ - public function getLogs() - { - return $this->logs; - } - - /** - * Clears logged entries - */ - public function clearLogs() - { - $this->logs = array(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/ClosureLogAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/ClosureLogAdapter.php deleted file mode 100644 index a793d5e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/ClosureLogAdapter.php +++ /dev/null @@ -1,29 +0,0 @@ -log = $logObject; - } - - /** - * {@inheritdoc} - */ - public function log($message, $priority = LOG_INFO, $extras = null) - { - call_user_func($this->log, $message, $priority, $extras); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php deleted file mode 100644 index 3917d6d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php +++ /dev/null @@ -1,18 +0,0 @@ ->>>>>>>\n{request}\n<<<<<<<<\n{response}\n--------\n{curl_stderr}"; - const SHORT_FORMAT = '[{ts}] "{method} {resource} {protocol}/{version}" {code}'; - - /** - * @var string Template used to format log messages - */ - protected $template; - - /** - * @param string $template Log message template - */ - public function __construct($template = self::DEFAULT_FORMAT) - { - $this->template = $template ?: self::DEFAULT_FORMAT; - } - - /** - * Set the template to use for logging - * - * @param string $template Log message template - * - * @return self - */ - public function setTemplate($template) - { - $this->template = $template; - - return $this; - } - - /** - * Returns a formatted message - * - * @param RequestInterface $request Request that was sent - * @param Response $response Response that was received - * @param CurlHandle $handle Curl handle associated with the message - * @param array $customData Associative array of custom template data - * - * @return string - */ - public function format( - RequestInterface $request, - Response $response = null, - CurlHandle $handle = null, - array $customData = array() - ) { - $cache = $customData; - - return preg_replace_callback( - '/{\s*([A-Za-z_\-\.0-9]+)\s*}/', - function (array $matches) use ($request, $response, $handle, &$cache) { - - if (array_key_exists($matches[1], $cache)) { - return $cache[$matches[1]]; - } - - $result = ''; - switch ($matches[1]) { - case 'request': - $result = (string) $request; - break; - case 'response': - $result = (string) $response; - break; - case 'req_body': - $result = $request instanceof EntityEnclosingRequestInterface - ? (string) $request->getBody() : ''; - break; - case 'res_body': - $result = $response ? $response->getBody(true) : ''; - break; - case 'ts': - $result = gmdate('c'); - break; - case 'method': - $result = $request->getMethod(); - break; - case 'url': - $result = (string) $request->getUrl(); - break; - case 'resource': - $result = $request->getResource(); - break; - case 'protocol': - $result = 'HTTP'; - break; - case 'version': - $result = $request->getProtocolVersion(); - break; - case 'host': - $result = $request->getHost(); - break; - case 'hostname': - $result = gethostname(); - break; - case 'port': - $result = $request->getPort(); - break; - case 'code': - $result = $response ? $response->getStatusCode() : ''; - break; - case 'phrase': - $result = $response ? $response->getReasonPhrase() : ''; - break; - case 'connect_time': - if ($handle) { - $result = $handle->getInfo(CURLINFO_CONNECT_TIME); - } elseif ($response) { - $result = $response->getInfo('connect_time'); - } - break; - case 'total_time': - if ($handle) { - $result = $handle->getInfo(CURLINFO_TOTAL_TIME); - } elseif ($response) { - $result = $response->getInfo('total_time'); - } - break; - case 'curl_error': - $result = $handle ? $handle->getError() : ''; - break; - case 'curl_code': - $result = $handle ? $handle->getErrorNo() : ''; - break; - case 'curl_stderr': - $result = $handle ? $handle->getStderr() : ''; - break; - default: - if (strpos($matches[1], 'req_header_') === 0) { - $result = $request->getHeader(substr($matches[1], 11)); - } elseif (strpos($matches[1], 'res_header_') === 0) { - $result = $response->getHeader(substr($matches[1], 11)); - } - } - - $cache[$matches[1]] = $result; - return $result; - }, - $this->template - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/MonologLogAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/MonologLogAdapter.php deleted file mode 100644 index 55f60d1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/MonologLogAdapter.php +++ /dev/null @@ -1,41 +0,0 @@ - Logger::DEBUG, - LOG_INFO => Logger::INFO, - LOG_WARNING => Logger::WARNING, - LOG_ERR => Logger::ERROR, - LOG_CRIT => Logger::CRITICAL, - LOG_ALERT => Logger::ALERT - ); - - /** - * {@inheritdoc} - */ - public function __construct(Logger $logObject) - { - $this->log = $logObject; - } - - /** - * {@inheritdoc} - */ - public function log($message, $priority = LOG_INFO, $extras = null) - { - $this->log->addRecord(self::$mapping[$priority], $message); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/Zf1LogAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/Zf1LogAdapter.php deleted file mode 100644 index b80dd37..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/Zf1LogAdapter.php +++ /dev/null @@ -1,25 +0,0 @@ -log = $logObject; - } - - /** - * {@inheritdoc} - */ - public function log($message, $priority = LOG_INFO, $extras = null) - { - $this->log->log($message, $priority, $extras); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/Zf2LogAdapter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/Zf2LogAdapter.php deleted file mode 100644 index 3348c23..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/Zf2LogAdapter.php +++ /dev/null @@ -1,27 +0,0 @@ -log = $logObject; - } - - /** - * {@inheritdoc} - */ - public function log($message, $priority = LOG_INFO, $extras = null) - { - $this->log->log($priority, $message, $extras ?: array()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/composer.json deleted file mode 100644 index 78d9def..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Log/composer.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "guzzle/log", - "description": "Guzzle log adapter component", - "homepage": "http://guzzlephp.org/", - "keywords": ["log", "adapter", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2" - }, - "autoload": { - "psr-0": { "Guzzle\\Log": "" } - }, - "suggest": { - "guzzle/http": "self.version" - }, - "target-dir": "Guzzle/Log", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParser.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParser.php deleted file mode 100644 index 1ba8e79..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParser.php +++ /dev/null @@ -1,91 +0,0 @@ - 'Domain', - 'path' => 'Path', - 'max_age' => 'Max-Age', - 'expires' => 'Expires', - 'version' => 'Version', - 'secure' => 'Secure', - 'port' => 'Port', - 'discard' => 'Discard', - 'comment' => 'Comment', - 'comment_url' => 'Comment-Url', - 'http_only' => 'HttpOnly' - ); - - /** - * {@inheritdoc} - */ - public function parseCookie($cookie, $host = null, $path = null, $decode = false) - { - // Explode the cookie string using a series of semicolons - $pieces = array_filter(array_map('trim', explode(';', $cookie))); - - // The name of the cookie (first kvp) must include an equal sign. - if (empty($pieces) || !strpos($pieces[0], '=')) { - return false; - } - - // Create the default return array - $data = array_merge(array_fill_keys(array_keys(self::$cookieParts), null), array( - 'cookies' => array(), - 'data' => array(), - 'path' => $path ?: '/', - 'http_only' => false, - 'discard' => false, - 'domain' => $host - )); - $foundNonCookies = 0; - - // Add the cookie pieces into the parsed data array - foreach ($pieces as $part) { - - $cookieParts = explode('=', $part, 2); - $key = trim($cookieParts[0]); - - if (count($cookieParts) == 1) { - // Can be a single value (e.g. secure, httpOnly) - $value = true; - } else { - // Be sure to strip wrapping quotes - $value = trim($cookieParts[1], " \n\r\t\0\x0B\""); - if ($decode) { - $value = urldecode($value); - } - } - - // Only check for non-cookies when cookies have been found - if (!empty($data['cookies'])) { - foreach (self::$cookieParts as $mapValue => $search) { - if (!strcasecmp($search, $key)) { - $data[$mapValue] = $mapValue == 'port' ? array_map('trim', explode(',', $value)) : $value; - $foundNonCookies++; - continue 2; - } - } - } - - // If cookies have not yet been retrieved, or this value was not found in the pieces array, treat it as a - // cookie. IF non-cookies have been parsed, then this isn't a cookie, it's cookie data. Cookies then data. - $data[$foundNonCookies ? 'data' : 'cookies'][$key] = $value; - } - - // Calculate the expires date - if (!$data['expires'] && $data['max_age']) { - $data['expires'] = time() + (int) $data['max_age']; - } - - return $data; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParserInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParserInterface.php deleted file mode 100644 index d21ffe2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Cookie/CookieParserInterface.php +++ /dev/null @@ -1,33 +0,0 @@ - $requestUrl, - 'scheme' => 'http' - ); - - // Check for the Host header - if (isset($parts['headers']['Host'])) { - $urlParts['host'] = $parts['headers']['Host']; - } elseif (isset($parts['headers']['host'])) { - $urlParts['host'] = $parts['headers']['host']; - } else { - $urlParts['host'] = ''; - } - - if (false === strpos($urlParts['host'], ':')) { - $urlParts['port'] = ''; - } else { - $hostParts = explode(':', $urlParts['host']); - $urlParts['host'] = trim($hostParts[0]); - $urlParts['port'] = (int) trim($hostParts[1]); - if ($urlParts['port'] == 443) { - $urlParts['scheme'] = 'https'; - } - } - - // Check if a query is present - $path = $urlParts['path']; - $qpos = strpos($path, '?'); - if ($qpos) { - $urlParts['query'] = substr($path, $qpos + 1); - $urlParts['path'] = substr($path, 0, $qpos); - } else { - $urlParts['query'] = ''; - } - - return $urlParts; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParser.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParser.php deleted file mode 100644 index 47f9908..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParser.php +++ /dev/null @@ -1,116 +0,0 @@ -parseMessage($message); - - // Parse the protocol and protocol version - if (isset($parts['start_line'][2])) { - $startParts = explode('/', $parts['start_line'][2]); - $protocol = strtoupper($startParts[0]); - $version = isset($startParts[1]) ? $startParts[1] : '1.1'; - } else { - $protocol = 'HTTP'; - $version = '1.1'; - } - - $parsed = array( - 'method' => strtoupper($parts['start_line'][0]), - 'protocol' => $protocol, - 'version' => $version, - 'headers' => $parts['headers'], - 'body' => $parts['body'] - ); - - $parsed['request_url'] = $this->getUrlPartsFromMessage($parts['start_line'][1], $parsed); - - return $parsed; - } - - /** - * {@inheritdoc} - */ - public function parseResponse($message) - { - if (!$message) { - return false; - } - - $parts = $this->parseMessage($message); - list($protocol, $version) = explode('/', trim($parts['start_line'][0])); - - return array( - 'protocol' => $protocol, - 'version' => $version, - 'code' => $parts['start_line'][1], - 'reason_phrase' => isset($parts['start_line'][2]) ? $parts['start_line'][2] : '', - 'headers' => $parts['headers'], - 'body' => $parts['body'] - ); - } - - /** - * Parse a message into parts - * - * @param string $message Message to parse - * - * @return array - */ - protected function parseMessage($message) - { - $startLine = null; - $headers = array(); - $body = ''; - - // Iterate over each line in the message, accounting for line endings - $lines = preg_split('/(\\r?\\n)/', $message, -1, PREG_SPLIT_DELIM_CAPTURE); - for ($i = 0, $totalLines = count($lines); $i < $totalLines; $i += 2) { - - $line = $lines[$i]; - - // If two line breaks were encountered, then this is the end of body - if (empty($line)) { - if ($i < $totalLines - 1) { - $body = implode('', array_slice($lines, $i + 2)); - } - break; - } - - // Parse message headers - if (!$startLine) { - $startLine = explode(' ', $line, 3); - } elseif (strpos($line, ':')) { - $parts = explode(':', $line, 2); - $key = trim($parts[0]); - $value = isset($parts[1]) ? trim($parts[1]) : ''; - if (!isset($headers[$key])) { - $headers[$key] = $value; - } elseif (!is_array($headers[$key])) { - $headers[$key] = array($headers[$key], $value); - } else { - $headers[$key][] = $value; - } - } - } - - return array( - 'start_line' => $startLine, - 'headers' => $headers, - 'body' => $body - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParserInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParserInterface.php deleted file mode 100644 index cc44808..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParserInterface.php +++ /dev/null @@ -1,27 +0,0 @@ - $parts->requestMethod, - 'protocol' => 'HTTP', - 'version' => number_format($parts->httpVersion, 1), - 'headers' => $parts->headers, - 'body' => $parts->body - ); - - $parsed['request_url'] = $this->getUrlPartsFromMessage($parts->requestUrl, $parsed); - - return $parsed; - } - - /** - * {@inheritdoc} - */ - public function parseResponse($message) - { - if (!$message) { - return false; - } - - $parts = http_parse_message($message); - - return array( - 'protocol' => 'HTTP', - 'version' => number_format($parts->httpVersion, 1), - 'code' => $parts->responseCode, - 'reason_phrase' => $parts->responseStatus, - 'headers' => $parts->headers, - 'body' => $parts->body - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/ParserRegistry.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/ParserRegistry.php deleted file mode 100644 index 3b5193b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/ParserRegistry.php +++ /dev/null @@ -1,113 +0,0 @@ - 'Guzzle\\Parser\\Message\\MessageParser', - 'cookie' => 'Guzzle\\Parser\\Cookie\\CookieParser', - 'url' => 'Guzzle\\Parser\\Url\\UrlParser', - 'uri_template' => 'Guzzle\\Parser\\UriTemplate\\UriTemplate', - ); - - /** - * Get a singleton instance - * - * @return self - * @codeCoverageIgnore - */ - public static function getInstance() - { - if (!self::$instance) { - self::$instance = new static; - } - - return self::$instance; - } - - /** - * Constructor used to apply the most performant parsers based on loaded extensions - */ - public function __construct() - { - // Use the PECL URI template parser if available - if (extension_loaded('uri_template')) { - $this->mapping['uri_template'] = 'Guzzle\\Parser\\UriTemplate\\PeclUriTemplate'; - } - } - - /** - * Get a parser by name from an instance - * - * @param string $name Name of the parser to retrieve - * - * @return mixed|null - */ - public function getParser($name) - { - if (!isset($this->instances[$name])) { - if (!isset($this->mapping[$name])) { - return null; - } - $class = $this->mapping[$name]; - $this->instances[$name] = new $class(); - } - - return $this->instances[$name]; - } - - /** - * Register a custom parser by name with the register - * - * @param string $name Name or handle of the parser to register - * @param mixed $parser Instantiated parser to register - */ - public function registerParser($name, $parser) - { - $this->instances[$name] = $parser; - } - - /** - * Get a specific parser by handle name - * - * @param string $name Name of the parser to retrieve - * - * @return mixed|null Returns null if the parser is not found or cannot be instantiated - * @deprecated Will be removed in 3.1.0 - * @codeCoverageIgnore - */ - public static function get($name) - { - return self::getInstance()->getParser($name); - } - - /** - * Register a custom parser by name with the register - * - * @param string $name Name or handle of the parser to register - * @param mixed $parser Instantiated parser to register - * @deprecated Will be removed in 3.1.0 - * @codeCoverageIgnore - */ - public static function set($name, $parser) - { - self::getInstance()->registerParser($name, $parser); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/PeclUriTemplate.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/PeclUriTemplate.php deleted file mode 100644 index 700e5d2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/PeclUriTemplate.php +++ /dev/null @@ -1,33 +0,0 @@ - true, '#' => true, '.' => true, '/' => true, ';' => true, '?' => true, '&' => true - ); - - /** - * @var array Delimiters - */ - private static $delims = array( - ':', '/', '?', '#', '[', ']', '@', '!', '$', '&', '\'', '(', ')', '*', '+', ',', ';', '=' - ); - - /** - * @var array Percent encoded delimiters - */ - private static $delimsPct = array( - '%3A', '%2F', '%3F', '%23', '%5B', '%5D', '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C', - '%3B', '%3D' - ); - - /** - * {@inheritdoc} - */ - public function expand($template, array $variables) - { - $this->template = $template; - $this->variables = $variables; - - // Check to ensure that the preg_* function is needed - if (false === strpos($this->template, '{')) { - return $this->template; - } - - return preg_replace_callback(self::$regex, array($this, 'expandMatch'), $this->template); - } - - /** - * Parse an expression into parts - * - * @param string $expression Expression to parse - * - * @return array Returns an associative array of parts - */ - private function parseExpression($expression) - { - // Check for URI operators - $operator = ''; - - if (isset(self::$operatorHash[$expression[0]])) { - $operator = $expression[0]; - $expression = substr($expression, 1); - } - - $values = explode(',', $expression); - foreach ($values as &$value) { - $value = trim($value); - $varspec = array(); - $substrPos = strpos($value, ':'); - if ($substrPos) { - $varspec['value'] = substr($value, 0, $substrPos); - $varspec['modifier'] = ':'; - $varspec['position'] = (int) substr($value, $substrPos + 1); - } elseif (substr($value, -1) == '*') { - $varspec['modifier'] = '*'; - $varspec['value'] = substr($value, 0, -1); - } else { - $varspec['value'] = (string) $value; - $varspec['modifier'] = ''; - } - $value = $varspec; - } - - return array( - 'operator' => $operator, - 'values' => $values - ); - } - - /** - * Process an expansion - * - * @param array $matches Matches met in the preg_replace_callback - * - * @return string Returns the replacement string - */ - private function expandMatch(array $matches) - { - static $rfc1738to3986 = array( - '+' => '%20', - '%7e' => '~' - ); - - $parsed = self::parseExpression($matches[1]); - $replacements = array(); - - $prefix = $parsed['operator']; - $joiner = $parsed['operator']; - $useQueryString = false; - if ($parsed['operator'] == '?') { - $joiner = '&'; - $useQueryString = true; - } elseif ($parsed['operator'] == '&') { - $useQueryString = true; - } elseif ($parsed['operator'] == '#') { - $joiner = ','; - } elseif ($parsed['operator'] == ';') { - $useQueryString = true; - } elseif ($parsed['operator'] == '' || $parsed['operator'] == '+') { - $joiner = ','; - $prefix = ''; - } - - foreach ($parsed['values'] as $value) { - - if (!array_key_exists($value['value'], $this->variables) || $this->variables[$value['value']] === null) { - continue; - } - - $variable = $this->variables[$value['value']]; - $actuallyUseQueryString = $useQueryString; - $expanded = ''; - - if (is_array($variable)) { - - $isAssoc = $this->isAssoc($variable); - $kvp = array(); - foreach ($variable as $key => $var) { - - if ($isAssoc) { - $key = rawurlencode($key); - $isNestedArray = is_array($var); - } else { - $isNestedArray = false; - } - - if (!$isNestedArray) { - $var = rawurlencode($var); - if ($parsed['operator'] == '+' || $parsed['operator'] == '#') { - $var = $this->decodeReserved($var); - } - } - - if ($value['modifier'] == '*') { - if ($isAssoc) { - if ($isNestedArray) { - // Nested arrays must allow for deeply nested structures - $var = strtr(http_build_query(array($key => $var)), $rfc1738to3986); - } else { - $var = $key . '=' . $var; - } - } elseif ($key > 0 && $actuallyUseQueryString) { - $var = $value['value'] . '=' . $var; - } - } - - $kvp[$key] = $var; - } - - if (empty($variable)) { - $actuallyUseQueryString = false; - } elseif ($value['modifier'] == '*') { - $expanded = implode($joiner, $kvp); - if ($isAssoc) { - // Don't prepend the value name when using the explode modifier with an associative array - $actuallyUseQueryString = false; - } - } else { - if ($isAssoc) { - // When an associative array is encountered and the explode modifier is not set, then the - // result must be a comma separated list of keys followed by their respective values. - foreach ($kvp as $k => &$v) { - $v = $k . ',' . $v; - } - } - $expanded = implode(',', $kvp); - } - - } else { - if ($value['modifier'] == ':') { - $variable = substr($variable, 0, $value['position']); - } - $expanded = rawurlencode($variable); - if ($parsed['operator'] == '+' || $parsed['operator'] == '#') { - $expanded = $this->decodeReserved($expanded); - } - } - - if ($actuallyUseQueryString) { - if (!$expanded && $joiner != '&') { - $expanded = $value['value']; - } else { - $expanded = $value['value'] . '=' . $expanded; - } - } - - $replacements[] = $expanded; - } - - $ret = implode($joiner, $replacements); - if ($ret && $prefix) { - return $prefix . $ret; - } - - return $ret; - } - - /** - * Determines if an array is associative - * - * @param array $array Array to check - * - * @return bool - */ - private function isAssoc(array $array) - { - return (bool) count(array_filter(array_keys($array), 'is_string')); - } - - /** - * Removes percent encoding on reserved characters (used with + and # modifiers) - * - * @param string $string String to fix - * - * @return string - */ - private function decodeReserved($string) - { - return str_replace(self::$delimsPct, self::$delims, $string); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php deleted file mode 100644 index c81d515..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php +++ /dev/null @@ -1,21 +0,0 @@ -utf8 = $utf8; - } - - /** - * {@inheritdoc} - */ - public function parseUrl($url) - { - $parts = parse_url($url); - - // Need to handle query parsing specially for UTF-8 requirements - if ($this->utf8 && isset($parts['query'])) { - $queryPos = strpos($url, '?'); - if (isset($parts['fragment'])) { - $parts['query'] = substr($url, $queryPos + 1, strpos($url, '#') - $queryPos - 1); - } else { - $parts['query'] = substr($url, $queryPos + 1); - } - } - - $parts['scheme'] = isset($parts['scheme']) ? $parts['scheme'] : null; - $parts['host'] = isset($parts['host']) ? $parts['host'] : null; - $parts['path'] = isset($parts['path']) ? $parts['path'] : null; - $parts['port'] = isset($parts['port']) ? $parts['port'] : null; - $parts['query'] = isset($parts['query']) ? $parts['query'] : null; - $parts['user'] = isset($parts['user']) ? $parts['user'] : null; - $parts['pass'] = isset($parts['pass']) ? $parts['pass'] : null; - $parts['fragment'] = isset($parts['fragment']) ? $parts['fragment'] : null; - - return $parts; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php deleted file mode 100644 index 89ac4b3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php +++ /dev/null @@ -1,19 +0,0 @@ -=5.3.2" - }, - "autoload": { - "psr-0": { "Guzzle\\Parser": "" } - }, - "target-dir": "Guzzle/Parser", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/AsyncPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/AsyncPlugin.php deleted file mode 100644 index 7edc664..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/AsyncPlugin.php +++ /dev/null @@ -1,88 +0,0 @@ - 'onBeforeSend', - 'request.exception' => 'onRequestTimeout', - 'request.sent' => 'onRequestSent', - 'curl.callback.progress' => 'onCurlProgress' - ); - } - - /** - * Event used to ensure that progress callback are emitted from the curl handle's request mediator. - * - * @param Event $event - */ - public function onBeforeSend(Event $event) - { - // Ensure that progress callbacks are dispatched - $event['request']->getCurlOptions()->set('progress', true); - } - - /** - * Event emitted when a curl progress function is called. When the amount of data uploaded == the amount of data to - * upload OR any bytes have been downloaded, then time the request out after 1ms because we're done with - * transmitting the request, and tell curl not download a body. - * - * @param Event $event - */ - public function onCurlProgress(Event $event) - { - if (!$event['handle']) { - return; - } - - if ($event['downloaded'] || ($event['uploaded'] || $event['upload_size'] === $event['uploaded'])) { - $event['handle']->getOptions() - ->set(CURLOPT_TIMEOUT_MS, 1) - ->set(CURLOPT_NOBODY, true); - // Timeout after 1ms - curl_setopt($event['handle']->getHandle(), CURLOPT_TIMEOUT_MS, 1); - // Even if the response is quick, tell curl not to download the body - curl_setopt($event['handle']->getHandle(), CURLOPT_NOBODY, true); - } - } - - /** - * Event emitted when a curl exception occurs. Ignore the exception and set a mock response. - * - * @param Event $event - */ - public function onRequestTimeout(Event $event) - { - if ($event['exception'] instanceof CurlException) { - $event['request']->setResponse(new Response(200, array( - 'X-Guzzle-Async' => 'Did not wait for the response' - ))); - } - } - - /** - * Event emitted when a request completes because it took less than 1ms. Add an X-Guzzle-Async header to notify the - * caller that there is no body in the message. - * - * @param Event $event - */ - public function onRequestSent(Event $event) - { - // Let the caller know this was meant to be async - $event['request']->getResponse()->setHeader('X-Guzzle-Async', 'Did not wait for the response'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/composer.json deleted file mode 100644 index 6fd5b0c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/plugin-async", - "description": "Guzzle async request plugin", - "homepage": "http://guzzlephp.org/", - "keywords": ["plugin", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Async": "" } - }, - "target-dir": "Guzzle/Plugin/Async", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractBackoffStrategy.php deleted file mode 100644 index a452dcb..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractBackoffStrategy.php +++ /dev/null @@ -1,98 +0,0 @@ -next = $next; - } - - /** - * Get the next backoff strategy in the chain - * - * @return AbstractBackoffStrategy|null - */ - public function getNext() - { - return $this->next; - } - - /** - * {@inheritdoc} - */ - public function getBackoffPeriod( - $retries, - RequestInterface $request, - Response $response = null, - HttpException $e = null - ) { - $delay = $this->getDelay($retries, $request, $response, $e); - if ($delay === false) { - // The strategy knows that this must not be retried - return false; - } elseif ($delay === null) { - // If the strategy is deferring a decision and the next strategy will not make a decision then return false - return !$this->next || !$this->next->makesDecision() - ? false - : $this->next->getBackoffPeriod($retries, $request, $response, $e); - } elseif ($delay === true) { - // if the strategy knows that it must retry but is deferring to the next to determine the delay - if (!$this->next) { - return 0; - } else { - $next = $this->next; - while ($next->makesDecision() && $next->getNext()) { - $next = $next->getNext(); - } - return !$next->makesDecision() ? $next->getBackoffPeriod($retries, $request, $response, $e) : 0; - } - } else { - return $delay; - } - } - - /** - * Check if the strategy does filtering and makes decisions on whether or not to retry. - * - * Strategies that return false will never retry if all of the previous strategies in a chain defer on a backoff - * decision. - * - * @return bool - */ - abstract public function makesDecision(); - - /** - * Implement the concrete strategy - * - * @param int $retries Number of retries of the request - * @param RequestInterface $request Request that was sent - * @param Response $response Response that was received. Note that there may not be a response - * @param HttpException $e Exception that was encountered if any - * - * @return bool|int|null Returns false to not retry or the number of seconds to delay between retries. Return true - * or null to defer to the next strategy if available, and if not, return 0. - */ - abstract protected function getDelay( - $retries, - RequestInterface $request, - Response $response = null, - HttpException $e = null - ); -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php deleted file mode 100644 index 9b7c7ab..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php +++ /dev/null @@ -1,47 +0,0 @@ -errorCodes = array_fill_keys($codes ?: static::$defaultErrorCodes, 1); - $this->next = $next; - } - - /** - * Get the default failure codes to retry - * - * @return array - */ - public static function getDefaultFailureCodes() - { - return static::$defaultErrorCodes; - } - - /** - * {@inheritdoc} - */ - public function makesDecision() - { - return true; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffLogger.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffLogger.php deleted file mode 100644 index df91dd3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffLogger.php +++ /dev/null @@ -1,87 +0,0 @@ -logger = $logger; - $this->formatter = $formatter ?: new MessageFormatter(self::DEFAULT_FORMAT); - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array(BackoffPlugin::RETRY_EVENT => 'onRequestRetry'); - } - - /** - * Set the template to use for logging - * - * @param string $template Log message template - * - * @return self - */ - public function setTemplate($template) - { - $this->formatter->setTemplate($template); - - return $this; - } - - /** - * Called when a request is being retried - * - * @param Event $event Event emitted - */ - public function onRequestRetry(Event $event) - { - $this->logger->log($this->formatter->format( - $event['request'], - $event['response'], - $event['handle'], - array( - 'retries' => $event['retries'], - 'delay' => $event['delay'] - ) - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffPlugin.php deleted file mode 100644 index 87ec412..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffPlugin.php +++ /dev/null @@ -1,134 +0,0 @@ -strategy = $strategy; - } - - /** - * Retrieve a basic truncated exponential backoff plugin that will retry HTTP errors and cURL errors - * - * @param int $maxRetries Maximum number of retries - * @param array $httpCodes HTTP response codes to retry - * @param array $curlCodes cURL error codes to retry - * - * @return self - */ - public static function getExponentialBackoff( - $maxRetries = 3, - array $httpCodes = null, - array $curlCodes = null - ) { - return new self(new TruncatedBackoffStrategy($maxRetries, - new HttpBackoffStrategy($httpCodes, - new CurlBackoffStrategy($curlCodes, - new ExponentialBackoffStrategy() - ) - ) - )); - } - - /** - * {@inheritdoc} - */ - public static function getAllEvents() - { - return array(self::RETRY_EVENT); - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array( - 'request.sent' => 'onRequestSent', - 'request.exception' => 'onRequestSent', - CurlMultiInterface::POLLING_REQUEST => 'onRequestPoll' - ); - } - - /** - * Called when a request has been sent and isn't finished processing - * - * @param Event $event - */ - public function onRequestSent(Event $event) - { - $request = $event['request']; - $response = $event['response']; - $exception = $event['exception']; - - $params = $request->getParams(); - $retries = (int) $params->get(self::RETRY_PARAM); - $delay = $this->strategy->getBackoffPeriod($retries, $request, $response, $exception); - - if ($delay !== false) { - // Calculate how long to wait until the request should be retried - $params->set(self::RETRY_PARAM, ++$retries) - ->set(self::DELAY_PARAM, microtime(true) + $delay); - // Send the request again - $request->setState(RequestInterface::STATE_TRANSFER); - $this->dispatch(self::RETRY_EVENT, array( - 'request' => $request, - 'response' => $response, - 'handle' => $exception ? $exception->getCurlHandle() : null, - 'retries' => $retries, - 'delay' => $delay - )); - } - } - - /** - * Called when a request is polling in the curl multi object - * - * @param Event $event - */ - public function onRequestPoll(Event $event) - { - $request = $event['request']; - $delay = $request->getParams()->get(self::DELAY_PARAM); - - // If the duration of the delay has passed, retry the request using the pool - if (null !== $delay && microtime(true) >= $delay) { - // Remove the request from the pool and then add it back again. This is required for cURL to know that we - // want to retry sending the easy handle. - $request->getParams()->remove(self::DELAY_PARAM); - // Rewind the request body if possible - if ($request instanceof EntityEnclosingRequestInterface && $request->getBody()) { - $request->getBody()->seek(0); - } - $multi = $event['curl_multi']; - $multi->remove($request); - $multi->add($request, true); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffStrategyInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffStrategyInterface.php deleted file mode 100644 index 4e590db..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffStrategyInterface.php +++ /dev/null @@ -1,30 +0,0 @@ -callback = $callback; - $this->decision = (bool) $decision; - $this->next = $next; - } - - /** - * {@inheritdoc} - */ - public function makesDecision() - { - return $this->decision; - } - - /** - * {@inheritdoc} - */ - protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) - { - return call_user_func($this->callback, $retries, $request, $response, $e); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ConstantBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ConstantBackoffStrategy.php deleted file mode 100644 index d74936f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ConstantBackoffStrategy.php +++ /dev/null @@ -1,44 +0,0 @@ -delay = $delay; - } - - /** - * {@inheritdoc} - */ - public function makesDecision() - { - return false; - } - - /** - * {@inheritdoc} - */ - protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) - { - return $this->delay; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/CurlBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/CurlBackoffStrategy.php deleted file mode 100644 index af90b42..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/CurlBackoffStrategy.php +++ /dev/null @@ -1,33 +0,0 @@ -errorCodes[$e->getErrorNo()]) ? true : null; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ExponentialBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ExponentialBackoffStrategy.php deleted file mode 100644 index 47962ce..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ExponentialBackoffStrategy.php +++ /dev/null @@ -1,31 +0,0 @@ -isSuccessful()) { - return false; - } else { - return isset($this->errorCodes[$response->getStatusCode()]) ? true : null; - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/LinearBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/LinearBackoffStrategy.php deleted file mode 100644 index e082461..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/LinearBackoffStrategy.php +++ /dev/null @@ -1,44 +0,0 @@ -step = $step; - } - - /** - * {@inheritdoc} - */ - public function makesDecision() - { - return false; - } - - /** - * {@inheritdoc} - */ - protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) - { - return $retries * $this->step; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ReasonPhraseBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ReasonPhraseBackoffStrategy.php deleted file mode 100644 index 942c5c5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ReasonPhraseBackoffStrategy.php +++ /dev/null @@ -1,31 +0,0 @@ -errorCodes[$response->getReasonPhrase()]) ? true : null; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/TruncatedBackoffStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/TruncatedBackoffStrategy.php deleted file mode 100644 index 766fe2d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/TruncatedBackoffStrategy.php +++ /dev/null @@ -1,44 +0,0 @@ -max = $maxRetries; - $this->next = $next; - } - - /** - * {@inheritdoc} - */ - public function makesDecision() - { - return true; - } - - /** - * {@inheritdoc} - */ - protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) - { - return $retries < $this->max ? null : false; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/composer.json deleted file mode 100644 index 72b5724..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/composer.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "guzzle/plugin-backoff", - "description": "Guzzle backoff retry plugins", - "homepage": "http://guzzlephp.org/", - "keywords": ["plugin", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version", - "guzzle/log": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Backoff": "" } - }, - "target-dir": "Guzzle/Plugin/Backoff", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheKeyProviderInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheKeyProviderInterface.php deleted file mode 100644 index 6dd63f9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheKeyProviderInterface.php +++ /dev/null @@ -1,20 +0,0 @@ - $options); - } elseif ($options instanceof CacheStorageInterface) { - $options = array('storage' => $options); - } elseif (class_exists('Doctrine\Common\Cache\ArrayCache')) { - $options = array('storage' => new DefaultCacheStorage(new DoctrineCacheAdapter(new ArrayCache()), 3600)); - } else { - // @codeCoverageIgnoreStart - throw new InvalidArgumentException('No cache was provided and Doctrine is not installed'); - // @codeCoverageIgnoreEnd - } - } - - // Add a cache storage if a cache adapter was provided - if (!isset($options['adapter'])) { - $this->storage = $options['storage']; - } else { - $this->storage = new DefaultCacheStorage( - $options['adapter'], - array_key_exists('default_ttl', $options) ? $options['default_ttl'] : 3600 - ); - } - - // Use the provided key provider or the default - if (!isset($options['key_provider'])) { - $this->keyProvider = new DefaultCacheKeyProvider(); - } else { - if (is_callable($options['key_provider'])) { - $this->keyProvider = new CallbackCacheKeyProvider($options['key_provider']); - } else { - $this->keyProvider = $options['key_provider']; - } - } - - if (!isset($options['can_cache'])) { - $this->canCache = new DefaultCanCacheStrategy(); - } else { - if (is_callable($options['can_cache'])) { - $this->canCache = new CallbackCanCacheStrategy($options['can_cache']); - } else { - $this->canCache = $options['can_cache']; - } - } - - // Use the provided revalidation strategy or the default - if (isset($options['revalidation'])) { - $this->revalidation = $options['revalidation']; - } else { - $this->revalidation = new DefaultRevalidation($this->keyProvider, $this->storage, $this); - } - - if (!isset($options['debug_headers'])) { - $this->debugHeaders = true; - } else { - $this->debugHeaders = (bool) $options['debug_headers']; - } - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array( - 'request.before_send' => array('onRequestBeforeSend', -255), - 'request.sent' => array('onRequestSent', 255), - 'request.error' => array('onRequestError', 0), - 'request.exception' => array('onRequestException', 0), - ); - } - - /** - * Check if a response in cache will satisfy the request before sending - * - * @param Event $event - */ - public function onRequestBeforeSend(Event $event) - { - $request = $event['request']; - - $request->addHeader('Via', sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION)); - - if (!$this->canCache->canCacheRequest($request)) { - return; - } - - $hashKey = $this->keyProvider->getCacheKey($request); - - // If the cached data was found, then make the request into a - // manually set request - if ($cachedData = $this->storage->fetch($hashKey)) { - $request->getParams()->set('cache.lookup', true); - $response = new Response($cachedData[0], $cachedData[1], $cachedData[2]); - $response->setHeader('Age', time() - strtotime($response->getDate() ? : 'now')); - - // Validate that the response satisfies the request - if ($this->canResponseSatisfyRequest($request, $response)) { - $request->getParams()->set('cache.hit', true); - $request->setResponse($response); - } - } - } - - /** - * If possible, store a response in cache after sending - * - * @param Event $event - */ - public function onRequestSent(Event $event) - { - $request = $event['request']; - $response = $event['response']; - - $cacheKey = $this->keyProvider->getCacheKey($request); - - if ($request->getParams()->get('cache.hit') === null && - $this->canCache->canCacheRequest($request) && - $this->canCache->canCacheResponse($response) - ) { - $this->storage->cache($cacheKey, $response, $request->getParams()->get('cache.override_ttl')); - } - - $this->addResponseHeaders($cacheKey, $request, $response); - } - - /** - * If possible, return a cache response on an error - * - * @param Event $event - */ - public function onRequestError(Event $event) - { - $request = $event['request']; - - if (!$this->canCache->canCacheRequest($request)) { - return; - } - - $cacheKey = $this->keyProvider->getCacheKey($request); - - if ($cachedData = $this->storage->fetch($cacheKey)) { - $response = new Response($cachedData[0], $cachedData[1], $cachedData[2]); - $response->setRequest($request); - - $response->setHeader('Age', time() - strtotime($response->getDate() ? : 'now')); - - if (!$this->canResponseSatisfyFailedRequest($request, $response)) { - return; - } - - $request->getParams()->set('cache.hit', 'error'); - $this->addResponseHeaders($cacheKey, $request, $response); - - $event['response'] = $response; - $event->stopPropagation(); - } - } - - /** - * If possible, set a cache response on a cURL exception - * - * @param Event $event - */ - public function onRequestException(Event $event) - { - if (!$event['exception'] instanceof CurlException) { - return; - } - - $request = $event['request']; - - if (!$this->canCache->canCacheRequest($request)) { - return; - } - - $cacheKey = $this->keyProvider->getCacheKey($request); - - if ($cachedData = $this->storage->fetch($cacheKey)) { - $response = new Response($cachedData[0], $cachedData[1], $cachedData[2]); - - $response->setHeader('Age', time() - strtotime($response->getDate() ? : 'now')); - - if (!$this->canResponseSatisfyFailedRequest($request, $response)) { - return; - } - - $request->getParams()->set('cache.hit', 'error'); - - $request->setResponse($response); - $event->stopPropagation(); - } - } - - /** - * Check if a cache response satisfies a request's caching constraints - * - * @param RequestInterface $request Request to validate - * @param Response $response Response to validate - * - * @return bool - */ - public function canResponseSatisfyRequest(RequestInterface $request, Response $response) - { - $responseAge = $response->getAge(); - - // Check the request's max-age header against the age of the response - if ($request->hasCacheControlDirective('max-age') && - $responseAge > $request->getCacheControlDirective('max-age')) { - return false; - } - - // Check the response's max-age header - if ($response->isFresh() === false) { - $maxStale = $request->getCacheControlDirective('max-stale'); - if (null !== $maxStale) { - if ($maxStale !== true && $response->getFreshness() < (-1 * $maxStale)) { - return false; - } - } elseif ($response->hasCacheControlDirective('max-age') - && $responseAge > $response->getCacheControlDirective('max-age') - ) { - return false; - } - } - - // Only revalidate GET requests - if ($request->getMethod() == RequestInterface::GET) { - // Check if the response must be validated against the origin server - if ($request->getHeader('Pragma') == 'no-cache' || - $request->hasCacheControlDirective('no-cache') || - $request->hasCacheControlDirective('must-revalidate') || - $response->hasCacheControlDirective('must-revalidate') || - $response->hasCacheControlDirective('no-cache')) { - // no-cache: When no parameters are present, always revalidate - // When parameters are present in no-cache and the request includes those same parameters, then the - // response must re-validate. I'll need an example of what fields look like in order to implement a - // smarter version of no-cache - - // Requests can decline to revalidate against the origin server by setting the cache.revalidate param: - // - never - To never revalidate and always contact the origin server - // - skip - To skip revalidation and just use what is in cache - switch ($request->getParams()->get('cache.revalidate')) { - case 'never': - return false; - case 'skip': - return true; - default: - return $this->revalidation->revalidate($request, $response); - } - } - } - - return true; - } - - /** - * Check if a cache response satisfies a failed request's caching constraints - * - * @param RequestInterface $request Request to validate - * @param Response $response Response to validate - * - * @return bool - */ - public function canResponseSatisfyFailedRequest(RequestInterface $request, Response $response) - { - $requestStaleIfError = $request->getCacheControlDirective('stale-if-error'); - $responseStaleIfError = $response->getCacheControlDirective('stale-if-error'); - - if (!$requestStaleIfError && !$responseStaleIfError) { - return false; - } - - if ($requestStaleIfError !== true && - $requestStaleIfError !== null && - $response->getAge() - $response->getMaxAge() > $requestStaleIfError - ) { - return false; - } - - if ($responseStaleIfError !== true && - $responseStaleIfError !== null && - $response->getAge() - $response->getMaxAge() > $responseStaleIfError - ) { - return false; - } - - return true; - } - - /** - * Add the plugin's headers to a response - * - * @param string $cacheKey Cache key - * @param RequestInterface $request Request - * @param Response $response Response to add headers to - */ - protected function addResponseHeaders($cacheKey, RequestInterface $request, Response $response) - { - if (!$response->hasHeader('X-Guzzle-Cache')) { - $response->setHeader('X-Guzzle-Cache', "key={$cacheKey}"); - } - - $response->addHeader('Via', sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION)); - - if ($this->debugHeaders) { - if ($request->getParams()->get('cache.lookup') === true) { - $response->addHeader('X-Cache-Lookup', 'HIT from GuzzleCache'); - } else { - $response->addHeader('X-Cache-Lookup', 'MISS from GuzzleCache'); - } - if ($request->getParams()->get('cache.hit') === true) { - $response->addHeader('X-Cache', 'HIT from GuzzleCache'); - } elseif ($request->getParams()->get('cache.hit') === 'error') { - $response->addHeader('X-Cache', 'HIT_ERROR from GuzzleCache'); - } else { - $response->addHeader('X-Cache', 'MISS from GuzzleCache'); - } - } - - if ($response->isFresh() === false) { - $response->addHeader('Warning', sprintf('110 GuzzleCache/%s "Response is stale"', Version::VERSION)); - if ($request->getParams()->get('cache.hit') === 'error') { - $response->addHeader( - 'Warning', - sprintf('111 GuzzleCache/%s "Revalidation failed"', Version::VERSION) - ); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheStorageInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheStorageInterface.php deleted file mode 100644 index 75235fa..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheStorageInterface.php +++ /dev/null @@ -1,36 +0,0 @@ -callback = $callback; - } - - /** - * {@inheritdoc} - */ - public function getCacheKey(RequestInterface $request) - { - return call_user_func($this->callback, $request); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CallbackCanCacheStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CallbackCanCacheStrategy.php deleted file mode 100644 index 4cd3e33..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CallbackCanCacheStrategy.php +++ /dev/null @@ -1,63 +0,0 @@ -requestCallback = $requestCallback; - $this->responseCallback = $responseCallback; - } - - /** - * {@inheritdoc} - */ - public function canCacheRequest(RequestInterface $request) - { - return $this->requestCallback - ? call_user_func($this->requestCallback, $request) - : parent::canCache($request); - } - - /** - * {@inheritdoc} - */ - public function canCacheResponse(Response $response) - { - return $this->responseCallback - ? call_user_func($this->responseCallback, $response) - : parent::canCacheResponse($response); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CanCacheStrategyInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CanCacheStrategyInterface.php deleted file mode 100644 index 6e01a8e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CanCacheStrategyInterface.php +++ /dev/null @@ -1,30 +0,0 @@ -getParams()->get(self::CACHE_KEY); - - if (!$key) { - - $cloned = clone $request; - $cloned->removeHeader('Cache-Control'); - - // Check to see how and if the key should be filtered - foreach (explode(';', $request->getParams()->get(self::CACHE_KEY_FILTER)) as $part) { - $pieces = array_map('trim', explode('=', $part)); - if (isset($pieces[1])) { - foreach (array_map('trim', explode(',', $pieces[1])) as $remove) { - if ($pieces[0] == 'header') { - $cloned->removeHeader($remove); - } elseif ($pieces[0] == 'query') { - $cloned->getQuery()->remove($remove); - } - } - } - } - - $raw = (string) $cloned; - $key = 'GZ' . md5($raw); - $request->getParams()->set(self::CACHE_KEY, $key)->set(self::CACHE_KEY_RAW, $raw); - } - - return $key; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php deleted file mode 100644 index b1b5eb0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php +++ /dev/null @@ -1,86 +0,0 @@ -cache = $cache; - $this->defaultTtl = $defaultTtl; - } - - /** - * {@inheritdoc} - */ - public function cache($key, Response $response, $ttl = null) - { - if ($ttl === null) { - $ttl = $this->defaultTtl; - } - - $ttl += $response->getMaxAge(); - - if ($ttl) { - $response->setHeader('X-Guzzle-Cache', "key={$key}; ttl={$ttl}"); - // Remove excluded headers from the response (see RFC 2616:13.5.1) - foreach ($this->excludeResponseHeaders as $header) { - $response->removeHeader($header); - } - // Add a Date header to the response if none is set (for validation) - if (!$response->getDate()) { - $response->setHeader('Date', gmdate(ClientInterface::HTTP_DATE)); - } - $this->cache->save( - $key, - array($response->getStatusCode(), $response->getHeaders()->getAll(), $response->getBody(true)), - $ttl - ); - } - } - - /** - * {@inheritdoc} - */ - public function delete($key) - { - $this->cache->delete($key); - } - - /** - * {@inheritdoc} - */ - public function fetch($key) - { - return $this->cache->fetch($key); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCanCacheStrategy.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCanCacheStrategy.php deleted file mode 100644 index 54aa563..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCanCacheStrategy.php +++ /dev/null @@ -1,28 +0,0 @@ -canCache(); - } - - /** - * {@inheritdoc} - */ - public function canCacheResponse(Response $response) - { - return $response->isSuccessful() && $response->canCache(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultRevalidation.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultRevalidation.php deleted file mode 100644 index e9ec4a7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultRevalidation.php +++ /dev/null @@ -1,165 +0,0 @@ -cacheKey = $cacheKey; - $this->storage = $cache; - $this->plugin = $plugin; - } - - /** - * {@inheritdoc} - */ - public function revalidate(RequestInterface $request, Response $response) - { - try { - $revalidate = $this->createRevalidationRequest($request, $response); - $validateResponse = $revalidate->send(); - if ($validateResponse->getStatusCode() == 200) { - return $this->handle200Response($request, $validateResponse); - } elseif ($validateResponse->getStatusCode() == 304) { - return $this->handle304Response($request, $validateResponse, $response); - } - } catch (BadResponseException $e) { - $this->handleBadResponse($e); - } - - // Other exceptions encountered in the revalidation request are ignored - // in hopes that sending a request to the origin server will fix it - return false; - } - - /** - * Handles a bad response when attempting to revalidate - * - * @param BadResponseException $e Exception encountered - * - * @throws BadResponseException - */ - protected function handleBadResponse(BadResponseException $e) - { - // 404 errors mean the resource no longer exists, so remove from - // cache, and prevent an additional request by throwing the exception - if ($e->getResponse()->getStatusCode() == 404) { - $this->storage->delete($this->cacheKey->getCacheKey($e->getRequest())); - throw $e; - } - } - - /** - * Creates a request to use for revalidation - * - * @param RequestInterface $request Request - * @param Response $response Response to revalidate - * - * @return RequestInterface returns a revalidation request - */ - protected function createRevalidationRequest(RequestInterface $request, Response $response) - { - $revalidate = clone $request; - $revalidate->removeHeader('Pragma') - ->removeHeader('Cache-Control') - ->setHeader('If-Modified-Since', $response->getDate()); - - if ($response->getEtag()) { - $revalidate->setHeader('If-None-Match', '"' . $response->getEtag() . '"'); - } - - // Remove any cache plugins that might be on the request - $revalidate->getEventDispatcher()->removeSubscriber($this->plugin); - - return $revalidate; - } - - /** - * Handles a 200 response response from revalidating. The server does not support validation, so use this response. - * - * @param RequestInterface $request Request that was sent - * @param Response $validateResponse Response received - * - * @return bool Returns true if valid, false if invalid - */ - protected function handle200Response(RequestInterface $request, Response $validateResponse) - { - $request->setResponse($validateResponse); - // Store this response in cache if possible - if ($validateResponse->canCache()) { - $this->storage->cache( - $this->cacheKey->getCacheKey($request), - $validateResponse, - $request->getParams()->get('cache.override_ttl') - ); - } - - return false; - } - - /** - * Handle a 304 response and ensure that it is still valid - * - * @param RequestInterface $request Request that was sent - * @param Response $validateResponse Response received - * @param Response $response Original cached response - * - * @return bool Returns true if valid, false if invalid - */ - protected function handle304Response(RequestInterface $request, Response $validateResponse, Response $response) - { - static $replaceHeaders = array('Date', 'Expires', 'Cache-Control', 'ETag', 'Last-Modified'); - - // Make sure that this response has the same ETag - if ($validateResponse->getEtag() != $response->getEtag()) { - return false; - } - // Replace cached headers with any of these headers from the - // origin server that might be more up to date - $modified = false; - foreach ($replaceHeaders as $name) { - if ($validateResponse->hasHeader($name)) { - $modified = true; - $response->setHeader($name, $validateResponse->getHeader($name)); - } - } - // Store the updated response in cache - if ($modified && $response->canCache()) { - $this->storage->cache( - $this->cacheKey->getCacheKey($request), - $response, - $request->getParams()->get('cache.override_ttl') - ); - } - - return true; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DenyRevalidation.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DenyRevalidation.php deleted file mode 100644 index 60da93c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DenyRevalidation.php +++ /dev/null @@ -1,20 +0,0 @@ -=5.3.2", - "guzzle/http": "self.version", - "guzzle/cache": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Cache": "" } - }, - "target-dir": "Guzzle/Plugin/Cache", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php deleted file mode 100644 index a126dd3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php +++ /dev/null @@ -1,525 +0,0 @@ - '', - 'value' => '', - 'domain' => '', - 'path' => '/', - 'expires' => null, - 'max_age' => 0, - 'comment' => null, - 'comment_url' => null, - 'port' => array(), - 'version' => null, - 'secure' => false, - 'discard' => false, - 'http_only' => false - ); - - $this->data = array_merge($defaults, $data); - // Extract the expires value and turn it into a UNIX timestamp if needed - if (!$this->getExpires() && $this->getMaxAge()) { - // Calculate the expires date - $this->setExpires(time() + (int) $this->getMaxAge()); - } elseif ($this->getExpires() && !is_numeric($this->getExpires())) { - $this->setExpires(strtotime($this->getExpires())); - } - } - - /** - * Get the cookie as an array - * - * @return array - */ - public function toArray() - { - return $this->data; - } - - /** - * Get the cookie name - * - * @return string - */ - public function getName() - { - return $this->data['name']; - } - - /** - * Set the cookie name - * - * @param string $name Cookie name - * - * @return Cookie - */ - public function setName($name) - { - return $this->setData('name', $name); - } - - /** - * Get the cookie value - * - * @return string - */ - public function getValue() - { - return $this->data['value']; - } - - /** - * Set the cookie value - * - * @param string $value Cookie value - * - * @return Cookie - */ - public function setValue($value) - { - return $this->setData('value', $value); - } - - /** - * Get the domain - * - * @return string|null - */ - public function getDomain() - { - return $this->data['domain']; - } - - /** - * Set the domain of the cookie - * - * @param string $domain - * - * @return Cookie - */ - public function setDomain($domain) - { - return $this->setData('domain', $domain); - } - - /** - * Get the path - * - * @return string - */ - public function getPath() - { - return $this->data['path']; - } - - /** - * Set the path of the cookie - * - * @param string $path Path of the cookie - * - * @return Cookie - */ - public function setPath($path) - { - return $this->setData('path', $path); - } - - /** - * Maximum lifetime of the cookie in seconds - * - * @return int|null - */ - public function getMaxAge() - { - return $this->data['max_age']; - } - - /** - * Set the max-age of the cookie - * - * @param int $maxAge Max age of the cookie in seconds - * - * @return Cookie - */ - public function setMaxAge($maxAge) - { - return $this->setData('max_age', $maxAge); - } - - /** - * The UNIX timestamp when the cookie expires - * - * @return mixed - */ - public function getExpires() - { - return $this->data['expires']; - } - - /** - * Set the unix timestamp for which the cookie will expire - * - * @param int $timestamp Unix timestamp - * - * @return Cookie - */ - public function setExpires($timestamp) - { - return $this->setData('expires', $timestamp); - } - - /** - * Version of the cookie specification. RFC 2965 is 1 - * - * @return mixed - */ - public function getVersion() - { - return $this->data['version']; - } - - /** - * Set the cookie version - * - * @param string|int $version Version to set - * - * @return Cookie - */ - public function setVersion($version) - { - return $this->setData('version', $version); - } - - /** - * Get whether or not this is a secure cookie - * - * @return null|bool - */ - public function getSecure() - { - return $this->data['secure']; - } - - /** - * Set whether or not the cookie is secure - * - * @param bool $secure Set to true or false if secure - * - * @return Cookie - */ - public function setSecure($secure) - { - return $this->setData('secure', (bool) $secure); - } - - /** - * Get whether or not this is a session cookie - * - * @return null|bool - */ - public function getDiscard() - { - return $this->data['discard']; - } - - /** - * Set whether or not this is a session cookie - * - * @param bool $discard Set to true or false if this is a session cookie - * - * @return Cookie - */ - public function setDiscard($discard) - { - return $this->setData('discard', $discard); - } - - /** - * Get the comment - * - * @return string|null - */ - public function getComment() - { - return $this->data['comment']; - } - - /** - * Set the comment of the cookie - * - * @param string $comment Cookie comment - * - * @return Cookie - */ - public function setComment($comment) - { - return $this->setData('comment', $comment); - } - - /** - * Get the comment URL of the cookie - * - * @return string|null - */ - public function getCommentUrl() - { - return $this->data['comment_url']; - } - - /** - * Set the comment URL of the cookie - * - * @param string $commentUrl Cookie comment URL for more information - * - * @return Cookie - */ - public function setCommentUrl($commentUrl) - { - return $this->setData('comment_url', $commentUrl); - } - - /** - * Get an array of acceptable ports this cookie can be used with - * - * @return array - */ - public function getPorts() - { - return $this->data['port']; - } - - /** - * Set a list of acceptable ports this cookie can be used with - * - * @param array $ports Array of acceptable ports - * - * @return Cookie - */ - public function setPorts(array $ports) - { - return $this->setData('port', $ports); - } - - /** - * Get whether or not this is an HTTP only cookie - * - * @return bool - */ - public function getHttpOnly() - { - return $this->data['http_only']; - } - - /** - * Set whether or not this is an HTTP only cookie - * - * @param bool $httpOnly Set to true or false if this is HTTP only - * - * @return Cookie - */ - public function setHttpOnly($httpOnly) - { - return $this->setData('http_only', $httpOnly); - } - - /** - * Get an array of extra cookie data - * - * @return array - */ - public function getAttributes() - { - return $this->data['data']; - } - - /** - * Get a specific data point from the extra cookie data - * - * @param string $name Name of the data point to retrieve - * - * @return null|string - */ - public function getAttribute($name) - { - return array_key_exists($name, $this->data['data']) ? $this->data['data'][$name] : null; - } - - /** - * Set a cookie data attribute - * - * @param string $name Name of the attribute to set - * @param string $value Value to set - * - * @return Cookie - */ - public function setAttribute($name, $value) - { - $this->data['data'][$name] = $value; - - return $this; - } - - /** - * Check if the cookie matches a path value - * - * @param string $path Path to check against - * - * @return bool - */ - public function matchesPath($path) - { - return !$this->getPath() || 0 === stripos($path, $this->getPath()); - } - - /** - * Check if the cookie matches a domain value - * - * @param string $domain Domain to check against - * - * @return bool - */ - public function matchesDomain($domain) - { - $cookieDomain = $this->getDomain(); - - // Domain not set or exact match. - if (!$cookieDomain || !strcasecmp($domain, $cookieDomain)) { - return true; - } - - // . prefix match. - if (strpos($cookieDomain, '.') === 0) { - $realDomain = substr($cookieDomain, 1); - - // Root domains don't match except for .local. - if (!substr_count($realDomain, '.') && strcasecmp($realDomain, 'local')) { - return false; - } - - if (substr($domain, -strlen($realDomain)) === $realDomain) { - // Match exact or 1 deep subdomain. - return !strcasecmp($domain, $realDomain) || - substr_count(substr($domain, 0, -strlen($realDomain)), '.') === 1; - } - } - - return false; - } - - /** - * Check if the cookie is compatible with a specific port - * - * @param int $port Port to check - * - * @return bool - */ - public function matchesPort($port) - { - return count($this->getPorts()) == 0 || in_array($port, $this->getPorts()); - } - - /** - * Check if the cookie is expired - * - * @return bool - */ - public function isExpired() - { - return $this->getExpires() && time() > $this->getExpires(); - } - - /** - * Check if the cookie is valid according to RFC 6265 - * - * @return bool|string Returns true if valid or an error message if invalid - */ - public function validate() - { - // Names must not be empty, but can be 0 - $name = $this->getName(); - if (empty($name) && !is_numeric($name)) { - return 'The cookie name must not be empty'; - } - - // Check if any of the invalid characters are present in the cookie name - if (strpbrk($name, self::getInvalidCharacters()) !== false) { - return 'The cookie name must not contain invalid characters: ' . $name; - } - - // Value must not be empty, but can be 0 - $value = $this->getValue(); - if (empty($value) && !is_numeric($value)) { - return 'The cookie value must not be empty'; - } - - // Domains must not be empty, but can be 0 - // A "0" is not a valid internet domain, but may be used as server name in a private network - $domain = $this->getDomain(); - if (empty($domain) && !is_numeric($domain)) { - return 'The cookie domain must not be empty'; - } - - return true; - } - - /** - * Set a value and return the cookie object - * - * @param string $key Key to set - * @param string $value Value to set - * - * @return Cookie - */ - private function setData($key, $value) - { - $this->data[$key] = $value; - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php deleted file mode 100644 index 954cae6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php +++ /dev/null @@ -1,248 +0,0 @@ -strictMode = $strictMode; - } - - /** - * Enable or disable strict mode on the cookie jar - * - * @param bool $strictMode Set to true to throw exceptions when invalid cookies are added. False to ignore them. - * - * @return self - */ - public function setStrictMode($strictMode) - { - $this->strictMode = $strictMode; - } - - /** - * {@inheritdoc} - */ - public function remove($domain = null, $path = null, $name = null) - { - $cookies = $this->all($domain, $path, $name, false, false); - $this->cookies = array_filter($this->cookies, function (Cookie $cookie) use ($cookies) { - return !in_array($cookie, $cookies, true); - }); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function removeTemporary() - { - $this->cookies = array_filter($this->cookies, function (Cookie $cookie) { - return !$cookie->getDiscard() && $cookie->getExpires(); - }); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function removeExpired() - { - $currentTime = time(); - $this->cookies = array_filter($this->cookies, function (Cookie $cookie) use ($currentTime) { - return !$cookie->getExpires() || $currentTime < $cookie->getExpires(); - }); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function all($domain = null, $path = null, $name = null, $skipDiscardable = false, $skipExpired = true) - { - return array_values(array_filter($this->cookies, function (Cookie $cookie) use ( - $domain, - $path, - $name, - $skipDiscardable, - $skipExpired - ) { - return false === (($name && $cookie->getName() != $name) || - ($skipExpired && $cookie->isExpired()) || - ($skipDiscardable && ($cookie->getDiscard() || !$cookie->getExpires())) || - ($path && !$cookie->matchesPath($path)) || - ($domain && !$cookie->matchesDomain($domain))); - })); - } - - /** - * {@inheritdoc} - */ - public function add(Cookie $cookie) - { - // Only allow cookies with set and valid domain, name, value - $result = $cookie->validate(); - if ($result !== true) { - if ($this->strictMode) { - throw new InvalidCookieException($result); - } else { - return false; - } - } - - // Resolve conflicts with previously set cookies - foreach ($this->cookies as $i => $c) { - - // Two cookies are identical, when their path, domain, port and name are identical - if ($c->getPath() != $cookie->getPath() || - $c->getDomain() != $cookie->getDomain() || - $c->getPorts() != $cookie->getPorts() || - $c->getName() != $cookie->getName() - ) { - continue; - } - - // The previously set cookie is a discard cookie and this one is not so allow the new cookie to be set - if (!$cookie->getDiscard() && $c->getDiscard()) { - unset($this->cookies[$i]); - continue; - } - - // If the new cookie's expiration is further into the future, then replace the old cookie - if ($cookie->getExpires() > $c->getExpires()) { - unset($this->cookies[$i]); - continue; - } - - // If the value has changed, we better change it - if ($cookie->getValue() !== $c->getValue()) { - unset($this->cookies[$i]); - continue; - } - - // The cookie exists, so no need to continue - return false; - } - - $this->cookies[] = $cookie; - - return true; - } - - /** - * Serializes the cookie cookieJar - * - * @return string - */ - public function serialize() - { - // Only serialize long term cookies and unexpired cookies - return json_encode(array_map(function (Cookie $cookie) { - return $cookie->toArray(); - }, $this->all(null, null, null, true, true))); - } - - /** - * Unserializes the cookie cookieJar - */ - public function unserialize($data) - { - $data = json_decode($data, true); - if (empty($data)) { - $this->cookies = array(); - } else { - $this->cookies = array_map(function (array $cookie) { - return new Cookie($cookie); - }, $data); - } - } - - /** - * Returns the total number of stored cookies - * - * @return int - */ - public function count() - { - return count($this->cookies); - } - - /** - * Returns an iterator - * - * @return \ArrayIterator - */ - public function getIterator() - { - return new \ArrayIterator($this->cookies); - } - - /** - * {@inheritdoc} - */ - public function addCookiesFromResponse(Response $response) - { - if ($cookieHeader = $response->getSetCookie()) { - $request = $response->getRequest(); - $parser = ParserRegistry::getInstance()->getParser('cookie'); - foreach ($cookieHeader as $cookie) { - if ($parsed = $request - ? $parser->parseCookie($cookie, $request->getHost(), $request->getPath()) - : $parser->parseCookie($cookie) - ) { - // Break up cookie v2 into multiple cookies - foreach ($parsed['cookies'] as $key => $value) { - $row = $parsed; - $row['name'] = $key; - $row['value'] = $value; - unset($row['cookies']); - $this->add(new Cookie($row)); - } - } - } - } - } - - /** - * {@inheritdoc} - */ - public function getMatchingCookies(RequestInterface $request) - { - // Find cookies that match this request - $cookies = $this->all($request->getHost(), $request->getPath()); - // Remove ineligible cookies - foreach ($cookies as $index => $cookie) { - if (!$cookie->matchesPort($request->getPort()) || ($cookie->getSecure() && $request->getScheme() != 'https')) { - unset($cookies[$index]); - } - }; - - return $cookies; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/CookieJarInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/CookieJarInterface.php deleted file mode 100644 index 4e92c9c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/CookieJarInterface.php +++ /dev/null @@ -1,84 +0,0 @@ -filename = $cookieFile; - $this->load(); - } - - /** - * Saves the file when shutting down - */ - public function __destruct() - { - $this->persist(); - } - - /** - * Save the contents of the data array to the file - * - * @throws RuntimeException if the file cannot be found or created - */ - protected function persist() - { - if (false === file_put_contents($this->filename, $this->serialize())) { - // @codeCoverageIgnoreStart - throw new RuntimeException('Unable to open file ' . $this->filename); - // @codeCoverageIgnoreEnd - } - } - - /** - * Load the contents of the json formatted file into the data array and discard any unsaved state - */ - protected function load() - { - $json = file_get_contents($this->filename); - if (false === $json) { - // @codeCoverageIgnoreStart - throw new RuntimeException('Unable to open file ' . $this->filename); - // @codeCoverageIgnoreEnd - } - - $this->unserialize($json); - $this->cookies = $this->cookies ?: array(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookiePlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookiePlugin.php deleted file mode 100644 index ea45982..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookiePlugin.php +++ /dev/null @@ -1,75 +0,0 @@ -cookieJar = $cookieJar ?: new ArrayCookieJar(); - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array( - 'request.before_send' => array('onRequestBeforeSend', 125), - 'request.sent' => array('onRequestSent', 125) - ); - } - - /** - * Get the cookie cookieJar - * - * @return CookieJarInterface - */ - public function getCookieJar() - { - return $this->cookieJar; - } - - /** - * Add cookies before a request is sent - * - * @param Event $event - */ - public function onRequestBeforeSend(Event $event) - { - $request = $event['request']; - if (!$request->getParams()->get('cookies.disable')) { - $request->removeHeader('Cookie'); - // Find cookies that match this request - foreach ($this->cookieJar->getMatchingCookies($request) as $cookie) { - $request->addCookie($cookie->getName(), $cookie->getValue()); - } - } - } - - /** - * Extract cookies from a sent request - * - * @param Event $event - */ - public function onRequestSent(Event $event) - { - $this->cookieJar->addCookiesFromResponse($event['response']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Exception/InvalidCookieException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Exception/InvalidCookieException.php deleted file mode 100644 index b1fa6fd..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Exception/InvalidCookieException.php +++ /dev/null @@ -1,7 +0,0 @@ -=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Cookie": "" } - }, - "target-dir": "Guzzle/Plugin/Cookie", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/CurlAuthPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/CurlAuthPlugin.php deleted file mode 100644 index 9e07f44..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/CurlAuthPlugin.php +++ /dev/null @@ -1,48 +0,0 @@ -username = $username; - $this->password = $password; - $this->scheme = $scheme; - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array('client.create_request' => array('onRequestCreate', 255)); - } - - /** - * Add basic auth - * - * @param Event $event - */ - public function onRequestCreate(Event $event) - { - $event['request']->setAuth($this->username, $this->password, $this->scheme); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/composer.json deleted file mode 100644 index 5cf1b15..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/plugin-curlauth", - "description": "Guzzle cURL authorization plugin", - "homepage": "http://guzzlephp.org/", - "keywords": ["plugin", "curl", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\CurlAuth": "" } - }, - "target-dir": "Guzzle/Plugin/CurlAuth", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php deleted file mode 100644 index 5dce8bd..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php +++ /dev/null @@ -1,22 +0,0 @@ - array('onCommandBeforeSend', -1)); - } - - /** - * Adds a listener to requests before they sent from a command - * - * @param Event $event Event emitted - */ - public function onCommandBeforeSend(Event $event) - { - $command = $event['command']; - if ($operation = $command->getOperation()) { - if ($operation->getErrorResponses()) { - $request = $command->getRequest(); - $request->getEventDispatcher() - ->addListener('request.complete', $this->getErrorClosure($request, $command, $operation)); - } - } - } - - /** - * @param RequestInterface $request Request that received an error - * @param CommandInterface $command Command that created the request - * @param Operation $operation Operation that defines the request and errors - * - * @return \Closure Returns a closure - */ - protected function getErrorClosure(RequestInterface $request, CommandInterface $command, Operation $operation) - { - return function (Event $event) use ($request, $command, $operation) { - $response = $event['response']; - foreach ($operation->getErrorResponses() as $error) { - if (!isset($error['class'])) { - continue; - } - if (isset($error['code']) && $response->getStatusCode() != $error['code']) { - continue; - } - if (isset($error['reason']) && $response->getReasonPhrase() != $error['reason']) { - continue; - } - $className = $error['class']; - $errorClassInterface = __NAMESPACE__ . '\\ErrorResponseExceptionInterface'; - if (!class_exists($className)) { - throw new ErrorResponseException("{$className} does not exist");; - } elseif (!is_subclass_of($className, $errorClassInterface)) { - throw new ErrorResponseException("{$className} must implement {$errorClassInterface}"); - } - throw $className::fromCommand($command, $response); - } - }; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/Exception/ErrorResponseException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/Exception/ErrorResponseException.php deleted file mode 100644 index 1d89e40..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/Exception/ErrorResponseException.php +++ /dev/null @@ -1,7 +0,0 @@ -=5.3.2", - "guzzle/service": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\ErrorResponse": "" } - }, - "target-dir": "Guzzle/Plugin/ErrorResponse", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/HistoryPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/HistoryPlugin.php deleted file mode 100644 index c198f75..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/HistoryPlugin.php +++ /dev/null @@ -1,135 +0,0 @@ - 'onRequestComplete'); - } - - /** - * Add a request to the history - * - * @param RequestInterface $request Request to add - * - * @return HistoryPlugin - */ - public function add(RequestInterface $request) - { - if ($request->getResponse()) { - $this->requests[] = $request; - if (count($this->requests) > $this->getlimit()) { - array_shift($this->requests); - } - } - - return $this; - } - - /** - * Set the max number of requests to store - * - * @param int $limit Limit - * - * @return HistoryPlugin - */ - public function setLimit($limit) - { - $this->limit = (int) $limit; - - return $this; - } - - /** - * Get the request limit - * - * @return int - */ - public function getLimit() - { - return $this->limit; - } - - /** - * Get the requests in the history - * - * @return \ArrayIterator - */ - public function getIterator() - { - return new \ArrayIterator($this->requests); - } - - /** - * Get the number of requests in the history - * - * @return int - */ - public function count() - { - return count($this->requests); - } - - /** - * Get the last request sent - * - * @return RequestInterface - */ - public function getLastRequest() - { - return end($this->requests); - } - - /** - * Get the last response in the history - * - * @return Response - */ - public function getLastResponse() - { - return $this->getLastRequest()->getResponse(); - } - - /** - * Clears the history - * - * @return HistoryPlugin - */ - public function clear() - { - $this->requests = array(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function onRequestComplete(Event $event) - { - $this->add($event['request']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/composer.json deleted file mode 100644 index 2fa0ee2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/plugin-history", - "description": "Guzzle history plugin", - "homepage": "http://guzzlephp.org/", - "keywords": ["plugin", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\History": "" } - }, - "target-dir": "Guzzle/Plugin/History", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/LogPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/LogPlugin.php deleted file mode 100644 index 8c72463..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/LogPlugin.php +++ /dev/null @@ -1,165 +0,0 @@ -logAdapter = $logAdapter; - $this->formatter = $formatter instanceof MessageFormatter ? $formatter : new MessageFormatter($formatter); - $this->wireBodies = $wireBodies; - } - - /** - * Get a log plugin that outputs full request, response, and curl error information to stderr - * - * @param bool $wireBodies Set to false to disable request/response body output when they use are not repeatable - * @param resource $stream Stream to write to when logging - * - * @return self - */ - public static function getDebugPlugin($wireBodies = true, $stream = STDERR) - { - return new self(new ClosureLogAdapter(function ($m) use ($stream) { - fwrite($stream, $m . PHP_EOL); - }), "# Request:\n{request}\n\n# Response:\n{response}\n\n# Errors: {curl_code} {curl_error}", $wireBodies); - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array( - 'curl.callback.write' => array('onCurlWrite', 255), - 'curl.callback.read' => array('onCurlRead', 255), - 'request.before_send' => array('onRequestBeforeSend', 255), - 'request.sent' => array('onRequestSent', 255) - ); - } - - /** - * Event triggered when curl data is read from a request - * - * @param Event $event - */ - public function onCurlRead(Event $event) - { - // Stream the request body to the log if the body is not repeatable - if ($wire = $event['request']->getParams()->get('request_wire')) { - $wire->write($event['read']); - } - } - - /** - * Event triggered when curl data is written to a response - * - * @param Event $event - */ - public function onCurlWrite(Event $event) - { - // Stream the response body to the log if the body is not repeatable - if ($wire = $event['request']->getParams()->get('response_wire')) { - $wire->write($event['write']); - } - } - - /** - * Called before a request is sent - * - * @param Event $event - */ - public function onRequestBeforeSend(Event $event) - { - if ($this->wireBodies) { - $request = $event['request']; - // Ensure that curl IO events are emitted - $request->getCurlOptions()->set('emit_io', true); - // We need to make special handling for content wiring and non-repeatable streams. - if ($request instanceof EntityEnclosingRequestInterface && $request->getBody() - && (!$request->getBody()->isSeekable() || !$request->getBody()->isReadable()) - ) { - // The body of the request cannot be recalled so logging the body will require us to buffer it - $request->getParams()->set('request_wire', EntityBody::factory()); - } - if (!$request->isResponseBodyRepeatable()) { - // The body of the response cannot be recalled so logging the body will require us to buffer it - $request->getParams()->set('response_wire', EntityBody::factory()); - } - } - } - - /** - * Triggers the actual log write when a request completes - * - * @param Event $event - */ - public function onRequestSent(Event $event) - { - $request = $event['request']; - $response = $event['response']; - $handle = $event['handle']; - - if ($wire = $request->getParams()->get('request_wire')) { - $request = clone $request; - $request->setBody($wire); - } - - if ($wire = $request->getParams()->get('response_wire')) { - $response = clone $response; - $response->setBody($wire); - } - - // Send the log message to the adapter, adding a category and host - $priority = $response && !$response->isSuccessful() ? LOG_ERR : LOG_DEBUG; - $message = $this->formatter->format($request, $response, $handle); - $this->logAdapter->log($message, $priority, array( - 'request' => $request, - 'response' => $response, - 'handle' => $handle - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/composer.json deleted file mode 100644 index 945d8f6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/composer.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "guzzle/plugin-log", - "description": "Guzzle log plugin for over the wire logging", - "homepage": "http://guzzlephp.org/", - "keywords": ["plugin", "log", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version", - "guzzle/log": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Log": "" } - }, - "target-dir": "Guzzle/Plugin/Log", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/CommandContentMd5Plugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/CommandContentMd5Plugin.php deleted file mode 100644 index 7607dfd..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/CommandContentMd5Plugin.php +++ /dev/null @@ -1,65 +0,0 @@ -contentMd5Param = $contentMd5Param; - $this->validateMd5Param = $validateMd5Param; - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array('command.before_send' => array('onCommandBeforeSend', -255)); - } - - /** - * {@inheritdoc} - */ - public function onCommandBeforeSend(Event $event) - { - $command = $event['command']; - $request = $command->getRequest(); - - // Only add an MD5 is there is a MD5 option on the operation and it has a payload - if ($request instanceof EntityEnclosingRequestInterface && $request->getBody() - && $command->getOperation()->hasParam($this->contentMd5Param)) { - // Check if an MD5 checksum value should be passed along to the request - if ($command[$this->contentMd5Param] === true) { - $request->setHeader('Content-MD5', $request->getBody()->getContentMd5(true, true)); - } - } - - // Check if MD5 validation should be used with the response - if ($command[$this->validateMd5Param] === true) { - $request->addSubscriber(new Md5ValidatorPlugin(true, false)); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/Md5ValidatorPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/Md5ValidatorPlugin.php deleted file mode 100644 index 2437811..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/Md5ValidatorPlugin.php +++ /dev/null @@ -1,98 +0,0 @@ -contentLengthCutoff = $contentLengthCutoff; - $this->contentEncoded = $contentEncoded; - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array('request.complete' => array('onRequestComplete', 255)); - } - - /** - * {@inheritdoc} - * @throws UnexpectedValueException - */ - public function onRequestComplete(Event $event) - { - $response = $event['response']; - - if (!$contentMd5 = $response->getContentMd5()) { - return; - } - - $contentEncoding = $response->getContentEncoding(); - if ($contentEncoding && !$this->contentEncoded) { - return false; - } - - // Make sure that the size of the request is under the cutoff size - if ($this->contentLengthCutoff) { - $size = $response->getContentLength() ?: $response->getBody()->getSize(); - if (!$size || $size > $this->contentLengthCutoff) { - return; - } - } - - if (!$contentEncoding) { - $hash = $response->getBody()->getContentMd5(); - } elseif ($contentEncoding == 'gzip') { - $response->getBody()->compress('zlib.deflate'); - $hash = $response->getBody()->getContentMd5(); - $response->getBody()->uncompress(); - } elseif ($contentEncoding == 'compress') { - $response->getBody()->compress('bzip2.compress'); - $hash = $response->getBody()->getContentMd5(); - $response->getBody()->uncompress(); - } else { - return; - } - - if ($contentMd5 !== $hash) { - throw new UnexpectedValueException( - "The response entity body may have been modified over the wire. The Content-MD5 " - . "received ({$contentMd5}) did not match the calculated MD5 hash ({$hash})." - ); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/composer.json deleted file mode 100644 index 157940f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/plugin-md5", - "description": "Guzzle MD5 plugins", - "homepage": "http://guzzlephp.org/", - "keywords": ["plugin", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Md5": "" } - }, - "target-dir": "Guzzle/Plugin/Md5", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/MockPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/MockPlugin.php deleted file mode 100644 index 74095ea..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/MockPlugin.php +++ /dev/null @@ -1,228 +0,0 @@ -readBodies = $readBodies; - $this->temporary = $temporary; - if ($responses) { - foreach ($responses as $response) { - $this->addResponse($response); - } - } - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array('client.create_request' => 'onRequestCreate'); - } - - /** - * {@inheritdoc} - */ - public static function getAllEvents() - { - return array('mock.request'); - } - - /** - * Get a mock response from a file - * - * @param string $file File to retrieve a mock response from - * - * @return Response - * @throws InvalidArgumentException if the file is not found - */ - public static function getMockFile($path) - { - if (!file_exists($path)) { - throw new InvalidArgumentException('Unable to open mock file: ' . $path); - } - - return Response::fromMessage(file_get_contents($path)); - } - - /** - * Set whether or not to consume the entity body of a request when a mock - * response is used - * - * @param bool $consumeBody Set to true to read and consume entity bodies - * - * @return self - */ - public function readBodies($readBodies) - { - $this->readBodies = $readBodies; - - return $this; - } - - /** - * Returns the number of remaining mock responses - * - * @return int - */ - public function count() - { - return count($this->queue); - } - - /** - * Add a response to the end of the queue - * - * @param string|Response $response Response object or path to response file - * - * @return MockPlugin - * @throws InvalidArgumentException if a string or Response is not passed - */ - public function addResponse($response) - { - if (!($response instanceof Response)) { - if (!is_string($response)) { - throw new InvalidArgumentException('Invalid response'); - } - $response = self::getMockFile($response); - } - - $this->queue[] = $response; - - return $this; - } - - /** - * Clear the queue - * - * @return MockPlugin - */ - public function clearQueue() - { - $this->queue = array(); - - return $this; - } - - /** - * Returns an array of mock responses remaining in the queue - * - * @return array - */ - public function getQueue() - { - return $this->queue; - } - - /** - * Check if this is a temporary plugin - * - * @return bool - */ - public function isTemporary() - { - return $this->temporary; - } - - /** - * Get a response from the front of the list and add it to a request - * - * @param RequestInterface $request Request to mock - * - * @return MockPlugin - */ - public function dequeue(RequestInterface $request) - { - $this->dispatch('mock.request', array( - 'plugin' => $this, - 'request' => $request - )); - - $request->setResponse(array_shift($this->queue), true); - - if ($this->readBodies && $request instanceof EntityEnclosingRequestInterface) { - $request->getEventDispatcher()->addListener('request.sent', function (Event $event) { - while ($data = $event['request']->getBody()->read(8096)); - }); - } - - return $this; - } - - /** - * Clear the array of received requests - */ - public function flush() - { - $this->received = array(); - } - - /** - * Get an array of requests that were mocked by this plugin - * - * @return array - */ - public function getReceivedRequests() - { - return $this->received; - } - - /** - * Called when a request completes - * - * @param Event $event - */ - public function onRequestCreate(Event $event) - { - if (!empty($this->queue)) { - $request = $event['request']; - $this->dequeue($request); - $this->received[] = $request; - // Detach the filter from the client so it's a one-time use - if ($this->temporary && empty($this->queue) && $request->getClient()) { - $request->getClient()->getEventDispatcher()->removeSubscriber($this); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/composer.json deleted file mode 100644 index c42af0a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/plugin-mock", - "description": "Guzzle Mock plugin", - "homepage": "http://guzzlephp.org/", - "keywords": ["mock", "plugin", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Mock": "" } - }, - "target-dir": "Guzzle/Plugin/Mock", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/OauthPlugin.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/OauthPlugin.php deleted file mode 100644 index 4f94b31..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/OauthPlugin.php +++ /dev/null @@ -1,240 +0,0 @@ -config = Collection::fromConfig($config, array( - 'version' => '1.0', - 'consumer_key' => 'anonymous', - 'consumer_secret' => 'anonymous', - 'signature_method' => 'HMAC-SHA1', - 'signature_callback' => function($stringToSign, $key) { - return hash_hmac('sha1', $stringToSign, $key, true); - } - ), array( - 'signature_method', 'signature_callback', 'version', - 'consumer_key', 'consumer_secret' - )); - } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return array( - 'request.before_send' => array('onRequestBeforeSend', -1000) - ); - } - - /** - * Request before-send event handler - * - * @param Event $event Event received - * @return array - */ - public function onRequestBeforeSend(Event $event) - { - $timestamp = $this->getTimestamp($event); - $request = $event['request']; - $nonce = $this->generateNonce($request); - - $authorizationParams = array( - 'oauth_consumer_key' => $this->config['consumer_key'], - 'oauth_nonce' => $nonce, - 'oauth_signature' => $this->getSignature($request, $timestamp, $nonce), - 'oauth_signature_method' => $this->config['signature_method'], - 'oauth_timestamp' => $timestamp, - 'oauth_token' => $this->config['token'], - 'oauth_version' => $this->config['version'], - ); - - $request->setHeader( - 'Authorization', - $this->buildAuthorizationHeader($authorizationParams) - ); - - return $authorizationParams; - } - - /** - * Builds the Authorization header for a request - * - * @param array $authorizationParams Associative array of authorization parameters - * - * @return string - */ - private function buildAuthorizationHeader($authorizationParams) - { - $authorizationString = 'OAuth '; - foreach ($authorizationParams as $key => $val) { - if ($val) { - $authorizationString .= $key . '="' . urlencode($val) . '", '; - } - } - - return substr($authorizationString, 0, -2); - } - - /** - * Calculate signature for request - * - * @param RequestInterface $request Request to generate a signature for - * @param integer $timestamp Timestamp to use for nonce - * @param string $nonce - * - * @return string - */ - public function getSignature(RequestInterface $request, $timestamp, $nonce) - { - $string = $this->getStringToSign($request, $timestamp, $nonce); - $key = urlencode($this->config['consumer_secret']) . '&' . urlencode($this->config['token_secret']); - - return base64_encode(call_user_func($this->config['signature_callback'], $string, $key)); - } - - /** - * Calculate string to sign - * - * @param RequestInterface $request Request to generate a signature for - * @param int $timestamp Timestamp to use for nonce - * @param string $nonce - * @return string - */ - public function getStringToSign(RequestInterface $request, $timestamp, $nonce) - { - $params = $this->getParamsToSign($request, $timestamp, $nonce); - - // Convert booleans to strings. - $params = $this->prepareParameters($params); - - // Build signing string from combined params - $parameterString = new QueryString($params); - - $url = Url::factory($request->getUrl())->setQuery('')->setFragment(null); - - return strtoupper($request->getMethod()) . '&' - . rawurlencode($url) . '&' - . rawurlencode((string) $parameterString); - } - - /** - * Parameters sorted and filtered in order to properly sign a request - * - * @param RequestInterface $request Request to generate a signature for - * @param integer $timestamp Timestamp to use for nonce - * @param string $nonce - * - * @return array - */ - public function getParamsToSign(RequestInterface $request, $timestamp, $nonce) - { - $params = new Collection(array( - 'oauth_consumer_key' => $this->config['consumer_key'], - 'oauth_nonce' => $nonce, - 'oauth_signature_method' => $this->config['signature_method'], - 'oauth_timestamp' => $timestamp, - 'oauth_version' => $this->config['version'] - )); - - // Filter out oauth_token during temp token step, as in request_token. - if ($this->config['token'] !== false) { - $params->add('oauth_token', $this->config['token']); - } - - // Add query string parameters - $params->merge($request->getQuery()); - - // Add POST fields to signing string - if (!$this->config->get('disable_post_params') && - $request instanceof EntityEnclosingRequestInterface && - (string) $request->getHeader('Content-Type') == 'application/x-www-form-urlencoded') { - - $params->merge($request->getPostFields()); - } - - // Sort params - $params = $params->getAll(); - ksort($params); - - return $params; - } - - /** - * Returns a Nonce Based on the unique id and URL. This will allow for multiple requests in parallel with the same - * exact timestamp to use separate nonce's. - * - * @param RequestInterface $request Request to generate a nonce for - * - * @return string - */ - public function generateNonce(RequestInterface $request) - { - return sha1(uniqid('', true) . $request->getUrl()); - } - - /** - * Gets timestamp from event or create new timestamp - * - * @param Event $event - * @return integer - */ - public function getTimestamp(Event $event) - { - return $event['timestamp'] ? : time(); - } - - /** - * Convert booleans to strings, and sorts the array. - * - * @param array $data Data array - * - * @return array - */ - protected function prepareParameters($data) - { - ksort($data); - foreach ($data as $key => $value) { - if (is_array($value)) { - $data[$key] = self::prepareParameters($value); - } elseif (is_bool($value)) { - $data[$key] = $value ? 'true' : 'false'; - } - } - - return $data; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/composer.json deleted file mode 100644 index 24870e9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "guzzle/plugin-oauth", - "description": "Guzzle OAuth plugin", - "homepage": "http://guzzlephp.org/", - "keywords": ["oauth", "plugin", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin\\Oauth": "" } - }, - "target-dir": "Guzzle/Plugin/Oauth", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/composer.json b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/composer.json deleted file mode 100644 index f279a71..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Plugin/composer.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "guzzle/plugin", - "description": "Guzzle plugin component containing all Guzzle HTTP plugins", - "homepage": "http://guzzlephp.org/", - "keywords": ["http", "client", "plugin", "extension", "guzzle"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.3.2", - "guzzle/http": "self.version" - }, - "suggest": { - "guzzle/cache": "self.version", - "guzzle/log": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Plugin": "" } - }, - "target-dir": "Guzzle/Plugin", - "replace": { - "guzzle/plugin-async": "self.version", - "guzzle/plugin-backoff": "self.version", - "guzzle/plugin-cache": "self.version", - "guzzle/plugin-cookie": "self.version", - "guzzle/plugin-curlauth": "self.version", - "guzzle/plugin-error-response": "self.version", - "guzzle/plugin-history": "self.version", - "guzzle/plugin-log": "self.version", - "guzzle/plugin-md5": "self.version", - "guzzle/plugin-mock": "self.version", - "guzzle/plugin-oauth": "self.version" - }, - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/AbstractConfigLoader.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/AbstractConfigLoader.php deleted file mode 100644 index d121993..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/AbstractConfigLoader.php +++ /dev/null @@ -1,162 +0,0 @@ -loadedFiles = array(); - - if (is_string($config)) { - $config = $this->loadFile($config); - } elseif (!is_array($config)) { - throw new InvalidArgumentException('Unknown type passed to configuration loader: ' . gettype($config)); - } else { - $this->mergeIncludes($config); - } - - return $this->build($config, $options); - } - - /** - * Add an include alias to the loader - * - * @param string $filename Filename to alias (e.g. _foo) - * @param string $alias Actual file to use (e.g. /path/to/foo.json) - * - * @return self - */ - public function addAlias($filename, $alias) - { - $this->aliases[$filename] = $alias; - - return $this; - } - - /** - * Remove an alias from the loader - * - * @param string $alias Alias to remove - * - * @return self - */ - public function removeAlias($alias) - { - unset($this->aliases[$alias]); - - return $this; - } - - /** - * Perform the parsing of a config file and create the end result - * - * @param array $config Configuration data - * @param array $options Options to use when building - * - * @return mixed - */ - protected abstract function build($config, array $options); - - /** - * Load a configuration file (can load JSON or PHP files that return an array when included) - * - * @param string $filename File to load - * - * @return array - * @throws InvalidArgumentException - * @throws RuntimeException when the JSON cannot be parsed - */ - protected function loadFile($filename) - { - if (isset($this->aliases[$filename])) { - $filename = $this->aliases[$filename]; - } - - if (!is_readable($filename)) { - throw new InvalidArgumentException("Unable to open {$filename} for reading"); - } - - $ext = pathinfo($filename, PATHINFO_EXTENSION); - if ($ext == 'js' || $ext == 'json') { - $config = json_decode(file_get_contents($filename), true); - // Throw an exception if there was an error loading the file - if ($error = json_last_error()) { - throw new RuntimeException("Error loading JSON data from {$filename}: {$error}"); - } - } elseif ($ext == 'php') { - $config = require $filename; - if (!is_array($config)) { - throw new InvalidArgumentException('PHP files must return an array of configuration data'); - } - } else { - throw new InvalidArgumentException('Unknown file extension: ' . $filename); - } - - // Keep track of this file being loaded to prevent infinite recursion - $this->loadedFiles[$filename] = true; - - // Merge include files into the configuration array - $this->mergeIncludes($config, dirname($filename)); - - return $config; - } - - /** - * Merges in all include files - * - * @param array $config Config data that contains includes - * @param string $basePath Base path to use when a relative path is encountered - * - * @return array Returns the merged and included data - */ - protected function mergeIncludes(&$config, $basePath = null) - { - if (!empty($config['includes'])) { - foreach ($config['includes'] as &$path) { - // Account for relative paths - if ($path[0] != DIRECTORY_SEPARATOR && !isset($this->aliases[$path]) && $basePath) { - $path = "{$basePath}/{$path}"; - } - // Don't load the same files more than once - if (!isset($this->loadedFiles[$path])) { - $this->loadedFiles[$path] = true; - $config = $this->mergeData($this->loadFile($path), $config); - } - } - } - } - - /** - * Default implementation for merging two arrays of data (uses array_merge_recursive) - * - * @param array $a Original data - * @param array $b Data to merge into the original and overwrite existing values - * - * @return array - */ - protected function mergeData(array $a, array $b) - { - return array_merge_recursive($a, $b); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilder.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilder.php deleted file mode 100644 index 5499de0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilder.php +++ /dev/null @@ -1,222 +0,0 @@ -load($config, $globalParameters); - } - - /** - * Construct a new service builder - * - * @param array $serviceBuilderConfig Service configuration settings: - * - name: Name of the service - * - class: Client class to instantiate using a factory method - * - params: array of key value pair configuration settings for the builder - */ - public function __construct(array $serviceBuilderConfig) - { - $this->builderConfig = $serviceBuilderConfig; - } - - /** - * {@inheritdoc} - */ - public static function getAllEvents() - { - return array('service_builder.create_client'); - } - - /** - * Restores the service builder from JSON - * - * @param string $serialized JSON data to restore from - */ - public function unserialize($serialized) - { - $this->builderConfig = json_decode($serialized, true); - } - - /** - * Represents the service builder as a string - * - * @return array - */ - public function serialize() - { - return json_encode($this->builderConfig); - } - - /** - * Attach a plugin to every client created by the builder - * - * @param EventSubscriberInterface $plugin Plugin to attach to each client - * - * @return self - */ - public function addGlobalPlugin(EventSubscriberInterface $plugin) - { - $this->plugins[] = $plugin; - - return $this; - } - - /** - * Get data from the service builder without triggering the building of a service - * - * @param string $name Name of the service to retrieve - * - * @return array|null - */ - public function getData($name) - { - return isset($this->builderConfig[$name]) ? $this->builderConfig[$name] : null; - } - - /** - * {@inheritdoc} - */ - public function get($name, $throwAway = false) - { - if (!isset($this->builderConfig[$name])) { - // Check aliases and return a match if found - foreach ($this->builderConfig as $actualName => $config) { - if (isset($config['alias']) && $config['alias'] == $name) { - return $this->get($actualName, $throwAway); - } - } - throw new ServiceNotFoundException('No service is registered as ' . $name); - } - - if (!$throwAway && isset($this->clients[$name])) { - return $this->clients[$name]; - } - - // Convert references to the actual client - foreach ($this->builderConfig[$name]['params'] as &$v) { - if (is_string($v) && substr($v, 0, 1) == '{' && substr($v, -1) == '}') { - $v = $this->get(trim(trim($v, '{}'))); - } - } - - $class = $this->builderConfig[$name]['class']; - $client = $class::factory($this->builderConfig[$name]['params']); - - if (!$throwAway) { - $this->clients[$name] = $client; - } - - foreach ($this->plugins as $plugin) { - $client->addSubscriber($plugin); - } - - // Dispatch an event letting listeners know a client was created - $this->dispatch('service_builder.create_client', array('client' => $client)); - - return $client; - } - - /** - * {@inheritdoc} - */ - public function set($key, $service) - { - $this->builderConfig[$key] = $service; - - return $this; - } - - /** - * Register a client by name with the service builder - * - * @param string $offset Name of the client to register - * @param ClientInterface $value Client to register - */ - public function offsetSet($offset, $value) - { - $this->set($offset, $value); - } - - /** - * Remove a registered client by name - * - * @param string $offset Client to remove by name - */ - public function offsetUnset($offset) - { - unset($this->builderConfig[$offset]); - } - - /** - * Check if a client is registered with the service builder by name - * - * @param string $offset Name to check to see if a client exists - * - * @return bool - */ - public function offsetExists($offset) - { - return isset($this->builderConfig[$offset]); - } - - /** - * Get a registered client by name - * - * @param string $offset Registered client name to retrieve - * - * @return ClientInterface - */ - public function offsetGet($offset) - { - return $this->get($offset); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilderInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilderInterface.php deleted file mode 100644 index faf1df0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Builder/ServiceBuilderInterface.php +++ /dev/null @@ -1,33 +0,0 @@ - &$service) { - - $service['params'] = isset($service['params']) ? $service['params'] : array(); - - // Check if this client builder extends another client - if (!empty($service['extends'])) { - - // Make sure that the service it's extending has been defined - if (!isset($services[$service['extends']])) { - throw new ServiceNotFoundException( - "{$name} is trying to extend a non-existent service: {$service['extends']}" - ); - } - - $extended = &$services[$service['extends']]; - - // Use the correct class attribute - if (empty($service['class'])) { - $service['class'] = isset($extended['class']) ? $extended['class'] : ''; - } - if ($extendsParams = isset($extended['params']) ? $extended['params'] : false) { - $service['params'] = $service['params'] + $extendsParams; - } - } - - // Overwrite default values with global parameter values - if (!empty($options)) { - $service['params'] = $options + $service['params']; - } - - $service['class'] = isset($service['class']) ? $service['class'] : ''; - } - - return new $class($services); - } - - /** - * {@inheritdoc} - */ - protected function mergeData(array $a, array $b) - { - $result = $b + $a; - - // Merge services using a recursive union of arrays - if (isset($a['services']) && $b['services']) { - - // Get a union of the services of the two arrays - $result['services'] = $b['services'] + $a['services']; - - // Merge each service in using a union of the two arrays - foreach ($result['services'] as $name => &$service) { - - // By default, services completely override a previously defined service unless it extends itself - if (isset($a['services'][$name]['extends']) - && isset($b['services'][$name]['extends']) - && $b['services'][$name]['extends'] == $name - ) { - $service += $a['services'][$name]; - // Use the `extends` attribute of the parent - $service['extends'] = $a['services'][$name]['extends']; - // Merge parameters using a union if both have parameters - if (isset($a['services'][$name]['params'])) { - $service['params'] += $a['services'][$name]['params']; - } - } - } - } - - return $result; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/CachingConfigLoader.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/CachingConfigLoader.php deleted file mode 100644 index 17dd947..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/CachingConfigLoader.php +++ /dev/null @@ -1,55 +0,0 @@ -loader = $loader; - $this->cache = $cache; - } - - /** - * {@inheritdoc} - */ - public function load($config, array $options = array()) - { - if (!is_string($config)) { - $key = false; - } else { - $key = 'loader_' . crc32($config); - if ($result = $this->cache->fetch($key)) { - return $result; - } - } - - $result = $this->loader->load($config, $options); - if ($key) { - $this->cache->save($key, $result); - } - - return $result; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Client.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Client.php deleted file mode 100644 index 9b0740e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Client.php +++ /dev/null @@ -1,311 +0,0 @@ -enableMagicMethods) { - throw new BadMethodCallException("Missing method {$method}. This client has not enabled magic methods."); - } - - return $this->getCommand($method, isset($args[0]) ? $args[0] : array())->getResult(); - } - - /** - * Specify whether or not magic methods are enabled (disabled by default) - * - * @param bool $isEnabled Set to true to enable magic methods or false to disable them - * - * @return self - */ - public function enableMagicMethods($isEnabled) - { - $this->enableMagicMethods = $isEnabled; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getCommand($name, array $args = array()) - { - if (!($command = $this->getCommandFactory()->factory($name, $args))) { - throw new InvalidArgumentException("Command was not found matching {$name}"); - } - - $command->setClient($this); - - // Add global client options to the command - if ($command instanceof Collection) { - if ($options = $this->getConfig(self::COMMAND_PARAMS)) { - foreach ($options as $key => $value) { - if (!$command->hasKey($key)) { - $command->set($key, $value); - } - } - } - } - - $this->dispatch('client.command.create', array( - 'client' => $this, - 'command' => $command - )); - - return $command; - } - - /** - * {@inheritdoc} - */ - public function setCommandFactory(CommandFactoryInterface $factory) - { - $this->commandFactory = $factory; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setResourceIteratorFactory(ResourceIteratorFactoryInterface $factory) - { - $this->resourceIteratorFactory = $factory; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getIterator($command, array $commandOptions = null, array $iteratorOptions = array()) - { - if (!($command instanceof CommandInterface)) { - $command = $this->getCommand($command, $commandOptions ?: array()); - } - - return $this->getResourceIteratorFactory()->build($command, $iteratorOptions); - } - - /** - * {@inheritdoc} - */ - public function execute($command) - { - if ($command instanceof CommandInterface) { - $command = array($command); - $singleCommand = true; - } elseif (is_array($command)) { - $singleCommand = false; - } else { - throw new InvalidArgumentException('Command must be a command or array of commands'); - } - - $failureException = null; - $requests = array(); - $successful = new \SplObjectStorage(); - - foreach ($command as $c) { - $c->setClient($this); - // Set the state to new if the command was previously executed - $request = $c->prepare()->setState(RequestInterface::STATE_NEW); - $successful[$request] = $c; - $requests[] = $request; - $this->dispatch('command.before_send', array('command' => $c)); - } - - try { - $this->send($requests); - } catch (MultiTransferException $failureException) { - $failures = new \SplObjectStorage(); - // Remove failed requests from the successful requests array and add to the failures array - foreach ($failureException->getFailedRequests() as $request) { - if (isset($successful[$request])) { - $failures[$request] = $successful[$request]; - unset($successful[$request]); - } - } - } - - foreach ($successful as $success) { - $this->dispatch('command.after_send', array('command' => $successful[$success])); - } - - // Return the response or throw an exception - if (!$failureException) { - return $singleCommand ? end($command)->getResult() : $command; - } elseif ($singleCommand) { - // If only sending a single request, then don't use a CommandTransferException - throw $failureException->getFirst(); - } else { - // Throw a CommandTransferException using the successful and failed commands - $e = CommandTransferException::fromMultiTransferException($failureException); - foreach ($failures as $failure) { - $e->addFailedCommand($failures[$failure]); - } - foreach ($successful as $success) { - $e->addSuccessfulCommand($successful[$success]); - } - throw $e; - } - } - - /** - * {@inheritdoc} - */ - public function setDescription(ServiceDescriptionInterface $service) - { - $this->serviceDescription = $service; - - // If a baseUrl was set on the description, then update the client - if ($baseUrl = $service->getBaseUrl()) { - $this->setBaseUrl($baseUrl); - } - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getDescription() - { - return $this->serviceDescription; - } - - /** - * {@inheritdoc} - */ - public function setInflector(InflectorInterface $inflector) - { - $this->inflector = $inflector; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getInflector() - { - if (!$this->inflector) { - $this->inflector = Inflector::getDefault(); - } - - return $this->inflector; - } - - /** - * {@inheritdoc} - */ - protected function getResourceIteratorFactory() - { - if (!$this->resourceIteratorFactory) { - // Build the default resource iterator factory if one is not set - $clientClass = get_class($this); - $prefix = substr($clientClass, 0, strrpos($clientClass, '\\')); - $this->resourceIteratorFactory = new ResourceIteratorClassFactory(array( - "{$prefix}\\Iterator", - "{$prefix}\\Model" - )); - } - - return $this->resourceIteratorFactory; - } - - /** - * Get the command factory associated with the client - * - * @return CommandFactoryInterface - */ - protected function getCommandFactory() - { - if (!$this->commandFactory) { - $this->commandFactory = CompositeFactory::getDefaultChain($this); - } - - return $this->commandFactory; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/ClientInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/ClientInterface.php deleted file mode 100644 index a1c3795..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/ClientInterface.php +++ /dev/null @@ -1,105 +0,0 @@ -operation = $operation ?: $this->createOperation(); - foreach ($this->operation->getParams() as $name => $arg) { - $currentValue = $this->get($name); - $configValue = $arg->getValue($currentValue); - // If default or static values are set, then this should always be updated on the config object - if ($currentValue !== $configValue) { - $this->set($name, $configValue); - } - } - - $headers = $this->get(self::HEADERS_OPTION); - if (!$headers instanceof Collection) { - $this->set(self::HEADERS_OPTION, new Collection((array) $headers)); - } - - // You can set a command.on_complete option in your parameters to set an onComplete callback - if ($onComplete = $this->get('command.on_complete')) { - $this->remove('command.on_complete'); - $this->setOnComplete($onComplete); - } - - $this->init(); - } - - /** - * Custom clone behavior - */ - public function __clone() - { - $this->request = null; - $this->result = null; - } - - /** - * Execute the command in the same manner as calling a function - * - * @return mixed Returns the result of {@see AbstractCommand::execute} - */ - public function __invoke() - { - return $this->execute(); - } - - /** - * {@inheritdoc} - */ - public function getName() - { - return $this->operation->getName(); - } - - /** - * Get the API command information about the command - * - * @return OperationInterface - */ - public function getOperation() - { - return $this->operation; - } - - /** - * {@inheritdoc} - */ - public function setOnComplete($callable) - { - if (!is_callable($callable)) { - throw new InvalidArgumentException('The onComplete function must be callable'); - } - - $this->onComplete = $callable; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function execute() - { - if (!$this->client) { - throw new CommandException('A client must be associated with the command before it can be executed.'); - } - - return $this->client->execute($this); - } - - /** - * {@inheritdoc} - */ - public function getClient() - { - return $this->client; - } - - /** - * {@inheritdoc} - */ - public function setClient(ClientInterface $client) - { - $this->client = $client; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getRequest() - { - if (!$this->request) { - throw new CommandException('The command must be prepared before retrieving the request'); - } - - return $this->request; - } - - /** - * {@inheritdoc} - */ - public function getResponse() - { - if (!$this->isExecuted()) { - $this->execute(); - } - - return $this->request->getResponse(); - } - - /** - * {@inheritdoc} - */ - public function getResult() - { - if (!$this->isExecuted()) { - $this->execute(); - } - - if (null === $this->result) { - $this->process(); - // Call the onComplete method if one is set - if ($this->onComplete) { - call_user_func($this->onComplete, $this); - } - } - - return $this->result; - } - - /** - * {@inheritdoc} - */ - public function setResult($result) - { - $this->result = $result; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function isPrepared() - { - return $this->request !== null; - } - - /** - * {@inheritdoc} - */ - public function isExecuted() - { - return $this->request !== null && $this->request->getState() == 'complete'; - } - - /** - * {@inheritdoc} - */ - public function prepare() - { - if (!$this->isPrepared()) { - if (!$this->client) { - throw new CommandException('A client must be associated with the command before it can be prepared.'); - } - - // If no response processing value was specified, then attempt to use the highest level of processing - if (!$this->hasKey(self::RESPONSE_PROCESSING)) { - $this->set(self::RESPONSE_PROCESSING, self::TYPE_MODEL); - } - - // Notify subscribers of the client that the command is being prepared - $this->client->dispatch('command.before_prepare', array('command' => $this)); - - // Fail on missing required arguments, and change parameters via filters - $this->validate(); - // Delegate to the subclass that implements the build method - $this->build(); - - // Add custom request headers set on the command - if ($headers = $this->get(self::HEADERS_OPTION)) { - foreach ($headers as $key => $value) { - $this->request->setHeader($key, $value); - } - } - - // Add any curl options to the request - if ($options = $this->get(Client::CURL_OPTIONS)) { - $this->request->getCurlOptions()->merge(CurlHandle::parseCurlConfig($options)); - } - - // Set a custom response body - if ($responseBody = $this->get(self::RESPONSE_BODY)) { - $this->request->setResponseBody($responseBody); - } - } - - return $this->request; - } - - /** - * Set the validator used to validate and prepare command parameters and nested JSON schemas. If no validator is - * set, then the command will validate using the default {@see SchemaValidator}. - * - * @param ValidatorInterface $validator Validator used to prepare and validate properties against a JSON schema - * - * @return self - */ - public function setValidator(ValidatorInterface $validator) - { - $this->validator = $validator; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getRequestHeaders() - { - return $this->get(self::HEADERS_OPTION); - } - - /** - * Initialize the command (hook that can be implemented in subclasses) - */ - protected function init() {} - - /** - * Create the request object that will carry out the command - */ - abstract protected function build(); - - /** - * Hook used to create an operation for concrete commands that are not associated with a service description - * - * @return OperationInterface - */ - protected function createOperation() - { - return new Operation(array('name' => get_class($this))); - } - - /** - * Create the result of the command after the request has been completed. - * Override this method in subclasses to customize this behavior - */ - protected function process() - { - $this->result = $this->get(self::RESPONSE_PROCESSING) != self::TYPE_RAW - ? DefaultResponseParser::getInstance()->parse($this) - : $this->request->getResponse(); - } - - /** - * Validate and prepare the command based on the schema and rules defined by the command's Operation object - * - * @throws ValidationException when validation errors occur - */ - protected function validate() - { - // Do not perform request validation/transformation if it is disable - if ($this->get(self::DISABLE_VALIDATION)) { - return; - } - - $errors = array(); - $validator = $this->getValidator(); - foreach ($this->operation->getParams() as $name => $schema) { - $value = $this->get($name); - if (!$validator->validate($schema, $value)) { - $errors = array_merge($errors, $validator->getErrors()); - } elseif ($value !== $this->get($name)) { - // Update the config value if it changed and no validation errors were encountered - $this->data[$name] = $value; - } - } - - if (!empty($errors)) { - $e = new ValidationException('Validation errors: ' . implode("\n", $errors)); - $e->setErrors($errors); - throw $e; - } - } - - /** - * Get the validator used to prepare and validate properties. If no validator has been set on the command, then - * the default {@see SchemaValidator} will be used. - * - * @return ValidatorInterface - */ - protected function getValidator() - { - if (!$this->validator) { - $this->validator = SchemaValidator::getInstance(); - } - - return $this->validator; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ClosureCommand.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ClosureCommand.php deleted file mode 100644 index 7a2507e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ClosureCommand.php +++ /dev/null @@ -1,41 +0,0 @@ -get('closure')) { - throw new InvalidArgumentException('A closure must be passed in the parameters array'); - } - } - - /** - * {@inheritdoc} - * @throws UnexpectedValueException If the closure does not return a request - */ - protected function build() - { - $closure = $this->get('closure'); - /** @var $closure \Closure */ - $this->request = $closure($this, $this->operation); - - if (!$this->request || !$this->request instanceof RequestInterface) { - throw new UnexpectedValueException('Closure command did not return a RequestInterface object'); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/CommandInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/CommandInterface.php deleted file mode 100644 index f50bd3b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/CommandInterface.php +++ /dev/null @@ -1,127 +0,0 @@ -factory = $factory; - } - - /** - * Add a location visitor to the serializer - * - * @param string $location Location to associate with the visitor - * @param RequestVisitorInterface $visitor Visitor to attach - * - * @return self - */ - public function addVisitor($location, RequestVisitorInterface $visitor) - { - $this->factory->addRequestVisitor($location, $visitor); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function prepare(CommandInterface $command) - { - $request = $this->createRequest($command); - // Keep an array of visitors found in the operation - $foundVisitors = array(); - - // Add arguments to the request using the location attribute - foreach ($command->getOperation()->getParams() as $name => $arg) { - /** @var $arg \Guzzle\Service\Description\Parameter */ - if ($location = $arg->getLocation()) { - // Skip 'uri' locations because they've already been processed - if ($location == 'uri') { - continue; - } - // Instantiate visitors as they are detected in the properties - if (!isset($foundVisitors[$location])) { - $foundVisitors[$location] = $this->factory->getRequestVisitor($location); - } - // Ensure that a value has been set for this parameter - $value = $command->get($name); - if ($value !== null) { - // Apply the parameter value with the location visitor - $foundVisitors[$location]->visit($command, $request, $arg, $value); - } - } - } - - // Call the after method on each visitor found in the operation - foreach ($foundVisitors as $visitor) { - $visitor->after($command, $request); - } - - return $request; - } - - /** - * Create a request for the command and operation - * - * @param CommandInterface $command Command to create a request for - * - * @return RequestInterface - */ - protected function createRequest(CommandInterface $command) - { - $operation = $command->getOperation(); - $client = $command->getClient(); - - // If the command does not specify a template, then assume the base URL of the client - if (!($uri = $operation->getUri())) { - return $client->createRequest($operation->getHttpMethod(), $client->getBaseUrl()); - } - - // Get the path values and use the client config settings - $variables = array(); - foreach ($operation->getParams() as $name => $arg) { - if ($arg->getLocation() == 'uri') { - if ($command->hasKey($name)) { - $variables[$name] = $arg->filter($command->get($name)); - if (!is_array($variables[$name])) { - $variables[$name] = (string) $variables[$name]; - } - } - } - } - - // Merge the client's base URL with an expanded URI template - return $client->createRequest( - $operation->getHttpMethod(), - (string) Url::factory($client->getBaseUrl()) - ->combine(ParserRegistry::getInstance()->getParser('uri_template')->expand($uri, $variables)) - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/DefaultResponseParser.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/DefaultResponseParser.php deleted file mode 100644 index 599c4ca..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/DefaultResponseParser.php +++ /dev/null @@ -1,64 +0,0 @@ -getRequest()->getResponse(); - - // Account for hard coded content-type values specified in service descriptions - if ($contentType = $command->get('command.expects')) { - $response->setHeader('Content-Type', $contentType); - } else { - $contentType = (string) $response->getHeader('Content-Type'); - } - - return $this->handleParsing($command, $response, $contentType); - } - - /** - * {@inheritdoc} - */ - protected function handleParsing(AbstractCommand $command, Response $response, $contentType) - { - $result = $response; - if ($result->getBody()) { - if (stripos($contentType, 'json') !== false) { - $result = $result->json(); - } if (stripos($contentType, 'xml') !== false) { - $result = $result->xml(); - } - } - - return $result; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/AliasFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/AliasFactory.php deleted file mode 100644 index 9671f15..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/AliasFactory.php +++ /dev/null @@ -1,46 +0,0 @@ -client = $client; - $this->aliases = $aliases; - } - - /** - * {@inheritdoc} - */ - public function factory($name, array $args = array()) - { - if (isset($this->aliases[$name])) { - try { - return $this->client->getCommand($this->aliases[$name], $args); - } catch (InvalidArgumentException $e) { - return null; - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/CompositeFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/CompositeFactory.php deleted file mode 100644 index a9370a7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/CompositeFactory.php +++ /dev/null @@ -1,163 +0,0 @@ -getDescription()) { - $factories[] = new ServiceDescriptionFactory($description); - } - $factories[] = new ConcreteClassFactory($client); - - return new self($factories); - } - - /** - * @param array $factories Array of command factories - */ - public function __construct(array $factories = array()) - { - $this->factories = $factories; - } - - /** - * Add a command factory to the chain - * - * @param FactoryInterface $factory Factory to add - * @param string|FactoryInterface $before Insert the new command factory before a command factory class or object - * matching a class name. - * - * @return CompositeFactory - */ - public function add(FactoryInterface $factory, $before = null) - { - $pos = null; - - if ($before) { - foreach ($this->factories as $i => $f) { - if ($before instanceof FactoryInterface) { - if ($f === $before) { - $pos = $i; - break; - } - } elseif (is_string($before)) { - if ($f instanceof $before) { - $pos = $i; - break; - } - } - } - } - - if ($pos === null) { - $this->factories[] = $factory; - } else { - array_splice($this->factories, $i, 0, array($factory)); - } - - return $this; - } - - /** - * Check if the chain contains a specific command factory - * - * @param FactoryInterface|string $factory Factory to check - * - * @return bool - */ - public function has($factory) - { - return (bool) $this->find($factory); - } - - /** - * Remove a specific command factory from the chain - * - * @param string|FactoryInterface $factory Factory to remove by name or instance - * - * @return CompositeFactory - */ - public function remove($factory = null) - { - if (!($factory instanceof FactoryInterface)) { - $factory = $this->find($factory); - } - - $this->factories = array_values(array_filter($this->factories, function($f) use ($factory) { - return $f !== $factory; - })); - - return $this; - } - - /** - * Get a command factory by class name - * - * @param string|FactoryInterface $factory Command factory class or instance - * - * @return null|FactoryInterface - */ - public function find($factory) - { - foreach ($this->factories as $f) { - if ($factory === $f || (is_string($factory) && $f instanceof $factory)) { - return $f; - } - } - } - - /** - * Create a command using the associated command factories - * - * @param string $name Name of the command - * @param array $args Command arguments - * - * @return CommandInterface - */ - public function factory($name, array $args = array()) - { - foreach ($this->factories as $factory) { - $command = $factory->factory($name, $args); - if ($command) { - return $command; - } - } - } - - /** - * {@inheritdoc} - */ - public function count() - { - return count($this->factories); - } - - /** - * {@inheritdoc} - */ - public function getIterator() - { - return new \ArrayIterator($this->factories); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ConcreteClassFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ConcreteClassFactory.php deleted file mode 100644 index 8b34e85..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ConcreteClassFactory.php +++ /dev/null @@ -1,54 +0,0 @@ -client = $client; - $this->inflector = $inflector ?: Inflector::getDefault(); - } - - /** - * {@inheritdoc} - */ - public function factory($name, array $args = array()) - { - // Determine the class to instantiate based on the namespace of the current client and the default directory - $prefix = $this->client->getConfig('command.prefix'); - if (!$prefix) { - // The prefix can be specified in a factory method and is cached - $prefix = implode('\\', array_slice(explode('\\', get_class($this->client)), 0, -1)) . '\\Command\\'; - $this->client->getConfig()->set('command.prefix', $prefix); - } - - $class = $prefix . str_replace(' ', '\\', ucwords(str_replace('.', ' ', $this->inflector->camel($name)))); - - // Create the concrete command if it exists - if (class_exists($class)) { - return new $class($args); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php deleted file mode 100644 index fa90930..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php +++ /dev/null @@ -1,21 +0,0 @@ -map = $map; - } - - /** - * {@inheritdoc} - */ - public function factory($name, array $args = array()) - { - if (isset($this->map[$name])) { - $class = $this->map[$name]; - - return new $class($args); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ServiceDescriptionFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ServiceDescriptionFactory.php deleted file mode 100644 index e3fce89..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/ServiceDescriptionFactory.php +++ /dev/null @@ -1,74 +0,0 @@ -setServiceDescription($description); - $this->inflector = $inflector; - } - - /** - * Change the service description used with the factory - * - * @param ServiceDescriptionInterface $description Service description to use - * - * @return FactoryInterface - */ - public function setServiceDescription(ServiceDescriptionInterface $description) - { - $this->description = $description; - - return $this; - } - - /** - * Returns the service description - * - * @return ServiceDescriptionInterface - */ - public function getServiceDescription() - { - return $this->description; - } - - /** - * {@inheritdoc} - */ - public function factory($name, array $args = array()) - { - $command = $this->description->getOperation($name); - - // If an inflector was passed, then attempt to get the command using snake_case inflection - if (!$command && $this->inflector) { - $command = $this->description->getOperation($this->inflector->snake($name)); - } - - if ($command) { - $class = $command->getClass(); - return new $class($args, $command, $this->description); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/AbstractRequestVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/AbstractRequestVisitor.php deleted file mode 100644 index 3e848a3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/AbstractRequestVisitor.php +++ /dev/null @@ -1,74 +0,0 @@ -resolveRecursively($value, $param) - : $param->filter($value); - } - - /** - * Map nested parameters into the location_key based parameters - * - * @param array $value Value to map - * @param Parameter $param Parameter that holds information about the current key - * - * @return array Returns the mapped array - */ - protected function resolveRecursively(array $value, Parameter $param) - { - foreach ($value as $name => &$v) { - switch ($param->getType()) { - case 'object': - if ($subParam = $param->getProperty($name)) { - $key = $subParam->getWireName(); - $value[$key] = $this->prepareValue($v, $subParam); - if ($name != $key) { - unset($value[$name]); - } - } elseif ($param->getAdditionalProperties() instanceof Parameter) { - $v = $this->prepareValue($v, $param->getAdditionalProperties()); - } - break; - case 'array': - if ($items = $param->getItems()) { - $v = $this->prepareValue($v, $items); - } - break; - } - } - - return $param->filter($value); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/BodyVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/BodyVisitor.php deleted file mode 100644 index a96baa8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/BodyVisitor.php +++ /dev/null @@ -1,61 +0,0 @@ -filter($value); - $entityBody = EntityBody::factory($value); - $request->setBody($entityBody); - $this->addExpectHeader($request, $entityBody, $param->getData('expect_header')); - // Add the Content-Encoding header if one is set on the EntityBody - if ($encoding = $entityBody->getContentEncoding()) { - $request->setHeader('Content-Encoding', $encoding); - } - } - - /** - * Add the appropriate expect header to a request - * - * @param EntityEnclosingRequestInterface $request Request to update - * @param EntityBodyInterface $body Entity body of the request - * @param string|int $expect Expect header setting - */ - protected function addExpectHeader(EntityEnclosingRequestInterface $request, EntityBodyInterface $body, $expect) - { - // Allow the `expect` data parameter to be set to remove the Expect header from the request - if ($expect === false) { - $request->removeHeader('Expect'); - } elseif ($expect !== true) { - // Default to using a MB as the point in which to start using the expect header - $expect = $expect ?: 1048576; - // If the expect_header value is numeric then only add if the size is greater than the cutoff - if (is_numeric($expect) && $body->getSize()) { - if ($body->getSize() < $expect) { - $request->removeHeader('Expect'); - } else { - $request->setHeader('Expect', '100-Continue'); - } - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/HeaderVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/HeaderVisitor.php deleted file mode 100644 index 5158f1a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/HeaderVisitor.php +++ /dev/null @@ -1,47 +0,0 @@ -filter($value); - if ($param->getType() == 'object' && $param->getAdditionalProperties() instanceof Parameter) { - $this->addPrefixedHeaders($request, $param, $value); - } else { - $request->setHeader($param->getWireName(), $value); - } - } - - /** - * Add a prefixed array of headers to the request - * - * @param RequestInterface $request Request to update - * @param Parameter $param Parameter object - * @param array $value Header array to add - * - * @throws InvalidArgumentException - */ - protected function addPrefixedHeaders(RequestInterface $request, Parameter $param, $value) - { - if (!is_array($value)) { - throw new InvalidArgumentException('An array of mapped headers expected, but received a single value'); - } - $prefix = $param->getSentAs(); - foreach ($value as $headerName => $headerValue) { - $request->setHeader($prefix . $headerName, $headerValue); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/JsonVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/JsonVisitor.php deleted file mode 100644 index 2255329..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/JsonVisitor.php +++ /dev/null @@ -1,75 +0,0 @@ -data = new \SplObjectStorage(); - } - - /** - * Set the Content-Type header to add to the request if JSON is added to the body. This visitor does not add a - * Content-Type header unless you specify one here. - * - * @param string $header Header to set when JSON is added (e.g. application/json) - * - * @return self - */ - public function setContentTypeHeader($header = 'application/json') - { - $this->jsonContentType = $header; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function visit(CommandInterface $command, RequestInterface $request, Parameter $param, $value) - { - if (isset($this->data[$command])) { - $json = $this->data[$command]; - } else { - $json = array(); - } - $json[$param->getWireName()] = $this->prepareValue($value, $param); - $this->data[$command] = $json; - } - - /** - * {@inheritdoc} - */ - public function after(CommandInterface $command, RequestInterface $request) - { - if (isset($this->data[$command])) { - $request->setBody(json_encode($this->data[$command])); - unset($this->data[$command]); - // Don't overwrite the Content-Type if one is set - if ($this->jsonContentType && !$request->hasHeader('Content-Type')) { - $request->setHeader('Content-Type', $this->jsonContentType); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFieldVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFieldVisitor.php deleted file mode 100644 index c330355..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFieldVisitor.php +++ /dev/null @@ -1,21 +0,0 @@ -setPostField($param->getWireName(), $this->prepareValue($value, $param)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFileVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFileVisitor.php deleted file mode 100644 index a025743..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFileVisitor.php +++ /dev/null @@ -1,27 +0,0 @@ -filter($value); - if ($value instanceof PostFileInterface) { - $request->addPostFile($value); - } else { - $request->addPostFile($param->getWireName(), $value); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/QueryVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/QueryVisitor.php deleted file mode 100644 index 20250ef..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/QueryVisitor.php +++ /dev/null @@ -1,21 +0,0 @@ -getQuery()->set($param->getWireName(), $this->prepareValue($value, $param)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/RequestVisitorInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/RequestVisitorInterface.php deleted file mode 100644 index 14e0b2d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/RequestVisitorInterface.php +++ /dev/null @@ -1,31 +0,0 @@ -setResponseBody($value); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php deleted file mode 100644 index f71ca72..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php +++ /dev/null @@ -1,173 +0,0 @@ -data = new \SplObjectStorage(); - } - - /** - * Change the content-type header that is added when XML is found - * - * @param string $header Header to set when XML is found - * - * @return self - */ - public function setContentTypeHeader($header) - { - $this->contentType = $header; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function visit(CommandInterface $command, RequestInterface $request, Parameter $param, $value) - { - $xml = isset($this->data[$command]) - ? $this->data[$command] - : $this->createRootElement($param->getParent()); - $this->addXml($xml, $param, $value); - $this->data[$command] = $xml; - } - - /** - * {@inheritdoc} - */ - public function after(CommandInterface $command, RequestInterface $request) - { - $xml = null; - - // If data was found that needs to be serialized, then do so - if (isset($this->data[$command])) { - $xml = $this->data[$command]->asXML(); - unset($this->data[$command]); - } else { - // Check if XML should always be sent for the command - $operation = $command->getOperation(); - if ($operation->getData('xmlAllowEmpty')) { - $xml = $this->createRootElement($operation)->asXML(); - } - } - - if ($xml) { - $request->setBody($xml); - // Don't overwrite the Content-Type if one is set - if ($this->contentType && !$request->hasHeader('Content-Type')) { - $request->setHeader('Content-Type', $this->contentType); - } - } - } - - /** - * Create the root XML element to use with a request - * - * @param Operation $operation Operation object - * - * @return \SimpleXMLElement - */ - protected function createRootElement(Operation $operation) - { - static $defaultRoot = array('name' => 'Request'); - // If no root element was specified, then just wrap the XML in 'Request' - $root = $operation->getData('xmlRoot') ?: $defaultRoot; - - // Allow the XML declaration to be customized with xmlEncoding - $declaration = 'getData('xmlEncoding')) { - $declaration .= ' encoding="' . $encoding . '"'; - } - $declaration .= "?>"; - - // Create the wrapping element with no namespaces if no namespaces were present - if (empty($root['namespaces'])) { - return new \SimpleXMLElement("{$declaration}\n<{$root['name']}/>"); - } else { - // Create the wrapping element with an array of one or more namespaces - $xml = "{$declaration}\n<{$root['name']} "; - foreach ((array) $root['namespaces'] as $prefix => $uri) { - $xml .= is_numeric($prefix) ? "xmlns=\"{$uri}\" " : "xmlns:{$prefix}=\"{$uri}\" "; - } - return new \SimpleXMLElement($xml . "/>"); - } - } - - /** - * Recursively build the XML body - * - * @param \SimpleXMLElement $xml XML to modify - * @param Parameter $param API Parameter - * @param mixed $value Value to add - */ - protected function addXml(\SimpleXMLElement $xml, Parameter $param, $value) - { - if ($value === null) { - return; - } - - $value = $param->filter($value); - $type = $param->getType(); - - if ($type == 'object' || $type == 'array') { - $ele = $param->getData('xmlFlattened') ? $xml : $xml->addChild($param->getWireName()); - if ($param->getType() == 'array') { - $this->addXmlArray($ele, $param, $value, $param->getData('xmlNamespace')); - } elseif ($param->getType() == 'object') { - $this->addXmlObject($ele, $param, $value); - } - } elseif ($param->getData('xmlAttribute')) { - $xml->addAttribute($param->getWireName(), $value, $param->getData('xmlNamespace')); - } else { - $xml->addChild($param->getWireName(), $value, $param->getData('xmlNamespace')); - } - } - - /** - * Add an array to the XML - */ - protected function addXmlArray(\SimpleXMLElement $xml, Parameter $param, &$value) - { - if ($items = $param->getItems()) { - foreach ($value as $v) { - $this->addXml($xml, $items, $v); - } - } - } - - /** - * Add an object to the XML - */ - protected function addXmlObject(\SimpleXMLElement $xml, Parameter $param, &$value) - { - foreach ($value as $name => $v) { - if ($property = $param->getProperty($name)) { - $this->addXml($xml, $property, $v); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/AbstractResponseVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/AbstractResponseVisitor.php deleted file mode 100644 index a452663..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/AbstractResponseVisitor.php +++ /dev/null @@ -1,31 +0,0 @@ -getName()] = $param->filter($response->getBody()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/HeaderVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/HeaderVisitor.php deleted file mode 100644 index 3dec42c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/HeaderVisitor.php +++ /dev/null @@ -1,48 +0,0 @@ -getType() == 'object' && $param->getAdditionalProperties() instanceof Parameter) { - $this->processPrefixedHeaders($response, $param, $value); - } else { - $value[$param->getName()] = $param->filter((string) $response->getHeader($param->getWireName())); - } - } - - /** - * Process a prefixed header array - * - * @param Response $response Response that contains the headers - * @param Parameter $param Parameter object - * @param array $value Value response array to modify - */ - protected function processPrefixedHeaders(Response $response, Parameter $param, &$value) - { - // Grab prefixed headers that should be placed into an array with the prefix stripped - if ($prefix = $param->getSentAs()) { - $container = $param->getName(); - $len = strlen($prefix); - // Find all matching headers and place them into the containing element - foreach ($response->getHeaders() as $key => $header) { - if (stripos($key, $prefix) === 0) { - // Account for multi-value headers - $value[$container][substr($key, $len)] = count($header) == 1 ? end($header) : $header; - } - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/JsonVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/JsonVisitor.php deleted file mode 100644 index c0626e6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/JsonVisitor.php +++ /dev/null @@ -1,82 +0,0 @@ -getResponse()->json(); - } - - /** - * {@inheritdoc} - */ - public function visit(CommandInterface $command, Response $response, Parameter $param, &$value, $context = null) - { - $name = $param->getName(); - $key = $param->getWireName(); - if (isset($value[$key])) { - $this->recursiveProcess($param, $value[$key]); - if ($key != $name) { - $value[$name] = $value[$key]; - unset($value[$key]); - } - } - } - - /** - * Recursively process a parameter while applying filters - * - * @param Parameter $param API parameter being validated - * @param mixed $value Value to validate and process. The value may change during this process. - */ - protected function recursiveProcess(Parameter $param, &$value) - { - if ($value === null) { - return; - } - - if (is_array($value)) { - $type = $param->getType(); - if ($type == 'array') { - foreach ($value as &$item) { - $this->recursiveProcess($param->getItems(), $item); - } - } elseif ($type == 'object' && !isset($value[0])) { - // On the above line, we ensure that the array is associative and not numerically indexed - if ($properties = $param->getProperties()) { - foreach ($properties as $property) { - $name = $property->getName(); - $key = $property->getWireName(); - if (isset($value[$key])) { - $this->recursiveProcess($property, $value[$key]); - } - if ($key != $name) { - $value[$name] = $value[$key]; - unset($value[$key]); - } - } - } - } - } - - $value = $param->filter($value); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php deleted file mode 100644 index a91db05..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php +++ /dev/null @@ -1,21 +0,0 @@ -getName()] = $response->getReasonPhrase(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ResponseVisitorInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ResponseVisitorInterface.php deleted file mode 100644 index 20db76e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ResponseVisitorInterface.php +++ /dev/null @@ -1,40 +0,0 @@ -getName()] = $response->getStatusCode(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/XmlVisitor.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/XmlVisitor.php deleted file mode 100644 index a63f9b3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/XmlVisitor.php +++ /dev/null @@ -1,143 +0,0 @@ -getResponse()->xml()), true); - } - - /** - * {@inheritdoc} - */ - public function visit(CommandInterface $command, Response $response, Parameter $param, &$value, $context = null) - { - $sentAs = $param->getWireName(); - $name = $param->getName(); - if (isset($value[$sentAs])) { - $this->recursiveProcess($param, $value[$sentAs]); - if ($name != $sentAs) { - $value[$name] = $value[$sentAs]; - unset($value[$sentAs]); - } - } - } - - /** - * Recursively process a parameter while applying filters - * - * @param Parameter $param API parameter being processed - * @param mixed $value Value to validate and process. The value may change during this process. - */ - protected function recursiveProcess(Parameter $param, &$value) - { - $type = $param->getType(); - - if (!is_array($value)) { - if ($type == 'array') { - // Cast to an array if the value was a string, but should be an array - $this->recursiveProcess($param->getItems(), $value); - $value = array($value); - } - } elseif ($type == 'object') { - $this->processObject($param, $value); - } elseif ($type == 'array') { - $this->processArray($param, $value); - } - - if ($value !== null) { - $value = $param->filter($value); - } - } - - /** - * Process an array - * - * @param Parameter $param API parameter being parsed - * @param mixed $value Value to process - */ - protected function processArray(Parameter $param, &$value) - { - // Convert the node if it was meant to be an array - if (!isset($value[0])) { - // Collections fo nodes are sometimes wrapped in an additional array. For example: - // 12 should become: - // array('Items' => array(array('a' => 1), array('a' => 2)) - // Some nodes are not wrapped. For example: 12 - // should become array('Foo' => array(array('a' => 1), array('a' => 2)) - if ($param->getItems() && isset($value[$param->getItems()->getWireName()])) { - // Account for the case of a collection wrapping wrapped nodes: Items => Item[] - $value = $value[$param->getItems()->getWireName()]; - // If the wrapped node only had one value, then make it an array of nodes - if (!isset($value[0]) || !is_array($value)) { - $value = array($value); - } - } elseif (!empty($value)) { - // Account for repeated nodes that must be an array: Foo => Baz, Foo => Baz, but only if the - // value is set and not empty - $value = array($value); - } - } - - foreach ($value as &$item) { - $this->recursiveProcess($param->getItems(), $item); - } - } - - /** - * Process an object - * - * @param Parameter $param API parameter being parsed - * @param mixed $value Value to process - */ - protected function processObject(Parameter $param, &$value) - { - // Ensure that the array is associative and not numerically indexed - if (!isset($value[0]) && ($properties = $param->getProperties())) { - foreach ($properties as $property) { - $name = $property->getName(); - $sentAs = $property->getWireName(); - if ($property->getData('xmlAttribute')) { - $this->processXmlAttribute($property, $value); - } elseif (isset($value[$sentAs])) { - $this->recursiveProcess($property, $value[$sentAs]); - if ($name != $sentAs) { - $value[$name] = $value[$sentAs]; - unset($value[$sentAs]); - } - } - } - } - } - - /** - * Process an XML attribute property - * - * @param Parameter $property Property to process - * @param array $value Value to process and update - */ - protected function processXmlAttribute(Parameter $property, array &$value) - { - $sentAs = $property->getWireName(); - if (isset($value['@attributes'][$sentAs])) { - $value[$property->getName()] = $value['@attributes'][$sentAs]; - unset($value['@attributes'][$sentAs]); - if (empty($value['@attributes'])) { - unset($value['@attributes']); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/VisitorFlyweight.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/VisitorFlyweight.php deleted file mode 100644 index fb7b24b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/VisitorFlyweight.php +++ /dev/null @@ -1,149 +0,0 @@ - 'Guzzle\Service\Command\LocationVisitor\Request\BodyVisitor', - 'request.header' => 'Guzzle\Service\Command\LocationVisitor\Request\HeaderVisitor', - 'request.json' => 'Guzzle\Service\Command\LocationVisitor\Request\JsonVisitor', - 'request.postField' => 'Guzzle\Service\Command\LocationVisitor\Request\PostFieldVisitor', - 'request.postFile' => 'Guzzle\Service\Command\LocationVisitor\Request\PostFileVisitor', - 'request.query' => 'Guzzle\Service\Command\LocationVisitor\Request\QueryVisitor', - 'request.response_body' => 'Guzzle\Service\Command\LocationVisitor\Request\ResponseBodyVisitor', - 'request.xml' => 'Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor', - 'response.body' => 'Guzzle\Service\Command\LocationVisitor\Response\BodyVisitor', - 'response.header' => 'Guzzle\Service\Command\LocationVisitor\Response\HeaderVisitor', - 'response.json' => 'Guzzle\Service\Command\LocationVisitor\Response\JsonVisitor', - 'response.reasonPhrase' => 'Guzzle\Service\Command\LocationVisitor\Response\ReasonPhraseVisitor', - 'response.statusCode' => 'Guzzle\Service\Command\LocationVisitor\Response\StatusCodeVisitor', - 'response.xml' => 'Guzzle\Service\Command\LocationVisitor\Response\XmlVisitor' - ); - - /** - * @var array Array of mappings of location names to classes - */ - protected $mappings; - - /** - * @var array Cache of instantiated visitors - */ - protected $cache = array(); - - /** - * Get a cached instance of the flyweight factory - * - * @return self - * @codeCoverageIgnore - */ - public static function getInstance() - { - if (!self::$instance) { - self::$instance = new self(); - } - - return self::$instance; - } - - /** - * Create a new flyweight - * - * @param array $mappings Array mapping request.name and response.name to location visitor classes. Leave null to - * use the default values. - */ - public function __construct(array $mappings = null) - { - $this->mappings = $mappings === null ? self::$defaultMappings : $mappings; - } - - /** - * Get an instance of a request visitor by location name - * - * @param string $visitor Visitor name - * - * @return RequestVisitorInterface - */ - public function getRequestVisitor($visitor) - { - return $this->getKey('request.' . $visitor); - } - - /** - * Get an instance of a response visitor by location name - * - * @param string $visitor Visitor name - * - * @return ResponseVisitorInterface - */ - public function getResponseVisitor($visitor) - { - return $this->getKey('response.' . $visitor); - } - - /** - * Add a response visitor to the factory by name - * - * @param string $name Name of the visitor - * @param RequestVisitorInterface $visitor Visitor to add - * - * @return self - */ - public function addRequestVisitor($name, RequestVisitorInterface $visitor) - { - $this->cache['request.' . $name] = $visitor; - - return $this; - } - - /** - * Add a response visitor to the factory by name - * - * @param string $name Name of the visitor - * @param ResponseVisitorInterface $visitor Visitor to add - * - * @return self - */ - public function addResponseVisitor($name, ResponseVisitorInterface $visitor) - { - $this->cache['response.' . $name] = $visitor; - - return $this; - } - - /** - * Get a visitor by key value name - * - * @param string $key Key name to retrieve - * - * @return mixed - * @throws InvalidArgumentException - */ - private function getKey($key) - { - if (!isset($this->cache[$key])) { - if (!isset($this->mappings[$key])) { - list($type, $name) = explode('.', $key); - throw new InvalidArgumentException("No {$type} visitor has been mapped for {$name}"); - } - $this->cache[$key] = new $this->mappings[$key]; - } - - return $this->cache[$key]; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationCommand.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationCommand.php deleted file mode 100644 index 7491859..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationCommand.php +++ /dev/null @@ -1,101 +0,0 @@ -responseParser = $parser; - - return $this; - } - - /** - * Set the request serializer used with the command - * - * @param RequestSerializerInterface $serializer Request serializer - * - * @return self - */ - public function setRequestSerializer(RequestSerializerInterface $serializer) - { - $this->requestSerializer = $serializer; - - return $this; - } - - /** - * Get the request serializer used with the command - * - * @return RequestSerializerInterface - */ - public function getRequestSerializer() - { - if (!$this->requestSerializer) { - // Use the default request serializer if none was found - $this->requestSerializer = DefaultRequestSerializer::getInstance(); - } - - return $this->requestSerializer; - } - - /** - * Get the response parser used for the operation - * - * @return ResponseParserInterface - */ - public function getResponseParser() - { - if (!$this->responseParser) { - // Use the default response parser if none was found - $this->responseParser = OperationResponseParser::getInstance(); - } - - return $this->responseParser; - } - - /** - * {@inheritdoc} - */ - protected function build() - { - // Prepare and serialize the request - $this->request = $this->getRequestSerializer()->prepare($this); - } - - /** - * {@inheritdoc} - */ - protected function process() - { - // Do not process the response if 'command.response_processing' is set to 'raw' - $this->result = $this->get(self::RESPONSE_PROCESSING) == self::TYPE_RAW - ? $this->request->getResponse() - : $this->getResponseParser()->parse($this); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationResponseParser.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationResponseParser.php deleted file mode 100644 index 66b6214..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationResponseParser.php +++ /dev/null @@ -1,168 +0,0 @@ -factory = $factory; - } - - /** - * Add a location visitor to the command - * - * @param string $location Location to associate with the visitor - * @param ResponseVisitorInterface $visitor Visitor to attach - * - * @return self - */ - public function addVisitor($location, ResponseVisitorInterface $visitor) - { - $this->factory->addResponseVisitor($location, $visitor); - - return $this; - } - - /** - * {@inheritdoc} - */ - protected function handleParsing(AbstractCommand $command, Response $response, $contentType) - { - $operation = $command->getOperation(); - $type = $operation->getResponseType(); - $model = null; - - if ($type == OperationInterface::TYPE_MODEL) { - $model = $operation->getServiceDescription()->getModel($operation->getResponseClass()); - } elseif ($type == OperationInterface::TYPE_CLASS) { - $responseClassInterface = __NAMESPACE__ . '\ResponseClassInterface'; - $className = $operation->getResponseClass(); - if (!class_exists($className)) { - throw new ResponseClassException("{$className} does not exist"); - } elseif (!is_subclass_of($className, $responseClassInterface)) { - throw new ResponseClassException("{$className} must implement {$responseClassInterface}"); - } - return $className::fromCommand($command); - } - - if (!$model) { - // Return basic processing if the responseType is not model or the model cannot be found - return parent::handleParsing($command, $response, $contentType); - } elseif ($command->get(AbstractCommand::RESPONSE_PROCESSING) != AbstractCommand::TYPE_MODEL) { - // Returns a model with no visiting if the command response processing is not model - return new Model(parent::handleParsing($command, $response, $contentType), $model); - } else { - return new Model($this->visitResult($model, $command, $response), $model); - } - } - - /** - * Perform transformations on the result array - * - * @param Parameter $model Model that defines the structure - * @param CommandInterface $command Command that performed the operation - * @param Response $response Response received - * - * @return array Returns the array of result data - */ - protected function visitResult( - Parameter $model, - CommandInterface $command, - Response $response - ) { - $foundVisitors = $result = array(); - $props = $model->getProperties(); - - foreach ($props as $schema) { - if ($location = $schema->getLocation()) { - // Trigger the before method on the first found visitor of this type - if (!isset($foundVisitors[$location])) { - $foundVisitors[$location] = $this->factory->getResponseVisitor($location); - $foundVisitors[$location]->before($command, $result); - } - } - } - - // Visit additional properties when it is an actual schema - if ($additional = $model->getAdditionalProperties()) { - if ($additional instanceof Parameter) { - // Only visit when a location is specified - if ($location = $additional->getLocation()) { - if (!isset($foundVisitors[$location])) { - $foundVisitors[$location] = $this->factory->getResponseVisitor($location); - $foundVisitors[$location]->before($command, $result); - } - // Only traverse if an array was parsed from the before() visitors - if (is_array($result)) { - // Find each additional property - foreach (array_keys($result) as $key) { - // Check if the model actually knows this property. If so, then it is not additional - if (!$model->getProperty($key)) { - // Set the name to the key so that we can parse it with each visitor - $additional->setName($key); - $foundVisitors[$location]->visit($command, $response, $additional, $result); - } - } - // Reset the additionalProperties name to null - $additional->setName(null); - } - } - } - } - - // Apply the parameter value with the location visitor - foreach ($props as $schema) { - if ($location = $schema->getLocation()) { - $foundVisitors[$location]->visit($command, $response, $schema, $result); - } - } - - // Call the after() method of each found visitor - foreach ($foundVisitors as $visitor) { - $visitor->after($command); - } - - return $result; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php deleted file mode 100644 index 60b9334..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php +++ /dev/null @@ -1,21 +0,0 @@ - true, 'httpMethod' => true, 'uri' => true, 'class' => true, 'responseClass' => true, - 'responseType' => true, 'responseNotes' => true, 'notes' => true, 'summary' => true, 'documentationUrl' => true, - 'deprecated' => true, 'data' => true, 'parameters' => true, 'errorResponses' => true - ); - - /** - * @var array Parameters - */ - protected $parameters = array(); - - /** - * @var string Name of the command - */ - protected $name; - - /** - * @var string HTTP method - */ - protected $httpMethod; - - /** - * @var string This is a short summary of what the operation does - */ - protected $summary; - - /** - * @var string A longer text field to explain the behavior of the operation. - */ - protected $notes; - - /** - * @var string Reference URL providing more information about the operation - */ - protected $documentationUrl; - - /** - * @var string HTTP URI of the command - */ - protected $uri; - - /** - * @var string Class of the command object - */ - protected $class; - - /** - * @var string This is what is returned from the method - */ - protected $responseClass; - - /** - * @var string Type information about the response - */ - protected $responseType; - - /** - * @var string Information about the response returned by the operation - */ - protected $responseNotes; - - /** - * @var bool Whether or not the command is deprecated - */ - protected $deprecated; - - /** - * @var array Array of errors that could occur when running the command - */ - protected $errorResponses; - - /** - * @var ServiceDescriptionInterface - */ - protected $description; - - /** - * @var array Extra operation information - */ - protected $data; - - /** - * Builds an Operation object using an array of configuration data: - * - name: (string) Name of the command - * - httpMethod: (string) HTTP method of the operation - * - uri: (string) URI template that can create a relative or absolute URL - * - class: (string) Concrete class that implements this command - * - parameters: (array) Associative array of parameters for the command. {@see Parameter} for information. - * - summary: (string) This is a short summary of what the operation does - * - notes: (string) A longer text field to explain the behavior of the operation. - * - documentationUrl: (string) Reference URL providing more information about the operation - * - responseClass: (string) This is what is returned from the method. Can be a primitive, PSR-0 compliant - * class name, or model. - * - responseNotes: (string) Information about the response returned by the operation - * - responseType: (string) One of 'primitive', 'class', 'model', or 'documentation'. If not specified, this - * value will be automatically inferred based on whether or not there is a model matching the - * name, if a matching PSR-0 compliant class name is found, or set to 'primitive' by default. - * - deprecated: (bool) Set to true if this is a deprecated command - * - errorResponses: (array) Errors that could occur when executing the command. Array of hashes, each with a - * 'code' (the HTTP response code), 'phrase' (response reason phrase or description of the - * error), and 'class' (a custom exception class that would be thrown if the error is - * encountered). - * - data: (array) Any extra data that might be used to help build or serialize the operation - * - * @param array $config Array of configuration data - * @param ServiceDescriptionInterface $description Service description used to resolve models if $ref tags are found - */ - public function __construct(array $config = array(), ServiceDescriptionInterface $description = null) - { - $this->description = $description; - - // Get the intersection of the available properties and properties set on the operation - foreach (array_intersect_key($config, self::$properties) as $key => $value) { - $this->{$key} = $value; - } - - $this->class = $this->class ?: self::DEFAULT_COMMAND_CLASS; - $this->deprecated = (bool) $this->deprecated; - $this->errorResponses = $this->errorResponses ?: array(); - $this->data = $this->data ?: array(); - - if (!$this->responseClass) { - $this->responseClass = 'array'; - $this->responseType = 'primitive'; - } elseif ($this->responseType) { - // Set the response type to perform validation - $this->setResponseType($this->responseType); - } else { - // A response class was set and no response type was set, so guess what the type is - $this->inferResponseType(); - } - - // Parameters need special handling when adding - if (!empty($config['parameters'])) { - $this->parameters = array(); - foreach ($config['parameters'] as $name => $param) { - if ($param instanceof Parameter) { - $param->setName($name)->setParent($this); - $this->parameters[$name] = $param; - } elseif (is_array($param)) { - $param['name'] = $name; - $this->addParam(new Parameter($param, $this->description)); - } - } - } - } - - /** - * {@inheritdoc} - */ - public function toArray() - { - $result = array(); - // Grab valid properties and filter out values that weren't set - foreach (array_keys(self::$properties) as $check) { - if ($value = $this->{$check}) { - $result[$check] = $value; - } - } - // Remove the name property - unset($result['name']); - // Parameters need to be converted to arrays - $result['parameters'] = array(); - foreach ($this->parameters as $key => $param) { - $result['parameters'][$key] = $param->toArray(); - } - - return $result; - } - - /** - * {@inheritdoc} - */ - public function getServiceDescription() - { - return $this->description; - } - - /** - * {@inheritdoc} - */ - public function setServiceDescription(ServiceDescriptionInterface $description) - { - $this->description = $description; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getParams() - { - return $this->parameters; - } - - /** - * {@inheritdoc} - */ - public function getParamNames() - { - return array_keys($this->parameters); - } - - /** - * {@inheritdoc} - */ - public function hasParam($name) - { - return isset($this->parameters[$name]); - } - - /** - * {@inheritdoc} - */ - public function getParam($param) - { - return isset($this->parameters[$param]) ? $this->parameters[$param] : null; - } - - /** - * Add a parameter to the command - * - * @param Parameter $param Parameter to add - * - * @return self - */ - public function addParam(Parameter $param) - { - $this->parameters[$param->getName()] = $param; - $param->setParent($this); - - return $this; - } - - /** - * Remove a parameter from the command - * - * @param string $name Name of the parameter to remove - * - * @return self - */ - public function removeParam($name) - { - unset($this->parameters[$name]); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getHttpMethod() - { - return $this->httpMethod; - } - - /** - * Set the HTTP method of the command - * - * @param string $httpMethod Method to set - * - * @return self - */ - public function setHttpMethod($httpMethod) - { - $this->httpMethod = $httpMethod; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getClass() - { - return $this->class; - } - - /** - * Set the concrete class of the command - * - * @param string $className Concrete class name - * - * @return self - */ - public function setClass($className) - { - $this->class = $className; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getName() - { - return $this->name; - } - - /** - * Set the name of the command - * - * @param string $name Name of the command - * - * @return self - */ - public function setName($name) - { - $this->name = $name; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getSummary() - { - return $this->summary; - } - - /** - * Set a short summary of what the operation does - * - * @param string $summary Short summary of the operation - * - * @return self - */ - public function setSummary($summary) - { - $this->summary = $summary; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getNotes() - { - return $this->notes; - } - - /** - * Set a longer text field to explain the behavior of the operation. - * - * @param string $notes Notes on the operation - * - * @return self - */ - public function setNotes($notes) - { - $this->notes = $notes; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getDocumentationUrl() - { - return $this->documentationUrl; - } - - /** - * Set the URL pointing to additional documentation on the command - * - * @param string $docUrl Documentation URL - * - * @return self - */ - public function setDocumentationUrl($docUrl) - { - $this->documentationUrl = $docUrl; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getResponseClass() - { - return $this->responseClass; - } - - /** - * Set what is returned from the method. Can be a primitive, class name, or model. For example: 'array', - * 'Guzzle\\Foo\\Baz', or 'MyModelName' (to reference a model by ID). - * - * @param string $responseClass Type of response - * - * @return self - */ - public function setResponseClass($responseClass) - { - $this->responseClass = $responseClass; - $this->inferResponseType(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getResponseType() - { - return $this->responseType; - } - - /** - * Set qualifying information about the responseClass. One of 'primitive', 'class', 'model', or 'documentation' - * - * @param string $responseType Response type information - * - * @return self - * @throws InvalidArgumentException - */ - public function setResponseType($responseType) - { - static $types = array( - self::TYPE_PRIMITIVE => true, - self::TYPE_CLASS => true, - self::TYPE_MODEL => true, - self::TYPE_DOCUMENTATION => true - ); - if (!isset($types[$responseType])) { - throw new InvalidArgumentException('responseType must be one of ' . implode(', ', array_keys($types))); - } - - $this->responseType = $responseType; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getResponseNotes() - { - return $this->responseNotes; - } - - /** - * Set notes about the response of the operation - * - * @param string $notes Response notes - * - * @return self - */ - public function setResponseNotes($notes) - { - $this->responseNotes = $notes; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getDeprecated() - { - return $this->deprecated; - } - - /** - * Set whether or not the command is deprecated - * - * @param bool $isDeprecated Set to true to mark as deprecated - * - * @return self - */ - public function setDeprecated($isDeprecated) - { - $this->deprecated = $isDeprecated; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getUri() - { - return $this->uri; - } - - /** - * Set the URI template of the command - * - * @param string $uri URI template to set - * - * @return self - */ - public function setUri($uri) - { - $this->uri = $uri; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getErrorResponses() - { - return $this->errorResponses; - } - - /** - * Add an error to the command - * - * @param string $code HTTP response code - * @param string $reason HTTP response reason phrase or information about the error - * @param string $class Exception class associated with the error - * - * @return self - */ - public function addErrorResponse($code, $reason, $class) - { - $this->errorResponses[] = array('code' => $code, 'reason' => $reason, 'class' => $class); - - return $this; - } - - /** - * Set all of the error responses of the operation - * - * @param array $errorResponses Hash of error name to a hash containing a code, reason, class - * - * @return self - */ - public function setErrorResponses(array $errorResponses) - { - $this->errorResponses = $errorResponses; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getData($name) - { - return isset($this->data[$name]) ? $this->data[$name] : null; - } - - /** - * Set a particular data point on the operation - * - * @param string $name Name of the data value - * @param mixed $value Value to set - * - * @return self - */ - public function setData($name, $value) - { - $this->data[$name] = $value; - - return $this; - } - - /** - * Infer the response type from the responseClass value - */ - protected function inferResponseType() - { - if (!$this->responseClass || $this->responseClass == 'array' || $this->responseClass == 'string' - || $this->responseClass == 'boolean' || $this->responseClass == 'integer' - ) { - $this->responseType = self::TYPE_PRIMITIVE; - } elseif ($this->description && $this->description->hasModel($this->responseClass)) { - $this->responseType = self::TYPE_MODEL; - } elseif (strpos($this->responseClass, '\\') !== false) { - $this->responseType = self::TYPE_CLASS; - } else { - $this->responseType = self::TYPE_PRIMITIVE; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/OperationInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/OperationInterface.php deleted file mode 100644 index 4de41bd..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/OperationInterface.php +++ /dev/null @@ -1,159 +0,0 @@ -getModel($data['$ref'])) { - $data = $model->toArray(); - } - } elseif (isset($data['extends'])) { - // If this parameter extends from another parameter then start with the actual data - // union in the parent's data (e.g. actual supersedes parent) - if ($extends = $description->getModel($data['extends'])) { - $data += $extends->toArray(); - } - } - } - - // Pull configuration data into the parameter - foreach ($data as $key => $value) { - $this->{$key} = $value; - } - - $this->serviceDescription = $description; - $this->required = (bool) $this->required; - $this->data = (array) $this->data; - - if ($this->filters) { - $this->setFilters((array) $this->filters); - } - - if ($this->type == 'object' && $this->additionalProperties === null) { - $this->additionalProperties = true; - } - } - - /** - * Convert the object to an array - * - * @return array - */ - public function toArray() - { - $result = array(); - $checks = array('required', 'description', 'static', 'type', 'format', 'instanceOf', 'location', 'sentAs', - 'pattern', 'minimum', 'maximum', 'minItems', 'maxItems', 'minLength', 'maxLength', 'data', 'enum', - 'filters'); - - // Anything that is in the `Items` attribute of an array *must* include it's name if available - if ($this->parent instanceof self && $this->parent->getType() == 'array' && isset($this->name)) { - $result['name'] = $this->name; - } - - foreach ($checks as $c) { - if ($value = $this->{$c}) { - $result[$c] = $value; - } - } - - if ($this->default !== null) { - $result['default'] = $this->default; - } - - if ($this->items !== null) { - $result['items'] = $this->getItems()->toArray(); - } - - if ($this->additionalProperties !== null) { - $result['additionalProperties'] = $this->getAdditionalProperties(); - if ($result['additionalProperties'] instanceof self) { - $result['additionalProperties'] = $result['additionalProperties']->toArray(); - } - } - - if ($this->type == 'object' && $this->properties) { - $result['properties'] = array(); - foreach ($this->getProperties() as $name => $property) { - $result['properties'][$name] = $property->toArray(); - } - } - - return $result; - } - - /** - * Get the default or static value of the command based on a value - * - * @param string $value Value that is currently set - * - * @return mixed Returns the value, a static value if one is present, or a default value - */ - public function getValue($value) - { - return $this->static || ($this->default !== null && !$value && ($this->type != 'boolean' || $value !== false)) - ? $this->default - : $value; - } - - /** - * Run a value through the filters OR format attribute associated with the parameter - * - * @param mixed $value Value to filter - * - * @return mixed Returns the filtered value - */ - public function filter($value) - { - // Formats are applied exclusively and supersed filters - if ($this->format) { - return SchemaFormatter::format($this->format, $value); - } - - // Convert Boolean values - if ($this->type == 'boolean' && !is_bool($value)) { - $value = filter_var($value, FILTER_VALIDATE_BOOLEAN); - } - - // Apply filters to the value - if ($this->filters) { - foreach ($this->filters as $filter) { - if (is_array($filter)) { - // Convert complex filters that hold value place holders - foreach ($filter['args'] as &$data) { - if ($data == '@value') { - $data = $value; - } elseif ($data == '@api') { - $data = $this; - } - } - $value = call_user_func_array($filter['method'], $filter['args']); - } else { - $value = call_user_func($filter, $value); - } - } - } - - return $value; - } - - /** - * Get the name of the parameter - * - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Get the key of the parameter, where sentAs will supersede name if it is set - * - * @return string - */ - public function getWireName() - { - return $this->sentAs ?: $this->name; - } - - /** - * Set the name of the parameter - * - * @param string $name Name to set - * - * @return self - */ - public function setName($name) - { - $this->name = $name; - - return $this; - } - - /** - * Get the type(s) of the parameter - * - * @return string|array - */ - public function getType() - { - return $this->type; - } - - /** - * Set the type(s) of the parameter - * - * @param string|array $type Type of parameter or array of simple types used in a union - * - * @return self - */ - public function setType($type) - { - $this->type = $type; - - return $this; - } - - /** - * Get if the parameter is required - * - * @return bool - */ - public function getRequired() - { - return $this->required; - } - - /** - * Set if the parameter is required - * - * @param bool $isRequired Whether or not the parameter is required - * - * @return self - */ - public function setRequired($isRequired) - { - $this->required = (bool) $isRequired; - - return $this; - } - - /** - * Get the default value of the parameter - * - * @return string|null - */ - public function getDefault() - { - return $this->default; - } - - /** - * Set the default value of the parameter - * - * @param string|null $default Default value to set - * - * @return self - */ - public function setDefault($default) - { - $this->default = $default; - - return $this; - } - - /** - * Get the description of the parameter - * - * @return string|null - */ - public function getDescription() - { - return $this->description; - } - - /** - * Set the description of the parameter - * - * @param string $description Description - * - * @return self - */ - public function setDescription($description) - { - $this->description = $description; - - return $this; - } - - /** - * Get the minimum acceptable value for an integer - * - * @return int|null - */ - public function getMinimum() - { - return $this->minimum; - } - - /** - * Set the minimum acceptable value for an integer - * - * @param int|null $min Minimum - * - * @return self - */ - public function setMinimum($min) - { - $this->minimum = $min; - - return $this; - } - - /** - * Get the maximum acceptable value for an integer - * - * @return int|null - */ - public function getMaximum() - { - return $this->maximum; - } - - /** - * Set the maximum acceptable value for an integer - * - * @param int $max Maximum - * - * @return self - */ - public function setMaximum($max) - { - $this->maximum = $max; - - return $this; - } - - /** - * Get the minimum allowed length of a string value - * - * @return int - */ - public function getMinLength() - { - return $this->minLength; - } - - /** - * Set the minimum allowed length of a string value - * - * @param int|null $min Minimum - * - * @return self - */ - public function setMinLength($min) - { - $this->minLength = $min; - - return $this; - } - - /** - * Get the maximum allowed length of a string value - * - * @return int|null - */ - public function getMaxLength() - { - return $this->maxLength; - } - - /** - * Set the maximum allowed length of a string value - * - * @param int $max Maximum length - * - * @return self - */ - public function setMaxLength($max) - { - $this->maxLength = $max; - - return $this; - } - - /** - * Get the maximum allowed number of items in an array value - * - * @return int|null - */ - public function getMaxItems() - { - return $this->maxItems; - } - - /** - * Set the maximum allowed number of items in an array value - * - * @param int $max Maximum - * - * @return self - */ - public function setMaxItems($max) - { - $this->maxItems = $max; - - return $this; - } - - /** - * Get the minimum allowed number of items in an array value - * - * @return int - */ - public function getMinItems() - { - return $this->minItems; - } - - /** - * Set the minimum allowed number of items in an array value - * - * @param int|null $min Minimum - * - * @return self - */ - public function setMinItems($min) - { - $this->minItems = $min; - - return $this; - } - - /** - * Get the location of the parameter - * - * @return string|null - */ - public function getLocation() - { - return $this->location; - } - - /** - * Set the location of the parameter - * - * @param string|null $location Location of the parameter - * - * @return self - */ - public function setLocation($location) - { - $this->location = $location; - - return $this; - } - - /** - * Get the sentAs attribute of the parameter that used with locations to sentAs an attribute when it is being - * applied to a location. - * - * @return string|null - */ - public function getSentAs() - { - return $this->sentAs; - } - - /** - * Set the sentAs attribute - * - * @param string|null $name Name of the value as it is sent over the wire - * - * @return self - */ - public function setSentAs($name) - { - $this->sentAs = $name; - - return $this; - } - - /** - * Retrieve a known property from the parameter by name or a data property by name. When not specific name value - * is specified, all data properties will be returned. - * - * @param string|null $name Specify a particular property name to retrieve - * - * @return array|mixed|null - */ - public function getData($name = null) - { - if (!$name) { - return $this->data; - } - - if (isset($this->data[$name])) { - return $this->data[$name]; - } elseif (isset($this->{$name})) { - return $this->{$name}; - } - - return null; - } - - /** - * Set the extra data properties of the parameter or set a specific extra property - * - * @param string|array|null $nameOrData The name of a specific extra to set or an array of extras to set - * @param mixed|null $data When setting a specific extra property, specify the data to set for it - * - * @return self - */ - public function setData($nameOrData, $data = null) - { - if (is_array($nameOrData)) { - $this->data = $nameOrData; - } else { - $this->data[$nameOrData] = $data; - } - - return $this; - } - - /** - * Get whether or not the default value can be changed - * - * @return mixed|null - */ - public function getStatic() - { - return $this->static; - } - - /** - * Set to true if the default value cannot be changed - * - * @param bool $static True or false - * - * @return self - */ - public function setStatic($static) - { - $this->static = (bool) $static; - - return $this; - } - - /** - * Get an array of filters used by the parameter - * - * @return array - */ - public function getFilters() - { - return $this->filters ?: array(); - } - - /** - * Set the array of filters used by the parameter - * - * @param array $filters Array of functions to use as filters - * - * @return self - */ - public function setFilters(array $filters) - { - $this->filters = array(); - foreach ($filters as $filter) { - $this->addFilter($filter); - } - - return $this; - } - - /** - * Add a filter to the parameter - * - * @param string|array $filter Method to filter the value through - * - * @return self - * @throws InvalidArgumentException - */ - public function addFilter($filter) - { - if (is_array($filter)) { - if (!isset($filter['method'])) { - throw new InvalidArgumentException('A [method] value must be specified for each complex filter'); - } - } - - if (!$this->filters) { - $this->filters = array($filter); - } else { - $this->filters[] = $filter; - } - - return $this; - } - - /** - * Get the parent object (an {@see OperationInterface} or {@see Parameter} - * - * @return OperationInterface|Parameter|null - */ - public function getParent() - { - return $this->parent; - } - - /** - * Set the parent object of the parameter - * - * @param OperationInterface|Parameter|null $parent Parent container of the parameter - * - * @return self - */ - public function setParent($parent) - { - $this->parent = $parent; - - return $this; - } - - /** - * Get the properties of the parameter - * - * @return array - */ - public function getProperties() - { - if (!$this->propertiesCache) { - $this->propertiesCache = array(); - foreach (array_keys($this->properties) as $name) { - $this->propertiesCache[$name] = $this->getProperty($name); - } - } - - return $this->propertiesCache; - } - - /** - * Get a specific property from the parameter - * - * @param string $name Name of the property to retrieve - * - * @return null|Parameter - */ - public function getProperty($name) - { - if (!isset($this->properties[$name])) { - return null; - } - - if (!($this->properties[$name] instanceof self)) { - $this->properties[$name]['name'] = $name; - $this->properties[$name] = new static($this->properties[$name], $this->serviceDescription); - $this->properties[$name]->setParent($this); - } - - return $this->properties[$name]; - } - - /** - * Remove a property from the parameter - * - * @param string $name Name of the property to remove - * - * @return self - */ - public function removeProperty($name) - { - unset($this->properties[$name]); - $this->propertiesCache = null; - - return $this; - } - - /** - * Add a property to the parameter - * - * @param Parameter $property Properties to set - * - * @return self - */ - public function addProperty(Parameter $property) - { - $this->properties[$property->getName()] = $property; - $property->setParent($this); - $this->propertiesCache = null; - - return $this; - } - - /** - * Get the additionalProperties value of the parameter - * - * @return bool|Parameter|null - */ - public function getAdditionalProperties() - { - if (is_array($this->additionalProperties)) { - $this->additionalProperties = new static($this->additionalProperties, $this->serviceDescription); - $this->additionalProperties->setParent($this); - } - - return $this->additionalProperties; - } - - /** - * Set the additionalProperties value of the parameter - * - * @param bool|Parameter|null $additional Boolean to allow any, an Parameter to specify a schema, or false to disallow - * - * @return self - */ - public function setAdditionalProperties($additional) - { - $this->additionalProperties = $additional; - - return $this; - } - - /** - * Set the items data of the parameter - * - * @param Parameter|null $items Items to set - * - * @return self - */ - public function setItems(Parameter $items = null) - { - if ($this->items = $items) { - $this->items->setParent($this); - } - - return $this; - } - - /** - * Get the item data of the parameter - * - * @return Parameter|null - */ - public function getItems() - { - if (is_array($this->items)) { - $this->items = new static($this->items, $this->serviceDescription); - $this->items->setParent($this); - } - - return $this->items; - } - - /** - * Get the class that the parameter must implement - * - * @return null|string - */ - public function getInstanceOf() - { - return $this->instanceOf; - } - - /** - * Set the class that the parameter must be an instance of - * - * @param string|null $instanceOf Class or interface name - * - * @return self - */ - public function setInstanceOf($instanceOf) - { - $this->instanceOf = $instanceOf; - - return $this; - } - - /** - * Get the enum of strings that are valid for the parameter - * - * @return array|null - */ - public function getEnum() - { - return $this->enum; - } - - /** - * Set the enum of strings that are valid for the parameter - * - * @param array|null $enum Array of strings or null - * - * @return self - */ - public function setEnum(array $enum = null) - { - $this->enum = $enum; - - return $this; - } - - /** - * Get the regex pattern that must match a value when the value is a string - * - * @return string - */ - public function getPattern() - { - return $this->pattern; - } - - /** - * Set the regex pattern that must match a value when the value is a string - * - * @param string $pattern Regex pattern - * - * @return self - */ - public function setPattern($pattern) - { - $this->pattern = $pattern; - - return $this; - } - - /** - * Get the format attribute of the schema - * - * @return string - */ - public function getFormat() - { - return $this->format; - } - - /** - * Set the format attribute of the schema - * - * @param string $format Format to set (e.g. date, date-time, timestamp, time, date-time-http) - * - * @return self - */ - public function setFormat($format) - { - $this->format = $format; - - return $this; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaFormatter.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaFormatter.php deleted file mode 100644 index 47c944a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaFormatter.php +++ /dev/null @@ -1,155 +0,0 @@ -format($format); - } elseif (is_numeric($dateTime)) { - return gmdate($format, (int) $dateTime); - } elseif ($dateTime instanceof \DateTime) { - return $dateTime->setTimezone(self::getUtcTimeZone())->format($format); - } - - throw new InvalidArgumentException('Date/Time values must be either a string, integer, or DateTime object'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaValidator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaValidator.php deleted file mode 100644 index 16e67f4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaValidator.php +++ /dev/null @@ -1,299 +0,0 @@ -castIntegerToStringType = $castIntegerToStringType; - } - - /** - * {@inheritdoc} - */ - public function validate(Parameter $param, &$value) - { - $this->errors = array(); - $this->recursiveProcess($param, $value); - - if (empty($this->errors)) { - return true; - } else { - sort($this->errors); - return false; - } - } - - /** - * Get the errors encountered while validating - * - * @return array - */ - public function getErrors() - { - return $this->errors ?: array(); - } - - /** - * Recursively validate a parameter - * - * @param Parameter $param API parameter being validated - * @param mixed $value Value to validate and validate. The value may change during this validate. - * @param string $path Current validation path (used for error reporting) - * @param int $depth Current depth in the validation validate - * - * @return bool Returns true if valid, or false if invalid - */ - protected function recursiveProcess(Parameter $param, &$value, $path = '', $depth = 0) - { - // Update the value by adding default or static values - $value = $param->getValue($value); - - $required = $param->getRequired(); - // if the value is null and the parameter is not required or is static, then skip any further recursion - if ((null === $value && !$required) || $param->getStatic()) { - return true; - } - - $type = $param->getType(); - // Attempt to limit the number of times is_array is called by tracking if the value is an array - $valueIsArray = is_array($value); - // If a name is set then update the path so that validation messages are more helpful - if ($name = $param->getName()) { - $path .= "[{$name}]"; - } - - if ($type == 'object') { - - // Objects are either associative arrays, ToArrayInterface, or some other object - if ($param->getInstanceOf()) { - $instance = $param->getInstanceOf(); - if (!($value instanceof $instance)) { - $this->errors[] = "{$path} must be an instance of {$instance}"; - return false; - } - } - - // Determine whether or not this "value" has properties and should be traversed - $traverse = $temporaryValue = false; - - // Convert the value to an array - if (!$valueIsArray && $value instanceof ToArrayInterface) { - $value = $value->toArray(); - } - - if ($valueIsArray) { - // Ensure that the array is associative and not numerically indexed - if (isset($value[0])) { - $this->errors[] = "{$path} must be an array of properties. Got a numerically indexed array."; - return false; - } - $traverse = true; - } elseif ($value === null) { - // Attempt to let the contents be built up by default values if possible - $value = array(); - $temporaryValue = $valueIsArray = $traverse = true; - } - - if ($traverse) { - - if ($properties = $param->getProperties()) { - // if properties were found, the validate each property of the value - foreach ($properties as $property) { - $name = $property->getName(); - if (isset($value[$name])) { - $this->recursiveProcess($property, $value[$name], $path, $depth + 1); - } else { - $current = null; - $this->recursiveProcess($property, $current, $path, $depth + 1); - // Only set the value if it was populated with something - if ($current) { - $value[$name] = $current; - } - } - } - } - - $additional = $param->getAdditionalProperties(); - if ($additional !== true) { - // If additional properties were found, then validate each against the additionalProperties attr. - $keys = array_keys($value); - // Determine the keys that were specified that were not listed in the properties of the schema - $diff = array_diff($keys, array_keys($properties)); - if (!empty($diff)) { - // Determine which keys are not in the properties - if ($additional instanceOf Parameter) { - foreach ($diff as $key) { - $this->recursiveProcess($additional, $value[$key], "{$path}[{$key}]", $depth); - } - } else { - // if additionalProperties is set to false and there are additionalProperties in the values, then fail - $keys = array_keys($value); - $this->errors[] = sprintf('%s[%s] is not an allowed property', $path, reset($keys)); - } - } - } - - // A temporary value will be used to traverse elements that have no corresponding input value. - // This allows nested required parameters with default values to bubble up into the input. - // Here we check if we used a temp value and nothing bubbled up, then we need to remote the value. - if ($temporaryValue && empty($value)) { - $value = null; - $valueIsArray = false; - } - } - - } elseif ($type == 'array' && $valueIsArray && $param->getItems()) { - foreach ($value as $i => &$item) { - // Validate each item in an array against the items attribute of the schema - $this->recursiveProcess($param->getItems(), $item, $path . "[{$i}]", $depth + 1); - } - } - - // If the value is required and the type is not null, then there is an error if the value is not set - if ($required && $value === null && $type != 'null') { - $message = "{$path} is " . ($param->getType() ? ('a required ' . $param->getType()) : 'required'); - if ($param->getDescription()) { - $message .= ': ' . $param->getDescription(); - } - $this->errors[] = $message; - return false; - } - - // Validate that the type is correct. If the type is string but an integer was passed, the class can be - // instructed to cast the integer to a string to pass validation. This is the default behavior. - if ($type && (!$type = $this->determineType($type, $value))) { - if ($this->castIntegerToStringType && $param->getType() == 'string' && is_integer($value)) { - $value = (string) $value; - } else { - $this->errors[] = "{$path} must be of type " . implode(' or ', (array) $param->getType()); - } - } - - // Perform type specific validation for strings, arrays, and integers - if ($type == 'string') { - - // Strings can have enums which are a list of predefined values - if (($enum = $param->getEnum()) && !in_array($value, $enum)) { - $this->errors[] = "{$path} must be one of " . implode(' or ', array_map(function ($s) { - return '"' . addslashes($s) . '"'; - }, $enum)); - } - // Strings can have a regex pattern that the value must match - if (($pattern = $param->getPattern()) && !preg_match($pattern, $value)) { - $this->errors[] = "{$path} must match the following regular expression: {$pattern}"; - } - - $strLen = null; - if ($min = $param->getMinLength()) { - $strLen = strlen($value); - if ($strLen < $min) { - $this->errors[] = "{$path} length must be greater than or equal to {$min}"; - } - } - if ($max = $param->getMaxLength()) { - if (($strLen ?: strlen($value)) > $max) { - $this->errors[] = "{$path} length must be less than or equal to {$max}"; - } - } - - } elseif ($type == 'array') { - - $size = null; - if ($min = $param->getMinItems()) { - $size = count($value); - if ($size < $min) { - $this->errors[] = "{$path} must contain {$min} or more elements"; - } - } - if ($max = $param->getMaxItems()) { - if (($size ?: count($value)) > $max) { - $this->errors[] = "{$path} must contain {$max} or fewer elements"; - } - } - - } elseif ($type == 'integer' || $type == 'numeric') { - if (($min = $param->getMinimum()) && $value < $min) { - $this->errors[] = "{$path} must be greater than or equal to {$min}"; - } - if (($max = $param->getMaximum()) && $value > $max) { - $this->errors[] = "{$path} must be less than or equal to {$max}"; - } - } - - return empty($this->errors); - } - - /** - * From the allowable types, determine the type that the variable matches - * - * @param string $type Parameter type - * @param mixed $value Value to determine the type - * - * @return string|bool Returns the matching type on - */ - protected function determineType($type, $value) - { - foreach ((array) $type as $t) { - if ($t == 'string' && (is_string($value) || (is_object($value) && method_exists($value, '__toString')))) { - return 'string'; - } elseif ($t == 'object' && (is_array($value) || is_object($value))) { - return 'object'; - } elseif ($t == 'array' && is_array($value)) { - return 'array'; - } elseif ($t == 'integer' && is_integer($value)) { - return 'integer'; - } elseif ($t == 'boolean' && is_bool($value)) { - return 'boolean'; - } elseif ($t == 'numeric' && is_numeric($value)) { - return 'numeric'; - } elseif ($t == 'null' && !$value) { - return 'null'; - } elseif ($t == 'any') { - return 'any'; - } - } - - return false; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescription.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescription.php deleted file mode 100644 index 36a35ed..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescription.php +++ /dev/null @@ -1,329 +0,0 @@ -load($config, $options); - } - - /** - * Create a new ServiceDescription - * - * @param array $config Array of configuration data - */ - public function __construct(array $config = array()) - { - $this->fromArray($config); - } - - /** - * Serialize the service description - * - * @return string - */ - public function serialize() - { - $result = array( - 'name' => $this->name, - 'apiVersion' => $this->apiVersion, - 'baseUrl' => $this->baseUrl, - 'description' => $this->description - ) + $this->extraData; - $result['operations'] = array(); - foreach ($this->getOperations() as $name => $operation) { - $result['operations'][$operation->getName() ?: $name] = $operation->toArray(); - } - if (!empty($this->models)) { - $result['models'] = array(); - foreach ($this->models as $id => $model) { - $result['models'][$id] = $model instanceof Parameter ? $model->toArray(): $model; - } - } - - return json_encode(array_filter($result)); - } - - /** - * Unserialize the service description - * - * @param string|array $json JSON data - */ - public function unserialize($json) - { - $this->operations = array(); - $this->fromArray(json_decode($json, true)); - } - - /** - * {@inheritdoc} - */ - public function getBaseUrl() - { - return $this->baseUrl; - } - - /** - * Set the baseUrl of the description - * - * @param string $baseUrl Base URL of each operation - * - * @return self - */ - public function setBaseUrl($baseUrl) - { - $this->baseUrl = $baseUrl; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getOperations() - { - foreach (array_keys($this->operations) as $name) { - $this->getOperation($name); - } - - return $this->operations; - } - - /** - * {@inheritdoc} - */ - public function hasOperation($name) - { - return isset($this->operations[$name]); - } - - /** - * {@inheritdoc} - */ - public function getOperation($name) - { - // Lazily retrieve and build operations - if (!isset($this->operations[$name])) { - return null; - } - - if (!($this->operations[$name] instanceof Operation)) { - $this->operations[$name] = new Operation($this->operations[$name], $this); - } - - return $this->operations[$name]; - } - - /** - * Add a operation to the service description - * - * @param OperationInterface $operation Operation to add - * - * @return self - */ - public function addOperation(OperationInterface $operation) - { - $this->operations[$operation->getName()] = $operation->setServiceDescription($this); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getModel($id) - { - if (!isset($this->models[$id])) { - return null; - } - - if (!($this->models[$id] instanceof Parameter)) { - $this->models[$id] = new Parameter($this->models[$id], $this); - } - - return $this->models[$id]; - } - - /** - * {@inheritdoc} - */ - public function getModels() - { - // Ensure all models are converted into parameter objects - foreach (array_keys($this->models) as $id) { - $this->getModel($id); - } - - return $this->models; - } - - /** - * {@inheritdoc} - */ - public function hasModel($id) - { - return isset($this->models[$id]); - } - - /** - * Add a model to the service description - * - * @param Parameter $model Model to add - * - * @return self - */ - public function addModel(Parameter $model) - { - $this->models[$model->getName()] = $model; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getApiVersion() - { - return $this->apiVersion; - } - - /** - * {@inheritdoc} - */ - public function getName() - { - return $this->name; - } - - /** - * {@inheritdoc} - */ - public function getDescription() - { - return $this->description; - } - - /** - * {@inheritdoc} - */ - public function getData($key) - { - return isset($this->extraData[$key]) ? $this->extraData[$key] : null; - } - - /** - * {@inheritdoc} - */ - public function setData($key, $value) - { - $this->extraData[$key] = $value; - - return $this; - } - - /** - * Initialize the state from an array - * - * @param array $config Configuration data - * @throws InvalidArgumentException - */ - protected function fromArray(array $config) - { - // Keep a list of default keys used in service descriptions that is later used to determine extra data keys - $defaultKeys = array('name', 'models', 'apiVersion', 'baseUrl', 'description'); - // Pull in the default configuration values - foreach ($defaultKeys as $key) { - if (isset($config[$key])) { - $this->{$key} = $config[$key]; - } - } - - // Account for the Swagger name for Guzzle's baseUrl - if (isset($config['basePath'])) { - $this->baseUrl = $config['basePath']; - } - - // Ensure that the models and operations properties are always arrays - $this->models = (array) $this->models; - $this->operations = (array) $this->operations; - - // We want to add operations differently than adding the other properties - $defaultKeys[] = 'operations'; - - // Create operations for each operation - if (isset($config['operations'])) { - foreach ($config['operations'] as $name => $operation) { - if (!($operation instanceof Operation) && !is_array($operation)) { - throw new InvalidArgumentException('Invalid operation in service description: ' - . gettype($operation)); - } - $this->operations[$name] = $operation; - } - } - - // Get all of the additional properties of the service description and store them in a data array - foreach (array_diff(array_keys($config), $defaultKeys) as $key) { - $this->extraData[$key] = $config[$key]; - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescriptionInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescriptionInterface.php deleted file mode 100644 index 5983e58..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ServiceDescriptionInterface.php +++ /dev/null @@ -1,106 +0,0 @@ - $op) { - $name = $op['name'] = isset($op['name']) ? $op['name'] : $name; - // Extend other operations - if (!empty($op['extends'])) { - $this->resolveExtension($name, $op, $operations); - } - $op['parameters'] = isset($op['parameters']) ? $op['parameters'] : array(); - $operations[$name] = $op; - } - } - - return new ServiceDescription(array( - 'apiVersion' => isset($config['apiVersion']) ? $config['apiVersion'] : null, - 'baseUrl' => isset($config['baseUrl']) ? $config['baseUrl'] : null, - 'description' => isset($config['description']) ? $config['description'] : null, - 'operations' => $operations, - 'models' => isset($config['models']) ? $config['models'] : null - ) + $config); - } - - /** - * @param string $name Name of the operation - * @param array $op Operation value array - * @param array $operations Currently loaded operations - * @throws DescriptionBuilderException when extending a non-existent operation - */ - protected function resolveExtension($name, array &$op, array &$operations) - { - $resolved = array(); - $original = empty($op['parameters']) ? false: $op['parameters']; - $hasClass = !empty($op['class']); - foreach ((array) $op['extends'] as $extendedCommand) { - if (empty($operations[$extendedCommand])) { - throw new DescriptionBuilderException("{$name} extends missing operation {$extendedCommand}"); - } - $toArray = $operations[$extendedCommand]; - $resolved = empty($resolved) - ? $toArray['parameters'] - : array_merge($resolved, $toArray['parameters']); - - $op = $op + $toArray; - if (!$hasClass && isset($toArray['class'])) { - $op['class'] = $toArray['class']; - } - } - $op['parameters'] = $original ? array_merge($resolved, $original) : $resolved; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ValidatorInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ValidatorInterface.php deleted file mode 100644 index 94ca77d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Description/ValidatorInterface.php +++ /dev/null @@ -1,28 +0,0 @@ -getMessage(), $e->getCode(), $e->getPrevious()); - - return $ce->setExceptions($e->getIterator()->getArrayCopy()) - ->setSuccessfulRequests($e->getSuccessfulRequests()) - ->setFailedRequests($e->getFailedRequests()); - } - - /** - * Get all of the commands in the transfer - * - * @return array - */ - public function getAllCommands() - { - return array_merge($this->successfulCommands, $this->failedCommands); - } - - /** - * Add to the array of successful commands - * - * @param CommandInterface $command Successful command - * - * @return self - */ - public function addSuccessfulCommand(CommandInterface $command) - { - $this->successfulCommands[] = $command; - - return $this; - } - - /** - * Add to the array of failed commands - * - * @param CommandInterface $command Failed command - * - * @return self - */ - public function addFailedCommand(CommandInterface $command) - { - $this->failedCommands[] = $command; - - return $this; - } - - /** - * Get an array of successful commands - * - * @return array - */ - public function getSuccessfulCommands() - { - return $this->successfulCommands; - } - - /** - * Get an array of failed commands - * - * @return array - */ - public function getFailedCommands() - { - return $this->failedCommands; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/DescriptionBuilderException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/DescriptionBuilderException.php deleted file mode 100644 index 1407e56..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/DescriptionBuilderException.php +++ /dev/null @@ -1,7 +0,0 @@ -invalidCommands = $commands; - parent::__construct( - 'Encountered commands in a batch transfer that use inconsistent clients. The batching ' . - 'strategy you use with a command transfer must divide command batches by client.' - ); - } - - /** - * Get the invalid commands - * - * @return array - */ - public function getCommands() - { - return $this->invalidCommands; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/ResponseClassException.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/ResponseClassException.php deleted file mode 100644 index d59ff21..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/ResponseClassException.php +++ /dev/null @@ -1,9 +0,0 @@ -errors = $errors; - } - - /** - * Get any validation errors - * - * @return array - */ - public function getErrors() - { - return $this->errors; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php deleted file mode 100644 index 20e0045..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php +++ /dev/null @@ -1,43 +0,0 @@ -canBuild($command)) { - throw new InvalidArgumentException('Iterator was not found for ' . $command->getName()); - } - - $className = $this->getClassName($command); - - return new $className($command, $options); - } - - /** - * {@inheritdoc} - */ - public function canBuild(CommandInterface $command) - { - return (bool) $this->getClassName($command); - } - - /** - * Get the name of the class to instantiate for the command - * - * @param CommandInterface $command Command that is associated with the iterator - * - * @return string - */ - abstract protected function getClassName(CommandInterface $command); -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php deleted file mode 100644 index 83c21dc..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php +++ /dev/null @@ -1,77 +0,0 @@ -factories = $factories; - } - - /** - * {@inheritdoc} - */ - public function build(CommandInterface $command, array $options = array()) - { - if (!($factory = $this->getFactory($command))) { - throw new InvalidArgumentException('Iterator was not found for ' . $command->getName()); - } - - return $factory->build($command, $options); - } - - /** - * {@inheritdoc} - */ - public function canBuild(CommandInterface $command) - { - return $this->getFactory($command) !== false; - } - - /** - * Add a factory to the composite factory - * - * @param ResourceIteratorFactoryInterface $factory Factory to add - * - * @return self - */ - public function addFactory(ResourceIteratorFactoryInterface $factory) - { - $this->factories[] = $factory; - - return $this; - } - - /** - * Get the factory that matches the command object - * - * @param CommandInterface $command Command retrieving the iterator for - * - * @return ResourceIteratorFactoryInterface|bool - */ - protected function getFactory(CommandInterface $command) - { - foreach ($this->factories as $factory) { - if ($factory->canBuild($command)) { - return $factory; - } - } - - return false; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php deleted file mode 100644 index bb44cfc..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php +++ /dev/null @@ -1,41 +0,0 @@ -map = $map; - } - - /** - * {@inheritdoc} - */ - public function getClassName(CommandInterface $command) - { - $className = $command->getName(); - - if (isset($this->map[$className])) { - return $this->map[$className]; - } elseif (isset($this->map['*'])) { - // If a wildcard was added, then always use that - return $this->map['*']; - } - - return null; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php deleted file mode 100644 index 621e6e7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php +++ /dev/null @@ -1,37 +0,0 @@ -data = $data; - $this->structure = $structure ?: new Parameter(); - } - - /** - * Get the structure of the model - * - * @return Parameter - */ - public function getStructure() - { - return $this->structure; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php deleted file mode 100644 index bc0cf6a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php +++ /dev/null @@ -1,314 +0,0 @@ -originalCommand = $command; - - // Parse options from the array of options - $this->data = $data; - $this->limit = array_key_exists('limit', $data) ? $data['limit'] : 0; - $this->pageSize = array_key_exists('page_size', $data) ? $data['page_size'] : false; - } - - /** - * Get all of the resources as an array (Warning: this could issue a large number of requests) - * - * @return array - */ - public function toArray() - { - return iterator_to_array($this, false); - } - - /** - * {@inheritdoc} - */ - public function setLimit($limit) - { - $this->limit = $limit; - $this->resetState(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function setPageSize($pageSize) - { - $this->pageSize = $pageSize; - $this->resetState(); - - return $this; - } - - /** - * Get an option from the iterator - * - * @param string $key Key of the option to retrieve - * - * @return mixed|null Returns NULL if not set or the value if set - */ - public function get($key) - { - return array_key_exists($key, $this->data) ? $this->data[$key] : null; - } - - /** - * Set an option on the iterator - * - * @param string $key Key of the option to set - * @param mixed $value Value to set for the option - * - * @return ResourceIterator - */ - public function set($key, $value) - { - $this->data[$key] = $value; - - return $this; - } - - /** - * Return the current element. - * - * @return mixed Returns the current element. - */ - public function current() - { - return $this->resources ? current($this->resources) : false; - } - - /** - * Return the key of the current element. - * - * @return mixed - */ - public function key() - { - return max(0, $this->iteratedCount - 1); - } - - /** - * Return the total number of items that have been retrieved thus far. - * - * @return int - */ - public function count() - { - return $this->retrievedCount; - } - - /** - * Get the total number of requests sent - * - * @return int - */ - public function getRequestCount() - { - return $this->requestCount; - } - - /** - * Rewind the Iterator to the first element and send the original command - */ - public function rewind() - { - // Use the original command - $this->command = clone $this->originalCommand; - $this->resetState(); - $this->next(); - } - - /** - * Check if there is a current element after calls to rewind() or next(). - * - * @return bool Returns TRUE if the current element is valid or FALSE - */ - public function valid() - { - return !$this->invalid && (!$this->resources || $this->current() || $this->nextToken) - && (!$this->limit || $this->iteratedCount < $this->limit + 1); - } - - /** - * Move forward to next element and may trigger subsequent requests - */ - public function next() - { - $this->iteratedCount++; - - // Check if a new set of resources needs to be retrieved - $sendRequest = false; - if (!$this->resources) { - $sendRequest = true; - } else { - // iterate over the internal array - $current = next($this->resources); - $sendRequest = $current === false && $this->nextToken && (!$this->limit || $this->iteratedCount < $this->limit + 1); - } - - if ($sendRequest) { - - $this->dispatch('resource_iterator.before_send', array( - 'iterator' => $this, - 'resources' => $this->resources - )); - - // Get a new command object from the original command - $this->command = clone $this->originalCommand; - // Send a request and retrieve the newly loaded resources - $this->resources = $this->sendRequest(); - $this->requestCount++; - - // If no resources were found, then the last request was not needed - // and iteration must stop - if (empty($this->resources)) { - $this->invalid = true; - } else { - // Add to the number of retrieved resources - $this->retrievedCount += count($this->resources); - // Ensure that we rewind to the beginning of the array - reset($this->resources); - } - - $this->dispatch('resource_iterator.after_send', array( - 'iterator' => $this, - 'resources' => $this->resources - )); - } - } - - /** - * Retrieve the NextToken that can be used in other iterators. - * - * @return string Returns a NextToken - */ - public function getNextToken() - { - return $this->nextToken; - } - - /** - * Returns the value that should be specified for the page size for a request that will maintain any hard limits, - * but still honor the specified pageSize if the number of items retrieved + pageSize < hard limit - * - * @return int Returns the page size of the next request. - */ - protected function calculatePageSize() - { - if ($this->limit && $this->iteratedCount + $this->pageSize > $this->limit) { - return 1 + ($this->limit - $this->iteratedCount); - } - - return (int) $this->pageSize; - } - - /** - * Reset the internal state of the iterator without triggering a rewind() - */ - protected function resetState() - { - $this->iteratedCount = 0; - $this->retrievedCount = 0; - $this->nextToken = false; - $this->resources = null; - $this->invalid = false; - } - - /** - * Send a request to retrieve the next page of results. Hook for subclasses to implement. - * - * @return array Returns the newly loaded resources - */ - abstract protected function sendRequest(); -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php deleted file mode 100644 index eaf29b0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php +++ /dev/null @@ -1,120 +0,0 @@ -iterator = $iterator; - $this->callback = $callback; - } - - /** - * Apply the callback to the contents of the resource iterator - * - * @param int $perBatch The number of records to group per batch transfer - * - * @return int Returns the number of iterated resources - */ - public function apply($perBatch = 50) - { - $this->iterated = $this->batches = $batches = 0; - $that = $this; - $it = $this->iterator; - $callback = $this->callback; - - $batch = BatchBuilder::factory() - ->createBatchesWith(new BatchSizeDivisor($perBatch)) - ->transferWith(new BatchClosureTransfer(function (array $batch) use ($that, $callback, &$batches, $it) { - $batches++; - $that->dispatch('iterator_batch.before_batch', array('iterator' => $it, 'batch' => $batch)); - call_user_func_array($callback, array($it, $batch)); - $that->dispatch('iterator_batch.after_batch', array('iterator' => $it, 'batch' => $batch)); - })) - ->autoFlushAt($perBatch) - ->build(); - - $this->dispatch('iterator_batch.created_batch', array('batch' => $batch)); - - foreach ($this->iterator as $resource) { - $this->iterated++; - $batch->add($resource); - } - - $batch->flush(); - $this->batches = $batches; - - return $this->iterated; - } - - /** - * Get the total number of batches sent - * - * @return int - */ - public function getBatchCount() - { - return $this->batches; - } - - /** - * Get the total number of iterated resources - * - * @return int - */ - public function getIteratedCount() - { - return $this->iterated; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php deleted file mode 100644 index ac6e7e1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php +++ /dev/null @@ -1,67 +0,0 @@ - AbcFoo). - */ -class ResourceIteratorClassFactory extends AbstractResourceIteratorFactory -{ - /** - * @var array List of namespaces used to look for classes - */ - protected $namespaces; - - /** - * @var InflectorInterface Inflector used to determine class names - */ - protected $inflector; - - /** - * @param string|array $namespaces List of namespaces for iterator objects - * @param InflectorInterface $inflector Inflector used to resolve class names - */ - public function __construct($namespaces = array(), InflectorInterface $inflector = null) - { - $this->namespaces = (array) $namespaces; - $this->inflector = $inflector ?: Inflector::getDefault(); - } - - /** - * Registers a namespace to check for Iterators - * - * @param string $namespace Namespace which contains Iterator classes - * - * @return self - */ - public function registerNamespace($namespace) - { - array_unshift($this->namespaces, $namespace); - - return $this; - } - - /** - * {@inheritdoc} - */ - protected function getClassName(CommandInterface $command) - { - $iteratorName = $this->inflector->camel($command->getName()) . 'Iterator'; - - // Determine the name of the class to load - foreach ($this->namespaces as $namespace) { - $potentialClassName = $namespace . '\\' . $iteratorName; - if (class_exists($potentialClassName)) { - return $potentialClassName; - } - } - - return false; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php deleted file mode 100644 index d3d054a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php +++ /dev/null @@ -1,30 +0,0 @@ -=5.3.2", - "guzzle/cache": "self.version", - "guzzle/http": "self.version", - "guzzle/inflection": "self.version" - }, - "autoload": { - "psr-0": { "Guzzle\\Service": "" } - }, - "target-dir": "Guzzle/Service", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/PhpStreamRequestFactory.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/PhpStreamRequestFactory.php deleted file mode 100644 index 43b693c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/PhpStreamRequestFactory.php +++ /dev/null @@ -1,251 +0,0 @@ -contextOptions = stream_context_get_options($context); - $this->context = $context; - } elseif (is_array($context) || !$context) { - $this->contextOptions = $context; - $this->createContext($params); - } elseif ($context) { - throw new InvalidArgumentException('$context must be an array or resource'); - } - - $this->setUrl($request); - $this->addDefaultContextOptions($request); - $this->addSslOptions($request); - $this->addBodyOptions($request); - $this->addProxyOptions($request); - - // Dispatch the before send event - $request->dispatch('request.before_send', array( - 'request' => $request, - 'context' => $this->context, - 'context_options' => $this->contextOptions - )); - - // Create the file handle but silence errors - return $this->createStream() - ->setCustomData('request', $request) - ->setCustomData('response_headers', $this->getLastResponseHeaders()); - } - - /** - * Set an option on the context and the internal options array - * - * @param string $wrapper Stream wrapper name of http - * @param string $name Context name - * @param mixed $value Context value - * @param bool $overwrite Set to true to overwrite an existing value - */ - protected function setContextValue($wrapper, $name, $value, $overwrite = false) - { - if (!isset($this->contextOptions[$wrapper])) { - $this->contextOptions[$wrapper] = array($name => $value); - } elseif (!$overwrite && isset($this->contextOptions[$wrapper][$name])) { - return; - } - $this->contextOptions[$wrapper][$name] = $value; - stream_context_set_option($this->context, $wrapper, $name, $value); - } - - /** - * Create a stream context - * - * @param array $param Parameter array - */ - protected function createContext(array $params) - { - $options = $this->contextOptions; - $this->context = $this->createResource(function () use ($params, $options) { - return stream_context_create($options, $params); - }); - } - - /** - * Get the last response headers received by the HTTP request - * - * @return array - */ - public function getLastResponseHeaders() - { - return $this->lastResponseHeaders; - } - - /** - * Adds the default context options to the stream context options - * - * @param RequestInterface $request Request - */ - protected function addDefaultContextOptions(RequestInterface $request) - { - $this->setContextValue('http', 'method', $request->getMethod()); - $this->setContextValue('http', 'header', $request->getHeaderLines()); - // Force 1.0 for now until PHP fully support chunked transfer-encoding decoding - $this->setContextValue('http', 'protocol_version', '1.0'); - $this->setContextValue('http', 'ignore_errors', true); - } - - /** - * Set the URL to use with the factory - * - * @param RequestInterface $request Request that owns the URL - */ - protected function setUrl(RequestInterface $request) - { - $this->url = $request->getUrl(true); - - // Check for basic Auth username - if ($request->getUsername()) { - $this->url->setUsername($request->getUsername()); - } - - // Check for basic Auth password - if ($request->getPassword()) { - $this->url->setPassword($request->getPassword()); - } - } - - /** - * Add SSL options to the stream context - * - * @param RequestInterface $request Request - */ - protected function addSslOptions(RequestInterface $request) - { - if ($verify = $request->getCurlOptions()->get(CURLOPT_SSL_VERIFYPEER)) { - $this->setContextValue('ssl', 'verify_peer', true, true); - if ($cafile = $request->getCurlOptions()->get(CURLOPT_CAINFO)) { - $this->setContextValue('ssl', 'cafile', $cafile, true); - } - } else { - $this->setContextValue('ssl', 'verify_peer', false, true); - } - } - - /** - * Add body (content) specific options to the context options - * - * @param RequestInterface $request - */ - protected function addBodyOptions(RequestInterface $request) - { - // Add the content for the request if needed - if (!($request instanceof EntityEnclosingRequestInterface)) { - return; - } - - if (count($request->getPostFields())) { - $this->setContextValue('http', 'content', (string) $request->getPostFields(), true); - } elseif ($request->getBody()) { - $this->setContextValue('http', 'content', (string) $request->getBody(), true); - } - - // Always ensure a content-length header is sent - if (isset($this->contextOptions['http']['content'])) { - $headers = isset($this->contextOptions['http']['header']) ? $this->contextOptions['http']['header'] : array(); - $headers[] = 'Content-Length: ' . strlen($this->contextOptions['http']['content']); - $this->setContextValue('http', 'header', $headers, true); - } - } - - /** - * Add proxy parameters to the context if needed - * - * @param RequestInterface $request Request - */ - protected function addProxyOptions(RequestInterface $request) - { - if ($proxy = $request->getCurlOptions()->get(CURLOPT_PROXY)) { - $this->setContextValue('http', 'proxy', $proxy); - } - } - - /** - * Create the stream for the request with the context options - * - * @return StreamInterface - */ - protected function createStream() - { - $http_response_header = null; - $url = $this->url; - $context = $this->context; - $fp = $this->createResource(function () use ($context, $url, &$http_response_header) { - return fopen((string) $url, 'r', false, $context); - }); - - // Track the response headers of the request - if (isset($http_response_header)) { - $this->lastResponseHeaders = $http_response_header; - } - - return new Stream($fp); - } - - /** - * Create a resource and check to ensure it was created successfully - * - * @param callable $callback Closure to invoke that must return a valid resource - * - * @return resource - * @throws RuntimeException on error - */ - protected function createResource($callback) - { - // Turn off error reporting while we try to initiate the request - $level = error_reporting(0); - $resource = call_user_func($callback); - error_reporting($level); - - // If the resource could not be created, then grab the last error and throw an exception - if (false === $resource) { - $message = 'Error creating resource. '; - foreach (error_get_last() as $key => $value) { - $message .= "[{$key}] {$value} "; - } - throw new RuntimeException(trim($message)); - } - - return $resource; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/Stream.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/Stream.php deleted file mode 100644 index 5fe933b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/Stream.php +++ /dev/null @@ -1,368 +0,0 @@ - array( - 'r' => true, 'w+' => true, 'r+' => true, 'x+' => true, 'c+' => true, - 'rb' => true, 'w+b' => true, 'r+b' => true, 'x+b' => true, 'c+b' => true, - 'rt' => true, 'w+t' => true, 'r+t' => true, 'x+t' => true, 'c+t' => true - ), - 'write' => array( - 'w' => true, 'w+' => true, 'rw' => true, 'r+' => true, 'x+' => true, 'c+' => true, - 'wb' => true, 'w+b' => true, 'r+b' => true, 'x+b' => true, 'c+b' => true, - 'w+t' => true, 'r+t' => true, 'x+t' => true, 'c+t' => true - ) - ); - - /** - * Construct a new Stream - * - * @param resource $stream Stream resource to wrap - * @param int $size Size of the stream in bytes. Only pass if the size cannot be obtained from the stream. - * - * @throws InvalidArgumentException if the stream is not a stream resource - */ - public function __construct($stream, $size = null) - { - $this->setStream($stream, $size); - } - - /** - * Closes the stream when the helper is destructed - */ - public function __destruct() - { - $this->close(); - } - - /** - * {@inheritdoc} - */ - public function __toString() - { - if (!$this->isReadable() || (!$this->isSeekable() && $this->isConsumed())) { - return ''; - } - - $originalPos = $this->ftell(); - $body = stream_get_contents($this->stream, -1, 0); - $this->seek($originalPos); - - return $body; - } - - /** - * {@inheritdoc} - */ - public function close() - { - if (is_resource($this->stream)) { - fclose($this->stream); - } - $this->cache[self::IS_READABLE] = false; - $this->cache[self::IS_WRITABLE] = false; - } - - /** - * Calculate a hash of a Stream - * - * @param StreamInterface $stream Stream to calculate the hash for - * @param string $algo Hash algorithm (e.g. md5, crc32, etc) - * @param bool $rawOutput Whether or not to use raw output - * - * @return bool|string Returns false on failure or a hash string on success - */ - public static function getHash(StreamInterface $stream, $algo, $rawOutput = false) - { - $pos = $stream->ftell(); - if (!$stream->seek(0)) { - return false; - } - - $ctx = hash_init($algo); - while ($data = $stream->read(8192)) { - hash_update($ctx, $data); - } - - $out = hash_final($ctx, (bool) $rawOutput); - $stream->seek($pos); - - return $out; - } - - /** - * {@inheritdoc} - */ - public function getMetaData($key = null) - { - $meta = stream_get_meta_data($this->stream); - - return !$key ? $meta : (array_key_exists($key, $meta) ? $meta[$key] : null); - } - - /** - * {@inheritdoc} - */ - public function getStream() - { - return $this->stream; - } - - /** - * {@inheritdoc} - */ - public function setStream($stream, $size = null) - { - if (!is_resource($stream)) { - throw new InvalidArgumentException('Stream must be a resource'); - } - - $this->size = $size; - $this->stream = $stream; - $this->rebuildCache(); - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getWrapper() - { - return $this->cache[self::WRAPPER_TYPE]; - } - - /** - * {@inheritdoc} - */ - public function getWrapperData() - { - return $this->getMetaData('wrapper_data') ?: array(); - } - - /** - * {@inheritdoc} - */ - public function getStreamType() - { - return $this->cache[self::STREAM_TYPE]; - } - - /** - * {@inheritdoc} - */ - public function getUri() - { - return $this->cache['uri']; - } - - /** - * {@inheritdoc} - */ - public function getSize() - { - if ($this->size !== null) { - return $this->size; - } - - // If the stream is a file based stream and local, then check the filesize - if ($this->isLocal() && $this->getWrapper() == 'plainfile' && $this->getUri() && file_exists($this->getUri())) { - return filesize($this->getUri()); - } - - // Only get the size based on the content if the the stream is readable and seekable - if (!$this->cache[self::IS_READABLE] || !$this->cache[self::SEEKABLE]) { - return false; - } else { - $pos = $this->ftell(); - $this->size = strlen((string) $this); - $this->seek($pos); - return $this->size; - } - } - - /** - * {@inheritdoc} - */ - public function isReadable() - { - return $this->cache[self::IS_READABLE]; - } - - /** - * {@inheritdoc} - */ - public function isWritable() - { - return $this->cache[self::IS_WRITABLE]; - } - - /** - * {@inheritdoc} - */ - public function isConsumed() - { - return feof($this->stream); - } - - /** - * {@inheritdoc} - */ - public function feof() - { - return $this->isConsumed(); - } - - /** - * {@inheritdoc} - */ - public function isLocal() - { - return $this->cache[self::IS_LOCAL]; - } - - /** - * {@inheritdoc} - */ - public function isSeekable() - { - return $this->cache[self::SEEKABLE]; - } - - /** - * {@inheritdoc} - */ - public function setSize($size) - { - $this->size = $size; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function seek($offset, $whence = SEEK_SET) - { - return $this->cache[self::SEEKABLE] ? fseek($this->stream, $offset, $whence) === 0 : false; - } - - /** - * {@inheritdoc} - */ - public function read($length) - { - return $this->cache[self::IS_READABLE] ? fread($this->stream, $length) : false; - } - - /** - * {@inheritdoc} - */ - public function write($string) - { - if (!$this->cache[self::IS_WRITABLE]) { - return 0; - } - - $bytes = fwrite($this->stream, $string); - $this->size += $bytes; - - return $bytes; - } - - /** - * {@inheritdoc} - */ - public function ftell() - { - return ftell($this->stream); - } - - /** - * {@inheritdoc} - */ - public function rewind() - { - return $this->seek(0); - } - - /** - * {@inheritdoc} - */ - public function readLine($maxLength = null) - { - if (!$this->cache[self::IS_READABLE]) { - return false; - } else { - return $maxLength ? fgets($this->getStream(), $maxLength) : fgets($this->getStream()); - } - } - - /** - * {@inheritdoc} - */ - public function setCustomData($key, $value) - { - $this->customData[$key] = $value; - - return $this; - } - - /** - * {@inheritdoc} - */ - public function getCustomData($key) - { - return isset($this->customData[$key]) ? $this->customData[$key] : null; - } - - - /** - * Reprocess stream metadata - */ - protected function rebuildCache() - { - $this->cache = stream_get_meta_data($this->stream); - $this->cache[self::IS_LOCAL] = stream_is_local($this->stream); - $this->cache[self::IS_READABLE] = isset(self::$readWriteHash['read'][$this->cache['mode']]); - $this->cache[self::IS_WRITABLE] = isset(self::$readWriteHash['write'][$this->cache['mode']]); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/StreamInterface.php b/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/StreamInterface.php deleted file mode 100644 index 59df534..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/src/Guzzle/Stream/StreamInterface.php +++ /dev/null @@ -1,204 +0,0 @@ -=5.3.2", - "guzzle/common": "self.version" - }, - "suggest": { - "guzzle/http": "To convert Guzzle request objects to PHP streams" - }, - "autoload": { - "psr-0": { "Guzzle\\Stream": "" } - }, - "target-dir": "Guzzle/Stream", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/AbstractBatchDecoratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/AbstractBatchDecoratorTest.php deleted file mode 100644 index 951738d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/AbstractBatchDecoratorTest.php +++ /dev/null @@ -1,33 +0,0 @@ -getMock('Guzzle\Batch\BatchTransferInterface'), - $this->getMock('Guzzle\Batch\BatchDivisorInterface') - ); - - $decoratorA = $this->getMockBuilder('Guzzle\Batch\AbstractBatchDecorator') - ->setConstructorArgs(array($batch)) - ->getMockForAbstractClass(); - - $decoratorB = $this->getMockBuilder('Guzzle\Batch\AbstractBatchDecorator') - ->setConstructorArgs(array($decoratorA)) - ->getMockForAbstractClass(); - - $decoratorA->add('foo'); - $this->assertFalse($decoratorB->isEmpty()); - $this->assertFalse($batch->isEmpty()); - $this->assertEquals(array($decoratorB, $decoratorA), $decoratorB->getDecorators()); - $this->assertEquals(array(), $decoratorB->flush()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchBuilderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchBuilderTest.php deleted file mode 100644 index 4da09d3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchBuilderTest.php +++ /dev/null @@ -1,86 +0,0 @@ -getMock('Guzzle\Batch\BatchTransferInterface'); - } - - private function getMockDivisor() - { - return $this->getMock('Guzzle\Batch\BatchDivisorInterface'); - } - - private function getMockBatchBuilder() - { - return BatchBuilder::factory() - ->transferWith($this->getMockTransfer()) - ->createBatchesWith($this->getMockDivisor()); - } - - public function testFactoryCreatesInstance() - { - $builder = BatchBuilder::factory(); - $this->assertInstanceOf('Guzzle\Batch\BatchBuilder', $builder); - } - - public function testAddsAutoFlush() - { - $batch = $this->getMockBatchBuilder()->autoFlushAt(10)->build(); - $this->assertInstanceOf('Guzzle\Batch\FlushingBatch', $batch); - } - - public function testAddsExceptionBuffering() - { - $batch = $this->getMockBatchBuilder()->bufferExceptions()->build(); - $this->assertInstanceOf('Guzzle\Batch\ExceptionBufferingBatch', $batch); - } - - public function testAddHistory() - { - $batch = $this->getMockBatchBuilder()->keepHistory()->build(); - $this->assertInstanceOf('Guzzle\Batch\HistoryBatch', $batch); - } - - public function testAddsNotify() - { - $batch = $this->getMockBatchBuilder()->notify(function() {})->build(); - $this->assertInstanceOf('Guzzle\Batch\NotifyingBatch', $batch); - } - - /** - * @expectedException Guzzle\Common\Exception\RuntimeException - */ - public function testTransferStrategyMustBeSet() - { - $batch = BatchBuilder::factory()->createBatchesWith($this->getMockDivisor())->build(); - } - - /** - * @expectedException Guzzle\Common\Exception\RuntimeException - */ - public function testDivisorStrategyMustBeSet() - { - $batch = BatchBuilder::factory()->transferWith($this->getMockTransfer())->build(); - } - - public function testTransfersRequests() - { - $batch = BatchBuilder::factory()->transferRequests(10)->build(); - $this->assertInstanceOf('Guzzle\Batch\BatchRequestTransfer', $this->readAttribute($batch, 'transferStrategy')); - } - - public function testTransfersCommands() - { - $batch = BatchBuilder::factory()->transferCommands(10)->build(); - $this->assertInstanceOf('Guzzle\Batch\BatchCommandTransfer', $this->readAttribute($batch, 'transferStrategy')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureDivisorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureDivisorTest.php deleted file mode 100644 index 753db7d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureDivisorTest.php +++ /dev/null @@ -1,36 +0,0 @@ -createBatches($queue); - $this->assertEquals(array(array('foo'), array('baz')), $batches); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureTransferTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureTransferTest.php deleted file mode 100644 index f32e099..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureTransferTest.php +++ /dev/null @@ -1,56 +0,0 @@ -itemsTransferred = null; - $itemsTransferred =& $this->itemsTransferred; - - $this->transferStrategy = new BatchClosureTransfer(function (array $batch) use (&$itemsTransferred) { - $itemsTransferred = $batch; - return; - }); - } - - public function testTransfersBatch() - { - $batchedItems = array('foo', 'bar', 'baz'); - $this->transferStrategy->transfer($batchedItems); - - $this->assertEquals($batchedItems, $this->itemsTransferred); - } - - public function testTransferBailsOnEmptyBatch() - { - $batchedItems = array(); - $this->transferStrategy->transfer($batchedItems); - - $this->assertNull($this->itemsTransferred); - } - - /** - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testEnsuresCallableIsCallable() - { - $foo = new BatchClosureTransfer('uh oh!'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchCommandTransferTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchCommandTransferTest.php deleted file mode 100644 index a04efab..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchCommandTransferTest.php +++ /dev/null @@ -1,83 +0,0 @@ - $command) { - if ($i % 2) { - $command->setClient($client1); - } else { - $command->setClient($client2); - } - $queue[] = $command; - } - - $batch = new BatchCommandTransfer(2); - $this->assertEquals(array( - array($commands[0], $commands[2]), - array($commands[4]), - array($commands[1], $commands[3]) - ), $batch->createBatches($queue)); - } - - /** - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testEnsuresAllItemsAreCommands() - { - $queue = new \SplQueue(); - $queue[] = 'foo'; - $batch = new BatchCommandTransfer(2); - $batch->createBatches($queue); - } - - public function testTransfersBatches() - { - $client = $this->getMockBuilder('Guzzle\Service\Client') - ->setMethods(array('send')) - ->getMock(); - $client->expects($this->once()) - ->method('send'); - $command = new Mc(); - $command->setClient($client); - $batch = new BatchCommandTransfer(2); - $batch->transfer(array($command)); - } - - public function testDoesNotTransfersEmptyBatches() - { - $batch = new BatchCommandTransfer(2); - $batch->transfer(array()); - } - - /** - * @expectedException Guzzle\Service\Exception\InconsistentClientTransferException - */ - public function testEnsuresAllCommandsUseTheSameClient() - { - $batch = new BatchCommandTransfer(2); - $client1 = new Client('http://www.example.com'); - $client2 = new Client('http://www.example.com'); - $command1 = new Mc(); - $command1->setClient($client1); - $command2 = new Mc(); - $command2->setClient($client2); - $batch->transfer(array($command1, $command2)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchRequestTransferTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchRequestTransferTest.php deleted file mode 100644 index d929ef0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchRequestTransferTest.php +++ /dev/null @@ -1,80 +0,0 @@ -setCurlMulti(new CurlMulti()); - - $client2 = new Client('http://www.example.com'); - $client2->setCurlMulti(new CurlMulti()); - - $request1 = $client1->get(); - $request2 = $client2->get(); - $request3 = $client1->get(); - $request4 = $client2->get(); - $request5 = $client1->get(); - - $queue = new \SplQueue(); - $queue[] = $request1; - $queue[] = $request2; - $queue[] = $request3; - $queue[] = $request4; - $queue[] = $request5; - - $batch = new BatchRequestTransfer(2); - $this->assertEquals(array( - array($request1, $request3), - array($request3), - array($request2, $request4) - ), $batch->createBatches($queue)); - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - */ - public function testEnsuresAllItemsAreRequests() - { - $queue = new \SplQueue(); - $queue[] = 'foo'; - $batch = new BatchRequestTransfer(2); - $batch->createBatches($queue); - } - - public function testTransfersBatches() - { - $client = new Client('http://localhost:123'); - $request = $client->get(); - // For some reason... PHP unit clones the request, which emits a request.clone event. This causes the - // 'sorted' property of the event dispatcher to contain an array in the cloned request that is not present in - // the original. - $request->dispatch('request.clone'); - - $multi = $this->getMock('Guzzle\Http\Curl\CurlMultiInterface'); - $client->setCurlMulti($multi); - $multi->expects($this->once()) - ->method('add') - ->with($request); - $multi->expects($this->once()) - ->method('send'); - - $batch = new BatchRequestTransfer(2); - $batch->transfer(array($request)); - } - - public function testDoesNotTransfersEmptyBatches() - { - $batch = new BatchRequestTransfer(2); - $batch->transfer(array()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchSizeDivisorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchSizeDivisorTest.php deleted file mode 100644 index 5542228..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchSizeDivisorTest.php +++ /dev/null @@ -1,24 +0,0 @@ -assertEquals(3, $d->getSize()); - $d->setSize(2); - $batches = $d->createBatches($queue); - $this->assertEquals(array(array('foo', 'baz'), array('bar')), $batches); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchTest.php deleted file mode 100644 index 296f57a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchTest.php +++ /dev/null @@ -1,91 +0,0 @@ -getMock('Guzzle\Batch\BatchTransferInterface'); - } - - private function getMockDivisor() - { - return $this->getMock('Guzzle\Batch\BatchDivisorInterface'); - } - - public function testAddsItemsToQueue() - { - $batch = new Batch($this->getMockTransfer(), $this->getMockDivisor()); - $this->assertSame($batch, $batch->add('foo')); - $this->assertEquals(1, count($batch)); - } - - public function testFlushReturnsItems() - { - $transfer = $this->getMockTransfer(); - $transfer->expects($this->exactly(2)) - ->method('transfer'); - - $divisor = $this->getMockDivisor(); - $divisor->expects($this->once()) - ->method('createBatches') - ->will($this->returnValue(array(array('foo', 'baz'), array('bar')))); - - $batch = new Batch($transfer, $divisor); - - $batch->add('foo')->add('baz')->add('bar'); - $items = $batch->flush(); - - $this->assertEquals(array('foo', 'baz', 'bar'), $items); - } - - public function testThrowsExceptionContainingTheFailedBatch() - { - $called = 0; - $originalException = new \Exception('Foo!'); - - $transfer = $this->getMockTransfer(); - $transfer->expects($this->exactly(2)) - ->method('transfer') - ->will($this->returnCallback(function () use (&$called, $originalException) { - if (++$called == 2) { - throw $originalException; - } - })); - - $divisor = $this->getMockDivisor(); - $batch = new Batch($transfer, $divisor); - - // PHPunit clones objects before passing them to a callback. - // Horrible hack to get around this! - $queue = $this->readAttribute($batch, 'queue'); - - $divisor->expects($this->once()) - ->method('createBatches') - ->will($this->returnCallback(function ($batch) use ($queue) { - foreach ($queue as $item) { - $items[] = $item; - } - return array_chunk($items, 2); - })); - - $batch->add('foo')->add('baz')->add('bar')->add('bee')->add('boo'); - $this->assertFalse($batch->isEmpty()); - - try { - $items = $batch->flush(); - $this->fail('Expected exception'); - } catch (BatchTransferException $e) { - $this->assertEquals($originalException, $e->getPrevious()); - $this->assertEquals(array('bar', 'bee'), array_values($e->getBatch())); - $this->assertEquals(1, count($batch)); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/ExceptionBufferingBatchTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/ExceptionBufferingBatchTest.php deleted file mode 100644 index fd810b1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/ExceptionBufferingBatchTest.php +++ /dev/null @@ -1,45 +0,0 @@ -getMockBuilder('Guzzle\Batch\BatchTransferInterface') - ->setMethods(array('transfer')) - ->getMock(); - - $d = new BatchSizeDivisor(1); - $batch = new Batch($t, $d); - - $called = 0; - $t->expects($this->exactly(3)) - ->method('transfer') - ->will($this->returnCallback(function ($batch) use (&$called) { - if (++$called === 2) { - throw new \Exception('Foo'); - } - })); - - $decorator = new ExceptionBufferingBatch($batch); - $decorator->add('foo')->add('baz')->add('bar'); - $result = $decorator->flush(); - - $e = $decorator->getExceptions(); - $this->assertEquals(1, count($e)); - $this->assertEquals(array('baz'), $e[0]->getBatch()); - - $decorator->clearExceptions(); - $this->assertEquals(0, count($decorator->getExceptions())); - - $this->assertEquals(array('foo', 'bar'), $result); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/FlushingBatchTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/FlushingBatchTest.php deleted file mode 100644 index 9b37a48..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/FlushingBatchTest.php +++ /dev/null @@ -1,40 +0,0 @@ -getMock('Guzzle\Batch\BatchTransferInterface', array('transfer')); - $d = $this->getMock('Guzzle\Batch\BatchDivisorInterface', array('createBatches')); - - $batch = new Batch($t, $d); - $queue = $this->readAttribute($batch, 'queue'); - - $d->expects($this->exactly(2)) - ->method('createBatches') - ->will($this->returnCallback(function () use ($queue) { - $items = array(); - foreach ($queue as $item) { - $items[] = $item; - } - return array($items); - })); - - $t->expects($this->exactly(2)) - ->method('transfer'); - - $flush = new FlushingBatch($batch, 3); - $this->assertEquals(3, $flush->getThreshold()); - $flush->setThreshold(2); - $flush->add('foo')->add('baz')->add('bar')->add('bee')->add('boo'); - $this->assertEquals(1, count($flush)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/HistoryBatchTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/HistoryBatchTest.php deleted file mode 100644 index 60d6f95..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/HistoryBatchTest.php +++ /dev/null @@ -1,26 +0,0 @@ -getMock('Guzzle\Batch\BatchTransferInterface'), - $this->getMock('Guzzle\Batch\BatchDivisorInterface') - ); - - $history = new HistoryBatch($batch); - $history->add('foo')->add('baz'); - $this->assertEquals(array('foo', 'baz'), $history->getHistory()); - $history->clearHistory(); - $this->assertEquals(array(), $history->getHistory()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/NotifyingBatchTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/NotifyingBatchTest.php deleted file mode 100644 index 69a8900..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/NotifyingBatchTest.php +++ /dev/null @@ -1,45 +0,0 @@ -getMock('Guzzle\Batch\Batch', array('flush'), array( - $this->getMock('Guzzle\Batch\BatchTransferInterface'), - $this->getMock('Guzzle\Batch\BatchDivisorInterface') - )); - - $batch->expects($this->once()) - ->method('flush') - ->will($this->returnValue(array('foo', 'baz'))); - - $data = array(); - $decorator = new NotifyingBatch($batch, function ($batch) use (&$data) { - $data[] = $batch; - }); - - $decorator->add('foo')->add('baz'); - $decorator->flush(); - $this->assertEquals(array(array('foo', 'baz')), $data); - } - - /** - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testEnsuresCallableIsValid() - { - $batch = new Batch( - $this->getMock('Guzzle\Batch\BatchTransferInterface'), - $this->getMock('Guzzle\Batch\BatchDivisorInterface') - ); - $decorator = new NotifyingBatch($batch, 'foo'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterFactoryTest.php deleted file mode 100644 index f9f116c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterFactoryTest.php +++ /dev/null @@ -1,129 +0,0 @@ -cache = new ArrayCache(); - $this->adapter = new DoctrineCacheAdapter($this->cache); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory::factory - * @expectedException InvalidArgumentException - */ - public function testEnsuresConfigIsArray() - { - CacheAdapterFactory::factory(new \stdClass()); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory::factory - * @expectedException InvalidArgumentException - * @expectedExceptionMessage cache.provider is a required CacheAdapterFactory option - */ - public function testEnsuresRequiredProviderOption() - { - CacheAdapterFactory::factory(array( - 'cache.adapter' => $this->adapter - )); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory::factory - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage cache.adapter is a required CacheAdapterFactory option - */ - public function testEnsuresRequiredAdapterOption() - { - CacheAdapterFactory::factory(array( - 'cache.provider' => $this->cache - )); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory::factory - * @expectedException InvalidArgumentException - * @expectedExceptionMessage foo is not a valid class for cache.adapter - */ - public function testEnsuresClassesExist() - { - CacheAdapterFactory::factory(array( - 'cache.provider' => 'abc', - 'cache.adapter' => 'foo' - )); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory::factory - * @covers Guzzle\Cache\CacheAdapterFactory::createObject - */ - public function testCreatesProviderFromConfig() - { - $cache = CacheAdapterFactory::factory(array( - 'cache.provider' => 'Doctrine\Common\Cache\ApcCache', - 'cache.adapter' => 'Guzzle\Cache\DoctrineCacheAdapter' - )); - - $this->assertInstanceOf('Guzzle\Cache\DoctrineCacheAdapter', $cache); - $this->assertInstanceOf('Doctrine\Common\Cache\ApcCache', $cache->getCacheObject()); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory::factory - * @covers Guzzle\Cache\CacheAdapterFactory::createObject - */ - public function testCreatesProviderFromConfigWithArguments() - { - $cache = CacheAdapterFactory::factory(array( - 'cache.provider' => 'Doctrine\Common\Cache\ApcCache', - 'cache.provider.args' => array(), - 'cache.adapter' => 'Guzzle\Cache\DoctrineCacheAdapter', - 'cache.adapter.args' => array() - )); - - $this->assertInstanceOf('Guzzle\Cache\DoctrineCacheAdapter', $cache); - $this->assertInstanceOf('Doctrine\Common\Cache\ApcCache', $cache->getCacheObject()); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory - * @expectedException Guzzle\Common\Exception\RuntimeException - */ - public function testWrapsExceptionsOnObjectCreation() - { - CacheAdapterFactory::factory(array( - 'cache.provider' => 'Guzzle\Tests\Mock\ExceptionMock', - 'cache.adapter' => 'Guzzle\Tests\Mock\ExceptionMock' - )); - } - - /** - * @covers Guzzle\Cache\CacheAdapterFactory - */ - public function testCreatesNullCacheAdapterByDefault() - { - $adapter = CacheAdapterFactory::factory(array()); - $this->assertInstanceOf('Guzzle\Cache\NullCacheAdapter', $adapter); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterTest.php deleted file mode 100644 index 7b11a83..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/CacheAdapterTest.php +++ /dev/null @@ -1,86 +0,0 @@ -cache = new ArrayCache(); - $this->adapter = new DoctrineCacheAdapter($this->cache); - } - - /** - * Cleans up the environment after running a test. - */ - protected function tearDown() - { - $this->adapter = null; - $this->cache = null; - parent::tearDown(); - } - - /** - * @covers \Guzzle\Cache\AbstractCacheAdapter::getCacheObject - */ - public function testGetCacheObject() - { - $this->assertEquals($this->cache, $this->adapter->getCacheObject()); - } - - /** - * @covers \Guzzle\Cache\DoctrineCacheAdapter::save - */ - public function testSave() - { - $this->assertTrue($this->adapter->save('test', 'data', 1000)); - } - - /** - * @covers \Guzzle\Cache\DoctrineCacheAdapter::fetch - */ - public function testFetch() - { - $this->assertTrue($this->adapter->save('test', 'data', 1000)); - $this->assertEquals('data', $this->adapter->fetch('test')); - } - - /** - * @covers \Guzzle\Cache\DoctrineCacheAdapter::contains - */ - public function testContains() - { - $this->assertTrue($this->adapter->save('test', 'data', 1000)); - $this->assertTrue($this->adapter->contains('test')); - } - - /** - * @covers \Guzzle\Cache\DoctrineCacheAdapter::delete - */ - public function testDelete() - { - $this->assertTrue($this->adapter->save('test', 'data', 1000)); - $this->assertTrue($this->adapter->delete('test')); - $this->assertFalse($this->adapter->contains('test')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/ClosureCacheAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/ClosureCacheAdapterTest.php deleted file mode 100644 index 08ebc9a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/ClosureCacheAdapterTest.php +++ /dev/null @@ -1,114 +0,0 @@ -callables = array( - 'contains' => function($id, $options = array()) use ($that) { - return array_key_exists($id, $that->data); - }, - 'delete' => function($id, $options = array()) use ($that) { - unset($that->data[$id]); - return true; - }, - 'fetch' => function($id, $options = array()) use ($that) { - return array_key_exists($id, $that->data) ? $that->data[$id] : null; - }, - 'save' => function($id, $data, $lifeTime, $options = array()) use ($that) { - $that->data[$id] = $data; - return true; - } - ); - - $this->adapter = new ClosureCacheAdapter($this->callables); - } - - /** - * Cleans up the environment after running a test. - */ - protected function tearDown() - { - $this->cache = null; - $this->callables = null; - parent::tearDown(); - } - - /** - * @covers Guzzle\Cache\ClosureCacheAdapter::__construct - * @expectedException InvalidArgumentException - */ - public function testEnsuresCallablesArePresent() - { - $callables = $this->callables; - unset($callables['delete']); - $cache = new ClosureCacheAdapter($callables); - } - - /** - * @covers Guzzle\Cache\ClosureCacheAdapter::__construct - */ - public function testAllCallablesMustBePresent() - { - $cache = new ClosureCacheAdapter($this->callables); - } - - /** - * @covers Guzzle\Cache\ClosureCacheAdapter::save - * @covers Guzzle\Cache\ClosureCacheAdapter::fetch - */ - public function testCachesDataUsingCallables() - { - $this->assertTrue($this->adapter->save('test', 'data', 1000)); - $this->assertEquals('data', $this->adapter->fetch('test')); - } - - /** - * @covers Guzzle\Cache\ClosureCacheAdapter::contains - */ - public function testChecksIfCacheContainsKeys() - { - $this->adapter->save('test', 'data', 1000); - $this->assertTrue($this->adapter->contains('test')); - $this->assertFalse($this->adapter->contains('foo')); - } - - /** - * @covers Guzzle\Cache\ClosureCacheAdapter::delete - */ - public function testDeletesFromCacheByKey() - { - $this->adapter->save('test', 'data', 1000); - $this->assertTrue($this->adapter->contains('test')); - $this->adapter->delete('test'); - $this->assertFalse($this->adapter->contains('test')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/NullCacheAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/NullCacheAdapterTest.php deleted file mode 100644 index e05df3f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/NullCacheAdapterTest.php +++ /dev/null @@ -1,20 +0,0 @@ -assertEquals(false, $c->contains('foo')); - $this->assertEquals(true, $c->delete('foo')); - $this->assertEquals(false, $c->fetch('foo')); - $this->assertEquals(true, $c->save('foo', 'bar')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf1CacheAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf1CacheAdapterTest.php deleted file mode 100644 index 2d13085..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf1CacheAdapterTest.php +++ /dev/null @@ -1,21 +0,0 @@ -assertTrue($adapter->save('id', 'data')); - $this->assertTrue($adapter->delete('id')); - $this->assertEquals('foo', $adapter->fetch('id')); - $this->assertEquals('123456', $adapter->contains('id')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf2CacheAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf2CacheAdapterTest.php deleted file mode 100644 index 9077c12..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/Zf2CacheAdapterTest.php +++ /dev/null @@ -1,58 +0,0 @@ -cache = StorageFactory::factory(array( - 'adapter' => 'memory' - )); - $this->adapter = new Zf2CacheAdapter($this->cache); - } - - /** - * Cleans up the environment after running a test. - */ - protected function tearDown() - { - $this->adapter = null; - $this->cache = null; - parent::tearDown(); - } - - public function testCachesDataUsingCallables() - { - $this->assertTrue($this->adapter->save('test', 'data', 1000)); - $this->assertEquals('data', $this->adapter->fetch('test')); - } - - public function testChecksIfCacheContainsKeys() - { - $this->adapter->save('test', 'data', 1000); - $this->assertTrue($this->adapter->contains('test')); - $this->assertFalse($this->adapter->contains('foo')); - } - - public function testDeletesFromCacheByKey() - { - $this->adapter->save('test', 'data', 1000); - $this->assertTrue($this->adapter->contains('test')); - $this->adapter->delete('test'); - $this->assertFalse($this->adapter->contains('test')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/AbstractHasDispatcherTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/AbstractHasDispatcherTest.php deleted file mode 100644 index 9056af3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/AbstractHasDispatcherTest.php +++ /dev/null @@ -1,76 +0,0 @@ -assertEquals(array(), AbstractHasDispatcher::getAllEvents()); - } - - /** - * @covers Guzzle\Common\AbstractHasDispatcher::setEventDispatcher - * @covers Guzzle\Common\AbstractHasDispatcher::getEventDispatcher - */ - public function testAllowsDispatcherToBeInjected() - { - $d = new EventDispatcher(); - $mock = $this->getMockForAbstractClass('Guzzle\Common\AbstractHasDispatcher'); - $this->assertSame($mock, $mock->setEventDispatcher($d)); - $this->assertSame($d, $mock->getEventDispatcher()); - } - - /** - * @covers Guzzle\Common\AbstractHasDispatcher::getEventDispatcher - */ - public function testCreatesDefaultEventDispatcherIfNeeded() - { - $mock = $this->getMockForAbstractClass('Guzzle\Common\AbstractHasDispatcher'); - $this->assertInstanceOf('Symfony\Component\EventDispatcher\EventDispatcher', $mock->getEventDispatcher()); - } - - /** - * @covers Guzzle\Common\AbstractHasDispatcher::dispatch - */ - public function testHelperDispatchesEvents() - { - $data = array(); - $mock = $this->getMockForAbstractClass('Guzzle\Common\AbstractHasDispatcher'); - $mock->getEventDispatcher()->addListener('test', function(Event $e) use (&$data) { - $data = $e->getIterator()->getArrayCopy(); - }); - $mock->dispatch('test', array( - 'param' => 'abc' - )); - $this->assertEquals(array( - 'param' => 'abc', - ), $data); - } - - /** - * @covers Guzzle\Common\AbstractHasDispatcher::addSubscriber - */ - public function testHelperAttachesSubscribers() - { - $mock = $this->getMockForAbstractClass('Guzzle\Common\AbstractHasDispatcher'); - $subscriber = $this->getMockForAbstractClass('Symfony\Component\EventDispatcher\EventSubscriberInterface'); - - $dispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcher') - ->setMethods(array('addSubscriber')) - ->getMock(); - - $dispatcher->expects($this->once()) - ->method('addSubscriber'); - - $mock->setEventDispatcher($dispatcher); - $mock->addSubscriber($subscriber); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/CollectionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/CollectionTest.php deleted file mode 100644 index 16d1756..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/CollectionTest.php +++ /dev/null @@ -1,565 +0,0 @@ -coll = new Collection(); - } - - /** - * @covers Guzzle\Common\Collection::__construct - */ - public function testConstructorCanBeCalledWithNoParams() - { - $this->coll = new Collection(); - $p = $this->coll->getAll(); - $this->assertEmpty($p, '-> Collection must be empty when no data is passed'); - } - - /** - * @covers Guzzle\Common\Collection::__construct - * @covers Guzzle\Common\Collection::getAll - * @covers Guzzle\Common\Collection::toArray - */ - public function testConstructorCanBeCalledWithParams() - { - $testData = array( - 'test' => 'value', - 'test_2' => 'value2' - ); - $this->coll = new Collection($testData); - $this->assertEquals($this->coll->getAll(), $testData, '-> getAll() must return the data passed in the constructor'); - $this->assertEquals($this->coll->getAll(), $this->coll->toArray()); - } - - /** - * Test the IteratorAggregate implementation of theCollection object - * - * @covers Guzzle\Common\Collection::getIterator - */ - public function testImplementsIteratorAggregate() - { - $this->coll->set('key', 'value'); - $this->assertInstanceOf('ArrayIterator', $this->coll->getIterator()); - $this->assertEquals(1, count($this->coll)); - $total = 0; - foreach ($this->coll as $key => $value) { - $this->assertEquals('key', $key); - $this->assertEquals('value', $value); - $total++; - } - $this->assertEquals(1, $total); - } - - /** - * @covers Guzzle\Common\Collection::add - */ - public function testCanAddValuesToExistingKeysByUsingArray() - { - $this->coll->add('test', 'value1'); - $this->assertEquals($this->coll->getAll(), array('test' => 'value1')); - $this->coll->add('test', 'value2'); - $this->assertEquals($this->coll->getAll(), array('test' => array('value1', 'value2'))); - $this->coll->add('test', 'value3'); - $this->assertEquals($this->coll->getAll(), array('test' => array('value1', 'value2', 'value3'))); - } - - /** - * @covers Guzzle\Common\Collection::merge - * @covers Guzzle\Common\Collection::getAll - */ - public function testHandlesMergingInDisparateDataSources() - { - $params = array( - 'test' => 'value1', - 'test2' => 'value2', - 'test3' => array('value3', 'value4') - ); - $this->coll->merge($params); - $this->assertEquals($this->coll->getAll(), $params); - - // Pass an invalid value and expect the same unaltered object - $this->assertEquals($this->coll->merge(false), $this->coll); - - // Pass the same object to itself - $this->assertEquals($this->coll->merge($this->coll), $this->coll); - } - - /** - * @covers Guzzle\Common\Collection::clear - * @covers Guzzle\Common\Collection::remove - */ - public function testCanClearAllDataOrSpecificKeys() - { - $this->coll->merge(array( - 'test' => 'value1', - 'test2' => 'value2' - )); - - // Clear a specific parameter by name - $this->coll->remove('test'); - - $this->assertEquals($this->coll->getAll(), array( - 'test2' => 'value2' - )); - - // Clear all parameters - $this->coll->clear(); - - $this->assertEquals($this->coll->getAll(), array()); - } - - /** - * @covers Guzzle\Common\Collection::get - * @covers Guzzle\Common\Collection::getAll - */ - public function testGetsValuesByKey() - { - $this->assertNull($this->coll->get('test')); - $this->coll->add('test', 'value'); - $this->assertEquals('value', $this->coll->get('test')); - $this->coll->set('test2', 'v2'); - $this->coll->set('test3', 'v3'); - $this->assertEquals(array( - 'test' => 'value', - 'test2' => 'v2' - ), $this->coll->getAll(array('test', 'test2'))); - } - - /** - * @covers Guzzle\Common\Collection::getKeys - * @covers Guzzle\Common\Collection::remove - */ - public function testProvidesKeys() - { - $this->assertEquals(array(), $this->coll->getKeys()); - $this->coll->merge(array( - 'test1' => 'value1', - 'test2' => 'value2' - )); - $this->assertEquals(array('test1', 'test2'), $this->coll->getKeys()); - // Returns the cached array previously returned - $this->assertEquals(array('test1', 'test2'), $this->coll->getKeys()); - $this->coll->remove('test1'); - $this->assertEquals(array('test2'), $this->coll->getKeys()); - $this->coll->add('test3', 'value3'); - $this->assertEquals(array('test2', 'test3'), $this->coll->getKeys()); - } - - /** - * @covers Guzzle\Common\Collection::hasKey - */ - public function testChecksIfHasKey() - { - $this->assertFalse($this->coll->hasKey('test')); - $this->coll->add('test', 'value'); - $this->assertEquals(true, $this->coll->hasKey('test')); - $this->coll->add('test2', 'value2'); - $this->assertEquals(true, $this->coll->hasKey('test')); - $this->assertEquals(true, $this->coll->hasKey('test2')); - $this->assertFalse($this->coll->hasKey('testing')); - $this->assertEquals(false, $this->coll->hasKey('AB-C', 'junk')); - } - - /** - * @covers Guzzle\Common\Collection::hasValue - */ - public function testChecksIfHasValue() - { - $this->assertFalse($this->coll->hasValue('value')); - $this->coll->add('test', 'value'); - $this->assertEquals('test', $this->coll->hasValue('value')); - $this->coll->add('test2', 'value2'); - $this->assertEquals('test', $this->coll->hasValue('value')); - $this->assertEquals('test2', $this->coll->hasValue('value2')); - $this->assertFalse($this->coll->hasValue('val')); - } - - /** - * @covers Guzzle\Common\Collection::getAll - */ - public function testCanGetAllValuesByArray() - { - $this->coll->add('foo', 'bar'); - $this->coll->add('tEsT', 'value'); - $this->coll->add('tesTing', 'v2'); - $this->coll->add('key', 'v3'); - $this->assertNull($this->coll->get('test')); - $this->assertEquals(array( - 'foo' => 'bar', - 'tEsT' => 'value', - 'tesTing' => 'v2' - ), $this->coll->getAll(array( - 'foo', 'tesTing', 'tEsT' - ))); - } - - /** - * @covers Guzzle\Common\Collection::count - */ - public function testImplementsCount() - { - $data = new Collection(); - $this->assertEquals(0, $data->count()); - $data->add('key', 'value'); - $this->assertEquals(1, count($data)); - $data->add('key', 'value2'); - $this->assertEquals(1, count($data)); - $data->add('key_2', 'value3'); - $this->assertEquals(2, count($data)); - } - - /** - * @covers Guzzle\Common\Collection::merge - */ - public function testAddParamsByMerging() - { - $params = array( - 'test' => 'value1', - 'test2' => 'value2', - 'test3' => array('value3', 'value4') - ); - - // Add some parameters - $this->coll->merge($params); - - // Add more parameters by merging them in - $this->coll->merge(array( - 'test' => 'another', - 'different_key' => 'new value' - )); - - $this->assertEquals(array( - 'test' => array('value1', 'another'), - 'test2' => 'value2', - 'test3' => array('value3', 'value4'), - 'different_key' => 'new value' - ), $this->coll->getAll()); - } - - /** - * @covers Guzzle\Common\Collection::filter - */ - public function testAllowsFunctionalFilter() - { - $this->coll->merge(array( - 'fruit' => 'apple', - 'number' => 'ten', - 'prepositions' => array('about', 'above', 'across', 'after'), - 'same_number' => 'ten' - )); - - $filtered = $this->coll->filter(function($key, $value) { - return $value == 'ten'; - }); - - $this->assertNotEquals($filtered, $this->coll); - - $this->assertEquals(array( - 'number' => 'ten', - 'same_number' => 'ten' - ), $filtered->getAll()); - } - - /** - * @covers Guzzle\Common\Collection::map - */ - public function testAllowsFunctionalMapping() - { - $this->coll->merge(array( - 'number_1' => 1, - 'number_2' => 2, - 'number_3' => 3 - )); - - $mapped = $this->coll->map(function($key, $value) { - return $value * $value; - }); - - $this->assertNotEquals($mapped, $this->coll); - - $this->assertEquals(array( - 'number_1' => 1, - 'number_2' => 4, - 'number_3' => 9 - ), $mapped->getAll()); - } - - /** - * @covers Guzzle\Common\Collection::offsetGet - * @covers Guzzle\Common\Collection::offsetSet - * @covers Guzzle\Common\Collection::offsetUnset - * @covers Guzzle\Common\Collection::offsetExists - */ - public function testImplementsArrayAccess() - { - $this->coll->merge(array( - 'k1' => 'v1', - 'k2' => 'v2' - )); - - $this->assertTrue($this->coll->offsetExists('k1')); - $this->assertFalse($this->coll->offsetExists('Krull')); - - $this->coll->offsetSet('k3', 'v3'); - $this->assertEquals('v3', $this->coll->offsetGet('k3')); - $this->assertEquals('v3', $this->coll->get('k3')); - - $this->coll->offsetUnset('k1'); - $this->assertFalse($this->coll->offsetExists('k1')); - } - - /** - * @covers Guzzle\Common\Collection::filter - * @covers Guzzle\Common\Collection::map - */ - public function testUsesStaticWhenCreatingNew() - { - $qs = new QueryString(array( - 'a' => 'b', - 'c' => 'd' - )); - - $this->assertInstanceOf('Guzzle\\Http\\QueryString', $qs->map(function($a, $b) {})); - $this->assertInstanceOf('Guzzle\\Common\\Collection', $qs->map(function($a, $b) {}, array(), false)); - - $this->assertInstanceOf('Guzzle\\Http\\QueryString', $qs->filter(function($a, $b) {})); - $this->assertInstanceOf('Guzzle\\Common\\Collection', $qs->filter(function($a, $b) {}, false)); - } - - /** - * @covers Guzzle\Common\Collection::replace - */ - public function testCanReplaceAllData() - { - $this->assertSame($this->coll, $this->coll->replace(array( - 'a' => '123' - ))); - - $this->assertEquals(array( - 'a' => '123' - ), $this->coll->getAll()); - } - - public function dataProvider() - { - return array( - array('this_is_a_test', '{a}_is_a_{b}', array( - 'a' => 'this', - 'b' => 'test' - )), - array('this_is_a_test', '{abc}_is_a_{0}', array( - 'abc' => 'this', - 0 => 'test' - )), - array('this_is_a_test', '{abc}_is_a_{0}', array( - 'abc' => 'this', - 0 => 'test' - )), - array('this_is_a_test', 'this_is_a_test', array( - 'abc' => 'this' - )), - array('{abc}_is_{not_found}a_{0}', '{abc}_is_{not_found}a_{0}', array()) - ); - } - - /** - * @covers Guzzle\Common\Collection::inject - * @dataProvider dataProvider - */ - public function testInjectsConfigData($output, $input, $config) - { - $collection = new Collection($config); - $this->assertEquals($output, $collection->inject($input)); - } - - /** - * @covers Guzzle\Common\Collection::keySearch - */ - public function testCanSearchByKey() - { - $collection = new Collection(array( - 'foo' => 'bar', - 'BaZ' => 'pho' - )); - - $this->assertEquals('foo', $collection->keySearch('FOO')); - $this->assertEquals('BaZ', $collection->keySearch('baz')); - $this->assertEquals(false, $collection->keySearch('Bar')); - } - - /** - * @covers Guzzle\Common\Collection::fromConfig - */ - public function testPreparesFromConfig() - { - $c = Collection::fromConfig(array( - 'a' => '123', - 'base_url' => 'http://www.test.com/' - ), array( - 'a' => 'xyz', - 'b' => 'lol' - ), array('a')); - - $this->assertInstanceOf('Guzzle\Common\Collection', $c); - $this->assertEquals(array( - 'a' => '123', - 'b' => 'lol', - 'base_url' => 'http://www.test.com/' - ), $c->getAll()); - - try { - $c = Collection::fromConfig(null, null, array('a')); - $this->fail('Exception not throw when missing config'); - } catch (InvalidArgumentException $e) { - } - } - - function falseyDataProvider() - { - return array( - array(false, false), - array(null, null), - array('', ''), - array(array(), array()), - array(0, 0), - ); - } - - /** - * @dataProvider falseyDataProvider - */ - public function testReturnsCorrectData($a, $b) - { - $c = new Collection(array('value' => $a)); - $this->assertSame($b, $c->get('value')); - } - - /** - * @covers Guzzle\Common\Collection::getPath - */ - public function testRetrievesNestedKeysUsingPath() - { - $data = array( - 'foo' => 'bar', - 'baz' => array( - 'mesa' => array( - 'jar' => 'jar' - ) - ) - ); - $collection = new Collection($data); - $this->assertEquals('bar', $collection->getPath('foo')); - $this->assertEquals('jar', $collection->getPath('baz/mesa/jar')); - $this->assertNull($collection->getPath('wewewf')); - $this->assertNull($collection->getPath('baz/mesa/jar/jar')); - } - - /** - * @covers Guzzle\Common\Collection::getPath - */ - public function testFalseyKeysStillDescend() - { - $collection = new Collection(array( - '0' => array( - 'a' => 'jar' - ), - 1 => 'other' - )); - $this->assertEquals('jar', $collection->getPath('0/a')); - $this->assertEquals('other', $collection->getPath('1')); - } - - public function getPathProvider() - { - $data = array( - 'foo' => 'bar', - 'baz' => array( - 'mesa' => array( - 'jar' => 'jar', - 'array' => array('a', 'b', 'c') - ), - 'bar' => array( - 'baz' => 'bam', - 'array' => array('d', 'e', 'f') - ) - ), - 'bam' => array( - array('foo' => 1), - array('foo' => 2), - array('array' => array('h', 'i')) - ) - ); - $c = new Collection($data); - - return array( - // Simple path selectors - array($c, 'foo', 'bar'), - array($c, 'baz', $data['baz']), - array($c, 'bam', $data['bam']), - array($c, 'baz/mesa', $data['baz']['mesa']), - array($c, 'baz/mesa/jar', 'jar'), - // Merge everything two levels under baz - array($c, 'baz/*', array( - 'jar' => 'jar', - 'array' => array_merge($data['baz']['mesa']['array'], $data['baz']['bar']['array']), - 'baz' => 'bam' - )), - // Does not barf on missing keys - array($c, 'fefwfw', null), - // Does not barf when a wildcard does not resolve correctly - array($c, '*/*/*/*/*/wefwfe', array()), - // Allows custom separator - array($c, '*|mesa', $data['baz']['mesa'], '|'), - // Merge all 'array' keys two levels under baz (the trailing * does not hurt the results) - array($c, 'baz/*/array/*', array_merge($data['baz']['mesa']['array'], $data['baz']['bar']['array'])), - // Merge all 'array' keys two levels under baz - array($c, 'baz/*/array', array_merge($data['baz']['mesa']['array'], $data['baz']['bar']['array'])), - array($c, 'baz/mesa/array', $data['baz']['mesa']['array']), - // Having a trailing * does not hurt the results - array($c, 'baz/mesa/array/*', $data['baz']['mesa']['array']), - // Merge of anything one level deep - array($c, '*', array_merge(array('bar'), $data['baz'], $data['bam'])), - // Funky merge of anything two levels deep - array($c, '*/*', array( - 'jar' => 'jar', - 'array' => array('a', 'b', 'c', 'd', 'e', 'f', 'h', 'i'), - 'baz' => 'bam', - 'foo' => array(1, 2) - )), - // Funky merge of all 'array' keys that are two levels deep - array($c, '*/*/array', array('a', 'b', 'c', 'd', 'e', 'f', 'h', 'i')) - ); - } - - /** - * @dataProvider getPathProvider - * @covers Guzzle\Common\Collection::getPath - */ - public function testGetPath(Collection $c, $path, $expected, $separator = '/') - { - $this->assertEquals($expected, $c->getPath($path, $separator)); - } - - /** - * @covers Guzzle\Common\Collection::overwriteWith - */ - public function testOverridesSettings() - { - $c = new Collection(array('foo' => 1, 'baz' => 2, 'bar' => 3)); - $c->overwriteWith(array('foo' => 10, 'bar' => 300)); - $this->assertEquals(array('foo' => 10, 'baz' => 2, 'bar' => 300), $c->getAll()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/EventTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/EventTest.php deleted file mode 100644 index c30d0d2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/EventTest.php +++ /dev/null @@ -1,74 +0,0 @@ - '123', - 'other' => '456', - 'event' => 'test.notify' - )); - } - - /** - * @covers Guzzle\Common\Event::__construct - */ - public function testAllowsParameterInjection() - { - $event = new Event(array( - 'test' => '123' - )); - $this->assertEquals('123', $event['test']); - } - - /** - * @covers Guzzle\Common\Event::offsetGet - * @covers Guzzle\Common\Event::offsetSet - * @covers Guzzle\Common\Event::offsetUnset - * @covers Guzzle\Common\Event::offsetExists - */ - public function testImplementsArrayAccess() - { - $event = $this->getEvent(); - $this->assertEquals('123', $event['test']); - $this->assertNull($event['foobar']); - - $this->assertTrue($event->offsetExists('test')); - $this->assertFalse($event->offsetExists('foobar')); - - unset($event['test']); - $this->assertFalse($event->offsetExists('test')); - - $event['test'] = 'new'; - $this->assertEquals('new', $event['test']); - } - - /** - * @covers Guzzle\Common\Event::getIterator - */ - public function testImplementsIteratorAggregate() - { - $event = $this->getEvent(); - $this->assertInstanceOf('ArrayIterator', $event->getIterator()); - } - - /** - * @covers Guzzle\Common\Event::toArray - */ - public function testConvertsToArray() - { - $this->assertEquals(array( - 'test' => '123', - 'other' => '456', - 'event' => 'test.notify' - ), $this->getEvent()->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/BatchTransferExceptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/BatchTransferExceptionTest.php deleted file mode 100644 index c72a2a6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/BatchTransferExceptionTest.php +++ /dev/null @@ -1,21 +0,0 @@ -getMock('Guzzle\Batch\BatchTransferInterface'); - $d = $this->getMock('Guzzle\Batch\BatchDivisorInterface'); - $transferException = new BatchTransferException(array('foo'), array(1, 2), $e, $t, $d); - $this->assertEquals(array('foo'), $transferException->getBatch()); - $this->assertSame($t, $transferException->getTransferStrategy()); - $this->assertSame($d, $transferException->getDivisorStrategy()); - $this->assertSame($e, $transferException->getPrevious()); - $this->assertEquals(array(1, 2), $transferException->getTransferredItems()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/ExceptionCollectionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/ExceptionCollectionTest.php deleted file mode 100644 index 1b309e3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/ExceptionCollectionTest.php +++ /dev/null @@ -1,47 +0,0 @@ -getExceptions(); - $e->add($exceptions[0]); - $e->add($exceptions[1]); - $this->assertEquals("Test\nTesting", $e->getMessage()); - $this->assertSame($exceptions[0], $e->getFirst()); - } - - public function testActsAsArray() - { - $e = new ExceptionCollection(); - $exceptions = $this->getExceptions(); - $e->add($exceptions[0]); - $e->add($exceptions[1]); - $this->assertEquals(2, count($e)); - $this->assertEquals($exceptions, $e->getIterator()->getArrayCopy()); - } - - public function testCanAddSelf() - { - $e1 = new ExceptionCollection(); - $e1->add(new \Exception("Test")); - $e2 = new ExceptionCollection(); - $e2->add(new \Exception("Test 2")); - - $e1->add($e2); - $this->assertEquals("Test\nTest 2", $e1->getMessage()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/GuzzleTestCase.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/GuzzleTestCase.php deleted file mode 100644 index 7e19b48..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/GuzzleTestCase.php +++ /dev/null @@ -1,233 +0,0 @@ -isRunning()) { - self::$server->flush(); - } else { - self::$server->start(); - } - } catch (\Exception $e) { - fwrite(STDERR, $e->getMessage()); - } - } - - return self::$server; - } - - /** - * Set the service builder to use for tests - * - * @param ServiceBuilderInterface $builder Service builder - */ - public static function setServiceBuilder(ServiceBuilderInterface $builder) - { - self::$serviceBuilder = $builder; - } - - /** - * Get a service builder object that can be used throughout the service tests - * - * @return ServiceBuilder - */ - public static function getServiceBuilder() - { - if (!self::$serviceBuilder) { - throw new RuntimeException('No service builder has been set via setServiceBuilder()'); - } - - return self::$serviceBuilder; - } - - /** - * Check if an event dispatcher has a subscriber - * - * @param HasDispatcherInterface $dispatcher - * @param EventSubscriberInterface $subscriber - * - * @return bool - */ - protected function hasSubscriber(HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) - { - $class = get_class($subscriber); - $all = array_keys(call_user_func(array($class, 'getSubscribedEvents'))); - - foreach ($all as $i => $event) { - foreach ($dispatcher->getEventDispatcher()->getListeners($event) as $e) { - if ($e[0] === $subscriber) { - unset($all[$i]); - break; - } - } - } - - return count($all) == 0; - } - - /** - * Get a wildcard observer for an event dispatcher - * - * @param HasDispatcherInterface $hasEvent - * - * @return MockObserver - */ - public function getWildcardObserver(HasDispatcherInterface $hasDispatcher) - { - $class = get_class($hasDispatcher); - $o = new MockObserver(); - $events = call_user_func(array($class, 'getAllEvents')); - foreach ($events as $event) { - $hasDispatcher->getEventDispatcher()->addListener($event, array($o, 'update')); - } - - return $o; - } - - /** - * Set the mock response base path - * - * @param string $path Path to mock response folder - * - * @return GuzzleTestCase - */ - public static function setMockBasePath($path) - { - self::$mockBasePath = $path; - } - - /** - * Mark a request as being mocked - * - * @param RequestInterface $request - * - * @return self - */ - public function addMockedRequest(RequestInterface $request) - { - $this->requests[] = $request; - - return $this; - } - - /** - * Get all of the mocked requests - * - * @return array - */ - public function getMockedRequests() - { - return $this->requests; - } - - /** - * Get a mock response for a client by mock file name - * - * @param string $path Relative path to the mock response file - * - * @return Response - */ - public function getMockResponse($path) - { - return $path instanceof Response - ? $path - : MockPlugin::getMockFile(self::$mockBasePath . DIRECTORY_SEPARATOR . $path); - } - - /** - * Set a mock response from a mock file on the next client request. - * - * This method assumes that mock response files are located under the - * Command/Mock/ directory of the Service being tested - * (e.g. Unfuddle/Command/Mock/). A mock response is added to the next - * request sent by the client. - * - * @param Client $client Client object to modify - * @param string $paths Path to files within the Mock folder of the service - * - * @return MockPlugin returns the created mock plugin - */ - public function setMockResponse(Client $client, $paths) - { - $this->requests = array(); - $that = $this; - $mock = new MockPlugin(null, true); - $client->getEventDispatcher()->removeSubscriber($mock); - $mock->getEventDispatcher()->addListener('mock.request', function(Event $event) use ($that) { - $that->addMockedRequest($event['request']); - }); - - foreach ((array) $paths as $path) { - $mock->addResponse($this->getMockResponse($path)); - } - - $client->getEventDispatcher()->addSubscriber($mock); - - return $mock; - } - - /** - * Compare HTTP headers and use special markup to filter values - * A header prefixed with '!' means it must not exist - * A header prefixed with '_' means it must be ignored - * A header value of '*' means anything after the * will be ignored - * - * @param array $filteredHeaders Array of special headers - * @param array $actualHeaders Array of headers to check against - * - * @return array|bool Returns an array of the differences or FALSE if none - */ - public function compareHeaders($filteredHeaders, $actualHeaders) - { - $comparison = new HeaderComparison(); - - return $comparison->compare($filteredHeaders, $actualHeaders); - } - - /** - * Case insensitive assertContains - * - * @param string $needle Search string - * @param string $haystack Search this - * @param string $message Optional failure message - */ - public function assertContainsIns($needle, $haystack, $message = null) - { - $this->assertContains(strtolower($needle), strtolower($haystack), $message); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/AbstractEntityBodyDecoratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/AbstractEntityBodyDecoratorTest.php deleted file mode 100644 index 20feaa8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/AbstractEntityBodyDecoratorTest.php +++ /dev/null @@ -1,34 +0,0 @@ -getMockForAbstractClass('Guzzle\Http\AbstractEntityBodyDecorator', array($e)); - - $this->assertSame($e->getStream(), $mock->getStream()); - $this->assertSame($e->getContentLength(), $mock->getContentLength()); - $this->assertSame($e->getSize(), $mock->getSize()); - $this->assertSame($e->getContentMd5(), $mock->getContentMd5()); - $this->assertSame($e->getContentType(), $mock->getContentType()); - $this->assertSame($e->__toString(), $mock->__toString()); - $this->assertSame($e->getUri(), $mock->getUri()); - $this->assertSame($e->getStreamType(), $mock->getStreamType()); - $this->assertSame($e->getWrapper(), $mock->getWrapper()); - $this->assertSame($e->getWrapperData(), $mock->getWrapperData()); - $this->assertSame($e->isReadable(), $mock->isReadable()); - $this->assertSame($e->isWritable(), $mock->isWritable()); - $this->assertSame($e->isConsumed(), $mock->isConsumed()); - $this->assertSame($e->isLocal(), $mock->isLocal()); - $this->assertSame($e->isSeekable(), $mock->isSeekable()); - $this->assertSame($e->getContentEncoding(), $mock->getContentEncoding()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/ClientTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/ClientTest.php deleted file mode 100644 index e711575..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/ClientTest.php +++ /dev/null @@ -1,679 +0,0 @@ -assertEquals('http://www.google.com/', $client->getBaseUrl()); - $this->assertSame($client, $client->setConfig(array( - 'test' => '123' - ))); - $this->assertEquals(array('test' => '123'), $client->getConfig()->getAll()); - $this->assertEquals('123', $client->getConfig('test')); - $this->assertSame($client, $client->setBaseUrl('http://www.test.com/{test}')); - $this->assertEquals('http://www.test.com/123', $client->getBaseUrl()); - $this->assertEquals('http://www.test.com/{test}', $client->getBaseUrl(false)); - - try { - $client->setConfig(false); - } catch (\InvalidArgumentException $e) { - } - } - - /** - * @covers Guzzle\Http\Client::getAllEvents - */ - public function testDescribesEvents() - { - $this->assertEquals(array('client.create_request'), Client::getAllEvents()); - } - - /** - * @covers Guzzle\Http\Client::__construct - */ - public function testConstructorCanAcceptConfig() - { - $client = new Client('http://www.test.com/', array( - 'data' => '123' - )); - $this->assertEquals('123', $client->getConfig('data')); - } - - /** - * @covers Guzzle\Http\Client::setConfig - */ - public function testCanUseCollectionAsConfig() - { - $client = new Client('http://www.google.com/'); - $client->setConfig(new Collection(array( - 'api' => 'v1', - 'key' => 'value', - 'base_url' => 'http://www.google.com/' - ))); - $this->assertEquals('v1', $client->getConfig('api')); - } - - /** - * @covers Guzzle\Http\Client - */ - public function testExpandsUriTemplatesUsingConfig() - { - $client = new Client('http://www.google.com/'); - $client->setConfig(array( - 'api' => 'v1', - 'key' => 'value', - 'foo' => 'bar' - )); - $this->assertEquals('Testing...api/v1/key/value', $client->expandTemplate('Testing...api/{api}/key/{key}')); - - // Make sure that the client properly validates and injects config - $this->assertEquals('bar', $client->getConfig('foo')); - } - - /** - * @covers Guzzle\Http\Client::createRequest - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - */ - public function testValidatesArrayForTemplateIsValid() - { - $client = new Client('http://www.google.com/'); - $client->createRequest('GET', array('foo' => 'bar', 'baz' => 'bam')); - } - - /** - * @covers Guzzle\Http\Client::__construct - * @covers Guzzle\Http\Client::createRequest - */ - public function testClientAttachersObserversToRequests() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - - $client = new Client($this->getServer()->getUrl()); - $logPlugin = $this->getLogPlugin(); - $client->getEventDispatcher()->addSubscriber($logPlugin); - - // Get a request from the client and ensure the the observer was - // attached to the new request - $request = $client->createRequest(); - $this->assertTrue($this->hasSubscriber($request, $logPlugin)); - } - - /** - * @covers Guzzle\Http\Client::getBaseUrl - * @covers Guzzle\Http\Client::setBaseUrl - */ - public function testClientReturnsValidBaseUrls() - { - $client = new Client('http://www.{foo}.{data}/', array( - 'data' => '123', - 'foo' => 'bar' - )); - $this->assertEquals('http://www.bar.123/', $client->getBaseUrl()); - $client->setBaseUrl('http://www.google.com/'); - $this->assertEquals('http://www.google.com/', $client->getBaseUrl()); - } - - /** - * @covers Guzzle\Http\Client::createRequest - * @covers Guzzle\Http\Client::prepareRequest - */ - public function testClientAddsCurlOptionsToRequests() - { - $client = new Client('http://www.test.com/', array( - 'api' => 'v1', - // Adds the option using the curl values - 'curl.options' => array( - 'CURLOPT_HTTPAUTH' => 'CURLAUTH_DIGEST', - 'abc' => 'foo', - 'blacklist' => 'abc', - 'debug' => true - ) - )); - - $request = $client->createRequest(); - $options = $request->getCurlOptions(); - $this->assertEquals(CURLAUTH_DIGEST, $options->get(CURLOPT_HTTPAUTH)); - $this->assertEquals('foo', $options->get('abc')); - $this->assertEquals('abc', $options->get('blacklist')); - } - - /** - * @covers Guzzle\Http\Client::setSslVerification - */ - public function testClientAllowsFineGrainedSslControlButIsSecureByDefault() - { - $client = new Client('https://www.secure.com/'); - - // secure by default - $request = $client->createRequest(); - $options = $request->getCurlOptions(); - $this->assertTrue($options->get(CURLOPT_SSL_VERIFYPEER)); - - // set a capath if you prefer - $client = new Client('https://www.secure.com/'); - $client->setSslVerification(__DIR__); - $request = $client->createRequest(); - $options = $request->getCurlOptions(); - $this->assertSame(__DIR__, $options->get(CURLOPT_CAPATH)); - } - /** - * @covers Guzzle\Http\Client::__construct - */ - public function testConfigSettingsControlSslConfiguration() - { - // Use the default ca certs on the system - $client = new Client('https://www.secure.com/', array('ssl.certificate_authority' => 'system')); - $this->assertNull($client->getConfig('curl.options')); - // Can set the cacert value as well - $client = new Client('https://www.secure.com/', array('ssl.certificate_authority' => false)); - $options = $client->getConfig('curl.options'); - $this->assertArrayNotHasKey(CURLOPT_CAINFO, $options); - $this->assertSame(false, $options[CURLOPT_SSL_VERIFYPEER]); - $this->assertSame(2, $options[CURLOPT_SSL_VERIFYHOST]); - } - - /** - * @covers Guzzle\Http\Client::setSslVerification - */ - public function testClientAllowsUnsafeOperationIfRequested() - { - // be really unsafe if you insist - $client = new Client('https://www.secure.com/', array( - 'api' => 'v1' - )); - - $client->setSslVerification(false); - $request = $client->createRequest(); - $options = $request->getCurlOptions(); - $this->assertFalse($options->get(CURLOPT_SSL_VERIFYPEER)); - $this->assertNull($options->get(CURLOPT_CAINFO)); - } - - /** - * @covers Guzzle\Http\Client::setSslVerification - */ - public function testClientAllowsSettingSpecificSslCaInfo() - { - // set a file other than the provided cacert.pem - $client = new Client('https://www.secure.com/', array( - 'api' => 'v1' - )); - - $client->setSslVerification(__FILE__); - $request = $client->createRequest(); - $options = $request->getCurlOptions(); - $this->assertSame(__FILE__, $options->get(CURLOPT_CAINFO)); - } - - /** - * @covers Guzzle\Http\Client::setSslVerification - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testClientPreventsInadvertentInsecureVerifyHostSetting() - { - // set a file other than the provided cacert.pem - $client = new Client('https://www.secure.com/', array( - 'api' => 'v1' - )); - $client->setSslVerification(__FILE__, true, true); - } - - /** - * @covers Guzzle\Http\Client::setSslVerification - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testClientPreventsInvalidVerifyPeerSetting() - { - // set a file other than the provided cacert.pem - $client = new Client('https://www.secure.com/', array( - 'api' => 'v1' - )); - $client->setSslVerification(__FILE__, 'yes'); - } - - /** - * @covers Guzzle\Http\Client::prepareRequest - */ - public function testClientAddsParamsToRequests() - { - $client = new Client('http://www.example.com', array( - 'api' => 'v1', - 'request.params' => array( - 'foo' => 'bar', - 'baz' => 'jar' - ) - )); - $request = $client->createRequest(); - $this->assertEquals('bar', $request->getParams()->get('foo')); - $this->assertEquals('jar', $request->getParams()->get('baz')); - } - - public function urlProvider() - { - $u = $this->getServer()->getUrl() . 'base/'; - $u2 = $this->getServer()->getUrl() . 'base?z=1'; - return array( - array($u, '', $u), - array($u, 'relative/path/to/resource', $u . 'relative/path/to/resource'), - array($u, 'relative/path/to/resource?a=b&c=d', $u . 'relative/path/to/resource?a=b&c=d'), - array($u, '/absolute/path/to/resource', $this->getServer()->getUrl() . 'absolute/path/to/resource'), - array($u, '/absolute/path/to/resource?a=b&c=d', $this->getServer()->getUrl() . 'absolute/path/to/resource?a=b&c=d'), - array($u2, '/absolute/path/to/resource?a=b&c=d', $this->getServer()->getUrl() . 'absolute/path/to/resource?a=b&c=d'), - array($u2, 'relative/path/to/resource', $this->getServer()->getUrl() . 'base/relative/path/to/resource?z=1'), - array($u2, 'relative/path/to/resource?another=query', $this->getServer()->getUrl() . 'base/relative/path/to/resource?z=1&another=query') - ); - } - - /** - * @dataProvider urlProvider - * @covers Guzzle\Http\Client::createRequest - */ - public function testBuildsRelativeUrls($baseUrl, $url, $result) - { - $client = new Client($baseUrl); - $this->assertEquals($client->get($url)->getUrl(), $result); - } - - /** - * @covers Guzzle\Http\Client - */ - public function testAllowsConfigsToBeChangedAndInjectedInBaseUrl() - { - $client = new Client('http://{a}/{b}'); - $this->assertEquals('http:///', $client->getBaseUrl()); - $this->assertEquals('http://{a}/{b}', $client->getBaseUrl(false)); - $client->setConfig(array( - 'a' => 'test.com', - 'b' => 'index.html' - )); - $this->assertEquals('http://test.com/index.html', $client->getBaseUrl()); - } - - /** - * @covers Guzzle\Http\Client::createRequest - */ - public function testCreatesRequestsWithDefaultValues() - { - $client = new Client($this->getServer()->getUrl() . 'base'); - - // Create a GET request - $request = $client->createRequest(); - $this->assertEquals('GET', $request->getMethod()); - $this->assertEquals($client->getBaseUrl(), $request->getUrl()); - - // Create a DELETE request - $request = $client->createRequest('DELETE'); - $this->assertEquals('DELETE', $request->getMethod()); - $this->assertEquals($client->getBaseUrl(), $request->getUrl()); - - // Create a HEAD request with custom headers - $request = $client->createRequest('HEAD', 'http://www.test.com/'); - $this->assertEquals('HEAD', $request->getMethod()); - $this->assertEquals('http://www.test.com/', $request->getUrl()); - - // Create a PUT request - $request = $client->createRequest('PUT'); - $this->assertEquals('PUT', $request->getMethod()); - - // Create a PUT request with injected config - $client->getConfig()->set('a', 1)->set('b', 2); - $request = $client->createRequest('PUT', '/path/{a}?q={b}'); - $this->assertEquals($request->getUrl(), $this->getServer()->getUrl() . 'path/1?q=2'); - } - - /** - * @covers Guzzle\Http\Client::get - * @covers Guzzle\Http\Client::delete - * @covers Guzzle\Http\Client::head - * @covers Guzzle\Http\Client::put - * @covers Guzzle\Http\Client::post - * @covers Guzzle\Http\Client::options - * @covers Guzzle\Http\Client::patch - */ - public function testClientHasHelperMethodsForCreatingRequests() - { - $url = $this->getServer()->getUrl(); - $client = new Client($url . 'base'); - $this->assertEquals('GET', $client->get()->getMethod()); - $this->assertEquals('PUT', $client->put()->getMethod()); - $this->assertEquals('POST', $client->post()->getMethod()); - $this->assertEquals('HEAD', $client->head()->getMethod()); - $this->assertEquals('DELETE', $client->delete()->getMethod()); - $this->assertEquals('OPTIONS', $client->options()->getMethod()); - $this->assertEquals('PATCH', $client->patch()->getMethod()); - $this->assertEquals($url . 'base/abc', $client->get('abc')->getUrl()); - $this->assertEquals($url . 'zxy', $client->put('/zxy')->getUrl()); - $this->assertEquals($url . 'zxy?a=b', $client->post('/zxy?a=b')->getUrl()); - $this->assertEquals($url . 'base?a=b', $client->head('?a=b')->getUrl()); - $this->assertEquals($url . 'base?a=b', $client->delete('/base?a=b')->getUrl()); - } - - /** - * @covers Guzzle\Http\Client::createRequest - */ - public function testClientInjectsConfigsIntoUrls() - { - $client = new Client('http://www.test.com/api/v1', array( - 'test' => '123' - )); - $request = $client->get('relative/{test}'); - $this->assertEquals('http://www.test.com/api/v1/relative/123', $request->getUrl()); - } - - /** - * @covers Guzzle\Http\Client - */ - public function testAllowsEmptyBaseUrl() - { - $client = new Client(); - $request = $client->get('http://www.google.com/'); - $this->assertEquals('http://www.google.com/', $request->getUrl()); - $request->setResponse(new Response(200), true); - $request->send(); - } - - /** - * @covers Guzzle\Http\Client::send - * @covers Guzzle\Http\Client::setCurlMulti - * @covers Guzzle\Http\Client::getCurlMulti - */ - public function testAllowsCustomCurlMultiObjects() - { - $mock = $this->getMock('Guzzle\\Http\\Curl\\CurlMulti', array('add', 'send')); - $mock->expects($this->once()) - ->method('add'); - $mock->expects($this->once()) - ->method('send'); - - $client = new Client(); - $client->setCurlMulti($mock); - - $request = $client->get(); - $request->setResponse(new Response(200), true); - $client->send($request); - } - - /** - * @covers Guzzle\Http\Client::send - */ - public function testClientSendsMultipleRequests() - { - $client = new Client($this->getServer()->getUrl()); - $mock = new MockPlugin(); - - $responses = array( - new Response(200), - new Response(201), - new Response(202) - ); - - $mock->addResponse($responses[0]); - $mock->addResponse($responses[1]); - $mock->addResponse($responses[2]); - - $client->getEventDispatcher()->addSubscriber($mock); - - $requests = array( - $client->get(), - $client->head(), - $client->put('/', null, 'test') - ); - - $this->assertEquals(array( - $responses[0], - $responses[1], - $responses[2] - ), $client->send($requests)); - } - - /** - * @covers Guzzle\Http\Client::send - */ - public function testClientSendsSingleRequest() - { - $client = new Client($this->getServer()->getUrl()); - $mock = new MockPlugin(); - $response = new Response(200); - $mock->addResponse($response); - $client->getEventDispatcher()->addSubscriber($mock); - $this->assertEquals($response, $client->send($client->get())); - } - - /** - * @covers Guzzle\Http\Client::send - * @expectedException Guzzle\Http\Exception\BadResponseException - */ - public function testClientThrowsExceptionForSingleRequest() - { - $client = new Client($this->getServer()->getUrl()); - $mock = new MockPlugin(); - $response = new Response(404); - $mock->addResponse($response); - $client->getEventDispatcher()->addSubscriber($mock); - $client->send($client->get()); - } - - /** - * @covers Guzzle\Http\Client::send - * @expectedException Guzzle\Common\Exception\ExceptionCollection - */ - public function testClientThrowsExceptionForMultipleRequests() - { - $client = new Client($this->getServer()->getUrl()); - $mock = new MockPlugin(); - $mock->addResponse(new Response(200)); - $mock->addResponse(new Response(404)); - $client->getEventDispatcher()->addSubscriber($mock); - $client->send(array($client->get(), $client->head())); - } - - /** - * @covers Guzzle\Http\Client - */ - public function testQueryStringsAreNotDoubleEncoded() - { - $client = new Client('http://test.com', array( - 'path' => array('foo', 'bar'), - 'query' => 'hi there', - 'data' => array( - 'test' => 'a&b' - ) - )); - - $request = $client->get('{/path*}{?query,data*}'); - $this->assertEquals('http://test.com/foo/bar?query=hi%20there&test=a%26b', $request->getUrl()); - $this->assertEquals('hi there', $request->getQuery()->get('query')); - $this->assertEquals('a&b', $request->getQuery()->get('test')); - } - - /** - * @covers Guzzle\Http\Client - */ - public function testQueryStringsAreNotDoubleEncodedUsingAbsolutePaths() - { - $client = new Client('http://test.com', array( - 'path' => array('foo', 'bar'), - 'query' => 'hi there', - )); - $request = $client->get('http://test.com{?query}'); - $this->assertEquals('http://test.com?query=hi%20there', $request->getUrl()); - $this->assertEquals('hi there', $request->getQuery()->get('query')); - } - - /** - * @covers Guzzle\Http\Client::setUriTemplate - * @covers Guzzle\Http\Client::getUriTemplate - */ - public function testAllowsUriTemplateInjection() - { - $client = new Client('http://test.com', array( - 'path' => array('foo', 'bar'), - 'query' => 'hi there', - )); - - $a = $client->getUriTemplate(); - $this->assertSame($a, $client->getUriTemplate()); - $client->setUriTemplate(new UriTemplate()); - $this->assertNotSame($a, $client->getUriTemplate()); - } - - /** - * @covers Guzzle\Http\Client::expandTemplate - */ - public function testAllowsCustomVariablesWhenExpandingTemplates() - { - $client = new Client('http://test.com', array( - 'test' => 'hi', - )); - - $uri = $client->expandTemplate('http://{test}{?query*}', array( - 'query' => array( - 'han' => 'solo' - ) - )); - - $this->assertEquals('http://hi?han=solo', $uri); - } - - /** - * @covers Guzzle\Http\Client::createRequest - * @expectedException InvalidArgumentException - */ - public function testUriArrayMustContainExactlyTwoElements() - { - $client = new Client(); - $client->createRequest('GET', array('haha!')); - } - - /** - * @covers Guzzle\Http\Client::createRequest - * @expectedException InvalidArgumentException - */ - public function testUriArrayMustContainAnArray() - { - $client = new Client(); - $client->createRequest('GET', array('haha!', 'test')); - } - - /** - * @covers Guzzle\Http\Client::createRequest - * @covers Guzzle\Http\Client::get - * @covers Guzzle\Http\Client::put - * @covers Guzzle\Http\Client::post - * @covers Guzzle\Http\Client::head - * @covers Guzzle\Http\Client::options - */ - public function testUriArrayAllowsCustomTemplateVariables() - { - $client = new Client(); - $vars = array( - 'var' => 'hi' - ); - $this->assertEquals('/hi', (string) $client->createRequest('GET', array('/{var}', $vars))->getUrl()); - $this->assertEquals('/hi', (string) $client->get(array('/{var}', $vars))->getUrl()); - $this->assertEquals('/hi', (string) $client->put(array('/{var}', $vars))->getUrl()); - $this->assertEquals('/hi', (string) $client->post(array('/{var}', $vars))->getUrl()); - $this->assertEquals('/hi', (string) $client->head(array('/{var}', $vars))->getUrl()); - $this->assertEquals('/hi', (string) $client->options(array('/{var}', $vars))->getUrl()); - } - - /** - * @covers Guzzle\Http\Client::setDefaultHeaders - * @covers Guzzle\Http\Client::getDefaultHeaders - * @covers Guzzle\Http\Client::createRequest - */ - public function testAllowsDefaultHeaders() - { - $default = array( - 'X-Test' => 'Hi!' - ); - $other = array( - 'X-Other' => 'Foo' - ); - - $client = new Client(); - $client->setDefaultHeaders($default); - $this->assertEquals($default, $client->getDefaultHeaders()->getAll()); - $client->setDefaultHeaders(new Collection($default)); - $this->assertEquals($default, $client->getDefaultHeaders()->getAll()); - - $request = $client->createRequest('GET', null, $other); - $this->assertEquals('Hi!', $request->getHeader('X-Test')); - $this->assertEquals('Foo', $request->getHeader('X-Other')); - - $request = $client->createRequest('GET', null, new Collection($other)); - $this->assertEquals('Hi!', $request->getHeader('X-Test')); - $this->assertEquals('Foo', $request->getHeader('X-Other')); - - $request = $client->createRequest('GET'); - $this->assertEquals('Hi!', $request->getHeader('X-Test')); - } - - /** - * @covers Guzzle\Http\Client::setDefaultHeaders - * @expectedException InvalidArgumentException - */ - public function testValidatesDefaultHeaders() - { - $client = new Client(); - $client->setDefaultHeaders('foo'); - } - - public function testDontReuseCurlMulti() - { - $client1 = new Client(); - $client2 = new Client(); - $this->assertNotSame($client1->getCurlMulti(), $client2->getCurlMulti()); - } - - /** - * @covers Guzzle\Http\Client::getDefaultUserAgent - * @covers Guzzle\Http\Client::setUserAgent - */ - public function testGetDefaultUserAgent() - { - $client = new Client(); - $agent = $this->readAttribute($client, 'userAgent'); - $version = curl_version(); - $testAgent = sprintf('Guzzle/%s curl/%s PHP/%s', Version::VERSION, $version['version'], PHP_VERSION); - $this->assertEquals($agent, $testAgent); - - $client->setUserAgent('foo'); - $this->assertEquals('foo', $this->readAttribute($client, 'userAgent')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php deleted file mode 100644 index 6b1e966..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php +++ /dev/null @@ -1,971 +0,0 @@ -getEventDispatcher()->addListener('request.sent', function (Event $e) use ($that) { - $that->requestHandle = $e['handle']; - }); - - return $request; - } - - public function setUp() - { - $this->requestHandle = null; - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - * @expectedException \InvalidArgumentException - */ - public function testConstructorExpectsCurlResource() - { - $h = new CurlHandle(false, array()); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testConstructorExpectsProperOptions() - { - $h = curl_init($this->getServer()->getUrl()); - try { - $ha = new CurlHandle($h, false); - $this->fail('Expected InvalidArgumentException'); - } catch (\InvalidArgumentException $e) { - } - - $ha = new CurlHandle($h, array( - CURLOPT_URL => $this->getServer()->getUrl() - )); - $this->assertEquals($this->getServer()->getUrl(), $ha->getOptions()->get(CURLOPT_URL)); - - $ha = new CurlHandle($h, new Collection(array( - CURLOPT_URL => $this->getServer()->getUrl() - ))); - $this->assertEquals($this->getServer()->getUrl(), $ha->getOptions()->get(CURLOPT_URL)); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::__construct - * @covers Guzzle\Http\Curl\CurlHandle::getHandle - * @covers Guzzle\Http\Curl\CurlHandle::getUrl - * @covers Guzzle\Http\Curl\CurlHandle::getOptions - */ - public function testConstructorInitializesObject() - { - $handle = curl_init($this->getServer()->getUrl()); - $h = new CurlHandle($handle, array( - CURLOPT_URL => $this->getServer()->getUrl() - )); - $this->assertSame($handle, $h->getHandle()); - $this->assertInstanceOf('Guzzle\\Http\\Url', $h->getUrl()); - $this->assertEquals($this->getServer()->getUrl(), (string) $h->getUrl()); - $this->assertEquals($this->getServer()->getUrl(), $h->getOptions()->get(CURLOPT_URL)); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::getStderr - */ - public function testStoresStdErr() - { - $request = RequestFactory::getInstance()->create('GET', 'http://test.com'); - $request->getCurlOptions()->set('debug', true); - $h = CurlHandle::factory($request); - $this->assertEquals($h->getStderr(true), $h->getOptions()->get(CURLOPT_STDERR)); - $this->assertInternalType('resource', $h->getStderr(true)); - $this->assertInternalType('string', $h->getStderr(false)); - $r = $h->getStderr(true); - fwrite($r, 'test'); - $this->assertEquals('test', $h->getStderr(false)); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::setErrorNo - * @covers Guzzle\Http\Curl\CurlHandle::getErrorNo - */ - public function testStoresCurlErrorNumber() - { - $h = new CurlHandle(curl_init('http://test.com'), array(CURLOPT_URL => 'http://test.com')); - $this->assertEquals(CURLE_OK, $h->getErrorNo()); - $h->setErrorNo(CURLE_OPERATION_TIMEOUTED); - $this->assertEquals(CURLE_OPERATION_TIMEOUTED, $h->getErrorNo()); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::getStderr - */ - public function testAccountsForMissingStdErr() - { - $handle = curl_init('http://www.test.com/'); - $h = new CurlHandle($handle, array( - CURLOPT_URL => 'http://www.test.com/' - )); - $this->assertNull($h->getStderr(false)); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::isAvailable - */ - public function testDeterminesIfResourceIsAvailable() - { - $handle = curl_init($this->getServer()->getUrl()); - $h = new CurlHandle($handle, array()); - $this->assertTrue($h->isAvailable()); - - // Mess it up by closing the handle - curl_close($handle); - $this->assertFalse($h->isAvailable()); - - // Mess it up by unsetting the handle - $handle = null; - $this->assertFalse($h->isAvailable()); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::getError - * @covers Guzzle\Http\Curl\CurlHandle::getErrorNo - * @covers Guzzle\Http\Curl\CurlHandle::getInfo - */ - public function testWrapsErrorsAndInfo() - { - if (!defined('CURLOPT_TIMEOUT_MS')) { - $this->markTestSkipped('Update curl'); - } - - $settings = array( - CURLOPT_PORT => 123, - CURLOPT_CONNECTTIMEOUT_MS => 1, - CURLOPT_TIMEOUT_MS => 1 - ); - - $handle = curl_init($this->getServer()->getUrl()); - curl_setopt_array($handle, $settings); - $h = new CurlHandle($handle, $settings); - @curl_exec($handle); - - $errors = array( - CURLE_COULDNT_CONNECT => "couldn't connect to host", - CURLE_OPERATION_TIMEOUTED => 'timeout was reached', - CURLE_COULDNT_RESOLVE_HOST => 'connection time-out' - ); - - $this->assertTrue(in_array(strtolower($h->getError()), $errors), $h->getError() . ' was not the error'); - $this->assertTrue($h->getErrorNo() > 0); - - $this->assertEquals($this->getServer()->getUrl(), $h->getInfo(CURLINFO_EFFECTIVE_URL)); - $this->assertInternalType('array', $h->getInfo()); - - curl_close($handle); - $this->assertEquals(null, $h->getInfo('url')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::getInfo - */ - public function testGetInfoWithoutDebugMode() - { - $client = new Client($this->getServer()->getUrl()); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata"); - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()); - $request->getCurlOptions()->set('debug', false); - $request->setClient($client); - $response = $request->send(); - - $info = $response->getInfo(); - $this->assertFalse(empty($info)); - $this->assertEquals($this->getServer()->getUrl(), $info['url']); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::getOptions - */ - public function testWrapsCurlOptions() - { - $handle = curl_init($this->getServer()->getUrl()); - $h = new CurlHandle($handle, array( - CURLOPT_AUTOREFERER => true, - CURLOPT_BUFFERSIZE => 1024 - )); - - $this->assertEquals(true, $h->getOptions()->get(CURLOPT_AUTOREFERER)); - $this->assertEquals(1024, $h->getOptions()->get(CURLOPT_BUFFERSIZE)); - } - - /** - * Data provider for factory tests - * - * @return array - */ - public function dataProvider() - { - $testFile = __DIR__ . '/../../../../../phpunit.xml.dist'; - - $postBody = new QueryString(array('file' => '@' . $testFile)); - $qs = new QueryString(array( - 'x' => 'y', - 'z' => 'a' - )); - - $client = new Client(); - $userAgent = $client->getDefaultUserAgent(); - $auth = base64_encode('michael:123'); - $testFileSize = filesize($testFile); - - return array( - // Send a regular GET - array('GET', 'http://www.google.com/', null, null, array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_HTTPHEADER => array('Accept:', 'Host: www.google.com', 'User-Agent: ' . $userAgent), - )), - // Test that custom request methods can be used - array('TRACE', 'http://www.google.com/', null, null, array( - CURLOPT_CUSTOMREQUEST => 'TRACE' - )), - // Send a GET using a port - array('GET', 'http://127.0.0.1:8080', null, null, array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_PORT => 8080, - CURLOPT_HTTPHEADER => array('Accept:', 'Host: 127.0.0.1:8080', 'User-Agent: ' . $userAgent), - )), - // Send a HEAD request - array('HEAD', 'http://www.google.com/', null, null, array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_HTTPHEADER => array('Accept:', 'Host: www.google.com', 'User-Agent: ' . $userAgent), - CURLOPT_NOBODY => 1 - )), - // Send a GET using basic auth - array('GET', 'https://michael:123@localhost/index.html?q=2', null, null, array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_HTTPHEADER => array( - 'Accept:', - 'Host: localhost', - 'Authorization: Basic ' . $auth, - 'User-Agent: ' . $userAgent - ), - CURLOPT_PORT => 443 - )), - // Send a GET request with custom headers - array('GET', 'http://localhost:8124/', array( - 'x-test-data' => 'Guzzle' - ), null, array( - CURLOPT_PORT => 8124, - CURLOPT_HTTPHEADER => array( - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent, - 'x-test-data: Guzzle' - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'x-test-data' => 'Guzzle' - )), - // Send a POST using a query string - array('POST', 'http://localhost:8124/post.php', null, $qs, array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_POSTFIELDS => 'x=y&z=a', - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent, - 'Content-Type: application/x-www-form-urlencoded' - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Length' => '7', - '!Expect' => null, - 'Content-Type' => 'application/x-www-form-urlencoded', - '!Transfer-Encoding' => null - )), - // Send a PUT using raw data - array('PUT', 'http://localhost:8124/put.php', null, EntityBody::factory(fopen($testFile, 'r+')), array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_READFUNCTION => 'callback', - CURLOPT_INFILESIZE => filesize($testFile), - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - '!Expect' => null, - 'Content-Length' => $testFileSize, - '!Transfer-Encoding' => null - )), - // Send a POST request using an array of fields - array('POST', 'http://localhost:8124/post.php', null, array( - 'x' => 'y', - 'a' => 'b' - ), array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_POST => 1, - CURLOPT_POSTFIELDS => 'x=y&a=b', - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent, - 'Content-Type: application/x-www-form-urlencoded' - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Length' => '7', - '!Expect' => null, - 'Content-Type' => 'application/x-www-form-urlencoded', - '!Transfer-Encoding' => null - )), - // Send a POST request using a POST file - array('POST', 'http://localhost:8124/post.php', null, $postBody, array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_POST => 1, - CURLOPT_POSTFIELDS => array( - 'file' => '@' . $testFile . ';type=application/octet-stream;filename=phpunit.xml.dist' - ), - CURLOPT_HTTPHEADER => array ( - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent, - 'Content-Type: multipart/form-data', - 'Expect: 100-Continue' - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Length' => '*', - 'Expect' => '100-Continue', - 'Content-Type' => 'multipart/form-data; boundary=*', - '!Transfer-Encoding' => null - )), - // Send a POST request with raw POST data and a custom content-type - array('POST', 'http://localhost:8124/post.php', array( - 'Content-Type' => 'application/json' - ), '{"hi":"there"}', array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_POST => 1, - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent, - 'Content-Type: application/json', - 'Content-Length: 14' - ), - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Type' => 'application/json', - '!Expect' => null, - 'Content-Length' => '14', - '!Transfer-Encoding' => null - )), - // Send a POST request with raw POST data, a custom content-type, and use chunked encoding - array('POST', 'http://localhost:8124/post.php', array( - 'Content-Type' => 'application/json', - 'Transfer-Encoding' => 'chunked' - ), '{"hi":"there"}', array( - CURLOPT_RETURNTRANSFER => 0, - CURLOPT_HEADER => 0, - CURLOPT_CONNECTTIMEOUT => 10, - CURLOPT_WRITEFUNCTION => 'callback', - CURLOPT_HEADERFUNCTION => 'callback', - CURLOPT_POST => 1, - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent, - 'Content-Type: application/json', - 'Transfer-Encoding: chunked' - ), - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Type' => 'application/json', - '!Expect' => null, - 'Transfer-Encoding' => 'chunked', - '!Content-Length' => '' - )), - // Send a POST request with no body - array('POST', 'http://localhost:8124/post.php', null, '', array( - CURLOPT_CUSTOMREQUEST => 'POST', - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Length' => '0', - '!Transfer-Encoding' => null - )), - // Send a POST request with empty post fields - array('POST', 'http://localhost:8124/post.php', null, array(), array( - CURLOPT_CUSTOMREQUEST => 'POST', - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Length' => '0', - '!Transfer-Encoding' => null - )), - // Send a PATCH request - array('PATCH', 'http://localhost:8124/patch.php', null, 'body', array( - CURLOPT_INFILESIZE => 4, - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent - ) - )), - // Send a DELETE request with a body - array('DELETE', 'http://localhost:8124/delete.php', null, 'body', array( - CURLOPT_CUSTOMREQUEST => 'DELETE', - CURLOPT_INFILESIZE => 4, - CURLOPT_HTTPHEADER => array ( - 'Expect:', - 'Accept:', - 'Host: localhost:8124', - 'User-Agent: ' . $userAgent - ) - ), array( - 'Host' => '*', - 'User-Agent' => '*', - 'Content-Length' => '4', - '!Expect' => null, - '!Transfer-Encoding' => null - )) - ); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::factory - * @covers Guzzle\Http\Curl\CurlHandle::updateRequestFromTransfer - * @covers Guzzle\Http\Curl\RequestMediator - * @dataProvider dataProvider - */ - public function testFactoryCreatesCurlBasedOnRequest($method, $url, $headers, $body, $options, $expectedHeaders = null) - { - $client = new Client(); - $request = $client->createRequest($method, $url, $headers, $body); - $request->getCurlOptions()->set('debug', true); - - $originalRequest = clone $request; - $curlTest = clone $request; - $handle = CurlHandle::factory($curlTest); - - $this->assertInstanceOf('Guzzle\\Http\\Curl\\CurlHandle', $handle); - $o = $handle->getOptions()->getAll(); - - // Headers are case-insensitive - if (isset($o[CURLOPT_HTTPHEADER])) { - $o[CURLOPT_HTTPHEADER] = array_map('strtolower', $o[CURLOPT_HTTPHEADER]); - } - if (isset($options[CURLOPT_HTTPHEADER])) { - $options[CURLOPT_HTTPHEADER] = array_map('strtolower', $options[CURLOPT_HTTPHEADER]); - } - - $check = 0; - foreach ($options as $key => $value) { - $check++; - $this->assertArrayHasKey($key, $o, '-> Check number ' . $check); - if ($key != CURLOPT_HTTPHEADER && $key != CURLOPT_POSTFIELDS && (is_array($o[$key])) || $o[$key] instanceof \Closure) { - $this->assertEquals('callback', $value, '-> Check number ' . $check); - } else { - $this->assertTrue($value == $o[$key], '-> Check number ' . $check . ' - ' . var_export($value, true) . ' != ' . var_export($o[$key], true)); - } - } - - // If we are testing the actual sent headers - if ($expectedHeaders) { - - // Send the request to the test server - $client = new Client($this->getServer()->getUrl()); - $request->setClient($client); - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request->send(); - - // Get the request that was sent and create a request that we expected - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals($method, $requests[0]->getMethod()); - - $test = $this->compareHeaders($expectedHeaders, $requests[0]->getHeaders()); - $this->assertFalse($test, $test . "\nSent: \n" . $request . "\n\n" . $requests[0]); - - // Ensure only one Content-Length header is sent - if ($request->getHeader('Content-Length')) { - $this->assertEquals((string) $request->getHeader('Content-Length'), (string) $requests[0]->getHeader('Content-Length')); - } - } - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testFactoryUsesSpecifiedProtocol() - { - $request = RequestFactory::getInstance()->create('GET', 'http://localhost:8124/'); - $request->setProtocolVersion('1.1'); - $handle = CurlHandle::factory($request); - $options = $handle->getOptions(); - $this->assertEquals(CURL_HTTP_VERSION_1_1, $options[CURLOPT_HTTP_VERSION]); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testUploadsPutData() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->put('/'); - $request->getCurlOptions()->set('debug', true); - $request->setBody(EntityBody::factory('test'), 'text/plain', false); - $request->getCurlOptions()->set('progress', true); - - $o = $this->getWildcardObserver($request); - $request->send(); - - // Make sure that the events were dispatched - $this->assertTrue($o->has('curl.callback.progress')); - - // Ensure that the request was received exactly as intended - $r = $this->getServer()->getReceivedRequests(true); - - $this->assertEquals(strtolower($request), strtolower($r[0])); - $this->assertFalse($r[0]->hasHeader('Transfer-Encoding')); - $this->assertEquals(4, (string) $r[0]->getHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testUploadsPutDataUsingChunkedEncodingWhenLengthCannotBeDetermined() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi" - )); - $client = new Client($this->getServer()->getUrl()); - $request = $client->put('/'); - $request->setBody(EntityBody::factory(fopen($this->getServer()->getUrl(), 'r')), 'text/plain'); - $request->send(); - - $r = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('chunked', $r[1]->getHeader('Transfer-Encoding')); - $this->assertFalse($r[1]->hasHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testUploadsPutDataUsingChunkedEncodingWhenForced() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->put('/'); - $request->setBody(EntityBody::factory('hi!'), 'text/plain', true); - $request->send(); - - $r = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('chunked', $r[0]->getHeader('Transfer-Encoding')); - $this->assertFalse($r[0]->hasHeader('Content-Length')); - $this->assertEquals('hi!', $r[0]->getBody(true)); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testSendsPostRequestsWithFields() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - - $request = RequestFactory::getInstance()->create('POST', $this->getServer()->getUrl()); - $request->getCurlOptions()->set('debug', true); - $request->setClient(new Client()); - $request->addPostFields(array( - 'a' => 'b', - 'c' => 'ay! ~This is a test, isn\'t it?' - )); - $request->send(); - - // Make sure that the request was sent correctly - $r = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('a=b&c=ay%21%20~This%20is%20a%20test%2C%20isn%27t%20it%3F', (string) $r[0]->getBody()); - - $this->assertEquals(strtolower($request), strtolower($r[0])); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - */ - public function testSendsPostRequestsWithFiles() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - - $request = RequestFactory::getInstance()->create('POST', $this->getServer()->getUrl()); - $request->getCurlOptions()->set('debug', true); - $request->setClient(new Client()); - $request->addPostFiles(array( - 'foo' => __FILE__, - )); - $request->addPostFields(array( - 'bar' => 'baz', - 'arr' => array('a' => 1, 'b' => 2), - )); - $this->updateForHandle($request); - $request->send(); - - // Ensure the CURLOPT_POSTFIELDS option was set properly - $options = $this->requestHandle->getOptions()->getAll(); - $this->assertContains('@' . __FILE__ . ';type=text/x-', $options[CURLOPT_POSTFIELDS]['foo']); - $this->assertEquals('baz', $options[CURLOPT_POSTFIELDS]['bar']); - $this->assertEquals('1', $options[CURLOPT_POSTFIELDS]['arr[a]']); - $this->assertEquals('2', $options[CURLOPT_POSTFIELDS]['arr[b]']); - // Ensure that a Content-Length header was sent by cURL - $this->assertTrue($request->hasHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::factory - */ - public function testHeadersCanBeBlacklisted() - { - $client = new Client($this->getServer()->getUrl(), array( - 'curl.options' => array( - 'blacklist' => array('header.Foo', CURLOPT_FOLLOWLOCATION) - ) - )); - $request = $client->put(); - $request->setHeader('Foo', 'Bar'); - $handle = CurlHandle::factory($request); - $headers = $handle->getOptions()->get(CURLOPT_HTTPHEADER); - $this->assertTrue(in_array('Foo:', $headers)); - $this->assertFalse($handle->getOptions()->hasKey(CURLOPT_FOLLOWLOCATION)); - - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request->send(); - - $r = $this->getServer()->getReceivedRequests(true); - $this->assertFalse($r[0]->hasHeader('Foo')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::factory - */ - public function testCurlConfigurationOptionsAreSet() - { - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()); - $request->setClient(new Client('http://www.example.com')); - $request->getCurlOptions()->set(CURLOPT_CONNECTTIMEOUT, 99); - $request->getCurlOptions()->set('curl.fake_opt', 99); - $request->getCurlOptions()->set(CURLOPT_PORT, 8181); - $handle = CurlHandle::factory($request); - $this->assertEquals(99, $handle->getOptions()->get(CURLOPT_CONNECTTIMEOUT)); - $this->assertEquals(8181, $handle->getOptions()->get(CURLOPT_PORT)); - $this->assertNull($handle->getOptions()->get('curl.fake_opt')); - $this->assertNull($handle->getOptions()->get('fake_opt')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::factory - */ - public function testAllowsHeadersSetToNull() - { - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()); - $request->setClient(new Client()); - $request->setBody('test'); - $request->setHeader('Expect', null); - $handle = CurlHandle::factory($request); - $headers = $handle->getOptions()->get(CURLOPT_HTTPHEADER); - $this->assertTrue(in_array('Expect:', $headers)); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::updateRequestFromTransfer - */ - public function testEnsuresRequestsHaveResponsesWhenUpdatingFromTransfer() - { - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()); - $handle = CurlHandle::factory($request); - $handle->updateRequestFromTransfer($request); - } - - public function testCanSendBodyAsString() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $client = new Client($this->getServer()->getUrl()); - $request = $client->put('/', null, 'foo'); - $request->getCurlOptions()->set('body_as_string', true); - $request->send(); - $requests = $this->getServer()->getReceivedRequests(false); - $this->assertContains('PUT /', $requests[0]); - $this->assertContains("\nfoo", $requests[0]); - $this->assertContains('content-length: 3', $requests[0]); - $this->assertNotContains('content-type', $requests[0]); - } - - public function testCanSendPostBodyAsString() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $client = new Client($this->getServer()->getUrl()); - $request = $client->post('/', null, 'foo'); - $request->getCurlOptions()->set('body_as_string', true); - $request->send(); - $requests = $this->getServer()->getReceivedRequests(false); - $this->assertContains('POST /', $requests[0]); - $this->assertContains("\nfoo", $requests[0]); - $this->assertContains('content-length: 3', $requests[0]); - $this->assertContains('application/x-www-form-urlencoded', $requests[0]); - } - - public function testAllowsWireTransferInfoToBeEnabled() - { - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()); - $request->getCurlOptions()->set('debug', true); - $handle = CurlHandle::factory($request); - $this->assertNotNull($handle->getOptions()->get(CURLOPT_STDERR)); - $this->assertNotNull($handle->getOptions()->get(CURLOPT_VERBOSE)); - } - - public function testAddsCustomCurlOptions() - { - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()); - $request->getCurlOptions()->set(CURLOPT_TIMEOUT, 200); - $handle = CurlHandle::factory($request); - $this->assertEquals(200, $handle->getOptions()->get(CURLOPT_TIMEOUT)); - } - - public function testSendsPostUploadsWithContentDispositionHeaders() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\n\r\nContent-Length: 0\r\n\r\n"); - - $fileToUpload = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'TestData' . DIRECTORY_SEPARATOR . 'test_service.json'; - - $client = new Client($this->getServer()->getUrl()); - $request = $client->post(); - $request->addPostFile('foo', $fileToUpload, 'application/json'); - $request->addPostFile('foo', __FILE__); - - $request->send(); - $requests = $this->getServer()->getReceivedRequests(true); - $body = (string) $requests[0]->getBody(); - - $this->assertContains('Content-Disposition: form-data; name="foo[0]"; filename="', $body); - $this->assertContains('Content-Type: application/json', $body); - $this->assertContains('Content-Type: text/x-', $body); - $this->assertContains('Content-Disposition: form-data; name="foo[1]"; filename="', $body); - } - - public function requestMethodProvider() - { - return array(array('POST'), array('PUT'), array('PATCH')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle - * @dataProvider requestMethodProvider - */ - public function testSendsRequestsWithNoBodyUsingContentLengthZero($method) - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $client = new Client($this->getServer()->getUrl()); - $client->createRequest($method)->send(); - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertFalse($requests[0]->hasHeader('Transfer-Encoding')); - $this->assertTrue($requests[0]->hasHeader('Content-Length')); - $this->assertEquals('0', (string) $requests[0]->getHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Curl\CurlHandle::parseCurlConfig - * @dataProvider provideCurlConfig - */ - public function testParseCurlConfigConvertsStringKeysToConstantKeys($options, $expected) - { - $actual = CurlHandle::parseCurlConfig($options); - $this->assertEquals($expected, $actual); - } - - /** - * Data provider for curl configurations - * - * @return array - */ - public function provideCurlConfig() - { - return array( - // Conversion of option name to constant value - array( - array( - 'CURLOPT_PORT' => 10, - 'CURLOPT_TIMEOUT' => 99 - ), - array( - CURLOPT_PORT => 10, - CURLOPT_TIMEOUT => 99 - ) - ), - // Keeps non constant options - array( - array('debug' => true), - array('debug' => true) - ), - // Conversion of constant names to constant values - array( - array('debug' => 'CURLPROXY_HTTP'), - array('debug' => CURLPROXY_HTTP) - ) - ); - } - - public function testSeeksToBeginningOfStreamWhenSending() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n" - )); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->put('/', null, 'test'); - $request->send(); - $request->send(); - - $received = $this->getServer()->getReceivedRequests(true); - $this->assertEquals(2, count($received)); - $this->assertEquals('test', (string) $received[0]->getBody()); - $this->assertEquals('test', (string) $received[1]->getBody()); - } - - public function testAllowsCurloptEncodingToBeSet() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->get('/', null, 'test'); - $request->getCurlOptions()->set(CURLOPT_ENCODING, ''); - $this->updateForHandle($request); - $request->send(); - $options = $this->requestHandle->getOptions()->getAll(); - $this->assertSame('', $options[CURLOPT_ENCODING]); - $received = $this->getServer()->getReceivedRequests(false); - $this->assertContainsIns('accept: */*', $received[0]); - $this->assertContainsIns('accept-encoding: ', $received[0]); - } - - public function testSendsExpectHeaderWhenSizeIsGreaterThanCutoff() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $client = new Client($this->getServer()->getUrl()); - $request = $client->put('/', null, 'test'); - // Start sending the expect header to 2 bytes - $this->updateForHandle($request); - $request->setExpectHeaderCutoff(2)->send(); - $options = $this->requestHandle->getOptions()->getAll(); - $this->assertContains('Expect: 100-Continue', $options[CURLOPT_HTTPHEADER]); - $received = $this->getServer()->getReceivedRequests(false); - $this->assertContainsIns('expect: 100-continue', $received[0]); - } - - public function testSetsCurloptEncodingWhenAcceptEncodingHeaderIsSet() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata"); - $client = new Client($this->getServer()->getUrl()); - $request = $client->get('/', array( - 'Accept' => 'application/json', - 'Accept-Encoding' => 'gzip, deflate', - )); - $this->updateForHandle($request); - $request->send(); - $options = $this->requestHandle->getOptions()->getAll(); - $this->assertSame('gzip, deflate', $options[CURLOPT_ENCODING]); - $received = $this->getServer()->getReceivedRequests(false); - $this->assertContainsIns('accept: application/json', $received[0]); - $this->assertContainsIns('accept-encoding: gzip, deflate', $received[0]); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlMultiTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlMultiTest.php deleted file mode 100644 index a901190..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlMultiTest.php +++ /dev/null @@ -1,604 +0,0 @@ -updates = new Collection(); - $this->multi = new MockMulti(); - $this->mock = $this->getWildcardObserver($this->multi); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::__construct - * @covers Guzzle\Http\Curl\CurlMulti::__destruct - */ - public function testConstructorCreateMultiHandle() - { - $this->assertInternalType('resource', $this->multi->getHandle()); - $this->assertEquals('curl_multi', get_resource_type($this->multi->getHandle())); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::__destruct - */ - public function testDestructorClosesMultiHandle() - { - $handle = $this->multi->getHandle(); - $this->multi->__destruct(); - $this->assertFalse(is_resource($handle)); - } - - /** - * @covers Guzzle\Http\Curl\curlMulti::add - * @covers Guzzle\Http\Curl\curlMulti::all - * @covers Guzzle\Http\Curl\curlMulti::count - */ - public function testRequestsCanBeAddedAndCounted() - { - $multi = new CurlMulti(); - $mock = $this->getWildcardObserver($multi); - $request1 = new Request('GET', 'http://www.google.com/'); - $multi->add($request1); - $this->assertEquals(array($request1), $multi->all()); - - $request2 = new Request('POST', 'http://www.google.com/'); - $multi->add($request2); - $this->assertEquals(array($request1, $request2), $multi->all()); - $this->assertEquals(2, count($multi)); - - $this->assertTrue($mock->has(CurlMulti::ADD_REQUEST)); - $this->assertFalse($mock->has(CurlMulti::REMOVE_REQUEST)); - $this->assertFalse($mock->has(CurlMulti::COMPLETE)); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::remove - * @covers Guzzle\Http\Curl\CurlMulti::all - */ - public function testRequestsCanBeRemoved() - { - $request1 = new Request('GET', 'http://www.google.com/'); - $this->multi->add($request1); - $request2 = new Request('PUT', 'http://www.google.com/'); - $this->multi->add($request2); - $this->assertEquals(array($request1, $request2), $this->multi->all()); - $this->assertSame($this->multi, $this->multi->remove($request1)); - $this->assertEquals(array($request2), $this->multi->all()); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::reset - */ - public function testsResetRemovesRequestsAndResetsState() - { - $request1 = new Request('GET', 'http://www.google.com/'); - $this->multi->add($request1); - $this->multi->reset(); - $this->assertEquals(array(), $this->multi->all()); - $this->assertEquals('idle', $this->multi->getState()); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - * @covers Guzzle\Http\Curl\CurlMulti::getState - */ - public function testSendsRequestsInParallel() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\nBody"); - $this->assertEquals('idle', $this->multi->getState()); - $request = new Request('GET', $this->getServer()->getUrl()); - $this->multi->add($request); - $this->multi->send(); - - $this->assertEquals('idle', $this->multi->getState()); - - $this->assertTrue($this->mock->has(CurlMulti::ADD_REQUEST)); - $this->assertTrue($this->mock->has(CurlMulti::COMPLETE)); - - $this->assertEquals('Body', $request->getResponse()->getBody()->__toString()); - - // Sending it again will not do anything because there are no requests - $this->multi->send(); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - */ - public function testSendsRequestsThroughCurl() - { - $this->getServer()->enqueue(array( - "HTTP/1.1 204 No content\r\n" . - "Content-Length: 0\r\n" . - "Server: Jetty(6.1.3)\r\n\r\n", - - "HTTP/1.1 200 OK\r\n" . - "Content-Type: text/html; charset=utf-8\r\n" . - "Content-Length: 4\r\n" . - "Server: Jetty(6.1.3)\r\n\r\n" . - "data" - )); - - $request1 = new Request('GET', $this->getServer()->getUrl()); - $mock1 = $this->getWildcardObserver($request1); - $request2 = new Request('GET', $this->getServer()->getUrl()); - $mock2 = $this->getWildcardObserver($request2); - - $this->multi->add($request1); - $this->multi->add($request2); - $this->multi->send(); - - $response1 = $request1->getResponse(); - $response2 = $request2->getResponse(); - - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $response1); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $response2); - - $this->assertTrue($response1->getBody(true) == 'data' || $response2->getBody(true) == 'data'); - $this->assertTrue($response1->getBody(true) == '' || $response2->getBody(true) == ''); - $this->assertTrue($response1->getStatusCode() == '204' || $response2->getStatusCode() == '204'); - $this->assertNotEquals((string) $response1, (string) $response2); - - $this->assertTrue($mock1->has('request.before_send')); - $this->assertTrue($mock2->has('request.before_send')); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - * @covers Guzzle\Http\Exception\MultiTransferException - */ - public function testSendsThroughCurlAndAggregatesRequestExceptions() - { - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\n" . - "Content-Type: text/html; charset=utf-8\r\n" . - "Content-Length: 4\r\n" . - "Server: Jetty(6.1.3)\r\n" . - "\r\n" . - "data", - - "HTTP/1.1 204 No content\r\n" . - "Content-Length: 0\r\n" . - "Server: Jetty(6.1.3)\r\n" . - "\r\n", - - "HTTP/1.1 404 Not Found\r\n" . - "Content-Length: 0\r\n" . - "\r\n" - )); - - $request1 = new Request('GET', $this->getServer()->getUrl()); - $request2 = new Request('HEAD', $this->getServer()->getUrl()); - $request3 = new Request('GET', $this->getServer()->getUrl()); - $this->multi->add($request1); - $this->multi->add($request2); - $this->multi->add($request3); - - try { - $this->multi->send(); - $this->fail('MultiTransferException not thrown when aggregating request exceptions'); - } catch (MultiTransferException $e) { - - $this->assertInstanceOf('ArrayIterator', $e->getIterator()); - $this->assertEquals(1, count($e)); - $exceptions = $e->getIterator(); - - $response1 = $request1->getResponse(); - $response2 = $request2->getResponse(); - $response3 = $request3->getResponse(); - - $this->assertNotEquals((string) $response1, (string) $response2); - $this->assertNotEquals((string) $response3, (string) $response1); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $response1); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $response2); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $response3); - - $failed = $exceptions[0]->getResponse(); - $this->assertEquals(404, $failed->getStatusCode()); - $this->assertEquals(1, count($e)); - - // Test the IteratorAggregate functionality - foreach ($e as $except) { - $this->assertEquals($failed, $except->getResponse()); - } - - $this->assertEquals(1, count($e->getFailedRequests())); - $this->assertEquals(2, count($e->getSuccessfulRequests())); - $this->assertEquals(3, count($e->getAllRequests())); - } - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - * @covers Guzzle\Http\Curl\CurlMulti::processResponse - * @covers Guzzle\Http\Exception\CurlException - */ - public function testCurlErrorsAreCaught() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - - try { - $request = RequestFactory::getInstance()->create('GET', 'http://127.0.0.1:9876/'); - $request->setClient(new Client()); - $request->getCurlOptions()->set(CURLOPT_FRESH_CONNECT, true); - $request->getCurlOptions()->set(CURLOPT_FORBID_REUSE, true); - $request->getCurlOptions()->set(CURLOPT_CONNECTTIMEOUT_MS, 5); - $request->send(); - $this->fail('CurlException not thrown'); - } catch (CurlException $e) { - $m = $e->getMessage(); - $this->assertContains('[curl] ', $m); - $this->assertContains('[url] http://127.0.0.1:9876/', $m); - $this->assertInternalType('array', $e->getCurlInfo()); - } - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - */ - public function testRemovesQueuedRequests() - { - $request = RequestFactory::getInstance()->create('GET', 'http://127.0.0.1:9876/'); - $request->setClient(new Client()); - $request->setResponse(new Response(200), true); - $this->multi->add($request); - $this->multi->send(); - $this->assertTrue($this->mock->has(CurlMulti::ADD_REQUEST)); - $this->assertTrue($this->mock->has(CurlMulti::COMPLETE) !== false); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - */ - public function testRemovesQueuedRequestsAddedInTransit() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n" - )); - $client = new Client($this->getServer()->getUrl()); - $r = $client->get(); - $r->getEventDispatcher()->addListener('request.receive.status_line', function(Event $event) use ($client) { - // Create a request using a queued response - $request = $client->get()->setResponse(new Response(200), true); - $request->send(); - }); - - $r->send(); - $this->assertEquals(1, count($this->getServer()->getReceivedRequests(false))); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - */ - public function testProperlyBlocksBasedOnRequestsInScope() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\ntest1", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\ntest2", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\ntest3", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\ntest4", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\ntest5", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\ntest6", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n" - )); - - $client = new Client($this->getServer()->getUrl()); - - $requests = array( - $client->get(), - $client->get() - ); - - $sendHeadFunction = function($event) use ($client) { - $client->head()->send(); - }; - - // Sends 2 new requests in the middle of a CurlMulti loop while other requests - // are completing. This causes the scope of the multi handle to go up. - $callback = function(Event $event) use ($client, $sendHeadFunction) { - $client->getConfig()->set('called', $client->getConfig('called') + 1); - if ($client->getConfig('called') <= 2) { - $request = $client->get(); - $request->getEventDispatcher()->addListener('request.complete', $sendHeadFunction); - $request->send(); - } - }; - - $requests[0]->getEventDispatcher()->addListener('request.complete', $callback); - - $client->send($requests); - - $this->assertEquals(4, count($this->getServer()->getReceivedRequests(false))); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - * @expectedException RuntimeException - * @expectedExceptionMessage Testing! - */ - public function testCatchesExceptionsBeforeSendingCurlMulti() - { - $client = new Client($this->getServer()->getUrl()); - $multi = new CurlMulti(); - $client->setCurlMulti($multi); - $multi->getEventDispatcher()->addListener(CurlMulti::BEFORE_SEND, function() { - throw new \RuntimeException('Testing!'); - }); - $client->get()->send(); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - * @covers Guzzle\Http\Curl\CurlMulti::removeErroredRequest - * @expectedException Guzzle\Common\Exception\ExceptionCollection - * @expectedExceptionMessage Thrown before sending! - */ - public function testCatchesExceptionsBeforeSendingRequests() - { - $client = new Client($this->getServer()->getUrl()); - $request = $client->get(); - $request->getEventDispatcher()->addListener('request.before_send', function() { - throw new \RuntimeException('Thrown before sending!'); - }); - $client->send(array($request)); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - * @covers Guzzle\Http\Curl\CurlMulti::removeErroredRequest - * @expectedException Guzzle\Http\Exception\BadResponseException - */ - public function testCatchesExceptionsWhenRemovingQueuedRequests() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $client = new Client($this->getServer()->getUrl()); - $r = $client->get(); - $r->getEventDispatcher()->addListener('request.sent', function() use ($client) { - // Create a request using a queued response - $client->get()->setResponse(new Response(404), true)->send(); - }); - $r->send(); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti - * @covers Guzzle\Http\Curl\CurlMulti::removeErroredRequest - * @expectedException Guzzle\Http\Exception\BadResponseException - */ - public function testCatchesExceptionsWhenRemovingQueuedRequestsBeforeSending() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $client = new Client($this->getServer()->getUrl()); - $r = $client->get(); - $r->getEventDispatcher()->addListener('request.before_send', function() use ($client) { - // Create a request using a queued response - $client->get()->setResponse(new Response(404), true)->send(); - }); - $r->send(); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - * @covers Guzzle\Http\Curl\CurlMulti::removeErroredRequest - * @expectedException Guzzle\Common\Exception\ExceptionCollection - * @expectedExceptionMessage test - */ - public function testCatchesRandomExceptionsThrownDuringPerform() - { - $client = new Client($this->getServer()->getUrl()); - $multi = $this->getMock('Guzzle\\Http\\Curl\\CurlMulti', array('perform')); - $multi->expects($this->once()) - ->method('perform') - ->will($this->throwException(new \Exception('test'))); - $multi->add($client->get()); - $multi->send(); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - */ - public function testDoesNotSendRequestsDecliningToBeSent() - { - if (!defined('CURLOPT_TIMEOUT_MS')) { - $this->markTestSkipped('Update curl'); - } - - // Create a client that is bound to fail connecting - $client = new Client('http://localhost:123', array( - 'curl.CURLOPT_PORT' => 123, - 'curl.CURLOPT_CONNECTTIMEOUT_MS' => 1, - )); - - $request = $client->get(); - $multi = new CurlMulti(); - $multi->add($request); - - // Listen for request exceptions, and when they occur, first change the - // state of the request back to transferring, and then just allow it to - // exception out - $request->getEventDispatcher()->addListener('request.exception', function(Event $event) use ($multi) { - $retries = $event['request']->getParams()->get('retries'); - // Allow the first failure to retry - if ($retries == 0) { - $event['request']->setState('transfer'); - $event['request']->getParams()->set('retries', 1); - // Remove the request to try again - $multi->remove($event['request']); - $multi->add($event['request'], true); - } - }); - - try { - $multi->send(); - $this->fail('Did not throw an exception at all!?!'); - } catch (\Exception $e) { - $this->assertEquals(1, $request->getParams()->get('retries')); - } - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - */ - public function testDoesNotThrowExceptionsWhenRequestsRecoverWithRetry() - { - $this->getServer()->flush(); - $client = new Client($this->getServer()->getUrl()); - $request = $client->get(); - $request->getEventDispatcher()->addListener('request.before_send', function(Event $event) { - $event['request']->setResponse(new Response(200)); - }); - - $multi = new CurlMulti(); - $multi->add($request); - $multi->send(); - $this->assertEquals(0, count($this->getServer()->getReceivedRequests(false))); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - */ - public function testDoesNotThrowExceptionsWhenRequestsRecoverWithSuccess() - { - // Attempt a port that 99.9% is not listening - $client = new Client('http://localhost:123'); - $request = $client->get(); - // Ensure it times out quickly if needed - $request->getCurlOptions()->set(CURLOPT_TIMEOUT_MS, 1)->set(CURLOPT_CONNECTTIMEOUT_MS, 1); - - $request->getEventDispatcher()->addListener('request.exception', function(Event $event) use (&$count) { - $event['request']->setResponse(new Response(200)); - }); - - $multi = new CurlMulti(); - $multi->add($request); - $multi->send(); - - // Ensure that the exception was caught, and the response was set manually - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::reset - */ - public function testHardResetReopensMultiHandle() - { - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n" - )); - - $stream = fopen('php://temp', 'w+'); - $client = new Client($this->getServer()->getUrl()); - $client->getConfig()->set('curl.CURLOPT_VERBOSE', true)->set('curl.CURLOPT_STDERR', $stream); - - $request = $client->get(); - $multi = new CurlMulti(); - $multi->add($request); - $multi->send(); - $multi->reset(true); - $multi->add($request); - $multi->send(); - - rewind($stream); - $this->assertNotContains('Re-using existing connection', stream_get_contents($stream)); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::checkCurlResult - */ - public function testThrowsMeaningfulExceptionsForCurlMultiErrors() - { - $multi = new CurlMulti(); - - // Set the state of the multi object to sending to trigger the exception - $reflector = new \ReflectionMethod('Guzzle\Http\Curl\CurlMulti', 'checkCurlResult'); - $reflector->setAccessible(true); - - // Successful - $reflector->invoke($multi, 0); - - // Known error - try { - $reflector->invoke($multi, CURLM_BAD_HANDLE); - $this->fail('Expected an exception here'); - } catch (CurlException $e) { - $this->assertContains('The passed-in handle is not a valid CURLM handle.', $e->getMessage()); - $this->assertContains('CURLM_BAD_HANDLE', $e->getMessage()); - $this->assertContains(strval(CURLM_BAD_HANDLE), $e->getMessage()); - } - - // Unknown error - try { - $reflector->invoke($multi, 255); - $this->fail('Expected an exception here'); - } catch (CurlException $e) { - $this->assertEquals('Unexpected cURL error: 255', $e->getMessage()); - } - } - - /** - * @covers Guzzle\Http\Curl\curlMulti::add - */ - public function testAddsAsyncRequestsNormallyWhenNotSending() - { - $multi = new CurlMulti(); - $request = new Request('GET', 'http://www.google.com/'); - $multi->add($request, true); - - // Ensure that the request was added at the correct next scope - $requests = $this->readAttribute($multi, 'requests'); - $this->assertEquals(array($request), $requests[0]); - } - - /** - * @covers Guzzle\Http\Curl\CurlMulti::send - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setState - */ - public function testRequestBeforeSendIncludesContentLengthHeaderIfEmptyBody() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request = new Request('PUT', $this->getServer()->getUrl()); - $that = $this; - $request->getEventDispatcher()->addListener('request.before_send', function ($event) use ($that) { - $that->assertEquals(0, $event['request']->getHeader('Content-Length')); - }); - $this->multi->add($request); - $this->multi->send(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlVersionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlVersionTest.php deleted file mode 100644 index c7b5ee6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/CurlVersionTest.php +++ /dev/null @@ -1,39 +0,0 @@ -getProperty('version'); - $refProperty->setAccessible(true); - $refProperty->setValue($instance, array()); - - $this->assertEquals($info, $instance->getAll()); - $this->assertEquals($info, $instance->getAll()); - - $this->assertEquals($info['version'], $instance->get('version')); - $this->assertFalse($instance->get('foo')); - } - - public function testIsSingleton() - { - $refObject = new \ReflectionClass('Guzzle\Http\Curl\CurlVersion'); - $refProperty = $refObject->getProperty('instance'); - $refProperty->setAccessible(true); - $refProperty->setValue(null, null); - - $this->assertInstanceOf('Guzzle\Http\Curl\CurlVersion', CurlVersion::getInstance()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/RequestMediatorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/RequestMediatorTest.php deleted file mode 100644 index 9412228..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Curl/RequestMediatorTest.php +++ /dev/null @@ -1,62 +0,0 @@ -events[] = $event; - } - - public function testEmitsEvents() - { - $request = new EntityEnclosingRequest('PUT', 'http://www.example.com'); - $request->setBody('foo'); - $request->setResponse(new Response(200)); - - // Ensure that IO events are emitted - $request->getCurlOptions()->set('emit_io', true); - - // Attach listeners for each event type - $request->getEventDispatcher()->addListener('curl.callback.progress', array($this, 'event')); - $request->getEventDispatcher()->addListener('curl.callback.read', array($this, 'event')); - $request->getEventDispatcher()->addListener('curl.callback.write', array($this, 'event')); - - $mediator = new RequestMediator($request, true); - - $mediator->progress('a', 'b', 'c', 'd'); - $this->assertEquals(1, count($this->events)); - $this->assertEquals('curl.callback.progress', $this->events[0]->getName()); - - $this->assertEquals(3, $mediator->writeResponseBody('foo', 'bar')); - $this->assertEquals(2, count($this->events)); - $this->assertEquals('curl.callback.write', $this->events[1]->getName()); - $this->assertEquals('bar', $this->events[1]['write']); - $this->assertSame($request, $this->events[1]['request']); - - $this->assertEquals('foo', $mediator->readRequestBody('a', 'b', 3)); - $this->assertEquals(3, count($this->events)); - $this->assertEquals('curl.callback.read', $this->events[2]->getName()); - $this->assertEquals('foo', $this->events[2]['read']); - $this->assertSame($request, $this->events[2]['request']); - } - - public function testSetsCurlHandleParameter() - { - $request = new EntityEnclosingRequest('PUT', 'http://www.example.com'); - $mediator = new RequestMediator($request); - $handle = $this->getMockBuilder('Guzzle\Http\Curl\CurlHandle')->disableOriginalConstructor()->getMock(); - $mediator->setCurlHandle($handle); - $this->assertSame($handle, $request->getParams()->get('curl_handle')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/EntityBodyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/EntityBodyTest.php deleted file mode 100644 index 4b66ce7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/EntityBodyTest.php +++ /dev/null @@ -1,222 +0,0 @@ -assertEquals('data', (string)$body); - $this->assertEquals(4, $body->getContentLength()); - $this->assertEquals('PHP', $body->getWrapper()); - $this->assertEquals('TEMP', $body->getStreamType()); - - $handle = fopen(__DIR__ . '/../../../../phpunit.xml.dist', 'r'); - if (!$handle) { - $this->fail('Could not open test file'); - } - $body = EntityBody::factory($handle); - $this->assertEquals(__DIR__ . '/../../../../phpunit.xml.dist', $body->getUri()); - $this->assertTrue($body->isLocal()); - $this->assertEquals(__DIR__ . '/../../../../phpunit.xml.dist', $body->getUri()); - $this->assertEquals(filesize(__DIR__ . '/../../../../phpunit.xml.dist'), $body->getContentLength()); - - // make sure that a body will return as the same object - $this->assertTrue($body === EntityBody::factory($body)); - } - - /** - * @covers Guzzle\Http\EntityBody::factory - */ - public function testFactoryCreatesTempStreamByDefault() - { - $body = EntityBody::factory(''); - $this->assertEquals('PHP', $body->getWrapper()); - $this->assertEquals('TEMP', $body->getStreamType()); - $body = EntityBody::factory(); - $this->assertEquals('PHP', $body->getWrapper()); - $this->assertEquals('TEMP', $body->getStreamType()); - } - - /** - * @covers Guzzle\Http\EntityBody::factory - */ - public function testFactoryCanCreateFromObject() - { - $body = EntityBody::factory(new QueryString(array('foo' => 'bar'))); - $this->assertEquals('foo=bar', (string) $body); - } - - /** - * @covers Guzzle\Http\EntityBody::factory - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testFactoryEnsuresObjectsHaveToStringMethod() - { - EntityBody::factory(new \stdClass('a')); - } - - /** - * @covers Guzzle\Http\EntityBody::compress - * @covers Guzzle\Http\EntityBody::uncompress - * @covers Guzzle\Http\EntityBody::getContentEncoding - * @covers Guzzle\Http\EntityBody::setStreamFilterContentEncoding - * @covers Guzzle\Http\EntityBody::handleCompression - * @covers Guzzle\Http\EntityBody::getContentLength - */ - public function testHandlesCompression() - { - $body = EntityBody::factory('testing 123...testing 123'); - $this->assertFalse($body->getContentEncoding(), '-> getContentEncoding() must initially return FALSE'); - $size = $body->getContentLength(); - $body->compress(); - $this->assertEquals('gzip', $body->getContentEncoding(), '-> getContentEncoding() must return the correct encoding after compressing'); - $this->assertEquals(gzdeflate('testing 123...testing 123'), (string) $body); - $this->assertTrue($body->getContentLength() < $size); - $this->assertTrue($body->uncompress()); - $this->assertEquals('testing 123...testing 123', (string) $body); - $this->assertFalse($body->getContentEncoding(), '-> getContentEncoding() must reset to FALSE'); - - if (in_array('bzip2.*', stream_get_filters())) { - $this->assertTrue($body->compress('bzip2.compress')); - $this->assertEquals('compress', $body->getContentEncoding(), '-> compress() must set \'compress\' as the Content-Encoding'); - } - - $this->assertFalse($body->compress('non-existent'), '-> compress() must return false when a non-existent stream filter is used'); - - // Release the body - unset($body); - - // Use gzip compression on the initial content. This will include a - // gzip header which will need to be stripped when deflating the stream - $body = EntityBody::factory(gzencode('test')); - $this->assertSame($body, $body->setStreamFilterContentEncoding('zlib.deflate')); - $this->assertTrue($body->uncompress('zlib.inflate')); - $this->assertEquals('test', (string)$body); - unset($body); - - // Test using a very long string - $largeString = ''; - for ($i = 0; $i < 25000; $i++) { - $largeString .= chr(rand(33, 126)); - } - $body = EntityBody::factory($largeString); - $this->assertEquals($largeString, (string)$body); - $this->assertTrue($body->compress()); - $this->assertNotEquals($largeString, (string)$body); - $compressed = (string)$body; - $this->assertTrue($body->uncompress()); - $this->assertEquals($largeString, (string)$body); - $this->assertEquals($compressed, gzdeflate($largeString)); - - $body = EntityBody::factory(fopen(__DIR__ . '/../TestData/compress_test', 'w')); - $this->assertFalse($body->compress()); - unset($body); - - unlink(__DIR__ . '/../TestData/compress_test'); - } - - /** - * @covers Guzzle\Http\EntityBody::getContentType - */ - public function testDeterminesContentType() - { - // Test using a string/temp stream - $body = EntityBody::factory('testing 123...testing 123'); - $this->assertEquals('application/octet-stream', $body->getContentType()); - - // Use a local file - $body = EntityBody::factory(fopen(__FILE__, 'r')); - $this->assertContains('text/x-', $body->getContentType()); - } - - /** - * @covers Guzzle\Http\EntityBody::getContentMd5 - * @covers Guzzle\Http\EntityBody::calculateMd5 - * @covers Guzzle\Stream\Stream::getHash - */ - public function testCreatesMd5Checksum() - { - $body = EntityBody::factory('testing 123...testing 123'); - $this->assertEquals(md5('testing 123...testing 123'), $body->getContentMd5()); - - $server = $this->getServer()->enqueue( - "HTTP/1.1 200 OK" . "\r\n" . - "Content-Length: 3" . "\r\n\r\n" . - "abc" - ); - - $body = EntityBody::factory(fopen($this->getServer()->getUrl(), 'r')); - $this->assertFalse($body->getContentMd5()); - } - - /** - * @covers Guzzle\Http\EntityBody::getContentMd5 - * @covers Guzzle\Http\EntityBody::calculateMd5 - * @covers Guzzle\Stream\Stream::getHash - */ - public function testSeeksToOriginalPosAfterMd5() - { - $body = EntityBody::factory('testing 123'); - $body->seek(4); - $this->assertEquals(md5('testing 123'), $body->getContentMd5()); - $this->assertEquals(4, $body->ftell()); - $this->assertEquals('ing 123', $body->read(1000)); - } - - /** - * @covers Guzzle\Http\EntityBody::factory - */ - public function testGetTypeFormBodyFactoring() - { - $body = EntityBody::factory(array('key1' => 'val1', 'key2' => 'val2')); - $this->assertEquals('key1=val1&key2=val2', (string)$body); - } - - /** - * @covers Guzzle\Http\EntityBody::setRewindFunction - * @covers Guzzle\Http\EntityBody::rewind - */ - public function testAllowsCustomRewind() - { - $body = EntityBody::factory('foo'); - $rewound = false; - $body->setRewindFunction(function ($body) use (&$rewound) { - $rewound = true; - return $body->seek(0); - }); - $body->seek(2); - $this->assertTrue($body->rewind()); - $this->assertTrue($rewound); - } - - /** - * @covers Guzzle\Http\EntityBody::setRewindFunction - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - */ - public function testCustomRewindFunctionMustBeCallable() - { - $body = EntityBody::factory(); - $body->setRewindFunction('foo'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/CurlExceptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/CurlExceptionTest.php deleted file mode 100644 index df3e4b7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/CurlExceptionTest.php +++ /dev/null @@ -1,27 +0,0 @@ -assertNull($e->getError()); - $this->assertNull($e->getErrorNo()); - $this->assertSame($e, $e->setError('test', 12)); - $this->assertEquals('test', $e->getError()); - $this->assertEquals(12, $e->getErrorNo()); - - $handle = new CurlHandle(curl_init(), array()); - $e->setCurlHandle($handle); - $this->assertSame($handle, $e->getCurlHandle()); - $handle->close(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/ExceptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/ExceptionTest.php deleted file mode 100644 index 12cfd36..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Exception/ExceptionTest.php +++ /dev/null @@ -1,66 +0,0 @@ -setRequest($request); - $this->assertEquals($request, $e->getRequest()); - } - - /** - * @covers Guzzle\Http\Exception\BadResponseException - */ - public function testBadResponseException() - { - $e = new BadResponseException('Message'); - $response = new Response(200); - $e->setResponse($response); - $this->assertEquals($response, $e->getResponse()); - } - - /** - * @covers Guzzle\Http\Exception\BadResponseException::factory - */ - public function testCreatesGenericErrorExceptionOnError() - { - $request = new Request('GET', 'http://www.example.com'); - $response = new Response(307); - $e = BadResponseException::factory($request, $response); - $this->assertInstanceOf('Guzzle\Http\Exception\BadResponseException', $e); - } - - /** - * @covers Guzzle\Http\Exception\BadResponseException::factory - */ - public function testCreatesClientErrorExceptionOnClientError() - { - $request = new Request('GET', 'http://www.example.com'); - $response = new Response(404); - $e = BadResponseException::factory($request, $response); - $this->assertInstanceOf('Guzzle\Http\Exception\ClientErrorResponseException', $e); - } - - /** - * @covers Guzzle\Http\Exception\BadResponseException::factory - */ - public function testCreatesServerErrorExceptionOnServerError() - { - $request = new Request('GET', 'http://www.example.com'); - $response = new Response(503); - $e = BadResponseException::factory($request, $response); - $this->assertInstanceOf('Guzzle\Http\Exception\ServerErrorResponseException', $e); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/IoEmittingEntityBodyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/IoEmittingEntityBodyTest.php deleted file mode 100644 index cd6355f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/IoEmittingEntityBodyTest.php +++ /dev/null @@ -1,47 +0,0 @@ -decorated = EntityBody::factory('hello'); - $this->body = new IoEmittingEntityBody($this->decorated); - } - - public function testEmitsReadEvents() - { - $e = null; - $this->body->getEventDispatcher()->addListener('body.read', function ($event) use (&$e) { - $e = $event; - }); - $this->assertEquals('hel', $this->body->read(3)); - $this->assertEquals('hel', $e['read']); - $this->assertEquals(3, $e['length']); - $this->assertSame($this->body, $e['body']); - } - - public function testEmitsWriteEvents() - { - $e = null; - $this->body->getEventDispatcher()->addListener('body.write', function ($event) use (&$e) { - $e = $event; - }); - $this->body->seek(0, SEEK_END); - $this->assertEquals(5, $this->body->write('there')); - $this->assertEquals('there', $e['write']); - $this->assertEquals(5, $e['result']); - $this->assertSame($this->body, $e['body']); - $this->assertEquals('hellothere', (string) $this->body); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/AbstractMessageTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/AbstractMessageTest.php deleted file mode 100644 index 8522ec0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/AbstractMessageTest.php +++ /dev/null @@ -1,335 +0,0 @@ -mock = $this->getMockForAbstractClass('Guzzle\Http\Message\AbstractMessage'); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getParams - */ - public function testGetParams() - { - $request = new Request('GET', 'http://example.com'); - $this->assertInstanceOf('Guzzle\\Common\\Collection', $request->getParams()); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::addHeaders - */ - public function testAddHeaders() - { - $this->mock->setHeader('A', 'B'); - - $this->assertEquals($this->mock, $this->mock->addHeaders(array( - 'X-Data' => '123' - ))); - - $this->assertTrue($this->mock->hasHeader('X-Data') !== false); - $this->assertTrue($this->mock->hasHeader('A') !== false); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::setHeader - */ - public function testAllowsHeaderToSetAsHeader() - { - $h = new Header('A', 'B'); - $this->mock->setHeader('A', $h); - $this->assertSame($h, $this->mock->getHeader('A')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getHeaders - */ - public function testGetHeader() - { - $this->mock->setHeader('Test', '123'); - $this->assertEquals('123', $this->mock->getHeader('Test')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getHeaders - * @covers Guzzle\Http\Message\AbstractMessage::getHeader - * @covers Guzzle\Http\Message\AbstractMessage::setHeaders - */ - public function testGetHeaders() - { - $this->assertSame($this->mock, $this->mock->setHeaders(array( - 'a' => 'b', - 'c' => 'd' - ))); - - $this->assertEquals(array( - 'a' => array('b'), - 'c' => array('d') - ), $this->mock->getHeaders()->getAll()); - - foreach ($this->mock->getHeaders(true) as $key => $value) { - $this->assertInternalType('string', $key); - $this->assertInstanceOf('Guzzle\Http\Message\Header', $value); - } - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getHeaderLines - */ - public function testGetHeaderLinesUsesGlue() - { - $this->mock->setHeaders(array('a' => 'b', 'c' => 'd')); - $this->mock->addHeader('a', 'e'); - $this->mock->getHeader('a')->setGlue('!'); - $this->assertEquals(array( - 'a: b!e', - 'c: d' - ), $this->mock->getHeaderLines()); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::hasHeader - */ - public function testHasHeader() - { - $this->assertFalse($this->mock->hasHeader('Foo')); - $this->mock->setHeader('Foo', 'Bar'); - $this->assertEquals(true, $this->mock->hasHeader('Foo')); - $this->mock->setHeader('foo', 'yoo'); - $this->assertEquals(true, $this->mock->hasHeader('Foo')); - $this->assertEquals(true, $this->mock->hasHeader('foo')); - $this->assertEquals(false, $this->mock->hasHeader('bar')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::removeHeader - * @covers Guzzle\Http\Message\AbstractMessage::setHeader - */ - public function testRemoveHeader() - { - $this->mock->setHeader('Foo', 'Bar'); - $this->assertEquals(true, $this->mock->hasHeader('Foo')); - $this->mock->removeHeader('Foo'); - $this->assertFalse($this->mock->hasHeader('Foo')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage - */ - public function testHoldsCacheControlDirectives() - { - $mock = $this->mock; - - // Set a directive using a header - $mock->setHeader('Cache-Control', 'max-age=100'); - $this->assertEquals(100, $mock->getCacheControlDirective('max-age')); - - // Set a header using the directive and check that the header was updated - $this->assertSame($mock, $mock->addCacheControlDirective('max-age', 80)); - $this->assertEquals(80, $mock->getCacheControlDirective('max-age')); - $this->assertEquals('max-age=80', $mock->getHeader('Cache-Control')); - - // Remove the directive - $this->assertEquals($mock, $mock->removeCacheControlDirective('max-age')); - $this->assertEquals('', $mock->getHeader('Cache-Control')); - $this->assertEquals(null, $mock->getCacheControlDirective('max-age')); - // Remove a non-existent directive - $this->assertEquals($mock, $mock->removeCacheControlDirective('max-age')); - - // Has directive - $this->assertFalse($mock->hasCacheControlDirective('max-age')); - $mock->addCacheControlDirective('must-revalidate'); - $this->assertTrue($mock->hasCacheControlDirective('must-revalidate')); - - // Make sure that it works with multiple Cache-Control headers - $mock->setHeader('Cache-Control', 'must-revalidate, max-age=100'); - $mock->addHeaders(array( - 'Cache-Control' => 'no-cache' - )); - - $this->assertEquals(true, $mock->getCacheControlDirective('no-cache')); - $this->assertEquals(true, $mock->getCacheControlDirective('must-revalidate')); - $this->assertEquals(100, $mock->getCacheControlDirective('max-age')); - } - - /** - * In some rare cases. Like with the Twitter Search API: - * - * http://search.twitter.com/search.json?q=from:mtdowling - * - * There is more than once Cache-Control added. - * Twice the max-age for example. - * - * @covers Guzzle\Http\Message\AbstractMessage - */ - public function testDoubleCacheControlDirectives() - { - $mock = $this->mock; - - $mock->setHeader('Cache-Control', 'max-age=15, must-revalidate, max-age=300'); - - $this->assertEquals(15, $mock->getCacheControlDirective('max-age')); - } - - public function tokenizedHeaderProvider() - { - return array( - array('ISO-8859-1,utf-8;q=0.7,*;q=0.7"', ';', array( - 'ISO-8859-1,utf-8', - 'q' => array('0.7,*', '0.7"') - )), - array('gzip,deflate', ',', array('gzip', 'deflate')), - array('en-us,en;q=0.5', ';', array( - 'en-us,en', - 'q' => '0.5' - )) - ); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getTokenizedHeader - * @dataProvider tokenizedHeaderProvider - */ - public function testConvertsTokenizedHeadersToArray($string, $token, $result) - { - $this->mock->setHeader('test', $string); - $this->assertEquals($result, $this->mock->getTokenizedHeader('test', $token)->getAll()); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::setTokenizedHeader - * @dataProvider tokenizedHeaderProvider - */ - public function testConvertsArrayToTokenizedHeader($string, $token, $result) - { - $this->mock->setTokenizedHeader('test', $result, $token); - $this->assertEquals($string, $this->mock->getHeader('test')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::setTokenizedHeader - * @expectedException InvalidArgumentException - */ - public function testTokenizedHeaderMustBeArrayToSet() - { - $this->mock->setTokenizedHeader('test', false); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getTokenizedHeader - */ - public function testReturnsNullWhenTokenizedHeaderNotFound() - { - $this->assertNull($this->mock->getTokenizedHeader('foo')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getTokenizedHeader - */ - public function testMultipleTokenizedHeadersAreCombined() - { - $this->mock->addHeader('test', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'); - $this->mock->addHeader('test', 'foo;q=123,*;q=456;q=0.7'); - $this->mock->addHeader('Content-Length', 0); - - $this->assertEquals(array( - 0 => 'ISO-8859-1,utf-8', - 'q' => array('0.7,*', '0.7', '123,*', '456'), - 2 => 'foo', - ), $this->mock->getTokenizedHeader('test')->getAll()); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::getHeader - */ - public function testReturnsNullWhenHeaderIsNotFound() - { - $this->assertNull($this->mock->getHeader('foo')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::addHeaders - * @covers Guzzle\Http\Message\AbstractMessage::addHeader - * @covers Guzzle\Http\Message\AbstractMessage::getHeader - */ - public function testAddingHeadersWithMultipleValuesUsesCaseInsensitiveKey() - { - $this->mock->addHeaders(array( - 'test' => '123', - 'Test' => '456' - )); - $this->mock->addHeader('TEST', '789'); - - $headers = array( - 'test' => array('123'), - 'Test' => array('456'), - 'TEST' => array('789'), - ); - $header = $this->mock->getHeader('test'); - $this->assertInstanceOf('Guzzle\Http\Message\Header', $header); - $this->assertSame($header, $this->mock->getHeader('TEST')); - $this->assertSame($header, $this->mock->getHeader('TeSt')); - - $this->assertEquals($headers, $header->raw()); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::setHeader - */ - public function testSettingHeadersUsesCaseInsensitiveKey() - { - $this->mock->setHeader('test', '123'); - $this->mock->setHeader('TEST', '456'); - $this->assertEquals('456', $this->mock->getHeader('test')); - $this->assertEquals('456', $this->mock->getHeader('TEST')); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage::addHeaders - */ - public function testAddingHeadersPreservesOriginalHeaderCase() - { - $this->mock->addHeaders(array( - 'test' => '123', - 'Test' => 'abc' - )); - $this->mock->addHeader('test', '456'); - $this->mock->addHeader('test', '789'); - - $header = $this->mock->getHeader('test'); - $this->assertEquals(array('123', '456', '789', 'abc'), $header->toArray()); - $this->mock->addHeader('Test', 'abc'); - - // Add a header of a different name - $this->assertEquals(array( - 'test' => array('123', '456', '789'), - 'Test' => array('abc', 'abc') - ), $this->mock->getHeader('test')->raw()); - } - - /** - * @covers Guzzle\Http\Message\AbstractMessage - */ - public function testCanStoreEmptyHeaders() - { - $this->mock->setHeader('Content-Length', 0); - $this->assertTrue($this->mock->hasHeader('Content-Length')); - $this->assertEquals(0, $this->mock->getHeader('Content-Length', true)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/EntityEnclosingRequestTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/EntityEnclosingRequestTest.php deleted file mode 100644 index 3d24259..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/EntityEnclosingRequestTest.php +++ /dev/null @@ -1,526 +0,0 @@ -client = new Client(); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::__construct - */ - public function testConstructorConfiguresRequest() - { - $request = new EntityEnclosingRequest('PUT', 'http://test.com', array( - 'X-Test' => '123' - )); - $request->setBody('Test'); - $this->assertEquals('123', $request->getHeader('X-Test')); - $this->assertNull($request->getHeader('Expect')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - */ - public function testCanSetBodyWithoutOverridingContentType() - { - $request = new EntityEnclosingRequest('PUT', 'http://test.com', array( - 'Content-Type' => 'application/json' - )); - $request->setBody('{"a":"b"}'); - $this->assertEquals('application/json', $request->getHeader('Content-Type')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::__toString - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFields - */ - public function testRequestIncludesBodyInMessage() - { - - $request = RequestFactory::getInstance()->create('PUT', 'http://www.guzzle-project.com/', null, 'data'); - $this->assertEquals("PUT / HTTP/1.1\r\n" - . "Host: www.guzzle-project.com\r\n" - . "Content-Length: 4\r\n\r\n" - . "data", (string) $request); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::__toString - */ - public function testRequestIncludesPostBodyInMessageOnlyWhenNoPostFiles() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/', null, array( - 'foo' => 'bar' - )); - $this->assertEquals("POST / HTTP/1.1\r\n" - . "Host: www.guzzle-project.com\r\n" - . "Content-Type: application/x-www-form-urlencoded\r\n\r\n" - . "foo=bar", (string) $request); - - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/', null, array( - 'foo' => '@' . __FILE__ - )); - $this->assertEquals("POST / HTTP/1.1\r\n" - . "Host: www.guzzle-project.com\r\n" - . "Content-Type: multipart/form-data\r\n" - . "Expect: 100-Continue\r\n\r\n", (string) $request); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::__toString - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFields - */ - public function testAddsPostFieldsAndSetsContentLength() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/', null, array( - 'data' => '123' - )); - $this->assertEquals("POST / HTTP/1.1\r\n" - . "Host: www.guzzle-project.com\r\n" - . "Content-Type: application/x-www-form-urlencoded\r\n\r\n" - . "data=123", (string) $request); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::__toString - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFiles - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFields - */ - public function testAddsPostFilesAndSetsContentType() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.test.com/') - ->addPostFiles(array( - 'file' => __FILE__ - ))->addPostFields(array( - 'a' => 'b' - )); - $message = (string) $request; - $this->assertEquals('multipart/form-data', $request->getHeader('Content-Type')); - $this->assertEquals('100-Continue', $request->getHeader('Expect')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - */ - public function testRequestBodyContainsPostFiles() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.test.com/'); - $request->addPostFields(array( - 'test' => '123' - )); - $this->assertContains("\r\n\r\ntest=123", (string) $request); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - */ - public function testRequestBodyAddsContentLength() - { - $request = RequestFactory::getInstance()->create('PUT', 'http://www.test.com/'); - $request->setBody(EntityBody::factory('test')); - $this->assertEquals(4, (string) $request->getHeader('Content-Length')); - $this->assertFalse($request->hasHeader('Transfer-Encoding')); - } - - /** - * Tests using a Transfer-Encoding chunked entity body already set - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - */ - public function testRequestBodyDoesNotUseContentLengthWhenChunked() - { - $request = RequestFactory::getInstance()->create('PUT', 'http://www.test.com/'); - $request->setBody(EntityBody::factory('test'), null, true); - $this->assertNull($request->getHeader('Content-Length')); - $this->assertTrue($request->hasHeader('Transfer-Encoding')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getBody - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - */ - public function testRequestHasMutableBody() - { - $request = RequestFactory::getInstance()->create('PUT', 'http://www.guzzle-project.com/', null, 'data'); - $body = $request->getBody(); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $body); - $this->assertSame($body, $request->getBody()); - - $newBody = EntityBody::factory('foobar'); - $request->setBody($newBody); - $this->assertEquals('foobar', (string) $request->getBody()); - $this->assertSame($newBody, $request->getBody()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFields - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFields - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFiles - */ - public function testSetPostFields() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/'); - $this->assertInstanceOf('Guzzle\\Http\\QueryString', $request->getPostFields()); - - $fields = new QueryString(array( - 'a' => 'b' - )); - $request->addPostFields($fields); - $this->assertEquals($fields->getAll(), $request->getPostFields()->getAll()); - $this->assertEquals(array(), $request->getPostFiles()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFiles - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFiles - */ - public function testSetPostFiles() - { - $request = RequestFactory::getInstance()->create('POST', $this->getServer()->getUrl()) - ->setClient(new Client()) - ->addPostFiles(array(__FILE__)) - ->addPostFields(array( - 'test' => 'abc' - )); - - $request->getCurlOptions()->set('debug', true); - - $this->assertEquals(array( - 'test' => 'abc' - ), $request->getPostFields()->getAll()); - - $files = $request->getPostFiles(); - $post = $files['file'][0]; - $this->assertEquals('file', $post->getFieldName()); - $this->assertContains('text/x-', $post->getContentType()); - $this->assertEquals(__FILE__, $post->getFilename()); - - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request->send(); - - $this->assertNotNull($request->getHeader('Content-Length')); - $this->assertContains('multipart/form-data; boundary=', (string) $request->getHeader('Content-Type'), '-> cURL must add the boundary'); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFiles - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFile - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testSetPostFilesThrowsExceptionWhenFileIsNotFound() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/') - ->addPostFiles(array( - 'file' => 'filenotfound.ini' - )); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFile - * @expectedException Guzzle\Http\Exception\RequestException - */ - public function testThrowsExceptionWhenNonStringsAreAddedToPost() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/') - ->addPostFile('foo', new \stdClass()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFile - */ - public function testAllowsContentTypeInPostUploads() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/') - ->addPostFile('foo', __FILE__, 'text/plain'); - - $this->assertEquals(array( - new PostFile('foo', __FILE__, 'text/plain') - ), $request->getPostFile('foo')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFile - */ - public function testGuessesContentTypeOfPostUpload() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/') - ->addPostFile('foo', __FILE__); - $file = $request->getPostFile('foo'); - $this->assertContains('text/x-', $file[0]->getContentType()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFiles - */ - public function testAllowsContentDispositionFieldsInPostUploadsWhenSettingInBulk() - { - $postFile = new PostFile('foo', __FILE__, 'text/x-php'); - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/') - ->addPostFiles(array('foo' => $postFile)); - - $this->assertEquals(array($postFile), $request->getPostFile('foo')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setPostField - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - */ - public function testPostRequestsUseApplicationXwwwForUrlEncodedForArrays() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/'); - $request->setPostField('a', 'b'); - $this->assertContains("\r\n\r\na=b", (string) $request); - $this->assertEquals('application/x-www-form-urlencoded', $request->getHeader('Content-Type')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - */ - public function testProcessMethodAddsContentType() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/'); - $request->setPostField('a', 'b'); - $this->assertEquals('application/x-www-form-urlencoded', $request->getHeader('Content-Type')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - */ - public function testPostRequestsUseMultipartFormDataWithFiles() - { - $request = RequestFactory::getInstance()->create('POST', 'http://www.guzzle-project.com/'); - $request->addPostFiles(array('file' => __FILE__)); - $this->assertEquals('multipart/form-data', $request->getHeader('Content-Type')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - * @covers Guzzle\Http\Message\EntityEnclosingRequest::processPostFields - */ - public function testCanSendMultipleRequestsUsingASingleRequestObject() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 201 Created\r\nContent-Length: 0\r\n\r\n", - )); - - // Send the first request - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl()) - ->setBody('test') - ->setClient(new Client()); - $request->send(); - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - - // Send the second request - $request->setBody('abcdefg', 'application/json', false); - $request->send(); - $this->assertEquals(201, $request->getResponse()->getStatusCode()); - - // Ensure that the same request was sent twice with different bodies - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals(2, count($requests)); - $this->assertEquals(4, $requests[0]->getHeader('Content-Length', true)); - $this->assertEquals(7, $requests[1]->getHeader('Content-Length', true)); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostField - * @covers Guzzle\Http\Message\EntityEnclosingRequest::removePostField - */ - public function testRemovingPostFieldRebuildsPostFields() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com'); - $request->setPostField('test', 'value'); - $request->removePostField('test'); - $this->assertNull($request->getPostField('test')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - */ - public function testUsesChunkedTransferWhenBodyLengthCannotBeDetermined() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request = new EntityEnclosingRequest('PUT', 'http://test.com/'); - $request->setBody(fopen($this->getServer()->getUrl(), 'r')); - $this->assertEquals('chunked', $request->getHeader('Transfer-Encoding')); - $this->assertFalse($request->hasHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - * @expectedException Guzzle\Http\Exception\RequestException - */ - public function testThrowsExceptionWhenContentLengthCannotBeDeterminedAndUsingHttp1() - { - $request = new EntityEnclosingRequest('PUT', 'http://test.com/'); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request->setProtocolVersion('1.0'); - $request->setBody(fopen($this->getServer()->getUrl(), 'r')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFiles - */ - public function testAllowsNestedPostData() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->addPostFields(array( - 'a' => array('b', 'c') - )); - $this->assertEquals(array( - 'a' => array('b', 'c') - ), $request->getPostFields()->getAll()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFields - */ - public function testAllowsEmptyFields() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->addPostFields(array( - 'a' => '' - )); - $this->assertEquals(array( - 'a' => '' - ), $request->getPostFields()->getAll()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFiles - * @expectedException Guzzle\Http\Exception\RequestException - */ - public function testFailsOnInvalidFiles() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->addPostFiles(array( - 'a' => new \stdClass() - )); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFields - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFields - */ - public function testHandlesEmptyStrings() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->addPostFields(array( - 'a' => '', - 'b' => null, - 'c' => 'Foo' - )); - $this->assertEquals(array( - 'a' => '', - 'b' => null, - 'c' => 'Foo' - ), $request->getPostFields()->getAll()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFiles - * @covers Guzzle\Http\Message\EntityEnclosingRequest::getPostFile - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFile - * @covers Guzzle\Http\Message\EntityEnclosingRequest::removePostFile - */ - public function testHoldsPostFiles() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->addPostFile('foo', __FILE__); - $request->addPostFile(new PostFile('foo', __FILE__)); - - $this->assertArrayHasKey('foo', $request->getPostFiles()); - $foo = $request->getPostFile('foo'); - $this->assertEquals(2, count($foo)); - $this->assertEquals(__FILE__, $foo[0]->getFilename()); - $this->assertEquals(__FILE__, $foo[1]->getFilename()); - - $request->removePostFile('foo'); - $this->assertEquals(array(), $request->getPostFiles()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::addPostFiles - */ - public function testAllowsAtPrefixWhenAddingPostFiles() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->addPostFiles(array( - 'foo' => '@' . __FILE__ - )); - $foo = $request->getPostFile('foo'); - $this->assertEquals(__FILE__, $foo[0]->getFilename()); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setState - */ - public function testSetStateToTransferWithEmptyBodySetsContentLengthToZero() - { - $request = new EntityEnclosingRequest('POST', 'http://test.com/'); - $request->setState($request::STATE_TRANSFER); - $this->assertEquals('0', (string) $request->getHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setExpectHeaderCutoff - * @covers Guzzle\Http\Message\EntityEnclosingRequest::setBody - */ - public function testSettingExpectHeaderCutoffChangesRequest() - { - $request = new EntityEnclosingRequest('PUT', 'http://test.com/'); - $request->setHeader('Expect', '100-Continue'); - $request->setExpectHeaderCutoff(false); - $this->assertNull($request->getHeader('Expect')); - // There is not body, so remove the expect header - $request->setHeader('Expect', '100-Continue'); - $request->setExpectHeaderCutoff(10); - $this->assertNull($request->getHeader('Expect')); - // The size is less than the cutoff - $request->setBody('foo'); - $this->assertNull($request->getHeader('Expect')); - // The size is greater than the cutoff - $request->setBody('foobazbarbamboo'); - $this->assertNotNull($request->getHeader('Expect')); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::configureRedirects - */ - public function testStrictRedirectsCanBeSpecifiedOnEntityEnclosingRequests() - { - $request = new EntityEnclosingRequest('PUT', 'http://test.com/'); - $request->configureRedirects(true); - $this->assertTrue($request->getParams()->get(RedirectPlugin::STRICT_REDIRECTS)); - } - - /** - * @covers Guzzle\Http\Message\EntityEnclosingRequest::configureRedirects - */ - public function testCanDisableRedirects() - { - $request = new EntityEnclosingRequest('PUT', 'http://test.com/'); - $request->configureRedirects(false, false); - $this->assertTrue($request->getParams()->get(RedirectPlugin::DISABLE)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderComparisonTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderComparisonTest.php deleted file mode 100644 index dc11ca4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderComparisonTest.php +++ /dev/null @@ -1,118 +0,0 @@ - 'Foo' - ), array( - 'Content-Length' => 'Foo' - ), false), - - // Missing header - array(array( - 'X-Foo' => 'Bar' - ), array(), array( - '- X-Foo' => 'Bar' - )), - - // Extra headers is present - array(array( - 'X-Foo' => 'Bar' - ), array( - 'X-Foo' => 'Bar', - 'X-Baz' => 'Jar' - ), array( - '+ X-Baz' => 'Jar' - )), - - // Header is present but must be absent - array(array( - '!X-Foo' => '*' - ), array( - 'X-Foo' => 'Bar' - ), array( - '++ X-Foo' => 'Bar' - )), - - // Different values - array(array( - 'X-Foo' => 'Bar' - ), array( - 'X-Foo' => 'Baz' - ), array( - 'X-Foo' => 'Baz != Bar' - )), - - // Wildcard search passes - array(array( - 'X-Foo' => '*' - ), array( - 'X-Foo' => 'Bar' - ), false), - - // Wildcard search fails - array(array( - 'X-Foo' => '*' - ), array(), array( - '- X-Foo' => '*' - )), - - // Ignore extra header if present - array(array( - 'X-Foo' => '*', - '_X-Bar' => '*', - ), array( - 'X-Foo' => 'Baz', - 'X-Bar' => 'Jar' - ), false), - - // Ignore extra header if present and is not - array(array( - 'X-Foo' => '*', - '_X-Bar' => '*', - ), array( - 'X-Foo' => 'Baz' - ), false), - - // Case insensitive - array(array( - 'X-Foo' => '*', - '_X-Bar' => '*', - ), array( - 'x-foo' => 'Baz', - 'x-BAR' => 'baz' - ), false), - - // Case insensitive with collection - array(array( - 'X-Foo' => '*', - '_X-Bar' => '*', - ), new Collection(array( - 'x-foo' => 'Baz', - 'x-BAR' => 'baz' - )), false), - ); - } - - /** - * @dataProvider filterProvider - */ - public function testComparesHeaders($filters, $headers, $result) - { - $compare = new HeaderComparison(); - $this->assertEquals($result, $compare->compare($filters, $headers)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderTest.php deleted file mode 100644 index c0cf0e4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/HeaderTest.php +++ /dev/null @@ -1,140 +0,0 @@ - array('foo', 'Foo'), - 'Zoo' => 'bar', - ); - - public function testRawReturnsRawArray() - { - $i = new Header('Zoo', $this->test); - - $this->assertEquals(array( - 'zoo' => array('foo', 'Foo'), - 'Zoo' => array('bar') - ), $i->raw()); - } - - public function testStoresHeaderName() - { - $i = new Header('Zoo', $this->test); - $this->assertEquals('Zoo', $i->getName()); - } - - public function testConvertsToString() - { - $i = new Header('Zoo', $this->test); - $this->assertEquals('foo, Foo, bar', (string) $i); - $i->setGlue('; '); - $this->assertEquals('foo; Foo; bar', (string) $i); - } - - public function testNormalizesCases() - { - $h = new Header('Zoo', $this->test); - $h->normalize(); - $this->assertEquals(array( - 'Zoo' => array('foo', 'Foo', 'bar') - ), $h->raw()); - } - - public function testNormalizesGluedHeaders() - { - $h = new Header('Zoo', array('foo, Faz', 'bar')); - $result = $h->normalize(true)->toArray(); - natsort($result); - $this->assertEquals(array('bar', 'foo', 'Faz'), $result); - } - - public function testCanSearchForValues() - { - $h = new Header('Zoo', $this->test); - $this->assertTrue($h->hasValue('foo')); - $this->assertTrue($h->hasValue('Foo')); - $this->assertTrue($h->hasValue('bar')); - $this->assertFalse($h->hasValue('moo')); - - $this->assertFalse($h->hasValue('FoO')); - $this->assertTrue($h->hasValue('FoO', true)); - } - - public function testIsCountable() - { - $h = new Header('Zoo', $this->test); - $this->assertEquals(3, count($h)); - } - - public function testCanBeIterated() - { - $h = new Header('Zoo', $this->test); - $results = array(); - foreach ($h as $key => $value) { - $results[$key] = $value; - } - $this->assertEquals(array( - 'foo', 'Foo', 'bar' - ), $results); - } - - public function testAllowsFalseyValues() - { - // Allows 0 - $h = new Header('Foo', 0, ';'); - $this->assertEquals('0', (string) $h); - $this->assertEquals(1, count($h)); - $this->assertEquals(';', $h->getGlue()); - - // Does not add a null header by default - $h = new Header('Foo'); - $this->assertEquals('', (string) $h); - $this->assertEquals(0, count($h)); - - // Allows null array for a single null header - $h = new Header('Foo', array(null)); - $this->assertEquals('', (string) $h); - $this->assertEquals(1, count($h)); - - // Allows empty string - $h = new Header('Foo', ''); - $this->assertEquals('', (string) $h); - $this->assertEquals(1, count($h)); - } - - public function testUsesHeaderNameWhenNoneIsSupplied() - { - $h = new Header('Foo', 'bar', ';'); - $h->add('baz'); - $this->assertEquals(array('Foo'), array_keys($h->raw())); - } - - public function testCanCheckForExactHeaderValues() - { - $h = new Header('Foo', 'bar', ';'); - $this->assertTrue($h->hasExactHeader('Foo')); - $this->assertFalse($h->hasExactHeader('foo')); - } - - public function testCanRemoveValues() - { - $h = new Header('Foo', array('Foo', 'baz', 'bar')); - $h->removeValue('bar'); - $this->assertTrue($h->hasValue('Foo')); - $this->assertFalse($h->hasValue('bar')); - $this->assertTrue($h->hasValue('baz')); - } - - public function testAllowsArrayInConstructor() - { - $h = new Header('Foo', array('Testing', '123', 'Foo=baz')); - $this->assertEquals(array('Testing', '123', 'Foo=baz'), $h->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/PostFileTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/PostFileTest.php deleted file mode 100644 index 8171776..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/PostFileTest.php +++ /dev/null @@ -1,67 +0,0 @@ -assertEquals('foo', $file->getFieldName()); - $this->assertEquals(__FILE__, $file->getFilename()); - $this->assertEquals('x-foo', $file->getContentType()); - } - - public function testRemovesLeadingAtSymbolFromPath() - { - $file = new PostFile('foo', '@' . __FILE__); - $this->assertEquals(__FILE__, $file->getFilename()); - } - - /** - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testEnsuresFileIsReadable() - { - $file = new PostFile('foo', '/foo/baz/bar'); - } - - public function testCanChangeContentType() - { - $file = new PostFile('foo', '@' . __FILE__); - $file->setContentType('Boo'); - $this->assertEquals('Boo', $file->getContentType()); - } - - public function testCanChangeFieldName() - { - $file = new PostFile('foo', '@' . __FILE__); - $file->setFieldName('Boo'); - $this->assertEquals('Boo', $file->getFieldName()); - } - - public function testReturnsCurlValueString() - { - $file = new PostFile('foo', __FILE__); - $this->assertContains('@' . __FILE__ . ';type=text/x-', $file->getCurlString()); - } - - public function testContentDispositionFilePathIsStripped() - { - $this->getServer()->flush(); - $client = new Client($this->getServer()->getUrl()); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request = $client->post()->addPostFile('file', __FILE__); - $request->send(); - $requests = $this->getServer()->getReceivedRequests(false); - $this->assertContains('POST / HTTP/1.1', $requests[0]); - $this->assertContains('Content-Disposition: form-data; name="file"; filename="PostFileTest.php"', $requests[0]); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php deleted file mode 100644 index 91dfa72..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php +++ /dev/null @@ -1,334 +0,0 @@ -assertSame($factory, RequestFactory::getInstance()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - * @covers Guzzle\Http\Message\RequestFactory::getInstance - */ - public function testCreatesNewGetRequests() - { - $request = RequestFactory::getInstance()->create('GET', 'http://www.google.com/'); - $this->assertInstanceOf('Guzzle\\Http\\Message\\MessageInterface', $request); - $this->assertInstanceOf('Guzzle\\Http\\Message\\RequestInterface', $request); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Request', $request); - $this->assertEquals('GET', $request->getMethod()); - $this->assertEquals('http', $request->getScheme()); - $this->assertEquals('http://www.google.com/', $request->getUrl()); - $this->assertEquals('www.google.com', $request->getHost()); - $this->assertEquals('/', $request->getPath()); - $this->assertEquals('/', $request->getResource()); - - // Create a GET request with a custom receiving body - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $b = EntityBody::factory(); - $request = RequestFactory::getInstance()->create('GET', $this->getServer()->getUrl(), null, $b); - $request->setClient(new Client()); - $response = $request->send(); - $this->assertSame($b, $response->getBody()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesPutRequests() - { - // Test using a string - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/path?q=1&v=2', null, 'Data'); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('PUT', $request->getMethod()); - $this->assertEquals('http', $request->getScheme()); - $this->assertEquals('http://www.google.com/path?q=1&v=2', $request->getUrl()); - $this->assertEquals('www.google.com', $request->getHost()); - $this->assertEquals('/path', $request->getPath()); - $this->assertEquals('/path?q=1&v=2', $request->getResource()); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $request->getBody()); - $this->assertEquals('Data', (string) $request->getBody()); - unset($request); - - // Test using an EntityBody - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/path?q=1&v=2', null, EntityBody::factory('Data')); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('Data', (string) $request->getBody()); - - // Test using a resource - $resource = fopen('php://temp', 'w+'); - fwrite($resource, 'Data'); - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/path?q=1&v=2', null, $resource); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('Data', (string) $request->getBody()); - - // Test using an object that can be cast as a string - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/path?q=1&v=2', null, Url::factory('http://www.example.com/')); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('http://www.example.com/', (string) $request->getBody()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesHeadAndDeleteRequests() - { - $request = RequestFactory::getInstance()->create('DELETE', 'http://www.test.com/'); - $this->assertEquals('DELETE', $request->getMethod()); - $request = RequestFactory::getInstance()->create('HEAD', 'http://www.test.com/'); - $this->assertEquals('HEAD', $request->getMethod()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesOptionsRequests() - { - $request = RequestFactory::getInstance()->create('OPTIONS', 'http://www.example.com/'); - $this->assertEquals('OPTIONS', $request->getMethod()); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Request', $request); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesNewPutRequestWithBody() - { - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/path?q=1&v=2', null, 'Data'); - $this->assertEquals('Data', (string) $request->getBody()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesNewPostRequestWithFields() - { - // Use an array - $request = RequestFactory::getInstance()->create('POST', 'http://www.google.com/path?q=1&v=2', null, array( - 'a' => 'b' - )); - $this->assertEquals(array('a' => 'b'), $request->getPostFields()->getAll()); - unset($request); - - // Use a collection - $request = RequestFactory::getInstance()->create('POST', 'http://www.google.com/path?q=1&v=2', null, new Collection(array( - 'a' => 'b' - ))); - $this->assertEquals(array('a' => 'b'), $request->getPostFields()->getAll()); - - // Use a QueryString - $request = RequestFactory::getInstance()->create('POST', 'http://www.google.com/path?q=1&v=2', null, new QueryString(array( - 'a' => 'b' - ))); - $this->assertEquals(array('a' => 'b'), $request->getPostFields()->getAll()); - - $request = RequestFactory::getInstance()->create('POST', 'http://www.test.com/', null, array( - 'a' => 'b', - 'file' => '@' . __FILE__ - )); - - $this->assertEquals(array( - 'a' => 'b' - ), $request->getPostFields()->getAll()); - - $files = $request->getPostFiles(); - $this->assertInstanceOf('Guzzle\Http\Message\PostFile', $files['file'][0]); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::fromParts - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesFromParts() - { - $parts = parse_url('http://michael:123@www.google.com:8080/path?q=1&v=2'); - - $request = RequestFactory::getInstance()->fromParts('PUT', $parts, null, 'Data'); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('PUT', $request->getMethod()); - $this->assertEquals('http', $request->getScheme()); - $this->assertEquals('http://www.google.com:8080/path?q=1&v=2', $request->getUrl()); - $this->assertEquals('www.google.com', $request->getHost()); - $this->assertEquals('www.google.com:8080', $request->getHeader('Host')); - $this->assertEquals('/path', $request->getPath()); - $this->assertEquals('/path?q=1&v=2', $request->getResource()); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $request->getBody()); - $this->assertEquals('Data', (string)$request->getBody()); - $this->assertEquals('michael', $request->getUsername()); - $this->assertEquals('123', $request->getPassword()); - $this->assertEquals('8080', $request->getPort()); - $this->assertEquals(array( - 'scheme' => 'http', - 'host' => 'www.google.com', - 'port' => 8080, - 'path' => '/path', - 'query' => 'q=1&v=2', - ), parse_url($request->getUrl())); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::fromMessage - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesFromMessage() - { - $auth = base64_encode('michael:123'); - $message = "PUT /path?q=1&v=2 HTTP/1.1\r\nHost: www.google.com:8080\r\nContent-Length: 4\r\nAuthorization: Basic {$auth}\r\n\r\nData"; - $request = RequestFactory::getInstance()->fromMessage($message); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('PUT', $request->getMethod()); - $this->assertEquals('http', $request->getScheme()); - $this->assertEquals('http://www.google.com:8080/path?q=1&v=2', $request->getUrl()); - $this->assertEquals('www.google.com', $request->getHost()); - $this->assertEquals('www.google.com:8080', $request->getHeader('Host')); - $this->assertEquals('/path', $request->getPath()); - $this->assertEquals('/path?q=1&v=2', $request->getResource()); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $request->getBody()); - $this->assertEquals('Data', (string) $request->getBody()); - $this->assertEquals('michael', $request->getUsername()); - $this->assertEquals('123', $request->getPassword()); - $this->assertEquals('8080', $request->getPort()); - - // Test passing a blank message returns false - $this->assertFalse($request = RequestFactory::getInstance()->fromMessage('')); - - // Test passing a url with no port - $message = "PUT /path?q=1&v=2 HTTP/1.1\r\nHost: www.google.com\r\nContent-Length: 4\r\nAuthorization: Basic {$auth}\r\n\r\nData"; - $request = RequestFactory::getInstance()->fromMessage($message); - $this->assertInstanceOf('Guzzle\\Http\\Message\\EntityEnclosingRequest', $request); - $this->assertEquals('PUT', $request->getMethod()); - $this->assertEquals('http', $request->getScheme()); - $this->assertEquals('http://www.google.com/path?q=1&v=2', $request->getUrl()); - $this->assertEquals('www.google.com', $request->getHost()); - $this->assertEquals('/path', $request->getPath()); - $this->assertEquals('/path?q=1&v=2', $request->getResource()); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $request->getBody()); - $this->assertEquals('Data', (string)$request->getBody()); - $this->assertEquals('michael', $request->getUsername()); - $this->assertEquals('123', $request->getPassword()); - $this->assertEquals(80, $request->getPort()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesNewTraceRequest() - { - $request = RequestFactory::getInstance()->create('TRACE', 'http://www.google.com/'); - $this->assertFalse($request instanceof \Guzzle\Http\Message\EntityEnclosingRequest); - $this->assertEquals('TRACE', $request->getMethod()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesProperTransferEncodingRequests() - { - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/', array( - 'Transfer-Encoding' => 'chunked' - ), 'hello'); - $this->assertEquals('chunked', $request->getHeader('Transfer-Encoding')); - $this->assertFalse($request->hasHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::fromMessage - */ - public function testProperlyDealsWithDuplicateHeaders() - { - $parser = new MessageParser(); - - $message = "POST / http/1.1\r\n" - . "DATE:Mon, 09 Sep 2011 23:36:00 GMT\r\n" - . "host:host.foo.com\r\n" - . "ZOO:abc\r\n" - . "ZOO:123\r\n" - . "ZOO:HI\r\n" - . "zoo:456\r\n\r\n"; - - $parts = $parser->parseRequest($message); - $this->assertEquals(array ( - 'DATE' => 'Mon, 09 Sep 2011 23:36:00 GMT', - 'host' => 'host.foo.com', - 'ZOO' => array('abc', '123', 'HI'), - 'zoo' => '456', - ), $parts['headers']); - - $request = RequestFactory::getInstance()->fromMessage($message); - - $this->assertEquals(array( - 'ZOO' => array('abc', '123', 'HI'), - 'zoo' => array('456') - ), $request->getHeader('zoo')->raw()); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::fromMessage - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testCreatesHttpMessagesWithBodiesAndNormalizesLineEndings() - { - $message = "POST / http/1.1\r\n" - . "Content-Type:application/x-www-form-urlencoded; charset=utf8\r\n" - . "Date:Mon, 09 Sep 2011 23:36:00 GMT\r\n" - . "Host:host.foo.com\r\n\r\n" - . "foo=bar"; - - $request = RequestFactory::getInstance()->fromMessage($message); - $this->assertEquals('application/x-www-form-urlencoded; charset=utf8', (string) $request->getHeader('Content-Type')); - $this->assertEquals('foo=bar', (string) $request->getBody()); - - $message = "POST / http/1.1\n" - . "Content-Type:application/x-www-form-urlencoded; charset=utf8\n" - . "Date:Mon, 09 Sep 2011 23:36:00 GMT\n" - . "Host:host.foo.com\n\n" - . "foo=bar"; - $request = RequestFactory::getInstance()->fromMessage($message); - $this->assertEquals('foo=bar', (string) $request->getBody()); - - $message = "PUT / HTTP/1.1\r\nContent-Length: 0\r\n\r\n"; - $request = RequestFactory::getInstance()->fromMessage($message); - $this->assertTrue($request->hasHeader('Content-Length')); - $this->assertEquals(0, (string) $request->getHeader('Content-Length')); - } - - /** - * @covers Guzzle\Http\Message\RequestFactory::create - */ - public function testHandlesChunkedTransferEncoding() - { - $request = RequestFactory::getInstance()->create('PUT', 'http://www.foo.com/', array( - 'Transfer-Encoding' => 'chunked' - ), 'Test'); - $this->assertFalse($request->hasHeader('Content-Length')); - $this->assertEquals('chunked', $request->getHeader('Transfer-Encoding')); - - $request = RequestFactory::getInstance()->create('POST', 'http://www.foo.com/', array( - 'transfer-encoding' => 'chunked' - ), array( - 'foo' => 'bar' - )); - - $this->assertFalse($request->hasHeader('Content-Length')); - $this->assertEquals('chunked', $request->getHeader('Transfer-Encoding')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestTest.php deleted file mode 100644 index 5a39c0c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/RequestTest.php +++ /dev/null @@ -1,904 +0,0 @@ -client = new Client($this->getServer()->getUrl()); - $this->request = $this->client->get(); - } - - public function tearDown() - { - unset($this->request); - unset($this->client); - } - - /** - * @covers Guzzle\Http\Message\Request::__construct - */ - public function testConstructorBuildsRequestWithArrayHeaders() - { - // Test passing an array of headers - $request = new Request('GET', 'http://www.guzzle-project.com/', array( - 'foo' => 'bar' - )); - - $this->assertEquals('GET', $request->getMethod()); - $this->assertEquals('http://www.guzzle-project.com/', $request->getUrl()); - $this->assertEquals('bar', $request->getHeader('foo')); - } - - /** - * @covers Guzzle\Http\Message\Request::getAllEvents - */ - public function testDescribesEvents() - { - $this->assertInternalType('array', Request::getAllEvents()); - } - - /** - * @covers Guzzle\Http\Message\Request::__construct - */ - public function testConstructorBuildsRequestWithCollectionHeaders() - { - $request = new Request('GET', 'http://www.guzzle-project.com/', new Collection(array( - 'foo' => 'bar' - ))); - $this->assertEquals('bar', $request->getHeader('foo')); - } - - /** - * @covers Guzzle\Http\Message\Request::__construct - */ - public function testConstructorBuildsRequestWithNoHeaders() - { - $request = new Request('GET', 'http://www.guzzle-project.com/', null); - $this->assertFalse($request->hasHeader('foo')); - } - - /** - * @covers Guzzle\Http\Message\Request::__construct - */ - public function testConstructorHandlesBasicAuth() - { - $auth = base64_encode('michael:foo'); - $request = new Request('GET', 'http://www.guzzle-project.com/', array( - 'Authorization' => 'Basic ' . $auth - )); - $this->assertEquals('michael', $request->getUserName()); - $this->assertEquals('foo', $request->getPassword()); - $this->assertEquals('Basic ' . $auth, (string) $request->getHeader('Authorization')); - } - - /** - * @covers Guzzle\Http\Message\Request::__construct - */ - public function testConstructorHandlesNonBasicAuth() - { - $request = new Request('GET', 'http://www.guzzle-project.com/', array( - 'Authorization' => 'Foo bar' - )); - $this->assertNull($request->getUserName()); - $this->assertNull($request->getPassword()); - $this->assertEquals('Foo bar', (string) $request->getHeader('Authorization')); - } - - /** - * @covers Guzzle\Http\Message\Request::__toString - * @covers Guzzle\Http\Message\Request::getRawHeaders - * @covers Guzzle\Http\Message\AbstractMessage::getHeaderLines - */ - public function testRequestsCanBeConvertedToRawMessageStrings() - { - $auth = base64_encode('michael:123'); - $message = "PUT /path?q=1&v=2 HTTP/1.1\r\n" - . "Host: www.google.com\r\n" - . "Authorization: Basic {$auth}\r\n" - . "Content-Length: 4\r\n\r\nData"; - - $request = RequestFactory::getInstance()->create('PUT', 'http://www.google.com/path?q=1&v=2', array( - 'Authorization' => 'Basic ' . $auth - ), 'Data'); - - $this->assertEquals($message, $request->__toString()); - } - - /** - * Add authorization after the fact and see that it was put in the message - * - * @covers Guzzle\Http\Message\Request::__toString - * @covers Guzzle\Http\Message\Request::getRawHeaders - */ - public function testRequestStringsIncludeAuth() - { - $auth = base64_encode('michael:123'); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request = RequestFactory::getInstance()->create('PUT', $this->getServer()->getUrl(), null, 'Data') - ->setClient($this->client) - ->setAuth('michael', '123', CURLAUTH_BASIC); - $request->send(); - - $this->assertContains('Authorization: Basic ' . $auth, (string) $request); - } - - /** - * @covers Guzzle\Http\Message\Request::getEventDispatcher - */ - public function testGetEventDispatcher() - { - $d = $this->request->getEventDispatcher(); - $this->assertInstanceOf('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface', $d); - $this->assertEquals($d, $this->request->getEventDispatcher()); - } - - /** - * @covers Guzzle\Http\Message\Request::getClient - * @covers Guzzle\Http\Message\Request::setClient - */ - public function testRequestsManageClients() - { - $request = new Request('GET', 'http://test.com'); - $this->assertNull($request->getClient()); - $request->setClient($this->client); - $this->assertSame($this->client, $request->getClient()); - } - - /** - * @covers Guzzle\Http\Message\Request::send - * @expectedException \RuntimeException - * @expectedExceptionMessage A client must be set on the request - */ - public function testRequestsRequireClients() - { - $request = new Request('GET', 'http://test.com'); - $request->send(); - } - - /** - * @covers Guzzle\Http\Message\Request::send - * @covers Guzzle\Http\Message\Request::getResponse - * @covers Guzzle\Http\Message\Request::setResponse - * @covers Guzzle\Http\Message\Request::processResponse - * @covers Guzzle\Http\Message\Request::getResponseBody - */ - public function testSend() - { - $response = new Response(200, array( - 'Content-Length' => 3 - ), 'abc'); - $this->request->setResponse($response, true); - $r = $this->request->send(); - - $this->assertSame($response, $r); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $this->request->getResponse()); - $this->assertSame($r, $this->request->getResponse()); - $this->assertEquals('complete', $this->request->getState()); - } - - /** - * @covers Guzzle\Http\Message\Request::getResponse - * @covers Guzzle\Http\Message\Request::setResponse - * @covers Guzzle\Http\Message\Request::processResponse - * @covers Guzzle\Http\Message\Request::getResponseBody - */ - public function testGetResponse() - { - $this->assertNull($this->request->getResponse()); - - $response = new Response(200, array( - 'Content-Length' => 3 - ), 'abc'); - - $this->request->setResponse($response); - $this->assertEquals($response, $this->request->getResponse()); - - $request = new Request('GET', 'http://www.google.com/'); - $request->setResponse($response, true); - $request->setState(RequestInterface::STATE_COMPLETE); - $requestResponse = $request->getResponse(); - $this->assertSame($response, $requestResponse); - - // Try again, making sure it's still the same response - $this->assertSame($requestResponse, $request->getResponse()); - - $response = new Response(204); - $request = new Request('GET', 'http://www.google.com/'); - $request->setResponse($response, true); - $request->setState('complete'); - $requestResponse = $request->getResponse(); - $this->assertSame($response, $requestResponse); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $response->getBody()); - } - - /** - * @covers Guzzle\Http\Message\Request::getResponse - * @covers Guzzle\Http\Message\Request::processResponse - * @covers Guzzle\Http\Message\Request::getResponseBody - */ - public function testRequestThrowsExceptionOnBadResponse() - { - $response = new Response(404, array( - 'Content-Length' => 3 - ), 'abc'); - - $request = new Request('GET', 'http://www.google.com/'); - $request->setClient($this->client); - try { - $request->setResponse($response, true); - $request->send(); - $this->fail('Expected exception not thrown'); - } catch (BadResponseException $e) { - $this->assertInstanceOf('Guzzle\\Http\\Message\\RequestInterface', $e->getRequest()); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $e->getResponse()); - $this->assertContains('Client error response', $e->getMessage()); - } - } - - /** - * @covers Guzzle\Http\Message\Request::getQuery - */ - public function testManagesQuery() - { - $this->assertInstanceOf('Guzzle\\Http\\QueryString', $this->request->getQuery()); - $this->request->getQuery()->set('test', '123'); - $this->assertEquals('test=123', $this->request->getQuery(true)); - } - - /** - * @covers Guzzle\Http\Message\Request::getMethod - */ - public function testRequestHasMethod() - { - $this->assertEquals('GET', $this->request->getMethod()); - } - - /** - * @covers Guzzle\Http\Message\Request::getScheme - * @covers Guzzle\Http\Message\Request::setScheme - */ - public function testRequestHasScheme() - { - $this->assertEquals('http', $this->request->getScheme()); - $this->assertEquals($this->request, $this->request->setScheme('https')); - $this->assertEquals('https', $this->request->getScheme()); - } - - /** - * @covers Guzzle\Http\Message\Request::getHost - * @covers Guzzle\Http\Message\Request::setHost - */ - public function testRequestHasHost() - { - $this->assertEquals('127.0.0.1', $this->request->getHost()); - $this->assertEquals('127.0.0.1:8124', (string) $this->request->getHeader('Host')); - - $this->assertSame($this->request, $this->request->setHost('www2.google.com')); - $this->assertEquals('www2.google.com', $this->request->getHost()); - $this->assertEquals('www2.google.com:8124', (string) $this->request->getHeader('Host')); - - $this->assertSame($this->request, $this->request->setHost('www.test.com:8081')); - $this->assertEquals('www.test.com', $this->request->getHost()); - $this->assertEquals(8081, $this->request->getPort()); - } - - /** - * @covers Guzzle\Http\Message\Request::getProtocolVersion - * @covers Guzzle\Http\Message\Request::setProtocolVersion - */ - public function testRequestHasProtocol() - { - $this->assertEquals('1.1', $this->request->getProtocolVersion()); - $this->assertEquals($this->request, $this->request->setProtocolVersion('1.1')); - $this->assertEquals('1.1', $this->request->getProtocolVersion()); - $this->assertEquals($this->request, $this->request->setProtocolVersion('1.0')); - $this->assertEquals('1.0', $this->request->getProtocolVersion()); - } - - /** - * @covers Guzzle\Http\Message\Request::getPath - * @covers Guzzle\Http\Message\Request::setPath - */ - public function testRequestHasPath() - { - $this->assertEquals('/', $this->request->getPath()); - $this->assertEquals($this->request, $this->request->setPath('/index.html')); - $this->assertEquals('/index.html', $this->request->getPath()); - $this->assertEquals($this->request, $this->request->setPath('index.html')); - $this->assertEquals('/index.html', $this->request->getPath()); - } - - /** - * @covers Guzzle\Http\Message\Request::getHost - * @covers Guzzle\Http\Message\Request::getPath - * @covers Guzzle\Http\Message\Request::getQuery - */ - public function testPermitsFalsyComponents() - { - $request = new Request('GET', 'http://0/0?0'); - $this->assertSame('0', $request->getHost()); - $this->assertSame('/0', $request->getPath()); - $this->assertSame('0=', $request->getQuery(true)); - - $request = new Request('GET', '0'); - $this->assertEquals('/0', $request->getPath()); - } - - /** - * @covers Guzzle\Http\Message\Request::getPort - * @covers Guzzle\Http\Message\Request::setPort - */ - public function testRequestHasPort() - { - $this->assertEquals(8124, $this->request->getPort()); - $this->assertEquals('127.0.0.1:8124', $this->request->getHeader('Host')); - - $this->assertEquals($this->request, $this->request->setPort('8080')); - $this->assertEquals('8080', $this->request->getPort()); - $this->assertEquals('127.0.0.1:8080', $this->request->getHeader('Host')); - - $this->request->setPort(80); - $this->assertEquals('127.0.0.1', $this->request->getHeader('Host')); - } - - /** - * @covers Guzzle\Http\Message\Request::getUsername - * @covers Guzzle\Http\Message\Request::getPassword - * @covers Guzzle\Http\Message\Request::setAuth - */ - public function testRequestHandlesAuthorization() - { - // Uninitialized auth - $this->assertEquals(null, $this->request->getUsername()); - $this->assertEquals(null, $this->request->getPassword()); - - // Set an auth - $this->assertSame($this->request, $this->request->setAuth('michael', '123')); - $this->assertEquals('michael', $this->request->getUsername()); - $this->assertEquals('123', $this->request->getPassword()); - - // Set an auth with blank password - $this->assertSame($this->request, $this->request->setAuth('michael', '')); - $this->assertEquals('michael', $this->request->getUsername()); - $this->assertEquals('', $this->request->getPassword()); - - // Remove the auth - $this->request->setAuth(false); - $this->assertEquals(null, $this->request->getUsername()); - $this->assertEquals(null, $this->request->getPassword()); - - // Make sure that the cURL based auth works too - $request = new Request('GET', $this->getServer()->getUrl()); - $request->setAuth('michael', 'password', CURLAUTH_DIGEST); - $this->assertEquals('michael:password', $request->getCurlOptions()->get(CURLOPT_USERPWD)); - $this->assertEquals(CURLAUTH_DIGEST, $request->getCurlOptions()->get(CURLOPT_HTTPAUTH)); - } - - /** - * @covers Guzzle\Http\Message\Request::getResource - */ - public function testGetResourceUri() - { - $this->assertEquals('/', $this->request->getResource()); - $this->request->setPath('/index.html'); - $this->assertEquals('/index.html', $this->request->getResource()); - $this->request->getQuery()->add('v', '1'); - $this->assertEquals('/index.html?v=1', $this->request->getResource()); - } - - /** - * @covers Guzzle\Http\Message\Request::getUrl - * @covers Guzzle\Http\Message\Request::setUrl - */ - public function testRequestHasMutableUrl() - { - $url = 'http://www.test.com:8081/path?q=123#fragment'; - $u = Url::factory($url); - $this->assertSame($this->request, $this->request->setUrl($url)); - $this->assertEquals($url, $this->request->getUrl()); - - $this->assertSame($this->request, $this->request->setUrl($u)); - $this->assertEquals($url, $this->request->getUrl()); - } - - /** - * @covers Guzzle\Http\Message\Request::setState - * @covers Guzzle\Http\Message\Request::getState - */ - public function testRequestHasState() - { - $this->assertEquals(RequestInterface::STATE_NEW, $this->request->getState()); - $this->request->setState(RequestInterface::STATE_TRANSFER); - $this->assertEquals(RequestInterface::STATE_TRANSFER, $this->request->getState()); - } - - /** - * @covers Guzzle\Http\Message\Request::setResponse - * @covers Guzzle\Http\Message\Request::getResponse - * @covers Guzzle\Http\Message\Request::getState - */ - public function testSetManualResponse() - { - $response = new Response(200, array( - 'Date' => 'Sat, 16 Oct 2010 17:27:14 GMT', - 'Expires' => '-1', - 'Cache-Control' => 'private, max-age=0', - 'Content-Type' => 'text/html; charset=ISO-8859-1', - ), 'response body'); - - $this->assertSame($this->request, $this->request->setResponse($response), '-> setResponse() must use a fluent interface'); - $this->assertEquals('complete', $this->request->getState(), '-> setResponse() must change the state of the request to complete'); - $this->assertSame($response, $this->request->getResponse(), '-> setResponse() must set the exact same response that was passed in to it'); - } - - /** - * @covers Guzzle\Http\Message\Request::setResponseBody - */ - public function testRequestCanHaveManuallySetResponseBody() - { - $file = __DIR__ . '/../../TestData/temp.out'; - if (file_exists($file)) { - unlink($file); - } - - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata"); - $request = RequestFactory::getInstance()->create('GET', $this->getServer()->getUrl()); - $request->setClient($this->client); - $entityBody = EntityBody::factory(fopen($file, 'w+')); - $request->setResponseBody($entityBody); - $response = $request->send(); - $this->assertSame($entityBody, $response->getBody()); - - $this->assertTrue(file_exists($file)); - $this->assertEquals('data', file_get_contents($file)); - unlink($file); - - $this->assertEquals('data', $response->getBody(true)); - } - - /** - * @covers Guzzle\Http\Message\Request::isResponseBodyRepeatable - */ - public function testDeterminesIfResponseBodyRepeatable() - { - // The default stream created for responses is seekable - $request = RequestFactory::getInstance()->create('GET', 'http://localhost:' . $this->getServer()->getPort()); - $this->assertTrue($request->isResponseBodyRepeatable()); - - // This should return false because an HTTP stream is not seekable - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata"); - $request->setResponseBody(EntityBody::factory(fopen($this->getServer()->getUrl(), true))); - $this->assertFalse($request->isResponseBodyRepeatable()); - } - - /** - * @covers Guzzle\Http\Message\Request::canCache - */ - public function testDeterminesIfCanCacheRequest() - { - $this->assertTrue(RequestFactory::getInstance()->fromMessage( - "GET / HTTP/1.1\r\nHost: www.test.com\r\nCache-Control: no-cache, max-age=120\r\n\r\n" - )->canCache()); - - $this->assertTrue(RequestFactory::getInstance()->fromMessage( - "HEAD / HTTP/1.1\r\nHost: www.test.com\r\nCache-Control: no-cache, max-age=120\r\n\r\n" - )->canCache()); - - $this->assertFalse(RequestFactory::getInstance()->fromMessage( - "HEAD / HTTP/1.1\r\nHost: www.test.com\r\nCache-Control: no-cache, max-age=120, no-store\r\n\r\n" - )->canCache()); - - $this->assertFalse(RequestFactory::getInstance()->fromMessage( - "POST / HTTP/1.1\r\nHost: www.test.com\r\n\r\n" - )->canCache()); - - $this->assertFalse(RequestFactory::getInstance()->fromMessage( - "PUT / HTTP/1.1\r\nHost: www.test.com\r\nCache-Control: no-cache, max-age=120\r\n\r\n" - )->canCache()); - } - - /** - * @covers Guzzle\Http\Message\Request - */ - public function testHoldsCookies() - { - $this->assertNull($this->request->getCookie('test')); - - // Set a cookie - $this->assertSame($this->request, $this->request->addCookie('test', 'abc')); - $this->assertEquals('abc', $this->request->getCookie('test')); - - // Multiple cookies by setting the Cookie header - $this->request->setHeader('Cookie', '__utma=1.638370270.1344367610.1374365610.1944450276.2; __utmz=1.1346368610.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); hl=de; PHPSESSID=ak93pqashi5uubuoq8fjv60897'); - $this->assertEquals('1.638370270.1344367610.1374365610.1944450276.2', $this->request->getCookie('__utma')); - $this->assertEquals('1.1346368610.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', $this->request->getCookie('__utmz')); - $this->assertEquals('de', $this->request->getCookie('hl')); - $this->assertEquals('ak93pqashi5uubuoq8fjv60897', $this->request->getCookie('PHPSESSID')); - - // Unset the cookies by setting the Cookie header to null - $this->request->setHeader('Cookie', null); - $this->assertNull($this->request->getCookie('test')); - $this->request->removeHeader('Cookie'); - - // Set and remove a cookie - $this->assertSame($this->request, $this->request->addCookie('test', 'abc')); - $this->assertEquals('abc', $this->request->getCookie('test')); - $this->assertSame($this->request, $this->request->removeCookie('test')); - $this->assertNull($this->request->getCookie('test')); - - // Remove the cookie header - $this->assertSame($this->request, $this->request->addCookie('test', 'abc')); - $this->request->removeHeader('Cookie'); - $this->assertEquals('', (string) $this->request->getHeader('Cookie')); - - // Remove a cookie value - $this->request->addCookie('foo', 'bar')->addCookie('baz', 'boo'); - $this->request->removeCookie('foo'); - $this->assertEquals(array( - 'baz' => 'boo' - ), $this->request->getCookies()); - - $this->request->addCookie('foo', 'bar'); - $this->assertEquals('baz=boo; foo=bar', (string) $this->request->getHeader('Cookie')); - } - - /** - * @covers Guzzle\Http\Message\Request::processResponse - * @expectedException Guzzle\Http\Exception\RequestException - * @expectedExceptionMessage Error completing request - */ - public function testRequestThrowsExceptionWhenSetToCompleteWithNoResponse() - { - $this->request->setState(RequestInterface::STATE_COMPLETE); - } - - /** - * @covers Guzzle\Http\Message\Request::__clone - */ - public function testClonedRequestsUseNewInternalState() - { - $p = new AsyncPlugin(); - $this->request->getEventDispatcher()->addSubscriber($p); - $h = $this->request->getHeader('Host'); - - $r = clone $this->request; - $this->assertEquals(RequestInterface::STATE_NEW, $r->getState()); - $this->assertNotSame($r->getQuery(), $this->request->getQuery()); - $this->assertNotSame($r->getCurlOptions(), $this->request->getCurlOptions()); - $this->assertNotSame($r->getEventDispatcher(), $this->request->getEventDispatcher()); - $this->assertEquals($r->getHeaders(), $this->request->getHeaders()); - $this->assertNotSame($h, $r->getHeader('Host')); - $this->assertNotSame($r->getParams(), $this->request->getParams()); - $this->assertNull($r->getParams()->get('queued_response')); - - $this->assertTrue($this->request->getEventDispatcher()->hasListeners('request.sent')); - } - - /** - * @covers Guzzle\Http\Message\Request::changedHeader - * @covers Guzzle\Http\Message\Request::setHeader - */ - public function testCatchesAllHostHeaderChanges() - { - // Tests setting using headers - $this->request->setHeader('Host', 'www.abc.com'); - $this->assertEquals('www.abc.com', $this->request->getHost()); - $this->assertEquals('www.abc.com:8124', $this->request->getHeader('Host')); - $this->assertEquals(8124, $this->request->getPort()); - - // Tests setting using setHost() - $this->request->setHost('abc.com'); - $this->assertEquals('abc.com', $this->request->getHost()); - $this->assertEquals('abc.com:8124', $this->request->getHeader('Host')); - $this->assertEquals(8124, $this->request->getPort()); - - // Tests setting with a port - $this->request->setHost('abc.com:8081'); - $this->assertEquals('abc.com', $this->request->getHost()); - $this->assertEquals('abc.com:8081', $this->request->getHeader('Host')); - $this->assertEquals(8081, $this->request->getPort()); - - // Tests setting with a port using the Host header - $this->request->setHeader('Host', 'solr.com:8983'); - $this->assertEquals('solr.com', $this->request->getHost()); - $this->assertEquals('solr.com:8983', (string) $this->request->getHeader('Host')); - $this->assertEquals(8983, $this->request->getPort()); - - // Tests setting with an inferred 443 port using the Host header - $this->request->setScheme('https'); - $this->request->setHeader('Host', 'solr.com'); - $this->assertEquals('solr.com', $this->request->getHost()); - $this->assertEquals('solr.com:8983', (string) $this->request->getHeader('Host')); - $this->assertEquals(8983, $this->request->getPort()); - } - - /** - * @covers Guzzle\Http\Message\Request::setUrl - */ - public function testRecognizesBasicAuthCredentialsInUrls() - { - $this->request->setUrl('http://michael:test@test.com/'); - $this->assertEquals('michael', $this->request->getUsername()); - $this->assertEquals('test', $this->request->getPassword()); - } - - /** - * This test launches a dummy Guzzle\Http\Server\Server object that listens - * for incoming requests. The server allows us to test how cURL sends - * requests and receives responses. We can validate the request structure - * and whether or not the response was interpreted correctly. - * - * @covers Guzzle\Http\Message\Request - */ - public function testRequestCanBeSentUsingCurl() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\nExpires: Thu, 01 Dec 1994 16:00:00 GMT\r\nConnection: close\r\n\r\ndata", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\nExpires: Thu, 01 Dec 1994 16:00:00 GMT\r\nConnection: close\r\n\r\ndata", - "HTTP/1.1 404 Not Found\r\nContent-Encoding: application/xml\r\nContent-Length: 48\r\n\r\nFile not found" - )); - - $request = RequestFactory::getInstance()->create('GET', $this->getServer()->getUrl()); - $request->setClient($this->client); - $response = $request->send(); - - $this->assertEquals('data', $response->getBody(true)); - $this->assertEquals(200, (int) $response->getStatusCode()); - $this->assertEquals('OK', $response->getReasonPhrase()); - $this->assertEquals(4, $response->getContentLength()); - $this->assertEquals('Thu, 01 Dec 1994 16:00:00 GMT', $response->getExpires()); - - // Test that the same handle can be sent twice without setting state to new - $response2 = $request->send(); - $this->assertNotSame($response, $response2); - - try { - $request = RequestFactory::getInstance()->create('GET', $this->getServer()->getUrl() . 'index.html'); - $request->setClient($this->client); - $response = $request->send(); - $this->fail('Request did not receive a 404 response'); - } catch (BadResponseException $e) { - } - - $requests = $this->getServer()->getReceivedRequests(true); - $messages = $this->getServer()->getReceivedRequests(false); - $port = $this->getServer()->getPort(); - - $userAgent = $this->client->getDefaultUserAgent(); - - $this->assertEquals('127.0.0.1:' . $port, $requests[0]->getHeader('Host')); - $this->assertEquals('127.0.0.1:' . $port, $requests[1]->getHeader('Host')); - $this->assertEquals('127.0.0.1:' . $port, $requests[2]->getHeader('Host')); - - $this->assertEquals('/', $requests[0]->getPath()); - $this->assertEquals('/', $requests[1]->getPath()); - $this->assertEquals('/index.html', $requests[2]->getPath()); - - $parts = explode("\r\n", $messages[0]); - $this->assertEquals('GET / HTTP/1.1', $parts[0]); - - $parts = explode("\r\n", $messages[1]); - $this->assertEquals('GET / HTTP/1.1', $parts[0]); - - $parts = explode("\r\n", $messages[2]); - $this->assertEquals('GET /index.html HTTP/1.1', $parts[0]); - } - - /** - * @covers Guzzle\Http\Message\Request::onRequestError - */ - public function testThrowsExceptionsWhenUnsuccessfulResponseIsReceivedByDefault() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 404 Not found\r\nContent-Length: 0\r\n\r\n"); - - try { - $request = $this->client->get('/index.html'); - $response = $request->send(); - $this->fail('Request did not receive a 404 response'); - } catch (BadResponseException $e) { - $this->assertContains('Client error response', $e->getMessage()); - $this->assertContains('[status code] 404', $e->getMessage()); - $this->assertContains('[reason phrase] Not found', $e->getMessage()); - } - } - - /** - * @covers Guzzle\Http\Message\Request::onRequestError - */ - public function testCanShortCircuitErrorHandling() - { - $request = $this->request; - $response = new Response(404); - $request->setResponse($response, true); - $out = ''; - $that = $this; - $request->getEventDispatcher()->addListener('request.error', function($event) use (&$out, $that) { - $out .= $event['request'] . "\n" . $event['response'] . "\n"; - $event->stopPropagation(); - }); - $request->send(); - $this->assertContains((string) $request, $out); - $this->assertContains((string) $request->getResponse(), $out); - $this->assertSame($response, $request->getResponse()); - } - - /** - * @covers Guzzle\Http\Message\Request::processResponse - * @covers Guzzle\Http\Message\Request::onRequestError - */ - public function testCanOverrideUnsuccessfulResponses() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 404 NOT FOUND\r\n" . - "Content-Length: 0\r\n" . - "\r\n", - "HTTP/1.1 200 OK\r\n" . - "Content-Length: 0\r\n" . - "\r\n" - )); - - $newResponse = null; - - $request = $this->request; - $request->getEventDispatcher()->addListener('request.error', function($event) use (&$newResponse) { - if ($event['response']->getStatusCode() == 404) { - $newRequest = clone $event['request']; - $newResponse = $newRequest->send(); - // Override the original response and bypass additional response processing - $event['response'] = $newResponse; - // Call $event['request']->setResponse($newResponse); to re-apply events - $event->stopPropagation(); - } - }); - - $request->send(); - - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - $this->assertSame($newResponse, $request->getResponse()); - $this->assertEquals(2, count($this->getServer()->getReceivedRequests())); - } - - /** - * @covers Guzzle\Http\Message\Request - */ - public function testCanRetrieveUrlObject() - { - $request = new Request('GET', 'http://www.example.com/foo?abc=d'); - $this->assertInstanceOf('Guzzle\Http\Url', $request->getUrl(true)); - $this->assertEquals('http://www.example.com/foo?abc=d', $request->getUrl()); - $this->assertEquals('http://www.example.com/foo?abc=d', (string) $request->getUrl(true)); - } - - /** - * Users sometimes want to use a custom stream when receiving a response body. - * Because of the various potential for retrying failed requests, the stream - * specified by the user should only be written to in the event that a - * successful response was received. Otherwise, a new temp stream is created - * to store the body of the failed request. - * - * @covers Guzzle\Http\Message\Request::receiveResponseHeader - */ - public function testReceivingUnsuccessfulResponseUsesOtherResponseBody() - { - $request = new Request('GET', $this->getServer()->getUrl()); - $body = EntityBody::factory(); - $request->setResponseBody($body); - $request->receiveResponseHeader('HTTP/1.1 503 Service Unavailable'); - $this->assertNotSame($body, $request->getResponse()->getBody()); - } - - /** - * Many RESTful frameworks omit the text status from the header. That - * provides a response like "HTTP/1.1 200". Prevent an Undefined offset - * by checking to see how many parts of the status line are provided - * before trying to assign them. - * - * @covers Guzzle\Http\Message\Request::receiveResponseHeader - */ - public function testReceivingShortStatusLineResponse() - { - $request = new Request('GET', $this->getServer()->getUrl()); - $request->receiveResponseHeader('HTTP/1.1 200'); - $this->assertSame(200, $request->getResponse()->getStatusCode()); - $this->assertSame('OK', $request->getResponse()->getReasonPhrase()); - } - - /** - * @covers Guzzle\Http\Message\Request::receiveResponseHeader - */ - public function testAddsPreviousResponseToResponseWhenRedirecting() - { - $url = $this->getServer()->getUrl(); - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 303 SEE OTHER\r\n" . - "Content-Length: 0\r\n" . - "Location: {$url}/foo\r\n\r\n", - "HTTP/1.1 200 OK\r\n" . - "Content-Length: 0\r\n\r\n" - )); - - $request = $this->request; - $request->send(); - $this->assertEquals(2, count($this->getServer()->getReceivedRequests())); - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - $this->assertEquals(303, $request->getResponse()->getPreviousResponse()->getStatusCode()); - } - - public function testUnresolvedRedirectsReturnResponse() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 303 SEE OTHER\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Foo\r\nLocation: /foo\r\nContent-Length: 0\r\n\r\n" - )); - $request = $this->request; - $this->assertEquals(303, $request->send()->getStatusCode()); - $request->getParams()->set(RedirectPlugin::DISABLE, true); - $this->assertEquals(301, $request->send()->getStatusCode()); - } - - public function testCanSendCustomRequests() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $request = $this->client->createRequest('PROPFIND', $this->getServer()->getUrl(), array( - 'Content-Type' => 'text/plain' - ), 'foo'); - $response = $request->send(); - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('PROPFIND', $requests[0]->getMethod()); - $this->assertEquals(3, (string) $requests[0]->getHeader('Content-Length')); - $this->assertEquals('foo', (string) $requests[0]->getBody()); - } - - /** - * @expectedException PHPUnit_Framework_Error_Warning - */ - public function testEnsuresFileCanBeCreated() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ntest"); - $this->client->get('/')->setResponseBody('/wefwefefefefwewefwe/wefwefwefefwe/wefwefewfw.txt')->send(); - } - - public function testAllowsFilenameForDownloadingContent() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ntest"); - $name = sys_get_temp_dir() . '/foo.txt'; - $this->client->get('/')->setResponseBody($name)->send(); - $this->assertEquals('test', file_get_contents($name)); - unlink($name); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/ResponseTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/ResponseTest.php deleted file mode 100644 index d79c071..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/ResponseTest.php +++ /dev/null @@ -1,877 +0,0 @@ -response = new Response(200, new Collection(array( - 'Accept-Ranges' => 'bytes', - 'Age' => '12', - 'Allow' => 'GET, HEAD', - 'Cache-Control' => 'no-cache', - 'Content-Encoding' => 'gzip', - 'Content-Language' => 'da', - 'Content-Length' => '348', - 'Content-Location' => '/index.htm', - 'Content-Disposition' => 'attachment; filename=fname.ext', - 'Content-MD5' => 'Q2hlY2sgSW50ZWdyaXR5IQ==', - 'Content-Range' => 'bytes 21010-47021/47022', - 'Content-Type' => 'text/html; charset=utf-8', - 'Date' => 'Tue, 15 Nov 1994 08:12:31 GMT', - 'ETag' => '737060cd8c284d8af7ad3082f209582d', - 'Expires' => 'Thu, 01 Dec 1994 16:00:00 GMT', - 'Last-Modified' => 'Tue, 15 Nov 1994 12:45:26 GMT', - 'Location' => 'http://www.w3.org/pub/WWW/People.html', - 'Pragma' => 'no-cache', - 'Proxy-Authenticate' => 'Basic', - 'Retry-After' => '120', - 'Server' => 'Apache/1.3.27 (Unix) (Red-Hat/Linux)', - 'Set-Cookie' => 'UserID=JohnDoe; Max-Age=3600; Version=1', - 'Trailer' => 'Max-Forwards', - 'Transfer-Encoding' => 'chunked', - 'Vary' => '*', - 'Via' => '1.0 fred, 1.1 nowhere.com (Apache/1.1)', - 'Warning' => '199 Miscellaneous warning', - 'WWW-Authenticate' => 'Basic' - )), 'body'); - } - - /** - * @covers Guzzle\Http\Message\Response::__construct - */ - public function testConstructor() - { - $params = new Collection(); - $body = EntityBody::factory(''); - $response = new Response(200, $params, $body); - $this->assertEquals(200, $response->getStatusCode()); - $this->assertEquals($body, $response->getBody()); - $this->assertEquals('OK', $response->getReasonPhrase()); - $this->assertEquals("HTTP/1.1 200 OK\r\n\r\n", $response->getRawHeaders()); - - // Make sure Content-Length is set automatically - $response = new Response(200, $params); - $this->assertEquals("HTTP/1.1 200 OK\r\n\r\n", $response->getRawHeaders()); - - // Pass bodies to the response - $response = new Response(200, null, 'data'); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $response->getBody()); - $response = new Response(200, null, EntityBody::factory('data')); - $this->assertInstanceOf('Guzzle\\Http\\EntityBody', $response->getBody()); - $this->assertEquals('data', $response->getBody(true)); - $response = new Response(200, null, '0'); - $this->assertSame('0', $response->getBody(true), 'getBody(true) should return "0" if response body is "0".'); - - // Make sure the proper exception is thrown - try { - //$response = new Response(200, null, array('foo' => 'bar')); - //$this->fail('Response did not throw exception when passing invalid body'); - } catch (HttpException $e) { - } - - // Ensure custom codes can be set - $response = new Response(2); - $this->assertEquals(2, $response->getStatusCode()); - $this->assertEquals('', $response->getReasonPhrase()); - - // Make sure the proper exception is thrown when sending invalid headers - try { - $response = new Response(200, 'adidas'); - $this->fail('Response did not throw exception when passing invalid $headers'); - } catch (BadResponseException $e) { - } - } - - /** - * @covers Guzzle\Http\Message\Response::__toString - */ - public function test__toString() - { - $response = new Response(200); - $this->assertEquals("HTTP/1.1 200 OK\r\n\r\n", (string) $response); - - // Add another header - $response = new Response(200, array( - 'X-Test' => 'Guzzle' - )); - $this->assertEquals("HTTP/1.1 200 OK\r\nX-Test: Guzzle\r\n\r\n", (string) $response); - - $response = new Response(200, array( - 'Content-Length' => 4 - ), 'test'); - $this->assertEquals("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ntest", (string) $response); - } - - /** - * @covers Guzzle\Http\Message\Response::fromMessage - */ - public function testFactory() - { - $response = Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ntest"); - $this->assertEquals(200, $response->getStatusCode()); - $this->assertEquals('OK', $response->getReasonPhrase()); - $this->assertEquals(4, $response->getContentLength()); - $this->assertEquals('test', $response->getBody(true)); - - // Make sure that automatic Content-Length works - $response = Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ntest"); - $this->assertEquals(4, $response->getContentLength()); - $this->assertEquals('test', $response->getBody(true)); - } - - /** - * @covers Guzzle\Http\Message\Response::fromMessage - */ - public function testFactoryCanCreateHeadResponses() - { - $response = Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\n"); - $this->assertEquals(200, $response->getStatusCode()); - $this->assertEquals('OK', $response->getReasonPhrase()); - $this->assertEquals(4, $response->getContentLength()); - $this->assertEquals('', $response->getBody(true)); - } - - /** - * @covers Guzzle\Http\Message\Response::fromMessage - */ - public function testFactoryRequiresMessage() - { - $this->assertFalse(Response::fromMessage('')); - } - - /** - * @covers Guzzle\Http\Message\Response::getBody - * @covers Guzzle\Http\Message\Response::setBody - */ - public function testGetBody() - { - $body = EntityBody::factory(''); - $response = new Response(403, new Collection(), $body); - $this->assertEquals($body, $response->getBody()); - $response->setBody('foo'); - $this->assertEquals('foo', $response->getBody(true)); - } - - /** - * @covers Guzzle\Http\Message\Response::getStatusCode - */ - public function testManagesStatusCode() - { - $response = new Response(403); - $this->assertEquals(403, $response->getStatusCode()); - } - - /** - * @covers Guzzle\Http\Message\Response::getMessage - */ - public function testGetMessage() - { - $response = new Response(200, new Collection(array( - 'Content-Length' => 4 - )), 'body'); - - $this->assertEquals("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\nbody", $response->getMessage()); - } - - /** - * @covers Guzzle\Http\Message\Response::getRawHeaders - */ - public function testGetRawHeaders() - { - $response = new Response(200, new Collection(array( - 'Keep-Alive' => 155, - 'User-Agent' => 'Guzzle', - 'Content-Length' => 4 - )), 'body'); - - $this->assertEquals("HTTP/1.1 200 OK\r\nKeep-Alive: 155\r\nUser-Agent: Guzzle\r\nContent-Length: 4\r\n\r\n", $response->getRawHeaders()); - } - - /** - * @covers Guzzle\Http\Message\Response::getRequest - */ - public function testGetRequest() - { - $response = new Response(200, new Collection(), 'body'); - $this->assertNull($response->getRequest()); - $request = new \Guzzle\Http\Message\Request('GET', 'http://www.guzzle-project.com/'); - $response->setRequest($request); - $this->assertEquals($request, $response->getRequest()); - } - - /** - * @covers Guzzle\Http\Message\Response::getReasonPhrase - * @covers Guzzle\Http\Message\Response::setStatus - */ - public function testHandlesStatusAndStatusCodes() - { - $response = new Response(200, new Collection(), 'body'); - $this->assertEquals('OK', $response->getReasonPhrase()); - - $this->assertSame($response, $response->setStatus(204)); - $this->assertEquals('No Content', $response->getReasonPhrase()); - $this->assertEquals(204, $response->getStatusCode()); - - $this->assertSame($response, $response->setStatus(204, 'Testing!')); - $this->assertEquals('Testing!', $response->getReasonPhrase()); - $this->assertEquals(204, $response->getStatusCode()); - - $response->setStatus(2000); - $this->assertEquals(2000, $response->getStatusCode()); - $this->assertEquals('', $response->getReasonPhrase()); - - $response->setStatus(200, 'Foo'); - $this->assertEquals(200, $response->getStatusCode()); - $this->assertEquals('Foo', $response->getReasonPhrase()); - } - - /** - * @covers Guzzle\Http\Message\Response::isClientError - */ - public function testIsClientError() - { - $response = new Response(403); - $this->assertTrue($response->isClientError()); - $response = new Response(200); - $this->assertFalse($response->isClientError()); - } - - /** - * @covers Guzzle\Http\Message\Response::isError - */ - public function testIsError() - { - $response = new Response(403); - $this->assertTrue($response->isError()); - $response = new Response(200); - $this->assertFalse($response->isError()); - $response = new Response(500); - $this->assertTrue($response->isError()); - } - - /** - * @covers Guzzle\Http\Message\Response::isInformational - */ - public function testIsInformational() - { - $response = new Response(100); - $this->assertTrue($response->isInformational()); - $response = new Response(200); - $this->assertFalse($response->isInformational()); - } - - /** - * @covers Guzzle\Http\Message\Response::isRedirect - */ - public function testIsRedirect() - { - $response = new Response(301); - $this->assertTrue($response->isRedirect()); - $response = new Response(200); - $this->assertFalse($response->isRedirect()); - } - - /** - * @covers Guzzle\Http\Message\Response::isServerError - */ - public function testIsServerError() - { - $response = new Response(500); - $this->assertTrue($response->isServerError()); - $response = new Response(400); - $this->assertFalse($response->isServerError()); - } - - /** - * @covers Guzzle\Http\Message\Response::isSuccessful - */ - public function testIsSuccessful() - { - $response = new Response(200); - $this->assertTrue($response->isSuccessful()); - $response = new Response(403); - $this->assertFalse($response->isSuccessful()); - } - - /** - * @covers Guzzle\Http\Message\Response::setRequest - */ - public function testSetRequest() - { - $response = new Response(200); - $this->assertNull($response->getRequest()); - $r = new \Guzzle\Http\Message\Request('GET', 'http://www.guzzle-project.com/'); - $response->setRequest($r); - $this->assertEquals($r, $response->getRequest()); - } - - /** - * @covers Guzzle\Http\Message\Response::getAcceptRanges - */ - public function testGetAcceptRanges() - { - $this->assertEquals('bytes', $this->response->getAcceptRanges()); - } - - /** - * @covers Guzzle\Http\Message\Response::getAge - */ - public function testGetAge() - { - $this->assertEquals(12, $this->response->getAge(false)); - $this->assertEquals(12, $this->response->getAge(true)); - - $this->response->removeHeader('Age'); - $this->response->removeHeader('Date'); - $this->assertNull($this->response->getAge()); - - $this->response->setHeader('Date', gmdate(ClientInterface::HTTP_DATE, strtotime('-1 minute'))); - // If the test runs slowly, still pass with a +5 second allowance - $this->assertTrue($this->response->getAge() - 60 <= 5); - $this->assertNull($this->response->getAge(true)); - } - - /** - * @covers Guzzle\Http\Message\Response::getAllow - */ - public function testGetAllow() - { - $this->assertEquals('GET, HEAD', $this->response->getAllow()); - } - - /** - * @covers Guzzle\Http\Message\Response::getCacheControl - */ - public function testGetCacheControl() - { - $this->assertEquals('no-cache', $this->response->getCacheControl()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentEncoding - */ - public function testGetContentEncoding() - { - $this->assertEquals('gzip', $this->response->getContentEncoding()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentLanguage - */ - public function testGetContentLanguage() - { - $this->assertEquals('da', $this->response->getContentLanguage()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentLength - */ - public function testGetContentLength() - { - $this->assertEquals('348', $this->response->getContentLength()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentLocation - */ - public function testGetContentLocation() - { - $this->assertEquals('/index.htm', $this->response->getContentLocation()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentDisposition - */ - public function testGetContentDisposition() - { - $this->assertEquals('attachment; filename=fname.ext', $this->response->getContentDisposition()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentMd5 - */ - public function testGetContentMd5() - { - $this->assertEquals('Q2hlY2sgSW50ZWdyaXR5IQ==', $this->response->getContentMd5()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentRange - */ - public function testGetContentRange() - { - $this->assertEquals('bytes 21010-47021/47022', $this->response->getContentRange()); - } - - /** - * @covers Guzzle\Http\Message\Response::getContentType - */ - public function testGetContentType() - { - $this->assertEquals('text/html; charset=utf-8', $this->response->getContentType()); - } - - /** - * @covers Guzzle\Http\Message\Response::getDate - */ - public function testGetDate() - { - $this->assertEquals('Tue, 15 Nov 1994 08:12:31 GMT', $this->response->getDate()); - } - - /** - * @covers Guzzle\Http\Message\Response::getEtag - */ - public function testGetEtag() - { - $this->assertEquals('737060cd8c284d8af7ad3082f209582d', $this->response->getEtag()); - } - - /** - * @covers Guzzle\Http\Message\Response::getExpires - */ - public function testGetExpires() - { - $this->assertEquals('Thu, 01 Dec 1994 16:00:00 GMT', $this->response->getExpires()); - } - - /** - * @covers Guzzle\Http\Message\Response::getLastModified - */ - public function testGetLastModified() - { - $this->assertEquals('Tue, 15 Nov 1994 12:45:26 GMT', $this->response->getLastModified()); - } - - /** - * @covers Guzzle\Http\Message\Response::getLocation - */ - public function testGetLocation() - { - $this->assertEquals('http://www.w3.org/pub/WWW/People.html', $this->response->getLocation()); - } - - /** - * @covers Guzzle\Http\Message\Response::getPragma - */ - public function testGetPragma() - { - $this->assertEquals('no-cache', $this->response->getPragma()); - } - - /** - * @covers Guzzle\Http\Message\Response::getProxyAuthenticate - */ - public function testGetProxyAuthenticate() - { - $this->assertEquals('Basic', $this->response->getProxyAuthenticate()); - } - - /** - * @covers Guzzle\Http\Message\Response::getRetryAfter - */ - public function testGetRetryAfter() - { - $this->assertEquals('120', $this->response->getRetryAfter()); - $t = time() + 1000; - $d = $t - time(); - $this->response->setHeader('Retry-After', date('r', $t)); - $this->assertEquals($d, $this->response->getRetryAfter()); - $this->response->removeHeader('Retry-After'); - $this->assertNull($this->response->getRetryAfter()); - } - - /** - * @covers Guzzle\Http\Message\Response::getServer - */ - public function testGetServer() - { - $this->assertEquals('Apache/1.3.27 (Unix) (Red-Hat/Linux)', $this->response->getServer()); - } - - /** - * @covers Guzzle\Http\Message\Response::getSetCookie - */ - public function testGetSetCookie() - { - $this->assertEquals('UserID=JohnDoe; Max-Age=3600; Version=1', $this->response->getSetCookie()); - } - - /** - * @covers Guzzle\Http\Message\Response::getSetCookie - */ - public function testGetMultipleSetCookie() - { - $this->response->addHeader('Set-Cookie', 'UserID=Mike; Max-Age=200'); - $this->assertEquals(array( - 'UserID=JohnDoe; Max-Age=3600; Version=1', - 'UserID=Mike; Max-Age=200', - ), $this->response->getSetCookie()->toArray()); - } - - /** - * @covers Guzzle\Http\Message\Response::getSetCookie - */ - public function testGetSetCookieNormalizesHeaders() - { - $this->response->addHeaders(array( - 'Set-Cooke' => 'boo', - 'set-cookie' => 'foo' - )); - - $this->assertEquals(array( - 'UserID=JohnDoe; Max-Age=3600; Version=1', - 'foo' - ), $this->response->getSetCookie()->toArray()); - - $this->response->addHeaders(array( - 'set-cookie' => 'fubu' - )); - $this->assertEquals(array('UserID=JohnDoe; Max-Age=3600; Version=1', 'foo', 'fubu'), $this->response->getSetCookie()->toArray()); - } - - /** - * @covers Guzzle\Http\Message\Response::getTrailer - */ - public function testGetTrailer() - { - $this->assertEquals('Max-Forwards', $this->response->getTrailer()); - } - - /** - * @covers Guzzle\Http\Message\Response::getTransferEncoding - */ - public function testGetTransferEncoding() - { - $this->assertEquals('chunked', $this->response->getTransferEncoding()); - } - - /** - * @covers Guzzle\Http\Message\Response::getVary - */ - public function testGetVary() - { - $this->assertEquals('*', $this->response->getVary()); - } - - /** - * @covers Guzzle\Http\Message\Response::getVia - */ - public function testReturnsViaHeader() - { - $this->assertEquals('1.0 fred, 1.1 nowhere.com (Apache/1.1)', $this->response->getVia()); - } - /** - * @covers Guzzle\Http\Message\Response::getWarning - */ - public function testGetWarning() - { - $this->assertEquals('199 Miscellaneous warning', $this->response->getWarning()); - } - - /** - * @covers Guzzle\Http\Message\Response::getWwwAuthenticate - */ - public function testReturnsWwwAuthenticateHeader() - { - $this->assertEquals('Basic', $this->response->getWwwAuthenticate()); - } - - /** - * @covers Guzzle\Http\Message\Response::getConnection - */ - public function testReturnsConnectionHeader() - { - $this->assertEquals(null, $this->response->getConnection()); - $this->response->setHeader('Connection', 'close'); - $this->assertEquals('close', $this->response->getConnection()); - } - - /** - * @covers Guzzle\Http\Message\Response::getHeader - */ - public function testReturnsHeaders() - { - $this->assertEquals('Basic', $this->response->getHeader('WWW-Authenticate', null, true)); - $this->assertEquals('chunked', $this->response->getHeader('Transfer-Encoding', null, false)); - } - - /** - * @covers Guzzle\Http\Message\Response::setInfo - * @covers Guzzle\Http\Message\Response::getInfo - */ - public function testHasTransferInfo() - { - $stats = array ( - 'url' => 'http://www.google.com/', - 'content_type' => 'text/html; charset=ISO-8859-1', - 'http_code' => 200, - 'header_size' => 606, - 'request_size' => 53, - 'filetime' => -1, - 'ssl_verify_result' => 0, - 'redirect_count' => 0, - 'total_time' => 0.093284, - 'namelookup_time' => 0.001349, - 'connect_time' => 0.01635, - 'pretransfer_time' => 0.016358, - 'size_upload' => 0, - 'size_download' => 10330, - 'speed_download' => 110737, - 'speed_upload' => 0, - 'download_content_length' => -1, - 'upload_content_length' => 0, - 'starttransfer_time' => 0.07066, - 'redirect_time' => 0, - ); - - // Uninitialized state - $this->assertNull($this->response->getInfo('url')); - $this->assertEquals(array(), $this->response->getInfo()); - - // Set the stats - $this->response->setInfo($stats); - $this->assertEquals($stats, $this->response->getInfo()); - $this->assertEquals(606, $this->response->getInfo('header_size')); - $this->assertNull($this->response->getInfo('does_not_exist')); - } - - /** - * @return Response - */ - private function getResponse($code, array $headers = null, EntityBody $body = null) - { - return new Response($code, $headers, $body); - } - - /** - * @covers Guzzle\Http\Message\Response::canCache - */ - public function testDeterminesIfItCanBeCached() - { - $this->assertTrue($this->getResponse(200)->canCache()); - $this->assertTrue($this->getResponse(410)->canCache()); - $this->assertFalse($this->getResponse(404)->canCache()); - $this->assertTrue($this->getResponse(200, array( - 'Cache-Control' => 'public' - ))->canCache()); - - // This has the no-store directive - $this->assertFalse($this->getResponse(200, array( - 'Cache-Control' => 'private, no-store' - ))->canCache()); - - // The body cannot be read, so it cannot be cached - $tmp = tempnam('/tmp', 'not-readable'); - $resource = fopen($tmp, 'w'); - $this->assertFalse($this->getResponse(200, array( - 'Transfer-Encoding' => 'chunked' - ), EntityBody::factory($resource, 10))->canCache()); - unlink($tmp); - - // The body is 0 length, cannot be read, so it can be cached - $tmp = tempnam('/tmp', 'not-readable'); - $resource = fopen($tmp, 'w'); - $this->assertTrue($this->getResponse(200, array(array( - 'Content-Length' => 0 - )), EntityBody::factory($resource, 0))->canCache()); - unlink($tmp); - } - - /** - * @covers Guzzle\Http\Message\Response::getMaxAge - */ - public function testDeterminesResponseMaxAge() - { - $this->assertEquals(null, $this->getResponse(200)->getMaxAge()); - - // Uses the response's s-maxage - $this->assertEquals(140, $this->getResponse(200, array( - 'Cache-Control' => 's-maxage=140' - ))->getMaxAge()); - - // Uses the response's max-age - $this->assertEquals(120, $this->getResponse(200, array( - 'Cache-Control' => 'max-age=120' - ))->getMaxAge()); - - // Uses the response's max-age - $this->assertEquals(120, $this->getResponse(200, array( - 'Cache-Control' => 'max-age=120', - 'Expires' => gmdate(ClientInterface::HTTP_DATE, strtotime('+1 day')) - ))->getMaxAge()); - - // Uses the Expires date - $this->assertGreaterThanOrEqual(82400, $this->getResponse(200, array( - 'Expires' => gmdate(ClientInterface::HTTP_DATE, strtotime('+1 day')) - ))->getMaxAge()); - - // Uses the Expires date - $this->assertGreaterThanOrEqual(82400, $this->getResponse(200, array( - 'Expires' => gmdate(ClientInterface::HTTP_DATE, strtotime('+1 day')) - ))->getMaxAge()); - } - - /** - * @covers Guzzle\Http\Message\Response::canValidate - */ - public function testDeterminesIfItCanValidate() - { - $response = new Response(200); - $this->assertFalse($response->canValidate()); - $response->setHeader('ETag', '123'); - $this->assertTrue($response->canValidate()); - $response->removeHeader('ETag'); - $this->assertFalse($response->canValidate()); - $response->setHeader('Last-Modified', '123'); - $this->assertTrue($response->canValidate()); - } - - /** - * @covers Guzzle\Http\Message\Response::getFreshness - * @covers Guzzle\Http\Message\Response::isFresh - */ - public function testCalculatesFreshness() - { - $response = new Response(200); - $this->assertNull($response->isFresh()); - $this->assertNull($response->getFreshness()); - - $response->addCacheControlDirective('max-age', 120); - $response->setHeader('Age', 100); - $this->assertEquals(20, $response->getFreshness()); - $this->assertTrue($response->isFresh()); - - $response->setHeader('Age', 120); - $this->assertEquals(0, $response->getFreshness()); - $this->assertTrue($response->isFresh()); - - $response->setHeader('Age', 150); - $this->assertEquals(-30, $response->getFreshness()); - $this->assertFalse($response->isFresh()); - } - - /** - * @covers Guzzle\Http\Message\Response::setProtocol - * @covers Guzzle\Http\Message\Response::getProtocol - * @covers Guzzle\Http\Message\Response::getProtocolVersion - */ - public function testHandlesProtocols() - { - $this->assertSame($this->response, $this->response->setProtocol('HTTP', '1.0')); - $this->assertEquals('HTTP', $this->response->getProtocol()); - $this->assertEquals('1.0', $this->response->getProtocolVersion()); - } - - /** - * @covers Guzzle\Http\Message\Response::isContentType - */ - public function testComparesContentType() - { - $response = new Response(200, array( - 'Content-Type' => 'text/html; charset=ISO-8859-4' - )); - - $this->assertTrue($response->isContentType('text/html')); - $this->assertTrue($response->isContentType('TExT/html')); - $this->assertTrue($response->isContentType('charset=ISO-8859-4')); - $this->assertFalse($response->isContentType('application/xml')); - } - - /** - * @covers Guzzle\Http\Message\Response::isMethodAllowed - */ - public function testResponseDeterminesIfMethodIsAllowedBaseOnAllowHeader() - { - $response = new Response(200, array( - 'Allow' => 'OPTIONS, POST, deletE,GET' - )); - - $this->assertTrue($response->isMethodAllowed('get')); - $this->assertTrue($response->isMethodAllowed('GET')); - $this->assertTrue($response->isMethodAllowed('options')); - $this->assertTrue($response->isMethodAllowed('post')); - $this->assertTrue($response->isMethodAllowed('Delete')); - $this->assertFalse($response->isMethodAllowed('put')); - $this->assertFalse($response->isMethodAllowed('PUT')); - - $response = new Response(200); - $this->assertFalse($response->isMethodAllowed('get')); - } - - /** - * @covers Guzzle\Http\Message\Response::getPreviousResponse - * @covers Guzzle\Http\Message\Response::setPreviousResponse - */ - public function testHasPreviousResponse() - { - $response = new Response(200); - $previous = new Response(302); - $response->setPreviousResponse($previous); - $this->assertSame($previous, $response->getPreviousResponse()); - $this->assertNull($previous->getPreviousResponse()); - } - - /** - * @covers Guzzle\Http\Message\Response::json - */ - public function testParsesJsonResponses() - { - $response = new Response(200, array(), '{"foo": "bar"}'); - $this->assertEquals(array('foo' => 'bar'), $response->json()); - // Return array when null is a service response - $response = new Response(200); - $this->assertEquals(array(), $response->json()); - } - - /** - * @covers Guzzle\Http\Message\Response::json - * @expectedException \Guzzle\Common\Exception\RuntimeException - * @expectedExceptionMessage Unable to parse response body into JSON: 4 - */ - public function testThrowsExceptionWhenFailsToParseJsonResponse() - { - $response = new Response(200, array(), '{"foo": "'); - $response->json(); - } - - /** - * @covers Guzzle\Http\Message\Response::xml - */ - public function testParsesXmlResponses() - { - $response = new Response(200, array(), 'bar'); - $this->assertEquals('bar', (string) $response->xml()->foo); - // Always return a SimpleXMLElement from the xml method - $response = new Response(200); - $this->assertEmpty((string) $response->xml()->foo); - } - - /** - * @covers Guzzle\Http\Message\Response::xml - * @expectedException \Guzzle\Common\Exception\RuntimeException - * @expectedExceptionMessage Unable to parse response body into XML: String could not be parsed as XML - */ - public function testThrowsExceptionWhenFailsToParseXmlResponse() - { - $response = new Response(200, array(), 'xml(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/MimetypesTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/MimetypesTest.php deleted file mode 100644 index 13b0ed9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/MimetypesTest.php +++ /dev/null @@ -1,26 +0,0 @@ -assertEquals('text/x-php', Mimetypes::getInstance()->fromExtension('php')); - } - - public function testGetsFromFilename() - { - $this->assertEquals('text/x-php', Mimetypes::getInstance()->fromFilename(__FILE__)); - } - - public function testReturnsNullWhenNoMatchFound() - { - $this->assertNull(Mimetypes::getInstance()->fromExtension('foobar')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/CommaAggregatorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/CommaAggregatorTest.php deleted file mode 100644 index 549d3ed..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/CommaAggregatorTest.php +++ /dev/null @@ -1,30 +0,0 @@ -aggregate($key, $value, $query); - $this->assertEquals(array('test%20123' => 'foo%20123,baz,bar'), $result); - } - - public function testEncodes() - { - $query = new QueryString(); - $query->useUrlEncoding(false); - $a = new Ag(); - $key = 'test 123'; - $value = array('foo 123', 'baz', 'bar'); - $result = $a->aggregate($key, $value, $query); - $this->assertEquals(array('test 123' => 'foo 123,baz,bar'), $result); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/DuplicateAggregatorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/DuplicateAggregatorTest.php deleted file mode 100644 index 6a4d9d9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/DuplicateAggregatorTest.php +++ /dev/null @@ -1,30 +0,0 @@ -aggregate($key, $value, $query); - $this->assertEquals(array('facet%201' => array('size%20a', 'width%20b')), $result); - } - - public function testEncodes() - { - $query = new QueryString(); - $query->useUrlEncoding(false); - $a = new Ag(); - $key = 'facet 1'; - $value = array('size a', 'width b'); - $result = $a->aggregate($key, $value, $query); - $this->assertEquals(array('facet 1' => array('size a', 'width b')), $result); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/PhpAggregatorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/PhpAggregatorTest.php deleted file mode 100644 index 1e7f0c2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/PhpAggregatorTest.php +++ /dev/null @@ -1,32 +0,0 @@ -useUrlEncoding(false); - $a = new Ag(); - $key = 't'; - $value = array( - 'v1' => 'a', - 'v2' => 'b', - 'v3' => array( - 'v4' => 'c', - 'v5' => 'd', - ) - ); - $result = $a->aggregate($key, $value, $query); - $this->assertEquals(array( - 't[v1]' => 'a', - 't[v2]' => 'b', - 't[v3][v4]' => 'c', - 't[v3][v5]' => 'd', - ), $result); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryStringTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryStringTest.php deleted file mode 100644 index 02009e4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryStringTest.php +++ /dev/null @@ -1,230 +0,0 @@ -q = new QueryString(); - } - - public function testGetFieldSeparator() - { - $this->assertEquals('&', $this->q->getFieldSeparator()); - } - - public function testGetValueSeparator() - { - $this->assertEquals('=', $this->q->getValueSeparator()); - } - - public function testIsUrlEncoding() - { - $this->assertEquals('RFC 3986', $this->q->getUrlEncoding()); - $this->assertTrue($this->q->isUrlEncoding()); - $this->assertEquals('foo%20bar', $this->q->encodeValue('foo bar')); - - $this->q->useUrlEncoding(QueryString::FORM_URLENCODED); - $this->assertTrue($this->q->isUrlEncoding()); - $this->assertEquals(QueryString::FORM_URLENCODED, $this->q->getUrlEncoding()); - $this->assertEquals('foo+bar', $this->q->encodeValue('foo bar')); - - $this->assertSame($this->q, $this->q->useUrlEncoding(false)); - $this->assertFalse($this->q->isUrlEncoding()); - $this->assertFalse($this->q->isUrlEncoding()); - } - - public function testSetFieldSeparator() - { - $this->assertEquals($this->q, $this->q->setFieldSeparator('/')); - $this->assertEquals('/', $this->q->getFieldSeparator()); - } - - public function testSetValueSeparator() - { - $this->assertEquals($this->q, $this->q->setValueSeparator('/')); - $this->assertEquals('/', $this->q->getValueSeparator()); - } - - public function testUrlEncode() - { - $params = array( - 'test' => 'value', - 'test 2' => 'this is a test?', - 'test3' => array('v1', 'v2', 'v3'), - 'ሴ' => 'bar' - ); - $encoded = array( - 'test' => 'value', - 'test%202' => rawurlencode('this is a test?'), - 'test3%5B0%5D' => 'v1', - 'test3%5B1%5D' => 'v2', - 'test3%5B2%5D' => 'v3', - '%E1%88%B4' => 'bar' - ); - $this->q->replace($params); - $this->assertEquals($encoded, $this->q->urlEncode()); - - // Disable encoding - $testData = array('test 2' => 'this is a test'); - $this->q->replace($testData); - $this->q->useUrlEncoding(false); - $this->assertEquals($testData, $this->q->urlEncode()); - } - - public function testToString() - { - // Check with no parameters - $this->assertEquals('', $this->q->__toString()); - - $params = array( - 'test' => 'value', - 'test 2' => 'this is a test?', - 'test3' => array('v1', 'v2', 'v3'), - 'test4' => null, - ); - $this->q->replace($params); - $this->assertEquals('test=value&test%202=this%20is%20a%20test%3F&test3%5B0%5D=v1&test3%5B1%5D=v2&test3%5B2%5D=v3&test4=', $this->q->__toString()); - $this->q->useUrlEncoding(false); - $this->assertEquals('test=value&test 2=this is a test?&test3[0]=v1&test3[1]=v2&test3[2]=v3&test4=', $this->q->__toString()); - - // Use an alternative aggregator - $this->q->setAggregator(new CommaAggregator()); - $this->assertEquals('test=value&test 2=this is a test?&test3=v1,v2,v3&test4=', $this->q->__toString()); - } - - public function testAllowsMultipleValuesPerKey() - { - $q = new QueryString(); - $q->add('facet', 'size'); - $q->add('facet', 'width'); - $q->add('facet.field', 'foo'); - // Use the duplicate aggregator - $q->setAggregator(new DuplicateAggregator()); - $this->assertEquals('facet=size&facet=width&facet.field=foo', $q->__toString()); - } - - public function testAllowsNestedQueryData() - { - $this->q->replace(array( - 'test' => 'value', - 't' => array( - 'v1' => 'a', - 'v2' => 'b', - 'v3' => array( - 'v4' => 'c', - 'v5' => 'd', - ) - ) - )); - - $this->q->useUrlEncoding(false); - $this->assertEquals('test=value&t[v1]=a&t[v2]=b&t[v3][v4]=c&t[v3][v5]=d', $this->q->__toString()); - } - - public function parseQueryProvider() - { - return array( - // Ensure that multiple query string values are allowed per value - array('q=a&q=b', array( - 'q' => array('a', 'b') - )), - // Ensure that PHP array style query string values are parsed - array('q[]=a&q[]=b', array( - 'q' => array('a', 'b') - )), - // Ensure that decimals are allowed in query strings - array('q.a=a&q.b=b', array( - 'q.a' => 'a', - 'q.b' => 'b' - )), - // Ensure that query string values are percent decoded - array('q%20a=a%20b', array( - 'q a' => 'a b' - )), - // Ensure that values can be set without have a value - array('q', array( - 'q' => null - )), - ); - } - - /** - * @dataProvider parseQueryProvider - */ - public function testParsesQueryStrings($query, $data) - { - $query = QueryString::fromString($query); - $this->assertEquals($data, $query->getAll()); - } - - public function testProperlyDealsWithDuplicateQueryStringValues() - { - $query = QueryString::fromString('foo=a&foo=b&?µ=c'); - $this->assertEquals(array('a', 'b'), $query->get('foo')); - $this->assertEquals('c', $query->get('?µ')); - } - - public function testAllowsBlankQueryStringValues() - { - $query = QueryString::fromString('foo'); - $this->assertEquals('foo=', (string) $query); - $query->set('foo', QueryString::BLANK); - $this->assertEquals('foo', (string) $query); - } - - public function testAllowsFalsyQueryStringValues() - { - $query = QueryString::fromString('0'); - $this->assertEquals('0=', (string) $query); - $query->set('0', QueryString::BLANK); - $this->assertSame('0', (string) $query); - } - - public function testFromStringIgnoresQuestionMark() - { - $query = QueryString::fromString('foo=baz&bar=boo'); - $this->assertEquals('foo=baz&bar=boo', (string) $query); - } - - public function testConvertsPlusSymbolsToSpaces() - { - $query = QueryString::fromString('var=foo+bar'); - $this->assertEquals('foo bar', $query->get('var')); - } - - public function testFromStringDoesntMangleZeroes() - { - $query = QueryString::fromString('var=0'); - $this->assertSame('0', $query->get('var')); - } - - public function testAllowsZeroValues() - { - $query = new QueryString(array( - 'foo' => 0, - 'baz' => '0', - 'bar' => null, - 'boo' => false - )); - $this->assertEquals('foo=0&baz=0&bar=&boo=', (string) $query); - } - - public function testFromStringDoesntStripTrailingEquals() - { - $query = QueryString::fromString('data=mF0b3IiLCJUZWFtIERldiJdfX0='); - $this->assertEquals('mF0b3IiLCJUZWFtIERldiJdfX0=', $query->get('data')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/ReadLimitEntityBodyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/ReadLimitEntityBodyTest.php deleted file mode 100644 index 25256ee..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/ReadLimitEntityBodyTest.php +++ /dev/null @@ -1,78 +0,0 @@ -decorated = EntityBody::factory(fopen(__FILE__, 'r')); - $this->body = new ReadLimitEntityBody($this->decorated, 10, 3); - } - - public function testReturnsSubsetWhenCastToString() - { - $body = EntityBody::factory('foo_baz_bar'); - $limited = new ReadLimitEntityBody($body, 3, 4); - $this->assertEquals('baz', (string) $limited); - } - - public function testSeeksWhenConstructed() - { - $this->assertEquals(3, $this->body->ftell()); - } - - public function testAllowsBoundedSeek() - { - $this->body->seek(100); - $this->assertEquals(13, $this->body->ftell()); - $this->body->seek(0); - $this->assertEquals(3, $this->body->ftell()); - $this->assertEquals(false, $this->body->seek(1000, SEEK_END)); - } - - public function testReadsOnlySubsetOfData() - { - $data = $this->body->read(100); - $this->assertEquals(10, strlen($data)); - $this->assertFalse($this->body->read(1000)); - - $this->body->setOffset(10); - $newData = $this->body->read(100); - $this->assertEquals(10, strlen($newData)); - $this->assertNotSame($data, $newData); - } - - public function testClaimsConsumedWhenReadLimitIsReached() - { - $this->assertFalse($this->body->isConsumed()); - $this->body->read(1000); - $this->assertTrue($this->body->isConsumed()); - } - - public function testContentLengthIsBounded() - { - $this->assertEquals(10, $this->body->getContentLength()); - } - - public function testContentMd5IsBasedOnSubsection() - { - $this->assertNotSame($this->body->getContentMd5(), $this->decorated->getContentMd5()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/RedirectPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/RedirectPluginTest.php deleted file mode 100644 index c7cdb8e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/RedirectPluginTest.php +++ /dev/null @@ -1,202 +0,0 @@ -getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect1\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect2\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - )); - - // Create a client that uses the default redirect behavior - $client = new Client($this->getServer()->getUrl()); - $request = $client->get('/foo'); - $response = $request->send(); - - $this->assertEquals(200, $response->getStatusCode()); - $requests = $this->getServer()->getReceivedRequests(true); - - // Ensure that two requests were sent - $this->assertEquals('/foo', $requests[0]->getResource()); - $this->assertEquals('GET', $requests[0]->getMethod()); - $this->assertEquals('/redirect1', $requests[1]->getResource()); - $this->assertEquals('GET', $requests[1]->getMethod()); - $this->assertEquals('/redirect2', $requests[2]->getResource()); - $this->assertEquals('GET', $requests[2]->getMethod()); - - // Ensure that the previous response was set correctly - $this->assertEquals(301, $response->getPreviousResponse()->getStatusCode()); - $this->assertEquals('/redirect2', (string) $response->getPreviousResponse()->getHeader('Location')); - - // Ensure that the redirect count was incremented - $this->assertEquals(2, $request->getParams()->get(RedirectPlugin::REDIRECT_COUNT)); - - $c = 0; - $r = $response->getPreviousResponse(); - while ($r) { - if ($c == 0) { - $this->assertEquals('/redirect2', $r->getLocation()); - } else { - $this->assertEquals('/redirect1', $r->getLocation()); - } - $c++; - $r = $r->getPreviousResponse(); - } - - - $this->assertEquals(2, $c); - } - - public function testCanLimitNumberOfRedirects() - { - // Flush the server and queue up a redirect followed by a successful response - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect1\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect2\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect3\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect4\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect5\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect6\r\nContent-Length: 0\r\n\r\n" - )); - - try { - $client = new Client($this->getServer()->getUrl()); - $client->get('/foo')->send(); - $this->fail('Did not throw expected exception'); - } catch (TooManyRedirectsException $e) { - // Ensure that the exception message is correct - $message = $e->getMessage(); - $parts = explode("\n* Sending redirect request\n", $message); - $this->assertContains('> GET /foo', $parts[0]); - $this->assertContains('> GET /redirect1', $parts[1]); - $this->assertContains('> GET /redirect2', $parts[2]); - $this->assertContains('> GET /redirect3', $parts[3]); - $this->assertContains('> GET /redirect4', $parts[4]); - $this->assertContains('> GET /redirect5', $parts[5]); - } - } - - public function testDefaultBehaviorIsToRedirectWithGetForEntityEnclosingRequests() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - )); - - $client = new Client($this->getServer()->getUrl()); - $client->post('/foo', array('X-Baz' => 'bar'), 'testing')->send(); - - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('POST', $requests[0]->getMethod()); - $this->assertEquals('GET', $requests[1]->getMethod()); - $this->assertEquals('bar', (string) $requests[1]->getHeader('X-Baz')); - $this->assertEquals('GET', $requests[2]->getMethod()); - } - - public function testCanRedirectWithStrictRfcCompliance() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - )); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->post('/foo', array('X-Baz' => 'bar'), 'testing'); - $request->getParams()->set(RedirectPlugin::STRICT_REDIRECTS, true); - $request->send(); - - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('POST', $requests[0]->getMethod()); - $this->assertEquals('POST', $requests[1]->getMethod()); - $this->assertEquals('bar', (string) $requests[1]->getHeader('X-Baz')); - $this->assertEquals('POST', $requests[2]->getMethod()); - } - - public function testRewindsStreamWhenRedirectingIfNeeded() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - )); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->put(); - $request->configureRedirects(true); - $body = EntityBody::factory('foo'); - $body->read(1); - $request->setBody($body); - $request->send(); - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals('foo', (string) $requests[0]->getBody()); - } - - /** - * @expectedException \Guzzle\Http\Exception\CouldNotRewindStreamException - */ - public function testThrowsExceptionWhenStreamCannotBeRewound() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi", - "HTTP/1.1 301 Moved Permanently\r\nLocation: /redirect\r\nContent-Length: 0\r\n\r\n" - )); - - $client = new Client($this->getServer()->getUrl()); - $request = $client->put(); - $request->configureRedirects(true); - $body = EntityBody::factory(fopen($this->getServer()->getUrl(), 'r')); - $body->read(1); - $request->setBody($body)->send(); - } - - public function testRedirectsCanBeDisabledPerRequest() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array("HTTP/1.1 301 Foo\r\nLocation: /foo\r\nContent-Length: 0\r\n\r\n")); - $client = new Client($this->getServer()->getUrl()); - $request = $client->put(); - $request->configureRedirects(false, 0); - $this->assertEquals(301, $request->send()->getStatusCode()); - } - - public function testCanRedirectWithNoLeadingSlashAndQuery() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 301 Moved Permanently\r\nLocation: redirect?foo=bar\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", - )); - $client = new Client($this->getServer()->getUrl()); - $request = $client->get('?foo=bar'); - $request->send(); - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals($this->getServer()->getUrl() . '?foo=bar', $requests[0]->getUrl()); - $this->assertEquals($this->getServer()->getUrl() . 'redirect?foo=bar', $requests[1]->getUrl()); - // Ensure that the history on the actual request is correct - $this->assertEquals($this->getServer()->getUrl() . '?foo=bar', $request->getUrl()); - $this->assertEquals( - $this->getServer()->getUrl() . 'redirect?foo=bar', - $request->getResponse()->getRequest()->getUrl() - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Server.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Server.php deleted file mode 100644 index 1ae3273..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Server.php +++ /dev/null @@ -1,233 +0,0 @@ -port = $port ?: self::DEFAULT_PORT; - $this->client = new Client($this->getUrl()); - } - - /** - * Destructor to safely shutdown the node.js server if it is still running - */ - public function __destruct() - { - // Disabled for now - if (false && $this->running) { - try { - $this->stop(); - } catch (\Exception $e) {} - } - } - - /** - * Flush the received requests from the server - * - * @return bool Returns TRUE on success or FALSE on failure - * @throws RuntimeException - */ - public function flush() - { - if (!$this->isRunning()) { - return false; - } - - return $this->client->delete('guzzle-server/requests') - ->send()->getStatusCode() == 200; - } - - /** - * Queue an array of responses or a single response on the server. - * - * Any currently queued responses will be overwritten. Subsequent requests - * on the server will return queued responses in FIFO order. - * - * @param array|Response $responses A single or array of Responses to queue - * - * @return bool Returns TRUE on success or FALSE on failure - * @throws BadResponseException - */ - public function enqueue($responses) - { - $data = array(); - foreach ((array) $responses as $response) { - - // Create the response object from a string - if (is_string($response)) { - $response = Response::fromMessage($response); - } elseif (!($response instanceof Response)) { - throw new BadResponseException( - 'Responses must be strings or implement Response' - ); - } - - $data[] = array( - 'statusCode' => $response->getStatusCode(), - 'reasonPhrase' => $response->getReasonPhrase(), - 'headers' => $response->getHeaders()->getAll(), - 'body' => $response->getBody(true) - ); - } - - $request = $this->client->put('guzzle-server/responses', null, json_encode($data)); - $request->removeHeader('Expect'); - $response = $request->send(); - - return $response->getStatusCode() == 200; - } - - /** - * Check if the server is running - * - * @return bool - */ - public function isRunning() - { - if ($this->running) { - return true; - } else { - $fp = @fsockopen('127.0.0.1', $this->port, $errno, $errstr, 1); - if (!$fp) { - return false; - } else { - fclose($fp); - return true; - } - } - } - - /** - * Get the URL to the server - * - * @return string - */ - public function getUrl() - { - return 'http://127.0.0.1:' . $this->getPort() . '/'; - } - - /** - * Get the port that the server is listening on - * - * @return int - */ - public function getPort() - { - return $this->port; - } - - /** - * Get all of the received requests - * - * @param bool $hydrate Set to TRUE to turn the messages into - * actual {@see RequestInterface} objects. If $hydrate is FALSE, - * requests will be returned as strings. - * - * @return array - * @throws RuntimeException - */ - public function getReceivedRequests($hydrate = false) - { - $data = array(); - - if ($this->isRunning()) { - $response = $this->client->get('guzzle-server/requests')->send(); - $data = array_filter(explode(self::REQUEST_DELIMITER, $response->getBody(true))); - if ($hydrate) { - $data = array_map(function($message) { - return RequestFactory::getInstance()->fromMessage($message); - }, $data); - } - } - - return $data; - } - - /** - * Start running the node.js server in the background - */ - public function start() - { - if (!$this->isRunning()) { - exec('node ' . __DIR__ . \DIRECTORY_SEPARATOR . 'server.js ' . $this->port . ' >> /tmp/server.log 2>&1 &'); - // Wait at most 5 seconds for the server the setup before proceeding - $start = time(); - while (!$this->isRunning() && time() - $start < 5); - if (!$this->isRunning()) { - throw new RuntimeException( - 'Unable to contact server.js. Have you installed node.js ' - . 'v0.5.0+? The node.js executable, node, must also be in ' - . 'your path.' - ); - } - } - - $this->running = true; - } - - /** - * Stop running the node.js server - * - * @return bool Returns TRUE on success or FALSE on failure - * @throws RuntimeException - */ - public function stop() - { - if (!$this->isRunning()) { - return false; - } - - $this->running = false; - - return $this->client->delete('guzzle-server')->send() - ->getStatusCode() == 200; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/UrlTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/UrlTest.php deleted file mode 100644 index be40073..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/UrlTest.php +++ /dev/null @@ -1,225 +0,0 @@ -assertEquals('', (string) $url); - } - - public function testPortIsDeterminedFromScheme() - { - $this->assertEquals(80, Url::factory('http://www.test.com/')->getPort()); - $this->assertEquals(443, Url::factory('https://www.test.com/')->getPort()); - $this->assertEquals(null, Url::factory('ftp://www.test.com/')->getPort()); - $this->assertEquals(8192, Url::factory('http://www.test.com:8192/')->getPort()); - } - - public function testCloneCreatesNewInternalObjects() - { - $u1 = Url::factory('http://www.test.com/'); - $u2 = clone $u1; - $this->assertNotSame($u1->getQuery(), $u2->getQuery()); - } - - public function testValidatesUrlPartsInFactory() - { - $url = Url::factory('/index.php'); - $this->assertEquals('/index.php', (string) $url); - $this->assertFalse($url->isAbsolute()); - - $url = 'http://michael:test@test.com:80/path/123?q=abc#test'; - $u = Url::factory($url); - $this->assertEquals('http://michael:test@test.com/path/123?q=abc#test', (string) $u); - $this->assertTrue($u->isAbsolute()); - } - - public function testAllowsFalsyUrlParts() - { - $url = Url::factory('http://0:50/0?0#0'); - $this->assertSame('0', $url->getHost()); - $this->assertEquals(50, $url->getPort()); - $this->assertSame('/0', $url->getPath()); - $this->assertEquals('0=', (string) $url->getQuery()); - $this->assertSame('0', $url->getFragment()); - $this->assertEquals('http://0:50/0?0=#0', (string) $url); - - $url = Url::factory(''); - $this->assertSame('', (string) $url); - - $url = Url::factory('0'); - $this->assertSame('0', (string) $url); - } - - public function testBuildsRelativeUrlsWithFalsyParts() - { - $url = Url::buildUrl(array( - 'host' => '0', - 'path' => '0', - )); - - $this->assertSame('//0/0', $url); - - $url = Url::buildUrl(array( - 'path' => '0', - )); - $this->assertSame('0', $url); - } - - public function testUrlStoresParts() - { - $url = Url::factory('http://test:pass@www.test.com:8081/path/path2/?a=1&b=2#fragment'); - $this->assertEquals('http', $url->getScheme()); - $this->assertEquals('test', $url->getUsername()); - $this->assertEquals('pass', $url->getPassword()); - $this->assertEquals('www.test.com', $url->getHost()); - $this->assertEquals(8081, $url->getPort()); - $this->assertEquals('/path/path2/', $url->getPath()); - $this->assertEquals('fragment', $url->getFragment()); - $this->assertEquals('a=1&b=2', (string) $url->getQuery()); - - $this->assertEquals(array( - 'fragment' => 'fragment', - 'host' => 'www.test.com', - 'pass' => 'pass', - 'path' => '/path/path2/', - 'port' => 8081, - 'query' => 'a=1&b=2', - 'scheme' => 'http', - 'user' => 'test' - ), $url->getParts()); - } - - public function testHandlesPathsCorrectly() - { - $url = Url::factory('http://www.test.com'); - $this->assertEquals('', $url->getPath()); - $url->setPath('test'); - $this->assertEquals('test', $url->getPath()); - - $url->setPath('/test/123/abc'); - $this->assertEquals(array('test', '123', 'abc'), $url->getPathSegments()); - - $parts = parse_url('http://www.test.com/test'); - $parts['path'] = ''; - $this->assertEquals('http://www.test.com', Url::buildUrl($parts)); - $parts['path'] = 'test'; - $this->assertEquals('http://www.test.com/test', Url::buildUrl($parts)); - } - - public function testAddsQueryStringIfPresent() - { - $this->assertEquals('?foo=bar', Url::buildUrl(array( - 'query' => 'foo=bar' - ))); - } - - public function testAddsToPath() - { - // Does nothing here - $this->assertEquals('http://e.com/base?a=1', (string) Url::factory('http://e.com/base?a=1')->addPath(false)); - $this->assertEquals('http://e.com/base?a=1', (string) Url::factory('http://e.com/base?a=1')->addPath('')); - $this->assertEquals('http://e.com/base?a=1', (string) Url::factory('http://e.com/base?a=1')->addPath('/')); - - $this->assertEquals('http://e.com/base/relative?a=1', (string) Url::factory('http://e.com/base?a=1')->addPath('relative')); - $this->assertEquals('http://e.com/base/relative?a=1', (string) Url::factory('http://e.com/base?a=1')->addPath('/relative')); - } - - /** - * URL combination data provider - * - * @return array - */ - public function urlCombineDataProvider() - { - return array( - array('http://www.example.com/', 'http://www.example.com/', 'http://www.example.com/'), - array('http://www.example.com/path', '/absolute', 'http://www.example.com/absolute'), - array('http://www.example.com/path', '/absolute?q=2', 'http://www.example.com/absolute?q=2'), - array('http://www.example.com/path', 'more', 'http://www.example.com/path/more'), - array('http://www.example.com/path', 'more?q=1', 'http://www.example.com/path/more?q=1'), - array('http://www.example.com/', '?q=1', 'http://www.example.com/?q=1'), - array('http://www.example.com/path', 'http://test.com', 'http://test.com/path'), - array('http://www.example.com:8080/path', 'http://test.com', 'http://test.com/path'), - array('http://www.example.com:8080/path', '?q=2#abc', 'http://www.example.com:8080/path?q=2#abc'), - array('http://u:a@www.example.com/path', 'test', 'http://u:a@www.example.com/path/test'), - array('http://www.example.com/path', 'http://u:a@www.example.com/', 'http://u:a@www.example.com/path'), - array('/path?q=2', 'http://www.test.com/', 'http://www.test.com/path?q=2'), - ); - } - - /** - * @dataProvider urlCombineDataProvider - */ - public function testCombinesUrls($a, $b, $c) - { - $this->assertEquals($c, (string) Url::factory($a)->combine($b)); - } - - public function testHasGettersAndSetters() - { - $url = Url::factory('http://www.test.com/'); - $this->assertEquals('example.com', $url->setHost('example.com')->getHost()); - $this->assertEquals('8080', $url->setPort(8080)->getPort()); - $this->assertEquals('/foo/bar', $url->setPath(array('foo', 'bar'))->getPath()); - $this->assertEquals('a', $url->setPassword('a')->getPassword()); - $this->assertEquals('b', $url->setUsername('b')->getUsername()); - $this->assertEquals('abc', $url->setFragment('abc')->getFragment()); - $this->assertEquals('https', $url->setScheme('https')->getScheme()); - $this->assertEquals('a=123', (string) $url->setQuery('a=123')->getQuery()); - $this->assertEquals('https://b:a@example.com:8080/foo/bar?a=123#abc', (string)$url); - $this->assertEquals('b=boo', (string) $url->setQuery(new QueryString(array( - 'b' => 'boo' - )))->getQuery()); - $this->assertEquals('https://b:a@example.com:8080/foo/bar?b=boo#abc', (string)$url); - } - - public function testSetQueryAcceptsArray() - { - $url = Url::factory('http://www.test.com'); - $url->setQuery(array('a' => 'b')); - $this->assertEquals('http://www.test.com?a=b', (string) $url); - } - - public function urlProvider() - { - return array( - array('/foo/..', ''), - array('//foo//..', ''), - array('/foo/../..', ''), - array('/foo/../.', ''), - array('/./foo/..', ''), - array('/./foo', 'foo'), - array('/./foo/', 'foo/'), - array('/./foo/bar/baz/pho/../..', 'foo/bar'), - array('*', '*') - ); - } - - /** - * @dataProvider urlProvider - */ - public function testNormalizesPaths($path, $result) - { - $url = Url::factory('http://www.example.com/'); - $url->setPath($path)->normalizePath(); - $this->assertEquals($result, $url->getPath()); - } - - public function testSettingHostWithPortModifiesPort() - { - $url = Url::factory('http://www.example.com'); - $url->setHost('foo:8983'); - $this->assertEquals('foo', $url->getHost()); - $this->assertEquals(8983, $url->getPort()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/server.js b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/server.js deleted file mode 100644 index eb05778..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/server.js +++ /dev/null @@ -1,164 +0,0 @@ -/** - * Guzzle node.js test server to return queued responses to HTTP requests and - * expose a RESTful API for enqueueing responses and retrieving the requests - * that have been received. - * - * - Delete all requests that have been received: - * DELETE /guzzle-server/requests - * Host: 127.0.0.1:8124 - * - * - Enqueue responses - * PUT /guzzle-server/responses - * Host: 127.0.0.1:8124 - * - * [{ "statusCode": 200, "reasonPhrase": "OK", "headers": {}, "body": "" }] - * - * - Get the received requests - * GET /guzzle-server/requests - * Host: 127.0.0.1:8124 - * - * - Shutdown the server - * DELETE /guzzle-server - * Host: 127.0.0.1:8124 - * - * @package Guzzle PHP - * @license See the LICENSE file that was distributed with this source code. - */ - -var http = require("http"); - -/** - * Guzzle node.js server - * @class - */ -var GuzzleServer = function(port) { - - this.port = port; - this.log = log; - this.responses = []; - this.requests = []; - var that = this; - - /** - * Handle a Guzzle Server control request - * @param (String) request HTTP request as a string - * @param (ServerRequest) req Received server request - * @param (ServerResponse) res Outgoing server response - */ - var controlRequest = function(request, req, res) { - if (req.method == "DELETE") { - if (req.url == "/guzzle-server/requests") { - // Clear the received requests - that.requests = []; - res.writeHead(200, "OK", { "Content-Length": 0 }); - res.end(); - if (this.log) { - console.log("Flushing requests"); - } - } else if (req.url == "/guzzle-server") { - // Shutdown the server - res.writeHead(200, "OK", { "Content-Length": 0, "Connection": "close" }); - res.end(); - if (this.log) { - console.log("Shutting down"); - } - that.server.close(); - } - } else if (req.method == "GET") { - if (req.url === "/guzzle-server/requests") { - // Get received requests - var data = that.requests.join("\n----[request]\n"); - res.writeHead(200, "OK", { "Content-Length": data.length }); - res.end(data); - if (that.log) { - console.log("Sending receiving requests"); - } - } - } else if (req.method == "PUT") { - if (req.url == "/guzzle-server/responses") { - if (that.log) { - console.log("Adding responses..."); - } - // Received response to queue - var data = request.split("\r\n\r\n")[1]; - if (!data) { - if (that.log) { - console.log("No response data was provided"); - } - res.writeHead(500, "NO RESPONSES IN REQUEST", { "Content-Length": 0 }); - } else { - that.responses = eval("(" + data + ")"); - if (that.log) { - console.log(that.responses); - } - res.writeHead(200, "OK", { "Content-Length": 0 }); - } - res.end(); - } - } - }; - - /** - * Received a complete request - * @param (String) request HTTP request as a string - * @param (ServerRequest) req Received server request - * @param (ServerResponse) res Outgoing server response - */ - var receivedRequest = function(request, req, res) { - if (req.url.indexOf("/guzzle-server") === 0) { - controlRequest(request, req, res); - } else { - var response = that.responses.shift(); - res.writeHead(response.statusCode, response.reasonPhrase, response.headers); - res.end(response.body); - that.requests.push(request); - } - }; - - /** - * Start the node.js Guzzle server - */ - this.start = function() { - - that.server = http.createServer(function(req, res) { - - // If this is not a control request and no responses are in queue, return 500 response - if (req.url.indexOf("/guzzle-server") == -1 && !that.responses.length) { - res.writeHead(500); - res.end("No responses in queue"); - return; - } - - // Begin building the request message as a string - var request = req.method + " " + req.url + " HTTP/" + req.httpVersion + "\r\n"; - // Add the request headers - for (var i in req.headers) { - request += i + ": " + req.headers[i] + "\r\n"; - } - request += "\r\n"; - - // Receive each chunk of the request body - req.addListener("data", function(chunk) { - request += chunk; - }); - - // Called when the request completes - req.addListener("end", function() { - receivedRequest(request, req, res); - }); - }); - that.server.listen(port, "127.0.0.1"); - - if (this.log) { - console.log("Server running at http://127.0.0.1:8124/"); - } - }; -}; - -// Get the port from the arguments -port = process.argv.length >= 3 ? process.argv[2] : 8124; -log = process.argv.length >= 4 ? process.argv[3] : false; - -// Start the server -server = new GuzzleServer(port, log); -server.start(); diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/InflectorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/InflectorTest.php deleted file mode 100644 index 990c0af..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/InflectorTest.php +++ /dev/null @@ -1,37 +0,0 @@ -assertSame(Inflector::getDefault(), Inflector::getDefault()); - } - - public function testSnake() - { - $this->assertEquals('camel_case', Inflector::getDefault()->snake('camelCase')); - $this->assertEquals('camel_case', Inflector::getDefault()->snake('CamelCase')); - $this->assertEquals('camel_case_words', Inflector::getDefault()->snake('CamelCaseWords')); - $this->assertEquals('camel_case_words', Inflector::getDefault()->snake('CamelCase_words')); - $this->assertEquals('test', Inflector::getDefault()->snake('test')); - $this->assertEquals('test', Inflector::getDefault()->snake('test')); - $this->assertEquals('expect100_continue', Inflector::getDefault()->snake('Expect100Continue')); - } - - public function testCamel() - { - $this->assertEquals('CamelCase', Inflector::getDefault()->camel('camel_case')); - $this->assertEquals('CamelCaseWords', Inflector::getDefault()->camel('camel_case_words')); - $this->assertEquals('Test', Inflector::getDefault()->camel('test')); - $this->assertEquals('Expect100Continue', ucfirst(Inflector::getDefault()->camel('expect100_continue'))); - // Get from cache - $this->assertEquals('Test', Inflector::getDefault()->camel('test', false)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/MemoizingInflectorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/MemoizingInflectorTest.php deleted file mode 100644 index f00b7fa..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/MemoizingInflectorTest.php +++ /dev/null @@ -1,46 +0,0 @@ -getMock('Guzzle\Inflection\Inflector', array('snake', 'camel')); - $mock->expects($this->once())->method('snake')->will($this->returnValue('foo_bar')); - $mock->expects($this->once())->method('camel')->will($this->returnValue('FooBar')); - - $inflector = new MemoizingInflector($mock); - $this->assertEquals('foo_bar', $inflector->snake('FooBar')); - $this->assertEquals('foo_bar', $inflector->snake('FooBar')); - $this->assertEquals('FooBar', $inflector->camel('foo_bar')); - $this->assertEquals('FooBar', $inflector->camel('foo_bar')); - } - - public function testProtectsAgainstCacheOverflow() - { - $inflector = new MemoizingInflector(new Inflector(), 10); - for ($i = 1; $i < 11; $i++) { - $inflector->camel('foo_' . $i); - $inflector->snake('Foo' . $i); - } - - $cache = $this->readAttribute($inflector, 'cache'); - $this->assertEquals(10, count($cache['snake'])); - $this->assertEquals(10, count($cache['camel'])); - - $inflector->camel('baz!'); - $inflector->snake('baz!'); - - // Now ensure that 20% of the cache was removed (2), then the item was added - $cache = $this->readAttribute($inflector, 'cache'); - $this->assertEquals(9, count($cache['snake'])); - $this->assertEquals(9, count($cache['camel'])); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/PreComputedInflectorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/PreComputedInflectorTest.php deleted file mode 100644 index ff2654c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Inflection/PreComputedInflectorTest.php +++ /dev/null @@ -1,45 +0,0 @@ -getMock('Guzzle\Inflection\Inflector', array('snake', 'camel')); - $mock->expects($this->once())->method('snake')->with('Test')->will($this->returnValue('test')); - $mock->expects($this->once())->method('camel')->with('Test')->will($this->returnValue('Test')); - $inflector = new PreComputedInflector($mock, array('FooBar' => 'foo_bar'), array('foo_bar' => 'FooBar')); - $this->assertEquals('FooBar', $inflector->camel('foo_bar')); - $this->assertEquals('foo_bar', $inflector->snake('FooBar')); - $this->assertEquals('Test', $inflector->camel('Test')); - $this->assertEquals('test', $inflector->snake('Test')); - } - - public function testMirrorsPrecomputedValues() - { - $mock = $this->getMock('Guzzle\Inflection\Inflector', array('snake', 'camel')); - $mock->expects($this->never())->method('snake'); - $mock->expects($this->never())->method('camel'); - $inflector = new PreComputedInflector($mock, array('Zeep' => 'zeep'), array(), true); - $this->assertEquals('Zeep', $inflector->camel('zeep')); - $this->assertEquals('zeep', $inflector->snake('Zeep')); - } - - public function testMirrorsPrecomputedValuesByMerging() - { - $mock = $this->getMock('Guzzle\Inflection\Inflector', array('snake', 'camel')); - $mock->expects($this->never())->method('snake'); - $mock->expects($this->never())->method('camel'); - $inflector = new PreComputedInflector($mock, array('Zeep' => 'zeep'), array('foo' => 'Foo'), true); - $this->assertEquals('Zeep', $inflector->camel('zeep')); - $this->assertEquals('zeep', $inflector->snake('Zeep')); - $this->assertEquals('Foo', $inflector->camel('foo')); - $this->assertEquals('foo', $inflector->snake('Foo')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/AppendIteratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/AppendIteratorTest.php deleted file mode 100644 index 8d6ae84..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/AppendIteratorTest.php +++ /dev/null @@ -1,29 +0,0 @@ - 1, - 'b' => 2 - )); - $b = new \ArrayIterator(array()); - $c = new \ArrayIterator(array( - 'c' => 3, - 'd' => 4 - )); - $i = new AppendIterator(); - $i->append($a); - $i->append($b); - $i->append($c); - $this->assertEquals(array(1, 2, 3, 4), iterator_to_array($i, false)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/ChunkedIteratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/ChunkedIteratorTest.php deleted file mode 100644 index cfbd751..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/ChunkedIteratorTest.php +++ /dev/null @@ -1,31 +0,0 @@ -assertEquals(11, count($chunks)); - foreach ($chunks as $j => $chunk) { - $this->assertEquals(range($j * 10, min(100, $j * 10 + 9)), $chunk); - } - } - - public function testChunksIteratorWithOddValues() - { - $chunked = new ChunkedIterator(new \ArrayIterator(array(1, 2, 3, 4, 5)), 2); - $chunks = iterator_to_array($chunked, false); - $this->assertEquals(3, count($chunks)); - $this->assertEquals(array(1, 2), $chunks[0]); - $this->assertEquals(array(3, 4), $chunks[1]); - $this->assertEquals(array(5), $chunks[2]); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/FilterIteratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/FilterIteratorTest.php deleted file mode 100644 index 73b4f69..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/FilterIteratorTest.php +++ /dev/null @@ -1,28 +0,0 @@ -assertEquals(range(1, 99, 2), iterator_to_array($i, false)); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testValidatesCallable() - { - $i = new FilterIterator(new \ArrayIterator(), new \stdClass()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MapIteratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MapIteratorTest.php deleted file mode 100644 index 4de4a6b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MapIteratorTest.php +++ /dev/null @@ -1,28 +0,0 @@ -assertEquals(range(0, 1000, 10), iterator_to_array($i, false)); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testValidatesCallable() - { - $i = new MapIterator(new \ArrayIterator(), new \stdClass()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MethodProxyIteratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MethodProxyIteratorTest.php deleted file mode 100644 index 5bcf06f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MethodProxyIteratorTest.php +++ /dev/null @@ -1,28 +0,0 @@ -append('a'); - $proxy->append('b'); - $this->assertEquals(array('a', 'b'), $i->getArrayCopy()); - $this->assertEquals(array('a', 'b'), $proxy->getArrayCopy()); - } - - public function testUsesInnerIterator() - { - $i = new MethodProxyIterator(new ChunkedIterator(new \ArrayIterator(array(1, 2, 3, 4, 5)), 2)); - $this->assertEquals(3, count(iterator_to_array($i, false))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ArrayLogAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ArrayLogAdapterTest.php deleted file mode 100644 index 95033e0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ArrayLogAdapterTest.php +++ /dev/null @@ -1,23 +0,0 @@ -log('test', \LOG_NOTICE, 'localhost'); - $this->assertEquals(array(array('message' => 'test', 'priority' => \LOG_NOTICE, 'extras' => 'localhost')), $adapter->getLogs()); - } - - public function testClearLog() - { - $adapter = new ArrayLogAdapter(); - $adapter->log('test', \LOG_NOTICE, 'localhost'); - $adapter->clearLogs(); - $this->assertEquals(array(), $adapter->getLogs()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ClosureLogAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ClosureLogAdapterTest.php deleted file mode 100644 index 7d1aa16..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ClosureLogAdapterTest.php +++ /dev/null @@ -1,30 +0,0 @@ -adapter = new ClosureLogAdapter(function($message, $priority, $extras = null) use ($that, &$modified) { - $modified = array($message, $priority, $extras); - }); - $this->adapter->log('test', LOG_NOTICE, 'localhost'); - $this->assertEquals(array('test', LOG_NOTICE, 'localhost'), $modified); - } - - /** - * @expectedException InvalidArgumentException - */ - public function testThrowsExceptionWhenNotCallable() - { - $this->adapter = new ClosureLogAdapter(123); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/MessageFormatterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/MessageFormatterTest.php deleted file mode 100644 index 99a9a01..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/MessageFormatterTest.php +++ /dev/null @@ -1,121 +0,0 @@ -request = new EntityEnclosingRequest('POST', 'http://foo.com?q=test', array( - 'X-Foo' => 'bar', - 'Authorization' => 'Baz' - )); - $this->request->setBody(EntityBody::factory('Hello')); - - $this->response = new Response(200, array( - 'X-Test' => 'Abc' - ), 'Foo'); - - $this->handle = $this->getMockBuilder('Guzzle\Http\Curl\CurlHandle') - ->disableOriginalConstructor() - ->setMethods(array('getError', 'getErrorNo', 'getStderr', 'getInfo')) - ->getMock(); - - $this->handle->expects($this->any()) - ->method('getError') - ->will($this->returnValue('e')); - - $this->handle->expects($this->any()) - ->method('getErrorNo') - ->will($this->returnValue('123')); - - $this->handle->expects($this->any()) - ->method('getStderr') - ->will($this->returnValue('testing')); - - $this->handle->expects($this->any()) - ->method('getInfo') - ->will($this->returnValueMap(array( - array(CURLINFO_CONNECT_TIME, '123'), - array(CURLINFO_TOTAL_TIME, '456') - ))); - } - - public function logProvider() - { - return array( - // Uses the cache for the second time - array('{method} - {method}', 'POST - POST'), - array('{url}', 'http://foo.com?q=test'), - array('{port}', '80'), - array('{resource}', '/?q=test'), - array('{host}', 'foo.com'), - array('{hostname}', gethostname()), - array('{protocol}/{version}', 'HTTP/1.1'), - array('{code} {phrase}', '200 OK'), - array('{req_header_Foo}', ''), - array('{req_header_X-Foo}', 'bar'), - array('{req_header_Authorization}', 'Baz'), - array('{res_header_foo}', ''), - array('{res_header_X-Test}', 'Abc'), - array('{req_body}', 'Hello'), - array('{res_body}', 'Foo'), - array('{curl_stderr}', 'testing'), - array('{curl_error}', 'e'), - array('{curl_code}', '123'), - array('{connect_time}', '123'), - array('{total_time}', '456') - ); - } - - /** - * @dataProvider logProvider - */ - public function testFormatsMessages($template, $output) - { - $formatter = new MessageFormatter($template); - $this->assertEquals($output, $formatter->format($this->request, $this->response, $this->handle)); - } - - public function testFormatsRequestsAndResponses() - { - $formatter = new MessageFormatter(); - $formatter->setTemplate('{request}{response}'); - $this->assertEquals($this->request . $this->response, $formatter->format($this->request, $this->response)); - } - - public function testAddsTimestamp() - { - $formatter = new MessageFormatter('{ts}'); - $this->assertNotEmpty($formatter->format($this->request, $this->response)); - } - - public function testUsesResponseWhenNoHandleAndGettingCurlInformation() - { - $formatter = new MessageFormatter('{connect_time}/{total_time}'); - $response = $this->getMockBuilder('Guzzle\Http\Message\Response') - ->disableOriginalConstructor() - ->setMethods(array('getInfo')) - ->getMock(); - $response->expects($this->exactly(2)) - ->method('getInfo') - ->will($this->returnValueMap(array( - array('connect_time', '1'), - array('total_time', '2'), - ))); - $this->assertEquals('1/2', $formatter->format($this->request, $response)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/MonologLogAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/MonologLogAdapterTest.php deleted file mode 100644 index 93043f1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/MonologLogAdapterTest.php +++ /dev/null @@ -1,23 +0,0 @@ -pushHandler($handler); - $adapter = new MonologLogAdapter($log); - $adapter->log('test!', LOG_INFO); - $this->assertTrue($handler->hasInfoRecords()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zend_Log.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zend_Log.php deleted file mode 100644 index 5f2a7a2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zend_Log.php +++ /dev/null @@ -1,633 +0,0 @@ -_priorities = array_flip($r->getConstants()); - - if ($writer !== null) { - $this->addWriter($writer); - } - } - - /** - * Factory to construct the logger and one or more writers - * based on the configuration array - * - * @param array|Zend_Config Array or instance of Zend_Config - * @return Zend_Log - * @throws Zend_Log_Exception - */ - static public function factory($config = array()) - { - if ($config instanceof Zend_Config) { - $config = $config->toArray(); - } - - if (!is_array($config) || empty($config)) { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('Configuration must be an array or instance of Zend_Config'); - } - - $log = new self; - - if (array_key_exists('timestampFormat', $config)) { - if (null != $config['timestampFormat'] && '' != $config['timestampFormat']) { - $log->setTimestampFormat($config['timestampFormat']); - } - unset($config['timestampFormat']); - } - - if (!is_array(current($config))) { - $log->addWriter(current($config)); - } else { - foreach($config as $writer) { - $log->addWriter($writer); - } - } - - return $log; - } - - /** - * Construct a writer object based on a configuration array - * - * @param array $spec config array with writer spec - * @return Zend_Log_Writer_Abstract - * @throws Zend_Log_Exception - */ - protected function _constructWriterFromConfig($config) - { - $writer = $this->_constructFromConfig('writer', $config, $this->_defaultWriterNamespace); - - if (!$writer instanceof Zend_Log_Writer_Abstract) { - $writerName = is_object($writer) - ? get_class($writer) - : 'The specified writer'; - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception("{$writerName} does not extend Zend_Log_Writer_Abstract!"); - } - - if (isset($config['filterName'])) { - $filter = $this->_constructFilterFromConfig($config); - $writer->addFilter($filter); - } - - if (isset($config['formatterName'])) { - $formatter = $this->_constructFormatterFromConfig($config); - $writer->setFormatter($formatter); - } - - return $writer; - } - - /** - * Construct filter object from configuration array or Zend_Config object - * - * @param array|Zend_Config $config Zend_Config or Array - * @return Zend_Log_Filter_Interface - * @throws Zend_Log_Exception - */ - protected function _constructFilterFromConfig($config) - { - $filter = $this->_constructFromConfig('filter', $config, $this->_defaultFilterNamespace); - - if (!$filter instanceof Zend_Log_Filter_Interface) { - $filterName = is_object($filter) - ? get_class($filter) - : 'The specified filter'; - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception("{$filterName} does not implement Zend_Log_Filter_Interface"); - } - - return $filter; - } - - /** - * Construct formatter object from configuration array or Zend_Config object - * - * @param array|Zend_Config $config Zend_Config or Array - * @return Zend_Log_Formatter_Interface - * @throws Zend_Log_Exception - */ - protected function _constructFormatterFromConfig($config) - { - $formatter = $this->_constructFromConfig('formatter', $config, $this->_defaultFormatterNamespace); - - if (!$formatter instanceof Zend_Log_Formatter_Interface) { - $formatterName = is_object($formatter) - ? get_class($formatter) - : 'The specified formatter'; - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception($formatterName . ' does not implement Zend_Log_Formatter_Interface'); - } - - return $formatter; - } - - /** - * Construct a filter or writer from config - * - * @param string $type 'writer' of 'filter' - * @param mixed $config Zend_Config or Array - * @param string $namespace - * @return object - * @throws Zend_Log_Exception - */ - protected function _constructFromConfig($type, $config, $namespace) - { - if ($config instanceof Zend_Config) { - $config = $config->toArray(); - } - - if (!is_array($config) || empty($config)) { - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception( - 'Configuration must be an array or instance of Zend_Config' - ); - } - - $params = isset($config[ $type .'Params' ]) ? $config[ $type .'Params' ] : array(); - $className = $this->getClassName($config, $type, $namespace); - if (!class_exists($className)) { - require_once 'Zend/Loader.php'; - Zend_Loader::loadClass($className); - } - - $reflection = new ReflectionClass($className); - if (!$reflection->implementsInterface('Zend_Log_FactoryInterface')) { - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception( - $className . ' does not implement Zend_Log_FactoryInterface and can not be constructed from config.' - ); - } - - return call_user_func(array($className, 'factory'), $params); - } - - /** - * Get the writer or filter full classname - * - * @param array $config - * @param string $type filter|writer - * @param string $defaultNamespace - * @return string full classname - * @throws Zend_Log_Exception - */ - protected function getClassName($config, $type, $defaultNamespace) - { - if (!isset($config[$type . 'Name'])) { - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception("Specify {$type}Name in the configuration array"); - } - - $className = $config[$type . 'Name']; - $namespace = $defaultNamespace; - - if (isset($config[$type . 'Namespace'])) { - $namespace = $config[$type . 'Namespace']; - } - - // PHP >= 5.3.0 namespace given? - if (substr($namespace, -1) == '\\') { - return $namespace . $className; - } - - // empty namespace given? - if (strlen($namespace) === 0) { - return $className; - } - - return $namespace . '_' . $className; - } - - /** - * Packs message and priority into Event array - * - * @param string $message Message to log - * @param integer $priority Priority of message - * @return array Event array - */ - protected function _packEvent($message, $priority) - { - return array_merge(array( - 'timestamp' => date($this->_timestampFormat), - 'message' => $message, - 'priority' => $priority, - 'priorityName' => $this->_priorities[$priority] - ), - $this->_extras - ); - } - - /** - * Class destructor. Shutdown log writers - * - * @return void - */ - public function __destruct() - { - foreach($this->_writers as $writer) { - $writer->shutdown(); - } - } - - /** - * Undefined method handler allows a shortcut: - * $log->priorityName('message') - * instead of - * $log->log('message', Zend_Log::PRIORITY_NAME) - * - * @param string $method priority name - * @param string $params message to log - * @return void - * @throws Zend_Log_Exception - */ - public function __call($method, $params) - { - $priority = strtoupper($method); - if (($priority = array_search($priority, $this->_priorities)) !== false) { - switch (count($params)) { - case 0: - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('Missing log message'); - case 1: - $message = array_shift($params); - $extras = null; - break; - default: - $message = array_shift($params); - $extras = array_shift($params); - break; - } - $this->log($message, $priority, $extras); - } else { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('Bad log priority'); - } - } - - /** - * Log a message at a priority - * - * @param string $message Message to log - * @param integer $priority Priority of message - * @param mixed $extras Extra information to log in event - * @return void - * @throws Zend_Log_Exception - */ - public function log($message, $priority, $extras = null) - { - // sanity checks - if (empty($this->_writers)) { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('No writers were added'); - } - - if (! isset($this->_priorities[$priority])) { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('Bad log priority'); - } - - // pack into event required by filters and writers - $event = $this->_packEvent($message, $priority); - - // Check to see if any extra information was passed - if (!empty($extras)) { - $info = array(); - if (is_array($extras)) { - foreach ($extras as $key => $value) { - if (is_string($key)) { - $event[$key] = $value; - } else { - $info[] = $value; - } - } - } else { - $info = $extras; - } - if (!empty($info)) { - $event['info'] = $info; - } - } - - // abort if rejected by the global filters - foreach ($this->_filters as $filter) { - if (! $filter->accept($event)) { - return; - } - } - - // send to each writer - foreach ($this->_writers as $writer) { - $writer->write($event); - } - } - - /** - * Add a custom priority - * - * @param string $name Name of priority - * @param integer $priority Numeric priority - * @throws Zend_Log_Exception - */ - public function addPriority($name, $priority) - { - // Priority names must be uppercase for predictability. - $name = strtoupper($name); - - if (isset($this->_priorities[$priority]) - || false !== array_search($name, $this->_priorities)) { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('Existing priorities cannot be overwritten'); - } - - $this->_priorities[$priority] = $name; - return $this; - } - - /** - * Add a filter that will be applied before all log writers. - * Before a message will be received by any of the writers, it - * must be accepted by all filters added with this method. - * - * @param int|Zend_Config|array|Zend_Log_Filter_Interface $filter - * @return Zend_Log - * @throws Zend_Log_Exception - */ - public function addFilter($filter) - { - if (is_int($filter)) { - /** @see Zend_Log_Filter_Priority */ - require_once 'Zend/Log/Filter/Priority.php'; - $filter = new Zend_Log_Filter_Priority($filter); - - } elseif ($filter instanceof Zend_Config || is_array($filter)) { - $filter = $this->_constructFilterFromConfig($filter); - - } elseif(! $filter instanceof Zend_Log_Filter_Interface) { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception('Invalid filter provided'); - } - - $this->_filters[] = $filter; - return $this; - } - - /** - * Add a writer. A writer is responsible for taking a log - * message and writing it out to jar. - * - * @param mixed $writer Zend_Log_Writer_Abstract or Config array - * @return Zend_Log - */ - public function addWriter($writer) - { - if (is_array($writer) || $writer instanceof Zend_Config) { - $writer = $this->_constructWriterFromConfig($writer); - } - - if (!$writer instanceof Zend_Log_Writer_Abstract) { - /** @see Zend_Log_Exception */ - require_once 'Zend/Log/Exception.php'; - throw new Zend_Log_Exception( - 'Writer must be an instance of Zend_Log_Writer_Abstract' - . ' or you should pass a configuration array' - ); - } - - $this->_writers[] = $writer; - return $this; - } - - /** - * Set an extra item to pass to the log writers. - * - * @param string $name Name of the field - * @param string $value Value of the field - * @return Zend_Log - */ - public function setEventItem($name, $value) - { - $this->_extras = array_merge($this->_extras, array($name => $value)); - return $this; - } - - /** - * Register Logging system as an error handler to log php errors - * Note: it still calls the original error handler if set_error_handler is able to return it. - * - * Errors will be mapped as: - * E_NOTICE, E_USER_NOTICE => NOTICE - * E_WARNING, E_CORE_WARNING, E_USER_WARNING => WARN - * E_ERROR, E_USER_ERROR, E_CORE_ERROR, E_RECOVERABLE_ERROR => ERR - * E_DEPRECATED, E_STRICT, E_USER_DEPRECATED => DEBUG - * (unknown/other) => INFO - * - * @link http://www.php.net/manual/en/function.set-error-handler.php Custom error handler - * - * @return Zend_Log - */ - public function registerErrorHandler() - { - // Only register once. Avoids loop issues if it gets registered twice. - if ($this->_registeredErrorHandler) { - return $this; - } - - $this->_origErrorHandler = set_error_handler(array($this, 'errorHandler')); - - // Construct a default map of phpErrors to Zend_Log priorities. - // Some of the errors are uncatchable, but are included for completeness - $this->_errorHandlerMap = array( - E_NOTICE => Zend_Log::NOTICE, - E_USER_NOTICE => Zend_Log::NOTICE, - E_WARNING => Zend_Log::WARN, - E_CORE_WARNING => Zend_Log::WARN, - E_USER_WARNING => Zend_Log::WARN, - E_ERROR => Zend_Log::ERR, - E_USER_ERROR => Zend_Log::ERR, - E_CORE_ERROR => Zend_Log::ERR, - E_RECOVERABLE_ERROR => Zend_Log::ERR, - E_STRICT => Zend_Log::DEBUG, - ); - // PHP 5.3.0+ - if (defined('E_DEPRECATED')) { - $this->_errorHandlerMap['E_DEPRECATED'] = Zend_Log::DEBUG; - } - if (defined('E_USER_DEPRECATED')) { - $this->_errorHandlerMap['E_USER_DEPRECATED'] = Zend_Log::DEBUG; - } - - $this->_registeredErrorHandler = true; - return $this; - } - - /** - * Error Handler will convert error into log message, and then call the original error handler - * - * @link http://www.php.net/manual/en/function.set-error-handler.php Custom error handler - * @param int $errno - * @param string $errstr - * @param string $errfile - * @param int $errline - * @param array $errcontext - * @return boolean - */ - public function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) - { - $errorLevel = error_reporting(); - - if ($errorLevel && $errno) { - if (isset($this->_errorHandlerMap[$errno])) { - $priority = $this->_errorHandlerMap[$errno]; - } else { - $priority = Zend_Log::INFO; - } - $this->log($errstr, $priority, array('errno'=>$errno, 'file'=>$errfile, 'line'=>$errline, 'context'=>$errcontext)); - } - - if ($this->_origErrorHandler !== null) { - return call_user_func($this->_origErrorHandler, $errno, $errstr, $errfile, $errline, $errcontext); - } - return false; - } - - /** - * Set timestamp format for log entries. - * - * @param string $format - * @return Zend_Log - */ - public function setTimestampFormat($format) - { - $this->_timestampFormat = $format; - return $this; - } - - /** - * Get timestamp format used for log entries. - * - * @return string - */ - public function getTimestampFormat() - { - return $this->_timestampFormat; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf1LogAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf1LogAdapterTest.php deleted file mode 100644 index 82723d2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf1LogAdapterTest.php +++ /dev/null @@ -1,60 +0,0 @@ -stream = fopen('php://temp', 'r+'); - $this->log = new \Zend_Log(new \Zend_Log_Writer_Stream($this->stream)); - $this->adapter = new Zf1LogAdapter($this->log); - } - - public function testLogsMessagesToAdaptedObject() - { - // Test without a priority - $this->adapter->log('test', \LOG_NOTICE, 'guzzle.common.log.adapter.zend_log_adapter', 'localhost'); - rewind($this->stream); - $this->assertEquals(1, substr_count(stream_get_contents($this->stream), 'test')); - - // Test with a priority - $this->adapter->log('test', \LOG_ALERT); - rewind($this->stream); - $this->assertEquals(2, substr_count(stream_get_contents($this->stream), 'test')); - } - - public function testExposesAdaptedLogObject() - { - $this->assertEquals($this->log, $this->adapter->getLogObject()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf2LogAdapterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf2LogAdapterTest.php deleted file mode 100644 index 8f5a2a3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/Zf2LogAdapterTest.php +++ /dev/null @@ -1,61 +0,0 @@ -stream = fopen('php://temp', 'r+'); - $this->log = new Logger(); - $this->log->addWriter(new Stream($this->stream)); - $this->adapter = new Zf2LogAdapter($this->log); - - } - - public function testLogsMessagesToAdaptedObject() - { - // Test without a priority - $this->adapter->log('Zend_Test!', \LOG_NOTICE); - rewind($this->stream); - $contents = stream_get_contents($this->stream); - $this->assertEquals(1, substr_count($contents, 'Zend_Test!')); - - // Test with a priority - $this->adapter->log('Zend_Test!', \LOG_ALERT); - rewind($this->stream); - $contents = stream_get_contents($this->stream); - $this->assertEquals(2, substr_count($contents, 'Zend_Test!')); - } - - public function testExposesAdaptedLogObject() - { - $this->assertEquals($this->log, $this->adapter->getLogObject()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php deleted file mode 100644 index 3fb6527..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php +++ /dev/null @@ -1,21 +0,0 @@ -command = $command; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ErrorResponseMock.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ErrorResponseMock.php deleted file mode 100644 index aabb15f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ErrorResponseMock.php +++ /dev/null @@ -1,25 +0,0 @@ -command = $command; - $this->response = $response; - $this->message = 'Error from ' . $response; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ExceptionMock.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ExceptionMock.php deleted file mode 100644 index 97a1974..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ExceptionMock.php +++ /dev/null @@ -1,11 +0,0 @@ -multiHandle; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockObserver.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockObserver.php deleted file mode 100644 index 5ac1c8a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockObserver.php +++ /dev/null @@ -1,68 +0,0 @@ -events as $event) { - if ($event->getName() == $eventName) { - return true; - } - } - - return false; - } - - public function getLastEvent() - { - return end($this->events); - } - - public function count() - { - return count($this->events); - } - - public function getGrouped() - { - $events = array(); - foreach ($this->events as $event) { - if (!isset($events[$event->getName()])) { - $events[$event->getName()] = array(); - } - $events[$event->getName()][] = $event; - } - - return $events; - } - - public function getData($event, $key, $occurrence = 0) - { - $grouped = $this->getGrouped(); - if (isset($grouped[$event])) { - return $grouped[$event][$occurrence][$key]; - } - - return null; - } - - /** - * {@inheritdoc} - */ - public function update(Event $event) - { - $this->events[] = $event; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockSubject.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockSubject.php deleted file mode 100644 index e011959..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockSubject.php +++ /dev/null @@ -1,7 +0,0 @@ - 'allseeing-i.com', - 'path' => '/', - 'data' => array( - 'PHPSESSID' => '6c951590e7a9359bcedde25cda73e43c' - ), - 'max_age' => NULL, - 'expires' => 'Sat, 26-Jul-2008 17:00:42 GMT', - 'version' => NULL, - 'secure' => NULL, - 'discard' => NULL, - 'port' => NULL, - 'cookies' => array( - 'ASIHTTPRequestTestCookie' => 'This+is+the+value' - ), - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - array('', false), - array('foo', false), - // Test setting a blank value for a cookie - array(array( - 'foo=', 'foo =', 'foo =;', 'foo= ;', 'foo =', 'foo= '), - array( - 'cookies' => array( - 'foo' => '' - ), - 'data' => array(), - 'discard' => null, - 'domain' => null, - 'expires' => null, - 'max_age' => null, - 'path' => '/', - 'port' => null, - 'secure' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - // Test setting a value and removing quotes - array(array( - 'foo=1', 'foo =1', 'foo =1;', 'foo=1 ;', 'foo =1', 'foo= 1', 'foo = 1 ;', 'foo="1"', 'foo="1";', 'foo= "1";'), - array( - 'cookies' => array( - 'foo' => '1' - ), - 'data' => array(), - 'discard' => null, - 'domain' => null, - 'expires' => null, - 'max_age' => null, - 'path' => '/', - 'port' => null, - 'secure' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - // Test setting multiple values - array(array( - 'foo=1; bar=2;', 'foo =1; bar = "2"', 'foo=1; bar=2'), - array( - 'cookies' => array( - 'foo' => '1', - 'bar' => '2', - ), - 'data' => array(), - 'discard' => null, - 'domain' => null, - 'expires' => null, - 'max_age' => null, - 'path' => '/', - 'port' => null, - 'secure' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - // Tests getting the domain and path from a reference request - array(array( - 'foo=1; port="80,8081"; httponly', 'foo=1; port="80,8081"; domain=www.test.com; HttpOnly;', 'foo=1; ; domain=www.test.com; path=/path/; port="80,8081"; HttpOnly;'), - array( - 'cookies' => array( - 'foo' => 1 - ), - 'data' => array(), - 'discard' => null, - 'domain' => 'www.test.com', - 'expires' => null, - 'max_age' => null, - 'path' => '/path/', - 'port' => array('80', '8081'), - 'secure' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => true - ), - 'http://www.test.com/path/' - ), - // Some of the following tests are based on http://framework.zend.com/svn/framework/standard/trunk/tests/Zend/Http/CookieTest.php - array( - 'justacookie=foo; domain=example.com', - array( - 'cookies' => array( - 'justacookie' => 'foo' - ), - 'domain' => 'example.com', - 'path' => '', - 'data' => array(), - 'discard' => null, - 'expires' => null, - 'max_age' => null, - 'path' => '/', - 'port' => null, - 'secure' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - array( - 'expires=tomorrow; secure; path=/Space Out/; expires=Tue, 21-Nov-2006 08:33:44 GMT; domain=.example.com', - array( - 'cookies' => array( - 'expires' => 'tomorrow' - ), - 'domain' => '.example.com', - 'path' => '/Space Out/', - 'expires' => 'Tue, 21-Nov-2006 08:33:44 GMT', - 'data' => array(), - 'discard' => null, - 'port' => null, - 'secure' => true, - 'version' => null, - 'max_age' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - array( - 'domain=unittests; expires=Tue, 21-Nov-2006 08:33:44 GMT; domain=example.com; path=/some value/', - array( - 'cookies' => array( - 'domain' => 'unittests' - ), - 'domain' => 'example.com', - 'path' => '/some value/', - 'expires' => 'Tue, 21-Nov-2006 08:33:44 GMT', - 'secure' => false, - 'data' => array(), - 'discard' => null, - 'max_age' => null, - 'port' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - array( - 'path=indexAction; path=/; domain=.foo.com; expires=Tue, 21-Nov-2006 08:33:44 GMT', - array( - 'cookies' => array( - 'path' => 'indexAction' - ), - 'domain' => '.foo.com', - 'path' => '/', - 'expires' => 'Tue, 21-Nov-2006 08:33:44 GMT', - 'secure' => false, - 'data' => array(), - 'discard' => null, - 'max_age' => null, - 'port' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - array( - 'secure=sha1; secure; SECURE; domain=some.really.deep.domain.com; version=1; Max-Age=86400', - array( - 'cookies' => array( - 'secure' => 'sha1' - ), - 'domain' => 'some.really.deep.domain.com', - 'path' => '/', - 'secure' => true, - 'data' => array(), - 'discard' => null, - 'expires' => time() + 86400, - 'max_age' => 86400, - 'port' => null, - 'version' => 1, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - array( - 'PHPSESSID=123456789+abcd%2Cef; secure; discard; domain=.localdomain; path=/foo/baz; expires=Tue, 21-Nov-2006 08:33:44 GMT;', - array( - 'cookies' => array( - 'PHPSESSID' => '123456789+abcd%2Cef' - ), - 'domain' => '.localdomain', - 'path' => '/foo/baz', - 'expires' => 'Tue, 21-Nov-2006 08:33:44 GMT', - 'secure' => true, - 'data' => array(), - 'discard' => true, - 'max_age' => null, - 'port' => null, - 'version' => null, - 'comment' => null, - 'comment_url' => null, - 'http_only' => false - ) - ), - ); - } - - /** - * @dataProvider cookieParserDataProvider - * @covers Guzzle\Parser\Cookie\CookieParser - */ - public function testParseCookie($cookie, $parsed, $url = null) - { - $c = $this->cookieParserClass; - $parser = new $c(); - - $request = null; - if ($url) { - $url = Url::factory($url); - $host = $url->getHost(); - $path = $url->getPath(); - } else { - $host = ''; - $path = ''; - } - - foreach ((array) $cookie as $c) { - $p = $parser->parseCookie($c, $host, $path); - - // Remove expires values from the assertion if they are relatively equal - if ($p['expires'] != $parsed['expires']) { - if (abs($p['expires'] - $parsed['expires']) < 20) { - unset($p['expires']); - unset($parsed['expires']); - } - } - - if (is_array($parsed)) { - foreach ($parsed as $key => $value) { - $this->assertEquals($parsed[$key], $p[$key], 'Comparing ' . $key . ' ' . var_export($value, true) . ' : ' . var_export($parsed, true) . ' | ' . var_export($p, true)); - } - - foreach ($p as $key => $value) { - $this->assertEquals($p[$key], $parsed[$key], 'Comparing ' . $key . ' ' . var_export($value, true) . ' : ' . var_export($parsed, true) . ' | ' . var_export($p, true)); - } - } else { - $this->assertEquals($parsed, $p); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Cookie/CookieParserTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Cookie/CookieParserTest.php deleted file mode 100644 index 75d336f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Cookie/CookieParserTest.php +++ /dev/null @@ -1,22 +0,0 @@ -parseCookie('foo=baz+bar', null, null, true); - $this->assertEquals(array( - 'foo' => 'baz bar' - ), $result['cookies']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserProvider.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserProvider.php deleted file mode 100644 index da58bb4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserProvider.php +++ /dev/null @@ -1,225 +0,0 @@ - 'GET', - 'protocol' => 'HTTP', - 'version' => '1.1', - 'request_url' => array( - 'scheme' => 'http', - 'host' => '', - 'port' => '', - 'path' => '/', - 'query' => '' - ), - 'headers' => array(), - 'body' => '' - )), - // Path and query string, multiple header values per header and case sensitive storage - array("HEAD /path?query=foo HTTP/1.0\r\nHost: example.com\r\nX-Foo: foo\r\nx-foo: Bar\r\nX-Foo: foo\r\nX-Foo: Baz\r\n\r\n", array( - 'method' => 'HEAD', - 'protocol' => 'HTTP', - 'version' => '1.0', - 'request_url' => array( - 'scheme' => 'http', - 'host' => 'example.com', - 'port' => '', - 'path' => '/path', - 'query' => 'query=foo' - ), - 'headers' => array( - 'Host' => 'example.com', - 'X-Foo' => array('foo', 'foo', 'Baz'), - 'x-foo' => 'Bar' - ), - 'body' => '' - )), - // Includes a body - array("PUT / HTTP/1.0\r\nhost: example.com:443\r\nContent-Length: 4\r\n\r\ntest", array( - 'method' => 'PUT', - 'protocol' => 'HTTP', - 'version' => '1.0', - 'request_url' => array( - 'scheme' => 'https', - 'host' => 'example.com', - 'port' => '443', - 'path' => '/', - 'query' => '' - ), - 'headers' => array( - 'host' => 'example.com:443', - 'Content-Length' => '4' - ), - 'body' => 'test' - )), - // Includes Authorization headers - array("GET / HTTP/1.1\r\nHost: example.com:8080\r\nAuthorization: Basic {$auth}\r\n\r\n", array( - 'method' => 'GET', - 'protocol' => 'HTTP', - 'version' => '1.1', - 'request_url' => array( - 'scheme' => 'http', - 'host' => 'example.com', - 'port' => '8080', - 'path' => '/', - 'query' => '' - ), - 'headers' => array( - 'Host' => 'example.com:8080', - 'Authorization' => "Basic {$auth}" - ), - 'body' => '' - )), - // Include authorization header - array("GET / HTTP/1.1\r\nHost: example.com:8080\r\nauthorization: Basic {$auth}\r\n\r\n", array( - 'method' => 'GET', - 'protocol' => 'HTTP', - 'version' => '1.1', - 'request_url' => array( - 'scheme' => 'http', - 'host' => 'example.com', - 'port' => '8080', - 'path' => '/', - 'query' => '' - ), - 'headers' => array( - 'Host' => 'example.com:8080', - 'authorization' => "Basic {$auth}" - ), - 'body' => '' - )), - ); - } - - public function responseProvider() - { - return array( - // Empty request - array('', false), - - array("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n", array( - 'protocol' => 'HTTP', - 'version' => '1.1', - 'code' => '200', - 'reason_phrase' => 'OK', - 'headers' => array( - 'Content-Length' => 0 - ), - 'body' => '' - )), - array("HTTP/1.0 400 Bad Request\r\nContent-Length: 0\r\n\r\n", array( - 'protocol' => 'HTTP', - 'version' => '1.0', - 'code' => '400', - 'reason_phrase' => 'Bad Request', - 'headers' => array( - 'Content-Length' => 0 - ), - 'body' => '' - )), - array("HTTP/1.0 100 Continue\r\n\r\n", array( - 'protocol' => 'HTTP', - 'version' => '1.0', - 'code' => '100', - 'reason_phrase' => 'Continue', - 'headers' => array(), - 'body' => '' - )), - array("HTTP/1.1 204 No Content\r\nX-Foo: foo\r\nx-foo: Bar\r\nX-Foo: foo\r\n\r\n", array( - 'protocol' => 'HTTP', - 'version' => '1.1', - 'code' => '204', - 'reason_phrase' => 'No Content', - 'headers' => array( - 'X-Foo' => array('foo', 'foo'), - 'x-foo' => 'Bar' - ), - 'body' => '' - )), - array("HTTP/1.1 200 Ok that is great!\r\nContent-Length: 4\r\n\r\nTest", array( - 'protocol' => 'HTTP', - 'version' => '1.1', - 'code' => '200', - 'reason_phrase' => 'Ok that is great!', - 'headers' => array( - 'Content-Length' => 4 - ), - 'body' => 'Test' - )), - ); - } - - public function compareRequestResults($result, $expected) - { - if (!$result) { - $this->assertFalse($expected); - return; - } - - $this->assertEquals($result['method'], $expected['method']); - $this->assertEquals($result['protocol'], $expected['protocol']); - $this->assertEquals($result['version'], $expected['version']); - $this->assertEquals($result['request_url'], $expected['request_url']); - $this->assertEquals($result['body'], $expected['body']); - $this->compareHttpHeaders($result['headers'], $expected['headers']); - } - - public function compareResponseResults($result, $expected) - { - if (!$result) { - $this->assertFalse($expected); - return; - } - - $this->assertEquals($result['protocol'], $expected['protocol']); - $this->assertEquals($result['version'], $expected['version']); - $this->assertEquals($result['code'], $expected['code']); - $this->assertEquals($result['reason_phrase'], $expected['reason_phrase']); - $this->assertEquals($result['body'], $expected['body']); - $this->compareHttpHeaders($result['headers'], $expected['headers']); - } - - protected function normalizeHeaders($headers) - { - $normalized = array(); - foreach ($headers as $key => $value) { - $key = strtolower($key); - if (!isset($normalized[$key])) { - $normalized[$key] = $value; - } elseif (!is_array($normalized[$key])) { - $normalized[$key] = array($value); - } else { - $normalized[$key][] = $value; - } - } - - foreach ($normalized as $key => &$value) { - if (is_array($value)) { - sort($value); - } - } - - return $normalized; - } - - public function compareHttpHeaders($result, $expected) - { - // Aggregate all headers case-insensitively - $result = $this->normalizeHeaders($result); - $expected = $this->normalizeHeaders($expected); - $this->assertEquals($result, $expected); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserTest.php deleted file mode 100644 index da889df..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/MessageParserTest.php +++ /dev/null @@ -1,68 +0,0 @@ -compareRequestResults($parts, $parser->parseRequest($message)); - } - - /** - * @covers Guzzle\Parser\Message\MessageParser::parseMessage - * @covers Guzzle\Parser\Message\MessageParser::parseResponse - * @dataProvider responseProvider - */ - public function testParsesResponses($message, $parts) - { - $parser = new MessageParser(); - $this->compareResponseResults($parts, $parser->parseResponse($message)); - } - - /** - * @covers Guzzle\Parser\Message\MessageParser::parseRequest - */ - public function testParsesRequestsWithMissingProtocol() - { - $parser = new MessageParser(); - $parts = $parser->parseRequest("GET /\r\nHost: Foo.com\r\n\r\n"); - $this->assertEquals('GET', $parts['method']); - $this->assertEquals('HTTP', $parts['protocol']); - $this->assertEquals('1.1', $parts['version']); - } - - /** - * @covers Guzzle\Parser\Message\MessageParser::parseRequest - */ - public function testParsesRequestsWithMissingVersion() - { - $parser = new MessageParser(); - $parts = $parser->parseRequest("GET / HTTP\r\nHost: Foo.com\r\n\r\n"); - $this->assertEquals('GET', $parts['method']); - $this->assertEquals('HTTP', $parts['protocol']); - $this->assertEquals('1.1', $parts['version']); - } - - /** - * @covers Guzzle\Parser\Message\MessageParser::parseResponse - */ - public function testParsesResponsesWithMissingReasonPhrase() - { - $parser = new MessageParser(); - $parts = $parser->parseResponse("HTTP/1.1 200\r\n\r\n"); - $this->assertEquals('200', $parts['code']); - $this->assertEquals('', $parts['reason_phrase']); - $this->assertEquals('HTTP', $parts['protocol']); - $this->assertEquals('1.1', $parts['version']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/PeclHttpMessageParserTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/PeclHttpMessageParserTest.php deleted file mode 100644 index 5a8ba07..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/PeclHttpMessageParserTest.php +++ /dev/null @@ -1,35 +0,0 @@ -markTestSkipped('pecl_http is not available.'); - } - } - - /** - * @covers Guzzle\Parser\Message\PeclHttpMessageParser::parseRequest - * @dataProvider requestProvider - */ - public function testParsesRequests($message, $parts) - { - $parser = new PeclHttpMessageParser(); - $this->compareRequestResults($parts, $parser->parseRequest($message)); - } - - /** - * @covers Guzzle\Parser\Message\PeclHttpMessageParser::parseResponse - * @dataProvider responseProvider - */ - public function testParsesResponses($message, $parts) - { - $parser = new PeclHttpMessageParser(); - $this->compareResponseResults($parts, $parser->parseResponse($message)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/ParserRegistryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/ParserRegistryTest.php deleted file mode 100644 index 7c63999..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/ParserRegistryTest.php +++ /dev/null @@ -1,33 +0,0 @@ -registerParser('foo', $c); - $this->assertSame($c, $r->getParser('foo')); - } - - public function testReturnsNullWhenNotFound() - { - $r = new ParserRegistry(); - $this->assertNull($r->getParser('FOO')); - } - - public function testReturnsLazyLoadedDefault() - { - $r = new ParserRegistry(); - $c = $r->getParser('cookie'); - $this->assertInstanceOf('Guzzle\Parser\Cookie\CookieParser', $c); - $this->assertSame($c, $r->getParser('cookie')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/AbstractUriTemplateTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/AbstractUriTemplateTest.php deleted file mode 100644 index a05fc2e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/AbstractUriTemplateTest.php +++ /dev/null @@ -1,113 +0,0 @@ - 'value', - 'hello' => 'Hello World!', - 'empty' => '', - 'path' => '/foo/bar', - 'x' => '1024', - 'y' => '768', - 'null' => null, - 'list' => array('red', 'green', 'blue'), - 'keys' => array( - "semi" => ';', - "dot" => '.', - "comma" => ',' - ), - 'empty_keys' => array(), - ); - - return array_map(function($t) use ($params) { - $t[] = $params; - return $t; - }, array( - array('foo', 'foo'), - array('{var}', 'value'), - array('{hello}', 'Hello%20World%21'), - array('{+var}', 'value'), - array('{+hello}', 'Hello%20World!'), - array('{+path}/here', '/foo/bar/here'), - array('here?ref={+path}', 'here?ref=/foo/bar'), - array('X{#var}', 'X#value'), - array('X{#hello}', 'X#Hello%20World!'), - array('map?{x,y}', 'map?1024,768'), - array('{x,hello,y}', '1024,Hello%20World%21,768'), - array('{+x,hello,y}', '1024,Hello%20World!,768'), - array('{+path,x}/here', '/foo/bar,1024/here'), - array('{#x,hello,y}', '#1024,Hello%20World!,768'), - array('{#path,x}/here', '#/foo/bar,1024/here'), - array('X{.var}', 'X.value'), - array('X{.x,y}', 'X.1024.768'), - array('{/var}', '/value'), - array('{/var,x}/here', '/value/1024/here'), - array('{;x,y}', ';x=1024;y=768'), - array('{;x,y,empty}', ';x=1024;y=768;empty'), - array('{?x,y}', '?x=1024&y=768'), - array('{?x,y,empty}', '?x=1024&y=768&empty='), - array('?fixed=yes{&x}', '?fixed=yes&x=1024'), - array('{&x,y,empty}', '&x=1024&y=768&empty='), - array('{var:3}', 'val'), - array('{var:30}', 'value'), - array('{list}', 'red,green,blue'), - array('{list*}', 'red,green,blue'), - array('{keys}', 'semi,%3B,dot,.,comma,%2C'), - array('{keys*}', 'semi=%3B,dot=.,comma=%2C'), - array('{+path:6}/here', '/foo/b/here'), - array('{+list}', 'red,green,blue'), - array('{+list*}', 'red,green,blue'), - array('{+keys}', 'semi,;,dot,.,comma,,'), - array('{+keys*}', 'semi=;,dot=.,comma=,'), - array('{#path:6}/here', '#/foo/b/here'), - array('{#list}', '#red,green,blue'), - array('{#list*}', '#red,green,blue'), - array('{#keys}', '#semi,;,dot,.,comma,,'), - array('{#keys*}', '#semi=;,dot=.,comma=,'), - array('X{.var:3}', 'X.val'), - array('X{.list}', 'X.red,green,blue'), - array('X{.list*}', 'X.red.green.blue'), - array('X{.keys}', 'X.semi,%3B,dot,.,comma,%2C'), - array('X{.keys*}', 'X.semi=%3B.dot=..comma=%2C'), - array('{/var:1,var}', '/v/value'), - array('{/list}', '/red,green,blue'), - array('{/list*}', '/red/green/blue'), - array('{/list*,path:4}', '/red/green/blue/%2Ffoo'), - array('{/keys}', '/semi,%3B,dot,.,comma,%2C'), - array('{/keys*}', '/semi=%3B/dot=./comma=%2C'), - array('{;hello:5}', ';hello=Hello'), - array('{;list}', ';list=red,green,blue'), - array('{;list*}', ';list=red;list=green;list=blue'), - array('{;keys}', ';keys=semi,%3B,dot,.,comma,%2C'), - array('{;keys*}', ';semi=%3B;dot=.;comma=%2C'), - array('{?var:3}', '?var=val'), - array('{?list}', '?list=red,green,blue'), - array('{?list*}', '?list=red&list=green&list=blue'), - array('{?keys}', '?keys=semi,%3B,dot,.,comma,%2C'), - array('{?keys*}', '?semi=%3B&dot=.&comma=%2C'), - array('{&var:3}', '&var=val'), - array('{&list}', '&list=red,green,blue'), - array('{&list*}', '&list=red&list=green&list=blue'), - array('{&keys}', '&keys=semi,%3B,dot,.,comma,%2C'), - array('{&keys*}', '&semi=%3B&dot=.&comma=%2C'), - array('{.null}', ''), - array('{.null,var}', '.value'), - array('X{.empty_keys*}', 'X'), - array('X{.empty_keys}', 'X'), - // Test that missing expansions are skipped - array('test{&missing*}', 'test'), - // Test that multiple expansions can be set - array('http://{var}/{var:2}{?keys*}', 'http://value/va?semi=%3B&dot=.&comma=%2C'), - // Test more complex query string stuff - array('http://www.test.com{+path}{?var,keys*}', 'http://www.test.com/foo/bar?var=value&semi=%3B&dot=.&comma=%2C') - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/PeclUriTemplateTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/PeclUriTemplateTest.php deleted file mode 100644 index 633c5d5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/PeclUriTemplateTest.php +++ /dev/null @@ -1,27 +0,0 @@ -markTestSkipped('uri_template PECL extension must be installed to test PeclUriTemplate'); - } - } - - /** - * @dataProvider templateProvider - */ - public function testExpandsUriTemplates($template, $expansion, $params) - { - $uri = new PeclUriTemplate($template); - $this->assertEquals($expansion, $uri->expand($template, $params)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/UriTemplateTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/UriTemplateTest.php deleted file mode 100644 index 1e944e0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/UriTemplateTest.php +++ /dev/null @@ -1,96 +0,0 @@ -assertEquals($expansion, $uri->expand($template, $params)); - } - - public function expressionProvider() - { - return array( - array( - '{+var*}', array( - 'operator' => '+', - 'values' => array( - array('value' => 'var', 'modifier' => '*') - ) - ), - ), - array( - '{?keys,var,val}', array( - 'operator' => '?', - 'values' => array( - array('value' => 'keys', 'modifier' => ''), - array('value' => 'var', 'modifier' => ''), - array('value' => 'val', 'modifier' => '') - ) - ), - ), - array( - '{+x,hello,y}', array( - 'operator' => '+', - 'values' => array( - array('value' => 'x', 'modifier' => ''), - array('value' => 'hello', 'modifier' => ''), - array('value' => 'y', 'modifier' => '') - ) - ) - ) - ); - } - - /** - * @dataProvider expressionProvider - */ - public function testParsesExpressions($exp, $data) - { - $template = new UriTemplate($exp); - - // Access the config object - $class = new \ReflectionClass($template); - $method = $class->getMethod('parseExpression'); - $method->setAccessible(true); - - $exp = substr($exp, 1, -1); - $this->assertEquals($data, $method->invokeArgs($template, array($exp))); - } - - /** - * @ticket https://github.com/guzzle/guzzle/issues/90 - */ - public function testAllowsNestedArrayExpansion() - { - $template = new UriTemplate(); - - $result = $template->expand('http://example.com{+path}{/segments}{?query,data*,foo*}', array( - 'path' => '/foo/bar', - 'segments' => array('one', 'two'), - 'query' => 'test', - 'data' => array( - 'more' => array('fun', 'ice cream') - ), - 'foo' => array( - 'baz' => array( - 'bar' => 'fizz', - 'test' => 'buzz' - ), - 'bam' => 'boo' - ) - )); - - $this->assertEquals('http://example.com/foo/bar/one,two?query=test&more%5B0%5D=fun&more%5B1%5D=ice%20cream&baz%5Bbar%5D=fizz&baz%5Btest%5D=buzz&bam=boo', $result); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Url/UrlParserProvider.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Url/UrlParserProvider.php deleted file mode 100644 index c5f9127..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Url/UrlParserProvider.php +++ /dev/null @@ -1,30 +0,0 @@ -assertEquals($url, Url::buildUrl($parts)); - } - - public function testCanUseUtf8Query() - { - $url = Url::factory('http://www.example.com?µ=a'); - $this->assertEquals('a', $url->getQuery()->get('µ')); - } - - public function testParsesUtf8UrlQueryStringsWithFragment() - { - $parser = new UrlParser(); - $parser->setUtf8Support(true); - - $parts = $parser->parseUrl('http://www.example.com?ሴ=a#fragmentishere'); - $this->assertEquals('ሴ=a', $parts['query']); - $this->assertEquals('fragmentishere', $parts['fragment']); - - $parts = $parser->parseUrl('http://www.example.com?ሴ=a'); - $this->assertEquals('ሴ=a', $parts['query']); - $this->assertEquals('', $parts['fragment']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Async/AsyncPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Async/AsyncPluginTest.php deleted file mode 100644 index a90b974..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Async/AsyncPluginTest.php +++ /dev/null @@ -1,92 +0,0 @@ -assertArrayHasKey('request.before_send', $events); - $this->assertArrayHasKey('request.exception', $events); - $this->assertArrayHasKey('curl.callback.progress', $events); - } - - public function testEnablesProgressCallbacks() - { - $p = new AsyncPlugin(); - $request = RequestFactory::getInstance()->create('PUT', 'http://www.example.com'); - $event = new Event(array( - 'request' => $request - )); - $p->onBeforeSend($event); - $this->assertEquals(true, $request->getCurlOptions()->get('progress')); - } - - public function testAddsTimesOutAfterSending() - { - $p = new AsyncPlugin(); - $request = RequestFactory::getInstance()->create('PUT', 'http://www.example.com'); - $handle = CurlHandle::factory($request); - $event = new Event(array( - 'request' => $request, - 'handle' => $handle, - 'uploaded' => 10, - 'upload_size' => 10, - 'downloaded' => 0 - )); - $p->onCurlProgress($event); - $this->assertEquals(1, $handle->getOptions()->get(CURLOPT_TIMEOUT_MS)); - $this->assertEquals(true, $handle->getOptions()->get(CURLOPT_NOBODY)); - } - - public function testEnsuresRequestIsSet() - { - $p = new AsyncPlugin(); - $event = new Event(array( - 'uploaded' => 10, - 'upload_size' => 10, - 'downloaded' => 0 - )); - $p->onCurlProgress($event); - } - - public function testMasksCurlExceptions() - { - $p = new AsyncPlugin(); - $request = RequestFactory::getInstance()->create('PUT', 'http://www.example.com'); - $e = new CurlException('Error'); - $event = new Event(array( - 'request' => $request, - 'exception' => $e - )); - $p->onRequestTimeout($event); - $this->assertEquals(RequestInterface::STATE_COMPLETE, $request->getState()); - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - $this->assertTrue($request->getResponse()->hasHeader('X-Guzzle-Async')); - } - - public function testEnsuresIntegration() - { - $this->getServer()->enqueue("HTTP/1.1 204 FOO\r\nContent-Length: 4\r\n\r\ntest"); - $client = new Client($this->getServer()->getUrl()); - $request = $client->post('/', null, array( - 'foo' => 'bar' - )); - $request->getEventDispatcher()->addSubscriber(new AsyncPlugin()); - $request->send(); - $this->assertEquals('', $request->getResponse()->getBody(true)); - $this->assertTrue($request->getResponse()->hasHeader('X-Guzzle-Async')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/AbstractBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/AbstractBackoffStrategyTest.php deleted file mode 100644 index 72af263..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/AbstractBackoffStrategyTest.php +++ /dev/null @@ -1,86 +0,0 @@ -getMockBuilder('Guzzle\Plugin\Backoff\AbstractBackoffStrategy') - ->setMethods(array('getDelay', 'makesDecision')) - ->getMockForAbstractClass(); - } - - public function testReturnsZeroWhenNoNextAndGotNull() - { - $request = new Request('GET', 'http://www.foo.com'); - $mock = $this->getMockStrategy(); - $mock->expects($this->atLeastOnce())->method('getDelay')->will($this->returnValue(null)); - $this->assertEquals(0, $mock->getBackoffPeriod(0, $request)); - } - - public function testReturnsFalse() - { - $request = new Request('GET', 'http://www.foo.com'); - $mock = $this->getMockStrategy(); - $mock->expects($this->atLeastOnce())->method('getDelay')->will($this->returnValue(false)); - $this->assertEquals(false, $mock->getBackoffPeriod(0, $request)); - } - - public function testReturnsNextValueWhenNullOrTrue() - { - $request = new Request('GET', 'http://www.foo.com'); - $mock = $this->getMockStrategy(); - $mock->expects($this->atLeastOnce())->method('getDelay')->will($this->returnValue(null)); - $mock->expects($this->any())->method('makesDecision')->will($this->returnValue(false)); - - $mock2 = $this->getMockStrategy(); - $mock2->expects($this->atLeastOnce())->method('getDelay')->will($this->returnValue(10)); - $mock2->expects($this->atLeastOnce())->method('makesDecision')->will($this->returnValue(true)); - $mock->setNext($mock2); - - $this->assertEquals(10, $mock->getBackoffPeriod(0, $request)); - } - - public function testReturnsFalseWhenNullAndNoNext() - { - $request = new Request('GET', 'http://www.foo.com'); - $s = new TruncatedBackoffStrategy(2); - $this->assertFalse($s->getBackoffPeriod(0, $request)); - } - - public function testHasNext() - { - $a = new TruncatedBackoffStrategy(2); - $b = new TruncatedBackoffStrategy(2); - $a->setNext($b); - $this->assertSame($b, $a->getNext()); - } - - public function testSkipsOtherDecisionsInChainWhenOneReturnsTrue() - { - $a = new CallbackBackoffStrategy(function () { return null; }, true); - $b = new CallbackBackoffStrategy(function () { return true; }, true); - $c = new CallbackBackoffStrategy(function () { return null; }, true); - $d = new CallbackBackoffStrategy(function () { return 10; }, false); - $a->setNext($b); - $b->setNext($c); - $c->setNext($d); - $this->assertEquals(10, $a->getBackoffPeriod(2, new Request('GET', 'http://www.foo.com'))); - } - - public function testReturnsZeroWhenDecisionMakerReturnsTrueButNoFurtherStrategiesAreInTheChain() - { - $a = new CallbackBackoffStrategy(function () { return null; }, true); - $b = new CallbackBackoffStrategy(function () { return true; }, true); - $a->setNext($b); - $this->assertSame(0, $a->getBackoffPeriod(2, new Request('GET', 'http://www.foo.com'))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffLoggerTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffLoggerTest.php deleted file mode 100644 index a64dd82..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffLoggerTest.php +++ /dev/null @@ -1,110 +0,0 @@ -message = ''; - } - - public function testHasEventList() - { - $this->assertEquals(1, count(BackoffLogger::getSubscribedEvents())); - } - - public function testLogsEvents() - { - list($logPlugin, $request, $response) = $this->getMocks(); - - $response = $this->getMockBuilder('Guzzle\Http\Message\Response') - ->setConstructorArgs(array(503)) - ->setMethods(array('getInfo')) - ->getMock(); - - $response->expects($this->any()) - ->method('getInfo') - ->will($this->returnValue(2)); - - $handle = $this->getMockHandle(); - - $event = new Event(array( - 'request' => $request, - 'response' => $response, - 'retries' => 1, - 'delay' => 3, - 'handle' => $handle - )); - - $logPlugin->onRequestRetry($event); - $this->assertContains( - '] PUT http://www.example.com - 503 Service Unavailable - Retries: 1, Delay: 3, Time: 2, 2, cURL: 30 Foo', - $this->message - ); - } - - public function testCanSetTemplate() - { - $l = new BackoffLogger(new ClosureLogAdapter(function () {})); - $l->setTemplate('foo'); - $t = $this->readAttribute($l, 'formatter'); - $this->assertEquals('foo', $this->readAttribute($t, 'template')); - } - - /** - * @return array - */ - protected function getMocks() - { - $that = $this; - $logger = new ClosureLogAdapter(function ($message) use ($that) { - $that->message .= $message . "\n"; - }); - $logPlugin = new BackoffLogger($logger); - $response = new Response(503); - $request = RequestFactory::getInstance()->create('PUT', 'http://www.example.com', array( - 'Content-Length' => 3, - 'Foo' => 'Bar' - )); - - return array($logPlugin, $request, $response); - } - - /** - * @return CurlHandle - */ - protected function getMockHandle() - { - $handle = $this->getMockBuilder('Guzzle\Http\Curl\CurlHandle') - ->disableOriginalConstructor() - ->setMethods(array('getError', 'getErrorNo', 'getInfo')) - ->getMock(); - - $handle->expects($this->once()) - ->method('getError') - ->will($this->returnValue('Foo')); - - $handle->expects($this->once()) - ->method('getErrorNo') - ->will($this->returnValue(30)); - - $handle->expects($this->any()) - ->method('getInfo') - ->will($this->returnValue(2)); - - return $handle; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffPluginTest.php deleted file mode 100644 index 496e49e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/BackoffPluginTest.php +++ /dev/null @@ -1,297 +0,0 @@ -retried = false; - } - - public static function getSubscribedEvents() - { - return array(BackoffPlugin::RETRY_EVENT => 'onRequestRetry'); - } - - public function onRequestRetry(Event $event) - { - $this->retried = $event; - } - - public function testHasEventList() - { - $this->assertEquals(1, count(BackoffPlugin::getAllEvents())); - } - - public function testCreatesDefaultExponentialBackoffPlugin() - { - $plugin = BackoffPlugin::getExponentialBackoff(3, array(204), array(10)); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\BackoffPlugin', $plugin); - $strategy = $this->readAttribute($plugin, 'strategy'); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\TruncatedBackoffStrategy', $strategy); - $this->assertEquals(3, $this->readAttribute($strategy, 'max')); - $strategy = $this->readAttribute($strategy, 'next'); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\HttpBackoffStrategy', $strategy); - $this->assertEquals(array(204 => true), $this->readAttribute($strategy, 'errorCodes')); - $strategy = $this->readAttribute($strategy, 'next'); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\CurlBackoffStrategy', $strategy); - $this->assertEquals(array(10 => true), $this->readAttribute($strategy, 'errorCodes')); - $strategy = $this->readAttribute($strategy, 'next'); - $this->assertInstanceOf('Guzzle\Plugin\Backoff\ExponentialBackoffStrategy', $strategy); - } - - public function testDoesNotRetryUnlessStrategyReturnsNumber() - { - $request = new Request('GET', 'http://www.example.com'); - $request->setState('transfer'); - - $mock = $this->getMockBuilder('Guzzle\Plugin\Backoff\BackoffStrategyInterface') - ->setMethods(array('getBackoffPeriod')) - ->getMockForAbstractClass(); - - $mock->expects($this->once()) - ->method('getBackoffPeriod') - ->will($this->returnValue(false)); - - $plugin = new BackoffPlugin($mock); - $plugin->addSubscriber($this); - $plugin->onRequestSent(new Event(array('request' => $request))); - $this->assertFalse($this->retried); - } - - public function testUpdatesRequestForRetry() - { - $request = new Request('GET', 'http://www.example.com'); - $request->setState('transfer'); - $response = new Response(500); - $handle = $this->getMockBuilder('Guzzle\Http\Curl\CurlHandle')->disableOriginalConstructor()->getMock(); - $e = new CurlException(); - $e->setCurlHandle($handle); - - $plugin = new BackoffPlugin(new ConstantBackoffStrategy(10)); - $plugin->addSubscriber($this); - - $event = new Event(array( - 'request' => $request, - 'response' => $response, - 'exception' => $e - )); - - $plugin->onRequestSent($event); - $this->assertEquals(array( - 'request' => $request, - 'response' => $response, - 'handle' => $handle, - 'retries' => 1, - 'delay' => 10 - ), $this->readAttribute($this->retried, 'context')); - - $plugin->onRequestSent($event); - $this->assertEquals(array( - 'request' => $request, - 'response' => $response, - 'handle' => $handle, - 'retries' => 2, - 'delay' => 10 - ), $this->readAttribute($this->retried, 'context')); - } - - public function testDoesNothingWhenNotRetryingAndPollingRequest() - { - $request = new Request('GET', 'http://www.foo.com'); - $plugin = new BackoffPlugin(new ConstantBackoffStrategy(10)); - $plugin->onRequestPoll(new Event(array('request' => $request))); - } - - public function testRetriesRequests() - { - // Create a script to return several 500 and 503 response codes - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata" - )); - - $plugin = new BackoffPlugin( - new TruncatedBackoffStrategy(3, - new HttpBackoffStrategy(null, - new CurlBackoffStrategy(null, - new ConstantBackoffStrategy(0.05) - ) - ) - ) - ); - - $client = new Client($this->getServer()->getUrl()); - $client->getEventDispatcher()->addSubscriber($plugin); - $request = $client->get(); - $request->send(); - - // Make sure it eventually completed successfully - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - $this->assertEquals('data', $request->getResponse()->getBody(true)); - - // Check that three requests were made to retry this request - $this->assertEquals(3, count($this->getServer()->getReceivedRequests(false))); - $this->assertEquals(2, $request->getParams()->get(BackoffPlugin::RETRY_PARAM)); - } - - /** - * @expectedException \Guzzle\Http\Exception\ServerErrorResponseException - */ - public function testFailsOnTruncation() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n" - )); - - $plugin = new BackoffPlugin( - new TruncatedBackoffStrategy(2, - new HttpBackoffStrategy(null, - new ConstantBackoffStrategy(0.05) - ) - ) - ); - - $client = new Client($this->getServer()->getUrl()); - $client->addSubscriber($plugin); - $client->get()->send(); - } - - public function testRetriesRequestsWhenInParallel() - { - // Create a script to return several 500 and 503 response codes - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata" - )); - - $plugin = new BackoffPlugin( - new HttpBackoffStrategy(null, - new TruncatedBackoffStrategy(3, - new CurlBackoffStrategy(null, - new ConstantBackoffStrategy(0.1) - ) - ) - ) - ); - $client = new Client($this->getServer()->getUrl()); - $client->getEventDispatcher()->addSubscriber($plugin); - $requests = array(); - for ($i = 0; $i < 5; $i++) { - $requests[] = $client->get(); - } - $client->send($requests); - - $this->assertEquals(15, count($this->getServer()->getReceivedRequests(false))); - } - - /** - * @covers Guzzle\Plugin\Backoff\BackoffPlugin - * @covers Guzzle\Http\Curl\CurlMulti - */ - public function testRetriesPooledRequestsUsingDelayAndPollingEvent() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\ndata" - )); - // Need to sleep for some time ensure that the polling works correctly in the observer - $plugin = new BackoffPlugin(new HttpBackoffStrategy(null, - new TruncatedBackoffStrategy(1, - new ConstantBackoffStrategy(0.5)))); - - $client = new Client($this->getServer()->getUrl()); - $client->getEventDispatcher()->addSubscriber($plugin); - $request = $client->get(); - $request->send(); - // Make sure it eventually completed successfully - $this->assertEquals('data', $request->getResponse()->getBody(true)); - // Check that two requests were made to retry this request - $this->assertEquals(2, count($this->getServer()->getReceivedRequests(false))); - } - - public function testSeeksToBeginningOfRequestBodyWhenRetrying() - { - // Create a request with a body - $request = new EntityEnclosingRequest('PUT', 'http://www.example.com'); - $request->setBody('abc'); - // Set the retry time to be something that will be retried always - $request->getParams()->set(BackoffPlugin::DELAY_PARAM, 2); - // Seek to the end of the stream - $request->getBody()->seek(3); - $this->assertEquals('', $request->getBody()->read(1)); - // Create a plugin that does not delay when retrying - $plugin = new BackoffPlugin(new ConstantBackoffStrategy(0)); - $plugin->onRequestPoll($this->getMockEvent($request)); - // Ensure that the stream was seeked to 0 - $this->assertEquals('a', $request->getBody()->read(1)); - } - - public function testDoesNotSeekOnRequestsWithNoBodyWhenRetrying() - { - // Create a request with a body - $request = new EntityEnclosingRequest('PUT', 'http://www.example.com'); - $request->getParams()->set(BackoffPlugin::DELAY_PARAM, 2); - $plugin = new BackoffPlugin(new ConstantBackoffStrategy(0)); - $plugin->onRequestPoll($this->getMockEvent($request)); - } - - protected function getMockEvent(RequestInterface $request) - { - // Create a mock curl multi object - $multi = $this->getMockBuilder('Guzzle\Http\Curl\CurlMulti') - ->setMethods(array('remove', 'add')) - ->getMock(); - - // Create an event that is expected for the Poll event - $event = new Event(array( - 'request' => $request, - 'curl_multi' => $multi - )); - $event->setName(CurlMultiInterface::POLLING_REQUEST); - - return $event; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CallbackBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CallbackBackoffStrategyTest.php deleted file mode 100644 index c0ce10d..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CallbackBackoffStrategyTest.php +++ /dev/null @@ -1,31 +0,0 @@ -getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $strategy = new CallbackBackoffStrategy(function () { return 10; }, true); - $this->assertTrue($strategy->makesDecision()); - $this->assertEquals(10, $strategy->getBackoffPeriod(0, $request)); - // Ensure it chains correctly when null is returned - $strategy = new CallbackBackoffStrategy(function () { return null; }, false); - $this->assertFalse($strategy->makesDecision()); - $this->assertFalse($strategy->getBackoffPeriod(0, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ConstantBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ConstantBackoffStrategyTest.php deleted file mode 100644 index 703eb4a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ConstantBackoffStrategyTest.php +++ /dev/null @@ -1,20 +0,0 @@ -assertFalse($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertEquals(3.5, $strategy->getBackoffPeriod(0, $request)); - $this->assertEquals(3.5, $strategy->getBackoffPeriod(1, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CurlBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CurlBackoffStrategyTest.php deleted file mode 100644 index 0a5c3e2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CurlBackoffStrategyTest.php +++ /dev/null @@ -1,36 +0,0 @@ -assertNotEmpty(CurlBackoffStrategy::getDefaultFailureCodes()); - $strategy = new CurlBackoffStrategy(); - $this->assertTrue($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $e = new CurlException(); - $e->setError('foo', CURLE_BAD_CALLING_ORDER); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request, null, $e)); - - foreach (CurlBackoffStrategy::getDefaultFailureCodes() as $code) { - $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request, null, $e->setError('foo', $code))); - } - } - - public function testIgnoresNonErrors() - { - $strategy = new CurlBackoffStrategy(); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request, new Response(200))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ExponentialBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ExponentialBackoffStrategyTest.php deleted file mode 100644 index 09965bc..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ExponentialBackoffStrategyTest.php +++ /dev/null @@ -1,23 +0,0 @@ -assertFalse($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertEquals(1, $strategy->getBackoffPeriod(0, $request)); - $this->assertEquals(2, $strategy->getBackoffPeriod(1, $request)); - $this->assertEquals(4, $strategy->getBackoffPeriod(2, $request)); - $this->assertEquals(8, $strategy->getBackoffPeriod(3, $request)); - $this->assertEquals(16, $strategy->getBackoffPeriod(4, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/HttpBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/HttpBackoffStrategyTest.php deleted file mode 100644 index ae68a4e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/HttpBackoffStrategyTest.php +++ /dev/null @@ -1,47 +0,0 @@ -assertNotEmpty(HttpBackoffStrategy::getDefaultFailureCodes()); - $strategy = new HttpBackoffStrategy(); - $this->assertTrue($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - - $response = new Response(200); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request, $response)); - $response->setStatus(400); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request, $response)); - - foreach (HttpBackoffStrategy::getDefaultFailureCodes() as $code) { - $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request, $response->setStatus($code))); - } - } - - public function testAllowsCustomCodes() - { - $strategy = new HttpBackoffStrategy(array(204)); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $response = new Response(204); - $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request, $response)); - $response->setStatus(500); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request, $response)); - } - - public function testIgnoresNonErrors() - { - $strategy = new HttpBackoffStrategy(); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/LinearBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/LinearBackoffStrategyTest.php deleted file mode 100644 index b4ce8e4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/LinearBackoffStrategyTest.php +++ /dev/null @@ -1,21 +0,0 @@ -assertFalse($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request)); - $this->assertEquals(5, $strategy->getBackoffPeriod(1, $request)); - $this->assertEquals(10, $strategy->getBackoffPeriod(2, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ReasonPhraseBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ReasonPhraseBackoffStrategyTest.php deleted file mode 100644 index dea5a68..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ReasonPhraseBackoffStrategyTest.php +++ /dev/null @@ -1,32 +0,0 @@ -assertEmpty(ReasonPhraseBackoffStrategy::getDefaultFailureCodes()); - $strategy = new ReasonPhraseBackoffStrategy(array('Foo', 'Internal Server Error')); - $this->assertTrue($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $response = new Response(200); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request, $response)); - $response->setStatus(200, 'Foo'); - $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request, $response)); - } - - public function testIgnoresNonErrors() - { - $strategy = new ReasonPhraseBackoffStrategy(); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertEquals(false, $strategy->getBackoffPeriod(0, $request)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/TruncatedBackoffStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/TruncatedBackoffStrategyTest.php deleted file mode 100644 index 5590dfb..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/TruncatedBackoffStrategyTest.php +++ /dev/null @@ -1,30 +0,0 @@ -assertTrue($strategy->makesDecision()); - $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); - $this->assertFalse($strategy->getBackoffPeriod(0, $request)); - $this->assertFalse($strategy->getBackoffPeriod(1, $request)); - $this->assertFalse($strategy->getBackoffPeriod(2, $request)); - - $response = new Response(500); - $strategy->setNext(new HttpBackoffStrategy(null, new ConstantBackoffStrategy(10))); - $this->assertEquals(10, $strategy->getBackoffPeriod(0, $request, $response)); - $this->assertEquals(10, $strategy->getBackoffPeriod(1, $request, $response)); - $this->assertFalse($strategy->getBackoffPeriod(2, $request, $response)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CachePluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CachePluginTest.php deleted file mode 100644 index 4d28c14..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CachePluginTest.php +++ /dev/null @@ -1,483 +0,0 @@ -assertInstanceOf('Guzzle\Plugin\Cache\CacheStorageInterface', $this->readAttribute($plugin, 'storage')); - } - - public function testAddsDefaultCollaborators() - { - $this->assertNotEmpty(CachePlugin::getSubscribedEvents()); - $plugin = new CachePlugin(array( - 'storage' => $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface')->getMockForAbstractClass() - )); - $this->assertInstanceOf('Guzzle\Plugin\Cache\CacheStorageInterface', $this->readAttribute($plugin, 'storage')); - $this->assertInstanceOf( - 'Guzzle\Plugin\Cache\CacheKeyProviderInterface', - $this->readAttribute($plugin, 'keyProvider') - ); - $this->assertInstanceOf( - 'Guzzle\Plugin\Cache\CanCacheStrategyInterface', - $this->readAttribute($plugin, 'canCache') - ); - $this->assertInstanceOf( - 'Guzzle\Plugin\Cache\RevalidationInterface', - $this->readAttribute($plugin, 'revalidation') - ); - } - - public function testAddsCallbackCollaborators() - { - $this->assertNotEmpty(CachePlugin::getSubscribedEvents()); - $plugin = new CachePlugin(array( - 'storage' => $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface')->getMockForAbstractClass(), - 'can_cache' => function () {}, - 'key_provider' => function () {} - )); - $this->assertInstanceOf( - 'Guzzle\Plugin\Cache\CallbackCacheKeyProvider', - $this->readAttribute($plugin, 'keyProvider') - ); - $this->assertInstanceOf( - 'Guzzle\Plugin\Cache\CallbackCanCacheStrategy', - $this->readAttribute($plugin, 'canCache') - ); - } - - public function testCanPassCacheAsOnlyArgumentToConstructor() - { - $p = new CachePlugin(new DoctrineCacheAdapter(new ArrayCache())); - $p = new CachePlugin(new DefaultCacheStorage(new DoctrineCacheAdapter(new ArrayCache()))); - } - - public function testUsesCreatedCacheStorage() - { - $plugin = new CachePlugin(array( - 'adapter' => $this->getMockBuilder('Guzzle\Cache\CacheAdapterInterface')->getMockForAbstractClass() - )); - $this->assertInstanceOf('Guzzle\Plugin\Cache\CacheStorageInterface', $this->readAttribute($plugin, 'storage')); - } - - public function testUsesProvidedOptions() - { - $can = $this->getMockBuilder('Guzzle\Plugin\Cache\CanCacheStrategyInterface')->getMockForAbstractClass(); - $revalidate = $this->getMockBuilder('Guzzle\Plugin\Cache\RevalidationInterface')->getMockForAbstractClass(); - $key = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheKeyProviderInterface')->getMockForAbstractClass(); - $debugHeaders = false; - $plugin = new CachePlugin(array( - 'storage' => $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface')->getMockForAbstractClass(), - 'can_cache' => $can, - 'revalidation' => $revalidate, - 'key_provider' => $key, - 'debug_headers' => $debugHeaders, - )); - $this->assertSame($key, $this->readAttribute($plugin, 'keyProvider')); - $this->assertSame($can, $this->readAttribute($plugin, 'canCache')); - $this->assertSame($revalidate, $this->readAttribute($plugin, 'revalidation')); - $this->assertSame($debugHeaders, $this->readAttribute($plugin, 'debugHeaders')); - } - - public function satisfyProvider() - { - $req1 = new Request('GET', 'http://foo.com', array('Cache-Control' => 'no-cache')); - $req2 = clone $req1; - $req2->getParams()->set('cache.revalidate', 'skip'); - $req3 = clone $req1; - $req3->getParams()->set('cache.revalidate', 'never'); - - return array( - // The response is too old to satisfy the request - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'max-age=20')), new Response(200, array('Age' => 100)), false, false), - // The response cannot satisfy the request because it is stale - array(new Request('GET', 'http://foo.com'), new Response(200, array('Cache-Control' => 'max-age=10', 'Age' => 100)), false, false), - // Allows the expired response to satisfy the request because of the max-stale - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'max-stale=15')), new Response(200, array('Cache-Control' => 'max-age=90', 'Age' => 100)), true, false), - // Max stale is > than the allowed staleness - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'max-stale=5')), new Response(200, array('Cache-Control' => 'max-age=90', 'Age' => 100)), false, false), - // Performs cache revalidation - array($req1, new Response(200), true, true), - // Does not perform revalidation - array($req2, new Response(200), true, false), - // Does not perform revalidation and fails - array($req3, new Response(200), false, false), - ); - } - - /** - * @dataProvider satisfyProvider - */ - public function testChecksIfResponseCanSatisfyRequest($request, $response, $can, $revalidates) - { - $didRevalidate = false; - $revalidate = $this->getMockBuilder('Guzzle\Plugin\Cache\RevalidationInterface') - ->setMethods(array('revalidate')) - ->getMockForAbstractClass(); - - $revalidate->expects($this->any()) - ->method('revalidate') - ->will($this->returnCallback(function () use (&$didRevalidate) { - $didRevalidate = true; - return true; - })); - - $plugin = new CachePlugin(array( - 'storage' => $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface')->getMockForAbstractClass(), - 'revalidation' => $revalidate - )); - - $this->assertEquals($can, $plugin->canResponseSatisfyRequest($request, $response)); - $this->assertEquals($didRevalidate, $revalidates); - } - - public function satisfyFailedProvider() - { - return array( - // Neither has stale-if-error - array(new Request('GET', 'http://foo.com', array()), new Response(200, array('Age' => 100)), false), - // Request has stale-if-error - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'stale-if-error')), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50')), true), - // Request has valid stale-if-error - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'stale-if-error=50')), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50')), true), - // Request has expired stale-if-error - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'stale-if-error=20')), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50')), false), - // Response has permanent stale-if-error - array(new Request('GET', 'http://foo.com', array()), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50, stale-if-error', )), true), - // Response has valid stale-if-error - array(new Request('GET', 'http://foo.com', array()), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50, stale-if-error=50')), true), - // Response has expired stale-if-error - array(new Request('GET', 'http://foo.com', array()), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50, stale-if-error=20')), false), - // Request has valid stale-if-error but response does not - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'stale-if-error=50')), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50, stale-if-error=20')), false), - // Response has valid stale-if-error but request does not - array(new Request('GET', 'http://foo.com', array('Cache-Control' => 'stale-if-error=20')), new Response(200, array('Age' => 100, 'Cache-Control' => 'max-age=50, stale-if-error=50')), false), - ); - } - - /** - * @dataProvider satisfyFailedProvider - */ - public function testChecksIfResponseCanSatisfyFailedRequest($request, $response, $can) - { - $plugin = new CachePlugin(); - - $this->assertEquals($can, $plugin->canResponseSatisfyFailedRequest($request, $response)); - } - - public function testDoesNothingWhenRequestIsNotCacheable() - { - $storage = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface') - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - $storage->expects($this->never())->method('fetch'); - - $plugin = new CachePlugin(array( - 'storage' => $storage, - 'can_cache' => new CallbackCanCacheStrategy(function () { return false; }) - )); - - $plugin->onRequestBeforeSend(new Event(array( - 'request' => new Request('GET', 'http://foo.com') - ))); - } - - public function satisfiableProvider() - { - $date = new \DateTime('-10 seconds'); - - return array( - // Fresh response adding debug headers - array( - true, - array(200, array(), 'foo'), - ), - // Stale response adding debug headers - array( - true, - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5'), 'foo'), - ), - // Fresh response not adding debug headers - array( - false, - array(200, array(), 'foo'), - ), - // Stale response not adding debug headers - array( - false, - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5'), 'foo'), - ), - ); - } - - /** - * @dataProvider satisfiableProvider - */ - public function testInjectsSatisfiableResponses($debugHeaders, $response) - { - $storage = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface') - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - $storage->expects($this->once())->method('fetch')->will($this->returnValue($response)); - $plugin = new CachePlugin(array('storage' => $storage, 'debug_headers' => $debugHeaders)); - $request = new Request('GET', 'http://foo.com', array('Cache-Control' => 'max-stale')); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - $plugin->onRequestSent( - new Event(array( - 'request' => $request, - 'response' => $request->getResponse(), - )) - ); - $this->assertEquals($response[0], $request->getResponse()->getStatusCode()); - $this->assertEquals($response[2], $request->getResponse()->getBody(true)); - $this->assertContains('key=', (string) $request->getResponse()->getHeader('X-Guzzle-Cache')); - $this->assertTrue($request->getResponse()->hasHeader('Age')); - if ($request->getResponse()->isFresh() === false) { - $this->assertContains('110', $request->getResponse()->getHeader('Warning', true)); - } - $this->assertSame(sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION), $request->getHeader('Via', true)); - $this->assertSame(sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION), $request->getResponse()->getHeader('Via', true)); - $this->assertTrue($request->getParams()->get('cache.lookup')); - $this->assertTrue($request->getParams()->get('cache.hit')); - - if (!$debugHeaders) { - $this->assertFalse($request->getResponse()->hasHeader('X-Cache-Lookup')); - $this->assertFalse($request->getResponse()->hasHeader('X-Cache')); - } else { - $this->assertTrue($request->getResponse()->hasHeader('X-Cache-Lookup')); - $this->assertTrue($request->getResponse()->hasHeader('X-Cache')); - $this->assertEquals('HIT from GuzzleCache', $request->getResponse()->getHeader('X-Cache-Lookup', true)); - $this->assertEquals('HIT from GuzzleCache', $request->getResponse()->getHeader('X-Cache', true)); - } - } - - public function satisfiableOnErrorProvider() - { - $date = new \DateTime('-10 seconds'); - - return array( - // Adding debug headers - array( - true, - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5, stale-if-error'), 'foo'), - ), - // Not adding debug headers - array( - false, - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5, stale-if-error'), 'foo'), - ), - ); - } - - /** - * @dataProvider satisfiableOnErrorProvider - */ - public function testInjectsSatisfiableResponsesOnError($debugHeaders, $responseParts) - { - $storage = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface') - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - $storage->expects($this->exactly(2))->method('fetch')->will($this->returnValue($responseParts)); - $plugin = new CachePlugin(array('storage' => $storage, 'debug_headers' => $debugHeaders)); - $request = new Request('GET', 'http://foo.com', array('Cache-Control' => 'max-stale')); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - $plugin->onRequestError( - $event = new Event(array( - 'request' => $request, - 'response' => $request->getResponse(), - )) - ); - $response = $event['response']; - $this->assertEquals($responseParts[0], $response->getStatusCode()); - $this->assertEquals($responseParts[2], $response->getBody(true)); - $this->assertContains('key=', (string) $response->getHeader('X-Guzzle-Cache')); - $this->assertTrue($response->hasHeader('Age')); - if ($response->isFresh() === false) { - $this->assertContains('110', $response->getHeader('Warning', true)); - } - $this->assertSame(sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION), $request->getHeader('Via', true)); - $this->assertSame(sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION), $response->getHeader('Via', true)); - $this->assertTrue($request->getParams()->get('cache.lookup')); - $this->assertSame('error', $request->getParams()->get('cache.hit')); - - if (!$debugHeaders) { - $this->assertFalse($response->hasHeader('X-Cache-Lookup')); - $this->assertFalse($response->hasHeader('X-Cache')); - } else { - $this->assertTrue($response->hasHeader('X-Cache-Lookup')); - $this->assertTrue($response->hasHeader('X-Cache')); - $this->assertEquals('HIT from GuzzleCache', $response->getHeader('X-Cache-Lookup', true)); - $this->assertEquals('HIT_ERROR from GuzzleCache', $response->getHeader('X-Cache', true)); - } - } - - /** - * @dataProvider satisfiableOnErrorProvider - */ - public function testInjectsSatisfiableResponsesOnException($debugHeaders, $responseParts) - { - $storage = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface') - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - $storage->expects($this->exactly(2))->method('fetch')->will($this->returnValue($responseParts)); - $plugin = new CachePlugin(array('storage' => $storage, 'debug_headers' => $debugHeaders)); - $request = new Request('GET', 'http://foo.com', array('Cache-Control' => 'max-stale')); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - $plugin->onRequestException( - new Event(array( - 'request' => $request, - 'response' => $request->getResponse(), - 'exception' => $this->getMock('Guzzle\Http\Exception\CurlException'), - )) - ); - $plugin->onRequestSent( - new Event(array( - 'request' => $request, - 'response' => $response = $request->getResponse(), - )) - ); - $this->assertEquals($responseParts[0], $response->getStatusCode()); - $this->assertEquals($responseParts[2], $response->getBody(true)); - $this->assertContains('key=', (string) $response->getHeader('X-Guzzle-Cache')); - $this->assertTrue($response->hasHeader('Age')); - if ($response->isFresh() === false) { - $this->assertContains('110', $response->getHeader('Warning', true)); - } - $this->assertSame(sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION), $request->getHeader('Via', true)); - $this->assertSame(sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION), $response->getHeader('Via', true)); - $this->assertTrue($request->getParams()->get('cache.lookup')); - $this->assertSame('error', $request->getParams()->get('cache.hit')); - - if (!$debugHeaders) { - $this->assertFalse($response->hasHeader('X-Cache-Lookup')); - $this->assertFalse($response->hasHeader('X-Cache')); - } else { - $this->assertTrue($response->hasHeader('X-Cache-Lookup')); - $this->assertTrue($response->hasHeader('X-Cache')); - $this->assertEquals('HIT from GuzzleCache', $response->getHeader('X-Cache-Lookup', true)); - $this->assertEquals('HIT_ERROR from GuzzleCache', $response->getHeader('X-Cache', true)); - } - } - - public function unsatisfiableOnErrorProvider() - { - $date = new \DateTime('-10 seconds'); - - return array( - // no-store on request - array( - false, - array('Cache-Control' => 'no-store'), - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5, stale-if-error'), 'foo'), - ), - // request expired - array( - true, - array('Cache-Control' => 'stale-if-error=4'), - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5, stale-if-error'), 'foo'), - ), - // response expired - array( - true, - array('Cache-Control' => 'stale-if-error'), - array(200, array('Date' => $date->format('D, d M Y H:i:s T'), 'Cache-Control' => 'max-age=5, stale-if-error=4'), 'foo'), - ), - ); - } - - /** - * @dataProvider unsatisfiableOnErrorProvider - */ - public function testDoesNotInjectUnsatisfiableResponsesOnError($requestCanCache, $requestHeaders, $responseParts) - { - $storage = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface') - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - $storage->expects($this->exactly($requestCanCache ? 2 : 0))->method('fetch')->will($this->returnValue($responseParts)); - $plugin = new CachePlugin(array('storage' => $storage)); - $request = new Request('GET', 'http://foo.com', $requestHeaders); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - $plugin->onRequestError( - $event = new Event(array( - 'request' => $request, - 'response' => $response = $request->getResponse(), - )) - ); - - $this->assertSame($response, $event['response']); - } - - /** - * @dataProvider unsatisfiableOnErrorProvider - */ - public function testDoesNotInjectUnsatisfiableResponsesOnException($requestCanCache, $requestHeaders, $responseParts) - { - $storage = $this->getMockBuilder('Guzzle\Plugin\Cache\CacheStorageInterface') - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - $storage->expects($this->exactly($requestCanCache ? 2 : 0))->method('fetch')->will($this->returnValue($responseParts)); - $plugin = new CachePlugin(array('storage' => $storage)); - $request = new Request('GET', 'http://foo.com', $requestHeaders); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - $plugin->onRequestException( - $event = new Event(array( - 'request' => $request, - 'response' => $response = $request->getResponse(), - 'exception' => $this->getMock('Guzzle\Http\Exception\CurlException'), - )) - ); - - $this->assertSame($response, $request->getResponse()); - } - - public function testCachesResponsesWhenCacheable() - { - $cache = new ArrayCache(); - $adapter = new DoctrineCacheAdapter($cache); - $plugin = new CachePlugin(array('adapter' => $adapter)); - - $request = new Request('GET', 'http://foo.com'); - $response = new Response(200, array(), 'Foo'); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - $plugin->onRequestSent(new Event(array( - 'request' => $request, - 'response' => $response - ))); - - $data = $this->readAttribute($cache, 'data'); - $this->assertNotEmpty($data); - $data = end($data); - $this->assertEquals(200, $data[0]); - $this->assertInternalType('array', $data[1]); - $this->assertEquals('Foo', $data[2]); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCacheKeyProviderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCacheKeyProviderTest.php deleted file mode 100644 index 84462b1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCacheKeyProviderTest.php +++ /dev/null @@ -1,26 +0,0 @@ -assertEquals('foo', $p->getCacheKey(new Request('GET', 'http://www.foo.com'))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCanCacheStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCanCacheStrategyTest.php deleted file mode 100644 index 4566099..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/CallbackCanCacheStrategyTest.php +++ /dev/null @@ -1,74 +0,0 @@ -assertTrue($c->canCacheRequest(new Request('DELETE', 'http://www.foo.com'))); - } - - /** - * The following is a bit of an integration test to ensure that the CachePlugin honors a - * custom can cache strategy. - */ - public function testIntegrationWithCachePlugin() - { - $c = new CallbackCanCacheStrategy( - function ($request) { return true; }, - function ($response) { return true; } - ); - - // Make a request and response that have no business being cached - $request = new Request('DELETE', 'http://www.foo.com'); - $response = Response::fromMessage( - "HTTP/1.1 200 OK\r\n" - . "Expires: Mon, 26 Jul 1997 05:00:00 GMT\r\n" - . "Last-Modified: Wed, 09 Jan 2013 08:48:53 GMT\r\n" - . "Content-Length: 2\r\n" - . "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0\r\n\r\n" - . "hi" - ); - - $this->assertTrue($c->canCacheRequest($request)); - $this->assertTrue($c->canCacheResponse($response)); - - $s = $this->getMockBuilder('Guzzle\Plugin\Cache\DefaultCacheStorage') - ->setConstructorArgs(array(new DoctrineCacheAdapter(new ArrayCache()))) - ->setMethods(array('fetch')) - ->getMockForAbstractClass(); - - $s->expects($this->once()) - ->method('fetch') - ->will($this->returnValue( - array(200, $response->getHeaders(), $response->getBody(true)) - )); - - $plugin = new CachePlugin(array('can_cache' => $c, 'storage' => $s)); - $plugin->onRequestBeforeSend(new Event(array('request' => $request))); - - $this->assertEquals(200, $request->getResponse()->getStatusCode()); - $this->assertEquals('hi', $request->getResponse()->getBody(true)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheKeyProviderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheKeyProviderTest.php deleted file mode 100644 index 06cf499..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheKeyProviderTest.php +++ /dev/null @@ -1,37 +0,0 @@ -assertNotEmpty($provider->getCacheKey($request)); - $this->assertNotEmpty($request->getParams()->get(DefaultCacheKeyProvider::CACHE_KEY)); - $this->assertEquals((string) $request, $request->getParams()->get(DefaultCacheKeyProvider::CACHE_KEY_RAW)); - } - - public function testFiltersCacheKey() - { - $request = new Request('GET', 'http://foo.com?a=b&c=d', array( - 'Abc' => '123', - 'Def' => '456' - )); - $request->getParams()->set(DefaultCacheKeyProvider::CACHE_KEY_FILTER, 'header=Def; query=c'); - $provider = new DefaultCacheKeyProvider(); - $provider->getCacheKey($request); - $this->assertNotEmpty($request->getParams()->get(DefaultCacheKeyProvider::CACHE_KEY)); - $cloned = clone $request; - $cloned->getQuery()->remove('c'); - $cloned->removeHeader('Def'); - $this->assertEquals((string) $cloned, $request->getParams()->get(DefaultCacheKeyProvider::CACHE_KEY_RAW)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php deleted file mode 100644 index 2f058c8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php +++ /dev/null @@ -1,64 +0,0 @@ -save('foo', '123'); - $c = new DoctrineCacheAdapter($a); - $s = new DefaultCacheStorage($c, 100); - $this->assertEquals('123', $s->fetch('foo')); - $s->delete('foo'); - $this->assertNotEquals('123', $s->fetch('foo')); - } - - public function testStoresResponsesWithDefaultTtl() - { - $c = $this->getMockBuilder('Guzzle\Cache\CacheAdapterInterface') - ->setMethods(array('save')) - ->getMockForAbstractClass(); - - $c->expects($this->once()) - ->method('save') - ->with('foo', array(200, array( - 'foo' => array('bar'), - 'X-Guzzle-Cache' => array('key=foo; ttl=100'), - 'Date' => array('test') - ), 'baz'), 100); - - $s = new DefaultCacheStorage($c, 100); - $response = new Response(200, array('foo' => 'bar', 'Date' => 'test'), 'baz'); - $s->cache('foo', $response); - } - - public function testStoresResponsesWithCustomTtl() - { - $c = $this->getMockBuilder('Guzzle\Cache\CacheAdapterInterface') - ->setMethods(array('save')) - ->getMockForAbstractClass(); - - $that = $this; - $c->expects($this->once()) - ->method('save') - ->will($this->returnCallback(function ($a, $b, $c) use ($that) { - $that->assertArrayHasKey('Date', $b[1]); - $that->assertFalse(array_key_exists('Connection', $b[1])); - $that->assertEquals(50, $c); - })); - - $s = new DefaultCacheStorage($c, 100); - $response = new Response(200, array('foo' => 'bar', 'Connection' => 'close'), 'baz'); - $s->cache('foo', $response, 50); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCanCacheStrategyTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCanCacheStrategyTest.php deleted file mode 100644 index fa1a1fc..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCanCacheStrategyTest.php +++ /dev/null @@ -1,28 +0,0 @@ -getMockBuilder('Guzzle\Http\Message\Request') - ->disableOriginalConstructor() - ->setMethods(array('canCache')) - ->getMock(); - - $response->expects($this->once()) - ->method('canCache') - ->will($this->returnValue(true)); - - $this->assertTrue($strategy->canCacheRequest($response)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php deleted file mode 100644 index 0b62062..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php +++ /dev/null @@ -1,190 +0,0 @@ -getHttpDate('-100 hours') . "\r\nContent-Length: 4\r\n\r\nData", - "HTTP/1.1 304 NOT MODIFIED\r\nCache-Control: max-age=2000000\r\nContent-Length: 0\r\n\r\n", - ), - // Forces revalidation that overwrites what is in cache - array( - false, - "\r\n\r\n", - "HTTP/1.1 200 OK\r\nCache-Control: must-revalidate, no-cache\r\nDate: " . $this->getHttpDate('-10 hours') . "\r\nContent-Length: 4\r\n\r\nData", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\nDatas", - "HTTP/1.1 200 OK\r\nContent-Length: 5\r\nDate: " . $this->getHttpDate('now') . "\r\n\r\nDatas" - ), - // Must get a fresh copy because the request is declining revalidation - array( - false, - "\r\n\r\n", - "HTTP/1.1 200 OK\r\nCache-Control: no-cache\r\nDate: " . $this->getHttpDate('-3 hours') . "\r\nContent-Length: 4\r\n\r\nData", - null, - null, - 'never' - ), - // Skips revalidation because the request is accepting the cached copy - array( - true, - "\r\n\r\n", - "HTTP/1.1 200 OK\r\nCache-Control: no-cache\r\nDate: " . $this->getHttpDate('-3 hours') . "\r\nContent-Length: 4\r\n\r\nData", - null, - null, - 'skip' - ), - // Throws an exception during revalidation - array( - false, - "\r\n\r\n", - "HTTP/1.1 200 OK\r\nCache-Control: no-cache\r\nDate: " . $this->getHttpDate('-3 hours') . "\r\n\r\nData", - "HTTP/1.1 500 INTERNAL SERVER ERROR\r\nContent-Length: 0\r\n\r\n" - ), - // ETag mismatch - array( - false, - "\r\n\r\n", - "HTTP/1.1 200 OK\r\nCache-Control: no-cache\r\nETag: \"123\"\r\nDate: " . $this->getHttpDate('-10 hours') . "\r\n\r\nData", - "HTTP/1.1 304 NOT MODIFIED\r\nETag: \"123456\"\r\n\r\n", - ), - ); - } - - /** - * @dataProvider cacheRevalidationDataProvider - */ - public function testRevalidatesResponsesAgainstOriginServer($can, $request, $response, $validate = null, $result = null, $param = null) - { - // Send some responses to the test server for cache validation - $server = $this->getServer(); - $server->flush(); - - if ($validate) { - $server->enqueue($validate); - } - - $request = RequestFactory::getInstance()->fromMessage("GET / HTTP/1.1\r\nHost: 127.0.0.1:" . $server->getPort() . "\r\n" . $request); - $response = Response::fromMessage($response); - $request->setClient(new Client()); - - if ($param) { - $request->getParams()->set('cache.revalidate', $param); - } - - $plugin = new CachePlugin(new DoctrineCacheAdapter(new ArrayCache())); - $this->assertEquals($can, $plugin->canResponseSatisfyRequest($request, $response), '-> ' . $request . "\n" . $response); - - if ($result) { - $result = Response::fromMessage($result); - // Get rid of the X-Guzzle-Cache header - $this->assertTrue($request->getResponse()->hasHeader('X-Guzzle-Cache')); - $result->removeHeader('X-Guzzle-Cache'); - $request->getResponse()->removeHeader('X-Guzzle-Cache'); - // Get rid of dates - $this->assertTrue($result->hasHeader('Date')); - $this->assertTrue($request->getResponse()->hasHeader('Date')); - $result->removeHeader('Date'); - $request->getResponse()->removeHeader('Date'); - // Get rid of dates - $this->assertEquals((string) $result, (string) $request->getResponse()); - } - - if ($validate) { - $this->assertEquals(1, count($server->getReceivedRequests())); - } - } - - public function testHandles404RevalidationResponses() - { - $request = new Request('GET', 'http://foo.com'); - $request->setClient(new Client()); - $badResponse = new Response(404, array(), 'Oh no!'); - $badRequest = clone $request; - $badRequest->setResponse($badResponse, true); - $response = new Response(200, array(), 'foo'); - $plugin = new CachePlugin(); - - $c = new ArrayCache(); - $c->save('foo', array(200, array(), 'foo')); - $s = new DefaultCacheStorage(new DoctrineCacheAdapter($c)); - $k = new CallbackCacheKeyProvider(function () { return 'foo'; }); - - $rev = $this->getMockBuilder('Guzzle\Plugin\Cache\DefaultRevalidation') - ->setConstructorArgs(array($k, $s, $plugin)) - ->setMethods(array('createRevalidationRequest')) - ->getMock(); - - $rev->expects($this->once()) - ->method('createRevalidationRequest') - ->will($this->returnValue($badRequest)); - - try { - $rev->revalidate($request, $response); - $this->fail('Should have thrown an exception'); - } catch (BadResponseException $e) { - $this->assertSame($badResponse, $e->getResponse()); - $this->assertFalse($c->fetch('foo')); - } - } - - public function testCanRevalidateWithPlugin() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\n" . - "Date: Mon, 12 Nov 2012 03:06:37 GMT\r\n" . - "Cache-Control: private, s-maxage=0, max-age=0, must-revalidate\r\n" . - "Last-Modified: Mon, 12 Nov 2012 02:53:38 GMT\r\n" . - "Content-Length: 2\r\n\r\nhi", - "HTTP/1.0 304 Not Modified\r\n" . - "Date: Mon, 12 Nov 2012 03:06:38 GMT\r\n" . - "Content-Type: text/html; charset=UTF-8\r\n" . - "Last-Modified: Mon, 12 Nov 2012 02:53:38 GMT\r\n" . - "Age: 6302\r\n\r\n", - "HTTP/1.0 304 Not Modified\r\n" . - "Date: Mon, 12 Nov 2012 03:06:38 GMT\r\n" . - "Content-Type: text/html; charset=UTF-8\r\n" . - "Last-Modified: Mon, 12 Nov 2012 02:53:38 GMT\r\n" . - "Age: 6302\r\n\r\n", - )); - $client = new Client($this->getServer()->getUrl()); - $client->addSubscriber(new CachePlugin()); - $this->assertEquals(200, $client->get()->send()->getStatusCode()); - $this->assertEquals(200, $client->get()->send()->getStatusCode()); - $this->assertEquals(200, $client->get()->send()->getStatusCode()); - $this->assertEquals(3, count($this->getServer()->getReceivedRequests())); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DenyRevalidationTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DenyRevalidationTest.php deleted file mode 100644 index 9af80f2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DenyRevalidationTest.php +++ /dev/null @@ -1,19 +0,0 @@ -assertFalse($deny->revalidate(new Request('GET', 'http://foo.com'), new Response(200))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/SkipRevalidationTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/SkipRevalidationTest.php deleted file mode 100644 index 4bcc04b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/SkipRevalidationTest.php +++ /dev/null @@ -1,19 +0,0 @@ -assertTrue($skip->revalidate(new Request('GET', 'http://foo.com'), new Response(200))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/ArrayCookieJarTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/ArrayCookieJarTest.php deleted file mode 100644 index 85b9e22..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/ArrayCookieJarTest.php +++ /dev/null @@ -1,353 +0,0 @@ -jar = new ArrayCookieJar(); - } - - protected function getTestCookies() - { - return array( - new Cookie(array('name' => 'foo', 'value' => 'bar', 'domain' => 'foo.com', 'path' => '/', 'discard' => true)), - new Cookie(array('name' => 'test', 'value' => '123', 'domain' => 'baz.com', 'path' => '/foo', 'expires' => 2)), - new Cookie(array('name' => 'you', 'value' => '123', 'domain' => 'bar.com', 'path' => '/boo', 'expires' => time() + 1000)) - ); - } - - /** - * Provides test data for cookie cookieJar retrieval - */ - public function getCookiesDataProvider() - { - return array( - array(array('foo', 'baz', 'test', 'muppet', 'googoo'), '', '', '', false), - array(array('foo', 'baz', 'muppet', 'googoo'), '', '', '', true), - array(array('googoo'), 'www.example.com', '', '', false), - array(array('muppet', 'googoo'), 'test.y.example.com', '', '', false), - array(array('foo', 'baz'), 'example.com', '', '', false), - array(array('muppet'), 'x.y.example.com', '/acme/', '', false), - array(array('muppet'), 'x.y.example.com', '/acme/test/', '', false), - array(array('googoo'), 'x.y.example.com', '/test/acme/test/', '', false), - array(array('foo', 'baz'), 'example.com', '', '', false), - array(array('baz'), 'example.com', '', 'baz', false), - ); - } - - public function testStoresAndRetrievesCookies() - { - $cookies = $this->getTestCookies(); - foreach ($cookies as $cookie) { - $this->assertTrue($this->jar->add($cookie)); - } - - $this->assertEquals(3, count($this->jar)); - $this->assertEquals(3, count($this->jar->getIterator())); - $this->assertEquals($cookies, $this->jar->all(null, null, null, false, false)); - } - - public function testRemovesExpiredCookies() - { - $cookies = $this->getTestCookies(); - foreach ($this->getTestCookies() as $cookie) { - $this->jar->add($cookie); - } - $this->jar->removeExpired(); - $this->assertEquals(array($cookies[0], $cookies[2]), $this->jar->all()); - } - - public function testRemovesTemporaryCookies() - { - $cookies = $this->getTestCookies(); - foreach ($this->getTestCookies() as $cookie) { - $this->jar->add($cookie); - } - $this->jar->removeTemporary(); - $this->assertEquals(array($cookies[2]), $this->jar->all()); - } - - public function testIsSerializable() - { - $this->assertEquals('[]', $this->jar->serialize()); - $this->jar->unserialize('[]'); - $this->assertEquals(array(), $this->jar->all()); - - $cookies = $this->getTestCookies(); - foreach ($this->getTestCookies() as $cookie) { - $this->jar->add($cookie); - } - - // Remove discard and expired cookies - $serialized = $this->jar->serialize(); - $data = json_decode($serialized, true); - $this->assertEquals(1, count($data)); - - $a = new ArrayCookieJar(); - $a->unserialize($serialized); - $this->assertEquals(1, count($a)); - } - - public function testRemovesSelectively() - { - $cookies = $this->getTestCookies(); - foreach ($this->getTestCookies() as $cookie) { - $this->jar->add($cookie); - } - - // Remove foo.com cookies - $this->jar->remove('foo.com'); - $this->assertEquals(2, count($this->jar)); - // Try again, removing no further cookies - $this->jar->remove('foo.com'); - $this->assertEquals(2, count($this->jar)); - - // Remove bar.com cookies with path of /boo - $this->jar->remove('bar.com', '/boo'); - $this->assertEquals(1, count($this->jar)); - - // Remove cookie by name - $this->jar->remove(null, null, 'test'); - $this->assertEquals(0, count($this->jar)); - } - - public function testDoesNotAddIncompleteCookies() - { - $this->assertEquals(false, $this->jar->add(new Cookie())); - $this->assertFalse($this->jar->add(new Cookie(array( - 'name' => 'foo' - )))); - $this->assertFalse($this->jar->add(new Cookie(array( - 'name' => false - )))); - $this->assertFalse($this->jar->add(new Cookie(array( - 'name' => true - )))); - $this->assertFalse($this->jar->add(new Cookie(array( - 'name' => 'foo', - 'domain' => 'foo.com' - )))); - } - - public function testDoesAddValidCookies() - { - $this->assertTrue($this->jar->add(new Cookie(array( - 'name' => 'foo', - 'domain' => 'foo.com', - 'value' => 0 - )))); - $this->assertTrue($this->jar->add(new Cookie(array( - 'name' => 'foo', - 'domain' => 'foo.com', - 'value' => 0.0 - )))); - $this->assertTrue($this->jar->add(new Cookie(array( - 'name' => 'foo', - 'domain' => 'foo.com', - 'value' => '0' - )))); - } - - public function testOverwritesCookiesThatAreOlderOrDiscardable() - { - $t = time() + 1000; - $data = array( - 'name' => 'foo', - 'value' => 'bar', - 'domain' => '.example.com', - 'path' => '/', - 'max_age' => '86400', - 'port' => array(80, 8080), - 'version' => '1', - 'secure' => true, - 'discard' => true, - 'expires' => $t - ); - - // Make sure that the discard cookie is overridden with the non-discard - $this->assertTrue($this->jar->add(new Cookie($data))); - - unset($data['discard']); - $this->assertTrue($this->jar->add(new Cookie($data))); - $this->assertEquals(1, count($this->jar)); - - $c = $this->jar->all(); - $this->assertEquals(false, $c[0]->getDiscard()); - - // Make sure it doesn't duplicate the cookie - $this->jar->add(new Cookie($data)); - $this->assertEquals(1, count($this->jar)); - - // Make sure the more future-ful expiration date supersede the other - $data['expires'] = time() + 2000; - $this->assertTrue($this->jar->add(new Cookie($data))); - $this->assertEquals(1, count($this->jar)); - $c = $this->jar->all(); - $this->assertNotEquals($t, $c[0]->getExpires()); - } - - public function testOverwritesCookiesThatHaveChanged() - { - $t = time() + 1000; - $data = array( - 'name' => 'foo', - 'value' => 'bar', - 'domain' => '.example.com', - 'path' => '/', - 'max_age' => '86400', - 'port' => array(80, 8080), - 'version' => '1', - 'secure' => true, - 'discard' => true, - 'expires' => $t - ); - - // Make sure that the discard cookie is overridden with the non-discard - $this->assertTrue($this->jar->add(new Cookie($data))); - - $data['value'] = 'boo'; - $this->assertTrue($this->jar->add(new Cookie($data))); - $this->assertEquals(1, count($this->jar)); - - // Changing the value plus a parameter also must overwrite the existing one - $data['value'] = 'zoo'; - $data['secure'] = false; - $this->assertTrue($this->jar->add(new Cookie($data))); - $this->assertEquals(1, count($this->jar)); - - $c = $this->jar->all(); - $this->assertEquals('zoo', $c[0]->getValue()); - } - - public function testAddsCookiesFromResponseWithNoRequest() - { - $response = new Response(200, array( - 'Set-Cookie' => array( - "fpc=d=.Hm.yh4.1XmJWjJfs4orLQzKzPImxklQoxXSHOZATHUSEFciRueW_7704iYUtsXNEXq0M92Px2glMdWypmJ7HIQl6XIUvrZimWjQ3vIdeuRbI.FNQMAfcxu_XN1zSx7l.AcPdKL6guHc2V7hIQFhnjRW0rxm2oHY1P4bGQxFNz7f.tHm12ZD3DbdMDiDy7TBXsuP4DM-&v=2; expires=Fri, 02-Mar-2019 02:17:40 GMT; path=/; domain=127.0.0.1", - "FPCK3=AgBNbvoQAGpGEABZLRAAbFsQAF1tEABkDhAAeO0=; expires=Sat, 02-Apr-2019 02:17:40 GMT; path=/; domain=127.0.0.1", - "CH=deleted; expires=Wed, 03-Mar-2010 02:17:39 GMT; path=/; domain=127.0.0.1", - "CH=AgBNbvoQAAEcEAApuhAAMJcQADQvEAAvGxAALe0QAD6uEAATwhAAC1AQAC8t; expires=Sat, 02-Apr-2019 02:17:40 GMT; path=/; domain=127.0.0.1" - ) - )); - - $this->jar->addCookiesFromResponse($response); - $this->assertEquals(3, count($this->jar)); - $this->assertEquals(1, count($this->jar->all(null, null, 'fpc'))); - $this->assertEquals(1, count($this->jar->all(null, null, 'FPCK3'))); - $this->assertEquals(1, count($this->jar->all(null, null, 'CH'))); - } - - public function testAddsCookiesFromResponseWithRequest() - { - $response = new Response(200, array( - 'Set-Cookie' => "fpc=d=.Hm.yh4.1XmJWjJfs4orLQzKzPImxklQoxXSHOZATHUSEFciRueW_7704iYUtsXNEXq0M92Px2glMdWypmJ7HIQl6XIUvrZimWjQ3vIdeuRbI.FNQMAfcxu_XN1zSx7l.AcPdKL6guHc2V7hIQFhnjRW0rxm2oHY1P4bGQxFNz7f.tHm12ZD3DbdMDiDy7TBXsuP4DM-&v=2; expires=Fri, 02-Mar-2019 02:17:40 GMT;" - )); - $response->setRequest(new Request('GET', 'http://www.example.com')); - $this->jar->addCookiesFromResponse($response); - $this->assertEquals(1, count($this->jar)); - } - - public function getMatchingCookiesDataProvider() - { - return array( - array('https://example.com', array(0)), - array('http://example.com', array()), - array('https://example.com:8912', array()), - array('https://foo.example.com', array()), - array('http://foo.example.com/test/acme/', array(4)) - ); - } - - /** - * @dataProvider getMatchingCookiesDataProvider - */ - public function testReturnsCookiesMatchingRequests($url, $cookies) - { - $bag = array( - new Cookie(array( - 'name' => 'foo', - 'value' => 'bar', - 'domain' => 'example.com', - 'path' => '/', - 'max_age' => '86400', - 'port' => array(443, 8080), - 'version' => '1', - 'secure' => true - )), - new Cookie(array( - 'name' => 'baz', - 'value' => 'foobar', - 'domain' => 'example.com', - 'path' => '/', - 'max_age' => '86400', - 'port' => array(80, 8080), - 'version' => '1', - 'secure' => true - )), - new Cookie(array( - 'name' => 'test', - 'value' => '123', - 'domain' => 'www.foobar.com', - 'path' => '/path/', - 'discard' => true - )), - new Cookie(array( - 'name' => 'muppet', - 'value' => 'cookie_monster', - 'domain' => '.y.example.com', - 'path' => '/acme/', - 'comment' => 'Comment goes here...', - 'expires' => time() + 86400 - )), - new Cookie(array( - 'name' => 'googoo', - 'value' => 'gaga', - 'domain' => '.example.com', - 'path' => '/test/acme/', - 'max_age' => 1500, - 'version' => 2 - )) - ); - - foreach ($bag as $cookie) { - $this->jar->add($cookie); - } - - $request = new Request('GET', $url); - $results = $this->jar->getMatchingCookies($request); - $this->assertEquals(count($results), count($cookies)); - foreach ($cookies as $i) { - $this->assertContains($bag[$i], $results); - } - } - - /** - * @expectedException \Guzzle\Plugin\Cookie\Exception\InvalidCookieException - * @expectedExceptionMessage The cookie name must not contain invalid characters: abc:@123 - */ - public function testThrowsExceptionWithStrictMode() - { - $a = new ArrayCookieJar(); - $a->setStrictMode(true); - $a->add(new Cookie(array( - 'name' => 'abc:@123', - 'value' => 'foo', - 'domain' => 'bar' - ))); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/FileCookieJarTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/FileCookieJarTest.php deleted file mode 100644 index ac9471f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieJar/FileCookieJarTest.php +++ /dev/null @@ -1,63 +0,0 @@ -file = tempnam('/tmp', 'file-cookies'); - } - - public function testLoadsFromFileFile() - { - $jar = new FileCookieJar($this->file); - $this->assertEquals(array(), $jar->all()); - unlink($this->file); - } - - public function testPersistsToFileFile() - { - $jar = new FileCookieJar($this->file); - $jar->add(new Cookie(array( - 'name' => 'foo', - 'value' => 'bar', - 'domain' => 'foo.com', - 'expires' => time() + 1000 - ))); - $jar->add(new Cookie(array( - 'name' => 'baz', - 'value' => 'bar', - 'domain' => 'foo.com', - 'expires' => time() + 1000 - ))); - $jar->add(new Cookie(array( - 'name' => 'boo', - 'value' => 'bar', - 'domain' => 'foo.com', - ))); - - $this->assertEquals(3, count($jar)); - unset($jar); - - // Make sure it wrote to the file - $contents = file_get_contents($this->file); - $this->assertNotEmpty($contents); - - // Load the cookieJar from the file - $jar = new FileCookieJar($this->file); - - // Weeds out temporary and session cookies - $this->assertEquals(2, count($jar)); - unset($jar); - unlink($this->file); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookiePluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookiePluginTest.php deleted file mode 100644 index 21c8b5f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookiePluginTest.php +++ /dev/null @@ -1,128 +0,0 @@ -getMockBuilder('Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar') - ->setMethods(array('addCookiesFromResponse')) - ->getMock(); - - $mock->expects($this->exactly(1)) - ->method('addCookiesFromResponse') - ->with($response); - - $plugin = new CookiePlugin($mock); - $plugin->onRequestSent(new Event(array( - 'response' => $response - ))); - } - - public function testAddsCookiesToRequests() - { - $cookie = new Cookie(array( - 'name' => 'foo', - 'value' => 'bar' - )); - - $mock = $this->getMockBuilder('Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar') - ->setMethods(array('getMatchingCookies')) - ->getMock(); - - $mock->expects($this->once()) - ->method('getMatchingCookies') - ->will($this->returnValue(array($cookie))); - - $plugin = new CookiePlugin($mock); - - $client = new Client(); - $client->getEventDispatcher()->addSubscriber($plugin); - - $request = $client->get('http://www.example.com'); - $plugin->onRequestBeforeSend(new Event(array( - 'request' => $request - ))); - - $this->assertEquals('bar', $request->getCookie('foo')); - } - - public function testCookiesAreExtractedFromRedirectResponses() - { - $plugin = new CookiePlugin(new ArrayCookieJar()); - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 302 Moved Temporarily\r\n" . - "Set-Cookie: test=583551; expires=Wednesday, 23-Mar-2050 19:49:45 GMT; path=/\r\n" . - "Location: /redirect\r\n\r\n", - "HTTP/1.1 200 OK\r\n" . - "Content-Length: 0\r\n\r\n", - "HTTP/1.1 200 OK\r\n" . - "Content-Length: 0\r\n\r\n" - )); - - $client = new Client($this->getServer()->getUrl()); - $client->getEventDispatcher()->addSubscriber($plugin); - - $client->get()->send(); - $request = $client->get(); - $request->send(); - $this->assertEquals('test=583551', $request->getHeader('Cookie')); - - $requests = $this->getServer()->getReceivedRequests(true); - // Confirm subsequent requests have the cookie. - $this->assertEquals('test=583551', $requests[2]->getHeader('Cookie')); - // Confirm the redirected request has the cookie. - $this->assertEquals('test=583551', $requests[1]->getHeader('Cookie')); - } - - public function testCookiesAreNotAddedWhenParamIsSet() - { - $jar = new ArrayCookieJar(); - $plugin = new CookiePlugin($jar); - - $jar->add(new Cookie(array( - 'domain' => 'example.com', - 'path' => '/', - 'name' => 'test', - 'value' => 'hi', - 'expires' => time() + 3600 - ))); - - $client = new Client('http://example.com'); - $client->getEventDispatcher()->addSubscriber($plugin); - - // Ensure that it is normally added - $request = $client->get(); - $request->setResponse(new Response(200), true); - $request->send(); - $this->assertEquals('hi', $request->getCookie('test')); - - // Now ensure that it is not added - $request = $client->get(); - $request->getParams()->set('cookies.disable', true); - $request->setResponse(new Response(200), true); - $request->send(); - $this->assertNull($request->getCookie('test')); - } - - public function testProvidesCookieJar() - { - $jar = new ArrayCookieJar(); - $plugin = new CookiePlugin($jar); - $this->assertSame($jar, $plugin->getCookieJar()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieTest.php deleted file mode 100644 index 898f159..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cookie/CookieTest.php +++ /dev/null @@ -1,205 +0,0 @@ -assertEquals('/', $cookie->getPath()); - $this->assertEquals(array(), $cookie->getPorts()); - } - - public function testConvertsDateTimeMaxAgeToUnixTimestamp() - { - $cookie = new Cookie(array( - 'expires' => 'November 20, 1984' - )); - $this->assertTrue(is_numeric($cookie->getExpires())); - } - - public function testAddsExpiresBasedOnMaxAge() - { - $t = time(); - $cookie = new Cookie(array( - 'max_age' => 100 - )); - $this->assertEquals($t + 100, $cookie->getExpires()); - } - - public function testHoldsValues() - { - $t = time(); - $data = array( - 'name' => 'foo', - 'value' => 'baz', - 'path' => '/bar', - 'domain' => 'baz.com', - 'expires' => $t, - 'max_age' => 100, - 'comment' => 'Hi', - 'comment_url' => 'foo.com', - 'port' => array(1, 2), - 'version' => 2, - 'secure' => true, - 'discard' => true, - 'http_only' => true, - 'data' => array( - 'foo' => 'baz', - 'bar' => 'bam' - ) - ); - - $cookie = new Cookie($data); - $this->assertEquals($data, $cookie->toArray()); - - $this->assertEquals('foo', $cookie->getName()); - $this->assertEquals('baz', $cookie->getValue()); - $this->assertEquals('baz.com', $cookie->getDomain()); - $this->assertEquals('/bar', $cookie->getPath()); - $this->assertEquals($t, $cookie->getExpires()); - $this->assertEquals(100, $cookie->getMaxAge()); - $this->assertEquals('Hi', $cookie->getComment()); - $this->assertEquals('foo.com', $cookie->getCommentUrl()); - $this->assertEquals(array(1, 2), $cookie->getPorts()); - $this->assertEquals(2, $cookie->getVersion()); - $this->assertTrue($cookie->getSecure()); - $this->assertTrue($cookie->getDiscard()); - $this->assertTrue($cookie->getHttpOnly()); - $this->assertEquals('baz', $cookie->getAttribute('foo')); - $this->assertEquals('bam', $cookie->getAttribute('bar')); - $this->assertEquals(array( - 'foo' => 'baz', - 'bar' => 'bam' - ), $cookie->getAttributes()); - - $cookie->setName('a') - ->setValue('b') - ->setPath('c') - ->setDomain('bar.com') - ->setExpires(10) - ->setMaxAge(200) - ->setComment('e') - ->setCommentUrl('f') - ->setPorts(array(80)) - ->setVersion(3) - ->setSecure(false) - ->setHttpOnly(false) - ->setDiscard(false) - ->setAttribute('snoop', 'dog'); - - $this->assertEquals('a', $cookie->getName()); - $this->assertEquals('b', $cookie->getValue()); - $this->assertEquals('c', $cookie->getPath()); - $this->assertEquals('bar.com', $cookie->getDomain()); - $this->assertEquals(10, $cookie->getExpires()); - $this->assertEquals(200, $cookie->getMaxAge()); - $this->assertEquals('e', $cookie->getComment()); - $this->assertEquals('f', $cookie->getCommentUrl()); - $this->assertEquals(array(80), $cookie->getPorts()); - $this->assertEquals(3, $cookie->getVersion()); - $this->assertFalse($cookie->getSecure()); - $this->assertFalse($cookie->getDiscard()); - $this->assertFalse($cookie->getHttpOnly()); - $this->assertEquals('dog', $cookie->getAttribute('snoop')); - } - - public function testDeterminesIfExpired() - { - $c = new Cookie(); - $c->setExpires(10); - $this->assertTrue($c->isExpired()); - $c->setExpires(time() + 10000); - $this->assertFalse($c->isExpired()); - } - - public function testMatchesPorts() - { - $cookie = new Cookie(); - // Always matches when nothing is set - $this->assertTrue($cookie->matchesPort(2)); - - $cookie->setPorts(array(1, 2)); - $this->assertTrue($cookie->matchesPort(2)); - $this->assertFalse($cookie->matchesPort(100)); - } - - public function testMatchesDomain() - { - $cookie = new Cookie(); - $this->assertTrue($cookie->matchesDomain('baz.com')); - - $cookie->setDomain('baz.com'); - $this->assertTrue($cookie->matchesDomain('baz.com')); - $this->assertFalse($cookie->matchesDomain('bar.com')); - - $cookie->setDomain('.baz.com'); - $this->assertTrue($cookie->matchesDomain('.baz.com')); - $this->assertTrue($cookie->matchesDomain('foo.baz.com')); - $this->assertFalse($cookie->matchesDomain('baz.bar.com')); - $this->assertTrue($cookie->matchesDomain('baz.com')); - - $cookie->setDomain('.com'); - $this->assertFalse($cookie->matchesDomain('baz.com')); - - $cookie->setDomain('.com.'); - $this->assertFalse($cookie->matchesDomain('baz.com')); - - $cookie->setDomain('.local'); - $this->assertTrue($cookie->matchesDomain('example.local')); - } - - public function testMatchesPath() - { - $cookie = new Cookie(); - $this->assertTrue($cookie->matchesPath('/foo')); - - $cookie->setPath('/foo'); - $this->assertTrue($cookie->matchesPath('/foo')); - $this->assertTrue($cookie->matchesPath('/foo/bar')); - $this->assertFalse($cookie->matchesPath('/bar')); - } - - public function cookieValidateProvider() - { - return array( - array('foo', 'baz', 'bar', true), - array('0', '0', '0', true), - array('', 'baz', 'bar', 'The cookie name must not be empty'), - array('foo', '', 'bar', 'The cookie value must not be empty'), - array('foo', 'baz', '', 'The cookie domain must not be empty'), - array('foo\\', 'baz', '0', 'The cookie name must not contain invalid characters: foo\\'), - ); - } - - /** - * @dataProvider cookieValidateProvider - */ - public function testValidatesCookies($name, $value, $domain, $result) - { - $cookie = new Cookie(array( - 'name' => $name, - 'value' => $value, - 'domain' => $domain - )); - $this->assertSame($result, $cookie->validate()); - } - - public function testCreatesInvalidCharacterString() - { - $m = new \ReflectionMethod('Guzzle\Plugin\Cookie\Cookie', 'getInvalidCharacters'); - $m->setAccessible(true); - $p = new \ReflectionProperty('Guzzle\Plugin\Cookie\Cookie', 'invalidCharString'); - $p->setAccessible(true); - $p->setValue(''); - // Expects a string containing 51 invalid characters - $this->assertEquals(51, strlen($m->invoke($m))); - $this->assertContains('@', $m->invoke($m)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/CurlAuth/CurlAuthPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/CurlAuth/CurlAuthPluginTest.php deleted file mode 100644 index 72ed7c6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/CurlAuth/CurlAuthPluginTest.php +++ /dev/null @@ -1,34 +0,0 @@ -getEventDispatcher()->addSubscriber($plugin); - $request = $client->get('/'); - $this->assertEquals('michael', $request->getUsername()); - $this->assertEquals('test', $request->getPassword()); - } - - public function testAddsDigestAuthentication() - { - $plugin = new CurlAuthPlugin('julian', 'test', CURLAUTH_DIGEST); - $client = new Client('http://www.test.com/'); - $client->getEventDispatcher()->addSubscriber($plugin); - $request = $client->get('/'); - $this->assertEquals('julian', $request->getUsername()); - $this->assertEquals('test', $request->getPassword()); - $this->assertEquals('julian:test', $request->getCurlOptions()->get(CURLOPT_USERPWD)); - $this->assertEquals(CURLAUTH_DIGEST, $request->getCurlOptions()->get(CURLOPT_HTTPAUTH)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/ErrorResponse/ErrorResponsePluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/ErrorResponse/ErrorResponsePluginTest.php deleted file mode 100644 index 63036f2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/ErrorResponse/ErrorResponsePluginTest.php +++ /dev/null @@ -1,138 +0,0 @@ -flush(); - } - - public function setUp() - { - $mockError = 'Guzzle\Tests\Mock\ErrorResponseMock'; - $description = ServiceDescription::factory(array( - 'operations' => array( - 'works' => array( - 'httpMethod' => 'GET', - 'errorResponses' => array( - array('code' => 500, 'class' => $mockError), - array('code' => 503, 'reason' => 'foo', 'class' => $mockError), - array('code' => 200, 'reason' => 'Error!', 'class' => $mockError) - ) - ), - 'bad_class' => array( - 'httpMethod' => 'GET', - 'errorResponses' => array( - array('code' => 500, 'class' => 'Does\\Not\\Exist') - ) - ), - 'does_not_implement' => array( - 'httpMethod' => 'GET', - 'errorResponses' => array( - array('code' => 500, 'class' => __CLASS__) - ) - ), - 'no_errors' => array('httpMethod' => 'GET'), - 'no_class' => array( - 'httpMethod' => 'GET', - 'errorResponses' => array( - array('code' => 500) - ) - ), - ) - )); - $this->client = new Client($this->getServer()->getUrl()); - $this->client->setDescription($description); - } - - /** - * @expectedException \Guzzle\Http\Exception\ServerErrorResponseException - */ - public function testSkipsWhenErrorResponsesIsNotSet() - { - $this->getServer()->enqueue("HTTP/1.1 500 Foo\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('no_errors')->execute(); - } - - public function testSkipsWhenErrorResponsesIsNotSetAndAllowsSuccess() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('no_errors')->execute(); - } - - /** - * @expectedException \Guzzle\Plugin\ErrorResponse\Exception\ErrorResponseException - * @expectedExceptionMessage Does\Not\Exist does not exist - */ - public function testEnsuresErrorResponseExists() - { - $this->getServer()->enqueue("HTTP/1.1 500 Foo\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('bad_class')->execute(); - } - - /** - * @expectedException \Guzzle\Plugin\ErrorResponse\Exception\ErrorResponseException - * @expectedExceptionMessage must implement Guzzle\Plugin\ErrorResponse\ErrorResponseExceptionInterface - */ - public function testEnsuresErrorResponseImplementsInterface() - { - $this->getServer()->enqueue("HTTP/1.1 500 Foo\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('does_not_implement')->execute(); - } - - public function testThrowsSpecificErrorResponseOnMatch() - { - try { - $this->getServer()->enqueue("HTTP/1.1 500 Foo\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $command = $this->client->getCommand('works'); - $command->execute(); - $this->fail('Exception not thrown'); - } catch (ErrorResponseMock $e) { - $this->assertSame($command, $e->command); - $this->assertEquals(500, $e->response->getStatusCode()); - } - } - - /** - * @expectedException \Guzzle\Tests\Mock\ErrorResponseMock - */ - public function testThrowsWhenCodeAndPhraseMatch() - { - $this->getServer()->enqueue("HTTP/1.1 200 Error!\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('works')->execute(); - } - - public function testSkipsWhenReasonDoesNotMatch() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('works')->execute(); - } - - public function testSkipsWhenNoClassIsSet() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $this->client->addSubscriber(new ErrorResponsePlugin()); - $this->client->getCommand('no_class')->execute(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/History/HistoryPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/History/HistoryPluginTest.php deleted file mode 100644 index 6e6c6d9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/History/HistoryPluginTest.php +++ /dev/null @@ -1,123 +0,0 @@ -get(); - $requests[$i]->setResponse(new Response(200), true); - $requests[$i]->send(); - $h->add($requests[$i]); - } - - return $requests; - } - - public function testDescribesSubscribedEvents() - { - $this->assertInternalType('array', HistoryPlugin::getSubscribedEvents()); - } - - public function testMaintainsLimitValue() - { - $h = new HistoryPlugin(); - $this->assertSame($h, $h->setLimit(10)); - $this->assertEquals(10, $h->getLimit()); - } - - public function testAddsRequests() - { - $h = new HistoryPlugin(); - $requests = $this->addRequests($h, 1); - $this->assertEquals(1, count($h)); - $i = $h->getIterator(); - $this->assertEquals(1, count($i)); - $this->assertEquals($requests[0], $i[0]); - } - - public function testIgnoresUnsentRequests() - { - $h = new HistoryPlugin(); - $request = RequestFactory::getInstance()->create('GET', 'http://localhost/'); - $h->add($request); - $this->assertEquals(0, count($h)); - } - - /** - * @depends testAddsRequests - */ - public function testMaintainsLimit() - { - $h = new HistoryPlugin(); - $h->setLimit(2); - $requests = $this->addRequests($h, 3); - $this->assertEquals(2, count($h)); - $i = 0; - foreach ($h as $request) { - if ($i > 0) { - $this->assertSame($requests[$i], $request); - } - } - } - - public function testReturnsLastRequest() - { - $h = new HistoryPlugin(); - $requests = $this->addRequests($h, 5); - $this->assertSame(end($requests), $h->getLastRequest()); - } - - public function testReturnsLastResponse() - { - $h = new HistoryPlugin(); - $requests = $this->addRequests($h, 5); - $this->assertSame(end($requests)->getResponse(), $h->getLastResponse()); - } - - public function testClearsHistory() - { - $h = new HistoryPlugin(); - $requests = $this->addRequests($h, 5); - $this->assertEquals(5, count($h)); - $h->clear(); - $this->assertEquals(0, count($h)); - } - - /** - * @depends testAddsRequests - */ - public function testUpdatesAddRequests() - { - $h = new HistoryPlugin(); - $client = new Client('http://localhost/'); - $client->getEventDispatcher()->addSubscriber($h); - - $request = $client->get(); - $request->setResponse(new Response(200), true); - $request->send(); - - $this->assertSame($request, $h->getLastRequest()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Log/LogPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Log/LogPluginTest.php deleted file mode 100644 index ad663a5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Log/LogPluginTest.php +++ /dev/null @@ -1,95 +0,0 @@ -adapter = new ClosureLogAdapter(function ($message) { - echo $message; - }); - } - - public function testIgnoresCurlEventsWhenNotWiringBodies() - { - $p = new LogPlugin($this->adapter); - $this->assertNotEmpty($p->getSubscribedEvents()); - $event = new Event(array('request' => new Request('GET', 'http://foo.com'))); - $p->onCurlRead($event); - $p->onCurlWrite($event); - $p->onRequestBeforeSend($event); - } - - public function testLogsWhenComplete() - { - $output = ''; - $p = new LogPlugin(new ClosureLogAdapter(function ($message) use (&$output) { - $output = $message; - }), '{method} {resource} | {code} {res_body}'); - - $p->onRequestSent(new Event(array( - 'request' => new Request('GET', 'http://foo.com'), - 'response' => new Response(200, array(), 'Foo') - ))); - - $this->assertEquals('GET / | 200 Foo', $output); - } - - public function testWiresBodiesWhenNeeded() - { - $client = new Client($this->getServer()->getUrl()); - $plugin = new LogPlugin($this->adapter, '{req_body} | {res_body}', true); - $client->getEventDispatcher()->addSubscriber($plugin); - $request = $client->put(); - - // Send the response from the dummy server as the request body - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 4\r\n\r\nsend"); - $stream = fopen($this->getServer()->getUrl(), 'r'); - $request->setBody(EntityBody::factory($stream, 4)); - - $tmpFile = tempnam(sys_get_temp_dir(), 'non_repeatable'); - $request->setResponseBody(EntityBody::factory(fopen($tmpFile, 'w'))); - - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 8\r\n\r\nresponse"); - - ob_start(); - $request->send(); - $message = ob_get_clean(); - - unlink($tmpFile); - $this->assertContains("send", $message); - $this->assertContains("response", $message); - } - - public function testHasHelpfulStaticFactoryMethod() - { - $s = fopen('php://temp', 'r+'); - $client = new Client(); - $client->addSubscriber(LogPlugin::getDebugPlugin(true, $s)); - $request = $client->put('http://foo.com', array('Content-Type' => 'Foo'), 'Bar'); - $request->setresponse(new Response(200), true); - $request->send(); - rewind($s); - $contents = stream_get_contents($s); - $this->assertContains('# Request:', $contents); - $this->assertContainsIns('PUT / HTTP/1.1', $contents); - $this->assertContains('# Response:', $contents); - $this->assertContainsIns('HTTP/1.1 200 OK', $contents); - $this->assertContains('# Errors:', $contents); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/CommandContentMd5PluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/CommandContentMd5PluginTest.php deleted file mode 100644 index 4bd4111..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/CommandContentMd5PluginTest.php +++ /dev/null @@ -1,97 +0,0 @@ - array( - 'test' => array( - 'httpMethod' => 'PUT', - 'parameters' => array( - 'ContentMD5' => array(), - 'Body' => array( - 'location' => 'body' - ) - ) - ) - ) - )); - - $client = new Client(); - $client->setDescription($description); - - return $client; - } - - public function testHasEvents() - { - $this->assertNotEmpty(CommandContentMd5Plugin::getSubscribedEvents()); - } - - public function testValidatesMd5WhenParamExists() - { - $client = $this->getClient(); - $command = $client->getCommand('test', array( - 'Body' => 'Foo', - 'ContentMD5' => true - )); - $event = new Event(array('command' => $command)); - $request = $command->prepare(); - $plugin = new CommandContentMd5Plugin(); - $plugin->onCommandBeforeSend($event); - $this->assertEquals('E1bGfXrRY42Ba/uCLdLCXQ==', (string) $request->getHeader('Content-MD5')); - } - - public function testDoesNothingWhenNoPayloadExists() - { - $client = $this->getClient(); - $client->getDescription()->getOperation('test')->setHttpMethod('GET'); - $command = $client->getCommand('test'); - $event = new Event(array('command' => $command)); - $request = $command->prepare(); - $plugin = new CommandContentMd5Plugin(); - $plugin->onCommandBeforeSend($event); - $this->assertNull($request->getHeader('Content-MD5')); - } - - public function testAddsValidationToResponsesOfContentMd5() - { - $client = $this->getClient(); - $client->getDescription()->getOperation('test')->setHttpMethod('GET'); - $command = $client->getCommand('test', array( - 'ValidateMD5' => true - )); - $event = new Event(array('command' => $command)); - $request = $command->prepare(); - $plugin = new CommandContentMd5Plugin(); - $plugin->onCommandBeforeSend($event); - $listeners = $request->getEventDispatcher()->getListeners('request.complete'); - $this->assertNotEmpty($listeners); - } - - public function testIgnoresValidationWhenDisabled() - { - $client = $this->getClient(); - $client->getDescription()->getOperation('test')->setHttpMethod('GET'); - $command = $client->getCommand('test', array( - 'ValidateMD5' => false - )); - $event = new Event(array('command' => $command)); - $request = $command->prepare(); - $plugin = new CommandContentMd5Plugin(); - $plugin->onCommandBeforeSend($event); - $listeners = $request->getEventDispatcher()->getListeners('request.complete'); - $this->assertEmpty($listeners); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/Md5ValidatorPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/Md5ValidatorPluginTest.php deleted file mode 100644 index 482e92b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Md5/Md5ValidatorPluginTest.php +++ /dev/null @@ -1,120 +0,0 @@ -create('GET', 'http://www.test.com/'); - $request->getEventDispatcher()->addSubscriber($plugin); - - $body = 'abc'; - $hash = md5($body); - $response = new Response(200, array( - 'Content-MD5' => $hash, - 'Content-Length' => 3 - ), 'abc'); - - $request->dispatch('request.complete', array( - 'response' => $response - )); - - // Try again with no Content-MD5 - $response->removeHeader('Content-MD5'); - $request->dispatch('request.complete', array( - 'response' => $response - )); - } - - /** - * @expectedException UnexpectedValueException - */ - public function testThrowsExceptionOnInvalidMd5() - { - $plugin = new Md5ValidatorPlugin(); - $request = RequestFactory::getInstance()->create('GET', 'http://www.test.com/'); - $request->getEventDispatcher()->addSubscriber($plugin); - - $request->dispatch('request.complete', array( - 'response' => new Response(200, array( - 'Content-MD5' => 'foobar', - 'Content-Length' => 3 - ), 'abc') - )); - } - - public function testSkipsWhenContentLengthIsTooLarge() - { - $plugin = new Md5ValidatorPlugin(false, 1); - $request = RequestFactory::getInstance()->create('GET', 'http://www.test.com/'); - $request->getEventDispatcher()->addSubscriber($plugin); - - $request->dispatch('request.complete', array( - 'response' => new Response(200, array( - 'Content-MD5' => 'foobar', - 'Content-Length' => 3 - ), 'abc') - )); - } - - public function testProperlyValidatesWhenUsingContentEncoding() - { - $plugin = new Md5ValidatorPlugin(true); - $request = RequestFactory::getInstance()->create('GET', 'http://www.test.com/'); - $request->getEventDispatcher()->addSubscriber($plugin); - - // Content-MD5 is the MD5 hash of the canonical content after all - // content-encoding has been applied. Because cURL will automatically - // decompress entity bodies, we need to re-compress it to calculate. - $body = EntityBody::factory('abc'); - $body->compress(); - $hash = $body->getContentMd5(); - $body->uncompress(); - - $response = new Response(200, array( - 'Content-MD5' => $hash, - 'Content-Encoding' => 'gzip' - ), 'abc'); - $request->dispatch('request.complete', array( - 'response' => $response - )); - $this->assertEquals('abc', $response->getBody(true)); - - // Try again with an unknown encoding - $response = new Response(200, array( - 'Content-MD5' => $hash, - 'Content-Encoding' => 'foobar' - ), 'abc'); - $request->dispatch('request.complete', array( - 'response' => $response - )); - - // Try again with compress - $body->compress('bzip2.compress'); - $response = new Response(200, array( - 'Content-MD5' => $body->getContentMd5(), - 'Content-Encoding' => 'compress' - ), 'abc'); - $request->dispatch('request.complete', array( - 'response' => $response - )); - - // Try again with encoding and disabled content-encoding checks - $request->getEventDispatcher()->removeSubscriber($plugin); - $plugin = new Md5ValidatorPlugin(false); - $request->getEventDispatcher()->addSubscriber($plugin); - $request->dispatch('request.complete', array( - 'response' => $response - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Mock/MockPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Mock/MockPluginTest.php deleted file mode 100644 index 1b25608..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Mock/MockPluginTest.php +++ /dev/null @@ -1,180 +0,0 @@ -assertInternalType('array', MockPlugin::getSubscribedEvents()); - } - - public function testDescribesEvents() - { - $this->assertInternalType('array', MockPlugin::getAllEvents()); - } - - public function testCanBeTemporary() - { - $plugin = new MockPlugin(); - $this->assertFalse($plugin->isTemporary()); - $plugin = new MockPlugin(null, true); - $this->assertTrue($plugin->isTemporary()); - } - - public function testIsCountable() - { - $plugin = new MockPlugin(); - $plugin->addResponse(Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n")); - $this->assertEquals(1, count($plugin)); - } - - /** - * @depends testIsCountable - */ - public function testCanClearQueue() - { - $plugin = new MockPlugin(); - $plugin->addResponse(Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n")); - $plugin->clearQueue(); - $this->assertEquals(0, count($plugin)); - } - - public function testCanInspectQueue() - { - $plugin = new MockPlugin(); - $this->assertInternalType('array', $plugin->getQueue()); - $plugin->addResponse(Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n")); - $queue = $plugin->getQueue(); - $this->assertInternalType('array', $queue); - $this->assertEquals(1, count($queue)); - } - - public function testRetrievesResponsesFromFiles() - { - $response = MockPlugin::getMockFile(__DIR__ . '/../../TestData/mock_response'); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $response); - $this->assertEquals(200, $response->getStatusCode()); - } - - /** - * @expectedException InvalidArgumentException - */ - public function testThrowsExceptionWhenResponseFileIsNotFound() - { - MockPlugin::getMockFile('missing/filename'); - } - - /** - * @expectedException InvalidArgumentException - */ - public function testInvalidResponsesThrowAnException() - { - $p = new MockPlugin(); - $p->addResponse($this); - } - - public function testAddsResponseObjectsToQueue() - { - $p = new MockPlugin(); - $response = Response::fromMessage("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $p->addResponse($response); - $this->assertEquals(array($response), $p->getQueue()); - } - - public function testAddsResponseFilesToQueue() - { - $p = new MockPlugin(); - $p->addResponse(__DIR__ . '/../../TestData/mock_response'); - $this->assertEquals(1, count($p)); - } - - /** - * @depends testAddsResponseFilesToQueue - */ - public function testAddsMockResponseToRequestFromClient() - { - $p = new MockPlugin(); - $response = MockPlugin::getMockFile(__DIR__ . '/../../TestData/mock_response'); - $p->addResponse($response); - - $client = new Client('http://localhost:123/'); - $client->getEventDispatcher()->addSubscriber($p, 9999); - $request = $client->get(); - $request->send(); - - $this->assertSame($response, $request->getResponse()); - $this->assertEquals(0, count($p)); - } - - /** - * @depends testAddsResponseFilesToQueue - */ - public function testUpdateIgnoresWhenEmpty() - { - $p = new MockPlugin(); - $p->onRequestCreate(new Event()); - } - - /** - * @depends testAddsMockResponseToRequestFromClient - */ - public function testDetachesTemporaryWhenEmpty() - { - $p = new MockPlugin(null, true); - $p->addResponse(MockPlugin::getMockFile(__DIR__ . '/../../TestData/mock_response')); - $client = new Client('http://localhost:123/'); - $client->getEventDispatcher()->addSubscriber($p, 9999); - $request = $client->get(); - $request->send(); - - $this->assertFalse($this->hasSubscriber($client, $p)); - } - - public function testLoadsResponsesFromConstructor() - { - $p = new MockPlugin(array(new Response(200))); - $this->assertEquals(1, $p->count()); - } - - public function testStoresMockedRequests() - { - $p = new MockPlugin(array(new Response(200), new Response(200))); - $client = new Client('http://localhost:123/'); - $client->getEventDispatcher()->addSubscriber($p, 9999); - - $request1 = $client->get(); - $request1->send(); - $this->assertEquals(array($request1), $p->getReceivedRequests()); - - $request2 = $client->get(); - $request2->send(); - $this->assertEquals(array($request1, $request2), $p->getReceivedRequests()); - - $p->flush(); - $this->assertEquals(array(), $p->getReceivedRequests()); - } - - public function testReadsBodiesFromMockedRequests() - { - $p = new MockPlugin(array(new Response(200))); - $p->readBodies(true); - $client = new Client('http://localhost:123/'); - $client->getEventDispatcher()->addSubscriber($p, 9999); - - $body = EntityBody::factory('foo'); - $request = $client->put(); - $request->setBody($body); - $request->send(); - $this->assertEquals(3, $body->ftell()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php deleted file mode 100644 index 7d35c4b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php +++ /dev/null @@ -1,177 +0,0 @@ - 'foo', - 'consumer_secret' => 'bar', - 'token' => 'count', - 'token_secret' => 'dracula' - ); - - protected function getRequest() - { - return RequestFactory::getInstance()->create('POST', 'http://www.test.com/path?a=b&c=d', null, array( - 'e' => 'f' - )); - } - - public function testSubscribesToEvents() - { - $events = OauthPlugin::getSubscribedEvents(); - $this->assertArrayHasKey('request.before_send', $events); - } - - public function testAcceptsConfigurationData() - { - $p = new OauthPlugin($this->config); - - // Access the config object - $class = new \ReflectionClass($p); - $property = $class->getProperty('config'); - $property->setAccessible(true); - $config = $property->getValue($p); - - $this->assertEquals('foo', $config['consumer_key']); - $this->assertEquals('bar', $config['consumer_secret']); - $this->assertEquals('count', $config['token']); - $this->assertEquals('dracula', $config['token_secret']); - $this->assertEquals('1.0', $config['version']); - $this->assertEquals('HMAC-SHA1', $config['signature_method']); - } - - public function testCreatesStringToSignFromPostRequest() - { - $p = new OauthPlugin($this->config); - $request = $this->getRequest(); - $signString = $p->getStringToSign($request, self::TIMESTAMP, self::NONCE); - - $this->assertContains('&e=f', rawurldecode($signString)); - - $expectedSignString = - // Method and URL - 'POST&http%3A%2F%2Fwww.test.com%2Fpath' . - // Sorted parameters from query string and body - '&a%3Db%26c%3Dd%26e%3Df%26oauth_consumer_key%3Dfoo' . - '%26oauth_nonce%3De7aa11195ca58349bec8b5ebe351d3497eb9e603%26' . - 'oauth_signature_method%3DHMAC-SHA1' . - '%26oauth_timestamp%3D' . self::TIMESTAMP . '%26oauth_token%3Dcount%26oauth_version%3D1.0'; - - $this->assertEquals($expectedSignString, $signString); - } - - public function testCreatesStringToSignIgnoringPostFields() - { - $config = $this->config; - $config['disable_post_params'] = true; - $p = new OauthPlugin($config); - $request = $this->getRequest(); - $sts = rawurldecode($p->getStringToSign($request, self::TIMESTAMP, self::NONCE)); - $this->assertNotContains('&e=f', $sts); - } - - public function testCreatesStringToSignFromPostRequestWithCustomContentType() - { - $p = new OauthPlugin($this->config); - $request = $this->getRequest(); - $request->setHeader('Content-Type', 'Foo'); - $this->assertEquals( - // Method and URL - 'POST&http%3A%2F%2Fwww.test.com%2Fpath' . - // Sorted parameters from query string and body - '&a%3Db%26c%3Dd%26oauth_consumer_key%3Dfoo' . - '%26oauth_nonce%3D'. self::NONCE .'%26' . - 'oauth_signature_method%3DHMAC-SHA1' . - '%26oauth_timestamp%3D' . self::TIMESTAMP . '%26oauth_token%3Dcount%26oauth_version%3D1.0', - $p->getStringToSign($request, self::TIMESTAMP, self::NONCE) - ); - } - - /** - * @depends testCreatesStringToSignFromPostRequest - */ - public function testConvertsBooleansToStrings() - { - $p = new OauthPlugin($this->config); - $request = $this->getRequest(); - $request->getQuery()->set('a', true); - $request->getQuery()->set('c', false); - $this->assertContains('&a%3Dtrue%26c%3Dfalse', $p->getStringToSign($request, self::TIMESTAMP, self::NONCE)); - } - - /** - * @depends testCreatesStringToSignFromPostRequest - */ - public function testMultiDimensionalArray() - { - $p = new OauthPlugin($this->config); - $request = $this->getRequest(); - $request->getQuery()->set('a', array('b' => array('e' => 'f', 'c' => 'd'))); - $this->assertContains('a%255Bb%255D%255Bc%255D%3Dd%26a%255Bb%255D%255Be%255D%3Df%26c%3Dd%26e%3Df%26', $p->getStringToSign($request, self::TIMESTAMP, self::NONCE)); - } - - /** - * @depends testCreatesStringToSignFromPostRequest - */ - public function testSignsStrings() - { - $p = new OauthPlugin(array_merge($this->config, array( - 'signature_callback' => function($string, $key) { - return "_{$string}|{$key}_"; - } - ))); - $request = $this->getRequest(); - $sig = $p->getSignature($request, self::TIMESTAMP, self::NONCE); - $this->assertEquals( - '_POST&http%3A%2F%2Fwww.test.com%2Fpath&a%3Db%26c%3Dd%26e%3Df%26oauth_consumer_key%3Dfoo' . - '%26oauth_nonce%3D'. self::NONCE .'%26oauth_signature_method%3DHMAC-SHA1' . - '%26oauth_timestamp%3D' . self::TIMESTAMP . '%26oauth_token%3Dcount%26oauth_version%3D1.0|' . - 'bar&dracula_', - base64_decode($sig) - ); - } - - public function testSignsOauthRequests() - { - $p = new OauthPlugin($this->config); - $event = new Event(array( - 'request' => $this->getRequest(), - 'timestamp' => self::TIMESTAMP - )); - $params = $p->onRequestBeforeSend($event); - - $this->assertTrue($event['request']->hasHeader('Authorization')); - - $this->assertEquals('OAuth oauth_consumer_key="foo", ' - . 'oauth_nonce="'.urlencode($params['oauth_nonce']).'", ' - . 'oauth_signature="'.urlencode($params['oauth_signature']).'", ' - . 'oauth_signature_method="HMAC-SHA1", ' - . 'oauth_timestamp="' . self::TIMESTAMP . '", ' - . 'oauth_token="count", ' - . 'oauth_version="1.0"', - (string) $event['request']->getHeader('Authorization') - ); - } - - public function testDoesNotAddFalseyValuesToAuthorization() - { - unset($this->config['token']); - $p = new OauthPlugin($this->config); - $event = new Event(array('request' => $this->getRequest(), 'timestamp' => self::TIMESTAMP)); - $p->onRequestBeforeSend($event); - $this->assertTrue($event['request']->hasHeader('Authorization')); - $this->assertNotContains('oauth_token=', (string) $event['request']->getHeader('Authorization')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/AbstractConfigLoaderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/AbstractConfigLoaderTest.php deleted file mode 100644 index af1a266..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/AbstractConfigLoaderTest.php +++ /dev/null @@ -1,153 +0,0 @@ -loader = $this->getMockBuilder('Guzzle\Service\AbstractConfigLoader') - ->setMethods(array('build')) - ->getMockForAbstractClass(); - } - - public function tearDown() - { - foreach ($this->cleanup as $file) { - unlink($file); - } - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - */ - public function testOnlyLoadsSupportedTypes() - { - $this->loader->load(new \stdClass()); - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Unable to open fooooooo! for reading - */ - public function testFileMustBeReadable() - { - $this->loader->load('fooooooo!'); - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Unknown file extension - */ - public function testMustBeSupportedExtension() - { - $this->loader->load(dirname(__DIR__) . '/TestData/FileBody.txt'); - } - - /** - * @expectedException \Guzzle\Common\Exception\RuntimeException - * @expectedExceptionMessage Error loading JSON data from - */ - public function testJsonMustBeValue() - { - $filename = tempnam(sys_get_temp_dir(), 'json') . '.json'; - file_put_contents($filename, '{/{./{}foo'); - $this->cleanup[] = $filename; - $this->loader->load($filename); - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage PHP files must return an array - */ - public function testPhpFilesMustReturnAnArray() - { - $filename = tempnam(sys_get_temp_dir(), 'php') . '.php'; - file_put_contents($filename, 'cleanup[] = $filename; - $this->loader->load($filename); - } - - public function testLoadsPhpFileIncludes() - { - $filename = tempnam(sys_get_temp_dir(), 'php') . '.php'; - file_put_contents($filename, ' "bar");'); - $this->cleanup[] = $filename; - $this->loader->expects($this->exactly(1))->method('build')->will($this->returnArgument(0)); - $config = $this->loader->load($filename); - $this->assertEquals(array('foo' => 'bar'), $config); - } - - public function testCanCreateFromJson() - { - $file = dirname(__DIR__) . '/TestData/services/json1.json'; - // The build method will just return the config data - $this->loader->expects($this->exactly(1))->method('build')->will($this->returnArgument(0)); - $data = $this->loader->load($file); - // Ensure that the config files were merged using the includes directives - $this->assertArrayHasKey('includes', $data); - $this->assertArrayHasKey('services', $data); - $this->assertInternalType('array', $data['services']['foo']); - $this->assertInternalType('array', $data['services']['abstract']); - $this->assertInternalType('array', $data['services']['mock']); - $this->assertEquals('bar', $data['services']['foo']['params']['baz']); - } - - public function testUsesAliases() - { - $file = dirname(__DIR__) . '/TestData/services/json1.json'; - $this->loader->addAlias('foo', $file); - // The build method will just return the config data - $this->loader->expects($this->exactly(1))->method('build')->will($this->returnArgument(0)); - $data = $this->loader->load('foo'); - $this->assertEquals('bar', $data['services']['foo']['params']['baz']); - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - * @expectedExceptionMessage Unable to open foo for reading - */ - public function testCanRemoveAliases() - { - $file = dirname(__DIR__) . '/TestData/services/json1.json'; - $this->loader->addAlias('foo', $file); - $this->loader->removeAlias('foo'); - $this->loader->load('foo'); - } - - public function testCanLoadArraysWithIncludes() - { - $file = dirname(__DIR__) . '/TestData/services/json1.json'; - $config = array('includes' => array($file)); - // The build method will just return the config data - $this->loader->expects($this->exactly(1))->method('build')->will($this->returnArgument(0)); - $data = $this->loader->load($config); - $this->assertEquals('bar', $data['services']['foo']['params']['baz']); - } - - public function testDoesNotEnterInfiniteLoop() - { - $prefix = $file = dirname(__DIR__) . '/TestData/description'; - $this->loader->load("{$prefix}/baz.json"); - $this->assertCount(4, $this->readAttribute($this->loader, 'loadedFiles')); - // Ensure that the internal list of loaded files is reset - $this->loader->load("{$prefix}/../test_service2.json"); - $this->assertCount(1, $this->readAttribute($this->loader, 'loadedFiles')); - // Ensure that previously loaded files will be reloaded when starting fresh - $this->loader->load("{$prefix}/baz.json"); - $this->assertCount(4, $this->readAttribute($this->loader, 'loadedFiles')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderLoaderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderLoaderTest.php deleted file mode 100644 index f63070e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderLoaderTest.php +++ /dev/null @@ -1,177 +0,0 @@ - array( - 'abstract' => array( - 'params' => array( - 'access_key' => 'xyz', - 'secret' => 'abc', - ), - ), - 'foo' => array( - 'extends' => 'abstract', - 'params' => array( - 'baz' => 'bar', - ), - ), - 'mock' => array( - 'extends' => 'abstract', - 'params' => array( - 'username' => 'foo', - 'password' => 'baz', - 'subdomain' => 'bar', - ) - ) - ) - ); - - $builder = $arrayFactory->load($data); - - // Ensure that services were parsed - $this->assertTrue(isset($builder['mock'])); - $this->assertTrue(isset($builder['abstract'])); - $this->assertTrue(isset($builder['foo'])); - $this->assertFalse(isset($builder['jimmy'])); - } - - /** - * @expectedException Guzzle\Service\Exception\ServiceNotFoundException - * @expectedExceptionMessage foo is trying to extend a non-existent service: abstract - */ - public function testThrowsExceptionWhenExtendingNonExistentService() - { - $arrayFactory = new ServiceBuilderLoader(); - - $data = array( - 'services' => array( - 'foo' => array( - 'extends' => 'abstract' - ) - ) - ); - - $builder = $arrayFactory->load($data); - } - - public function testAllowsGlobalParameterOverrides() - { - $arrayFactory = new ServiceBuilderLoader(); - - $data = array( - 'services' => array( - 'foo' => array( - 'params' => array( - 'foo' => 'baz', - 'bar' => 'boo' - ) - ) - ) - ); - - $builder = $arrayFactory->load($data, array( - 'bar' => 'jar', - 'far' => 'car' - )); - - $compiled = json_decode($builder->serialize(), true); - $this->assertEquals(array( - 'foo' => 'baz', - 'bar' => 'jar', - 'far' => 'car' - ), $compiled['foo']['params']); - } - - public function tstDoesNotErrorOnCircularReferences() - { - $arrayFactory = new ServiceBuilderLoader(); - $arrayFactory->load(array( - 'services' => array( - 'too' => array('extends' => 'ball'), - 'ball' => array('extends' => 'too'), - ) - )); - } - - public function configProvider() - { - $foo = array( - 'extends' => 'bar', - 'class' => 'stdClass', - 'params' => array('a' => 'test', 'b' => '456') - ); - - return array( - array( - // Does not extend the existing `foo` service but overwrites it - array( - 'services' => array( - 'foo' => $foo, - 'bar' => array('params' => array('baz' => '123')) - ) - ), - array( - 'services' => array( - 'foo' => array('class' => 'Baz') - ) - ), - array( - 'services' => array( - 'foo' => array('class' => 'Baz'), - 'bar' => array('params' => array('baz' => '123')) - ) - ) - ), - array( - // Extends the existing `foo` service - array( - 'services' => array( - 'foo' => $foo, - 'bar' => array('params' => array('baz' => '123')) - ) - ), - array( - 'services' => array( - 'foo' => array( - 'extends' => 'foo', - 'params' => array('b' => '123', 'c' => 'def') - ) - ) - ), - array( - 'services' => array( - 'foo' => array( - 'extends' => 'bar', - 'class' => 'stdClass', - 'params' => array('a' => 'test', 'b' => '123', 'c' => 'def') - ), - 'bar' => array('params' => array('baz' => '123')) - ) - ) - ) - ); - } - - /** - * @dataProvider configProvider - */ - public function testCombinesConfigs($a, $b, $c) - { - $l = new ServiceBuilderLoader(); - $m = new \ReflectionMethod($l, 'mergeData'); - $m->setAccessible(true); - $this->assertEquals($c, $m->invoke($l, $a, $b)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderTest.php deleted file mode 100644 index 115273e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Builder/ServiceBuilderTest.php +++ /dev/null @@ -1,304 +0,0 @@ - array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'username' => 'michael', - 'password' => 'testing123', - 'subdomain' => 'michael', - ), - ), - 'billy.mock' => array( - 'alias' => 'Hello!', - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'username' => 'billy', - 'password' => 'passw0rd', - 'subdomain' => 'billy', - ), - ), - 'billy.testing' => array( - 'extends' => 'billy.mock', - 'params' => array( - 'subdomain' => 'test.billy', - ), - ), - 'missing_params' => array( - 'extends' => 'billy.mock' - ), - 'cache.adapter' => array( - 'class' => 'Guzzle\Cache\CacheAdapterFactory', - 'params' => array( - 'cache.adapter' => 'Guzzle\Cache\DoctrineCacheAdapter', - 'cache.provider' => 'Doctrine\Common\Cache\ArrayCache' - ) - ), - 'service_uses_cache' => array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'cache' => '{cache.adapter}', - 'username' => 'foo', - 'password' => 'bar', - 'subdomain' => 'baz' - ) - ) - ); - - public function testAllowsSerialization() - { - $builder = ServiceBuilder::factory($this->arrayData); - $cached = unserialize(serialize($builder)); - $this->assertEquals($cached, $builder); - } - - public function testDelegatesFactoryMethodToAbstractFactory() - { - $builder = ServiceBuilder::factory($this->arrayData); - $c = $builder->get('michael.mock'); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\MockClient', $c); - } - - /** - * @expectedException Guzzle\Service\Exception\ServiceNotFoundException - * @expectedExceptionMessage No service is registered as foobar - */ - public function testThrowsExceptionWhenGettingInvalidClient() - { - ServiceBuilder::factory($this->arrayData)->get('foobar'); - } - - public function testStoresClientCopy() - { - $builder = ServiceBuilder::factory($this->arrayData); - $client = $builder->get('michael.mock'); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\MockClient', $client); - $this->assertEquals('http://127.0.0.1:8124/v1/michael', $client->getBaseUrl()); - $this->assertEquals($client, $builder->get('michael.mock')); - - // Get another client but throw this one away - $client2 = $builder->get('billy.mock', true); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\MockClient', $client2); - $this->assertEquals('http://127.0.0.1:8124/v1/billy', $client2->getBaseUrl()); - - // Make sure the original client is still there and set - $this->assertTrue($client === $builder->get('michael.mock')); - - // Create a new billy.mock client that is stored - $client3 = $builder->get('billy.mock'); - - // Make sure that the stored billy.mock client is equal to the other stored client - $this->assertTrue($client3 === $builder->get('billy.mock')); - - // Make sure that this client is not equal to the previous throwaway client - $this->assertFalse($client2 === $builder->get('billy.mock')); - } - - public function testBuildersPassOptionsThroughToClients() - { - $s = new ServiceBuilder(array( - 'michael.mock' => array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'base_url' => 'http://www.test.com/', - 'subdomain' => 'michael', - 'password' => 'test', - 'username' => 'michael', - 'curl.curlopt_proxyport' => 8080 - ) - ) - )); - - $c = $s->get('michael.mock'); - $this->assertEquals(8080, $c->getConfig('curl.curlopt_proxyport')); - } - - public function testUsesTheDefaultBuilderWhenNoBuilderIsSpecified() - { - $s = new ServiceBuilder(array( - 'michael.mock' => array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'base_url' => 'http://www.test.com/', - 'subdomain' => 'michael', - 'password' => 'test', - 'username' => 'michael', - 'curl.curlopt_proxyport' => 8080 - ) - ) - )); - - $c = $s->get('michael.mock'); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\MockClient', $c); - } - - public function testUsedAsArray() - { - $b = ServiceBuilder::factory($this->arrayData); - $this->assertTrue($b->offsetExists('michael.mock')); - $this->assertFalse($b->offsetExists('not_there')); - $this->assertInstanceOf('Guzzle\Service\Client', $b['michael.mock']); - - unset($b['michael.mock']); - $this->assertFalse($b->offsetExists('michael.mock')); - - $b['michael.mock'] = new Client('http://www.test.com/'); - $this->assertInstanceOf('Guzzle\Service\Client', $b['michael.mock']); - } - - public function testFactoryCanCreateFromJson() - { - $tmp = sys_get_temp_dir() . '/test.js'; - file_put_contents($tmp, json_encode($this->arrayData)); - $b = ServiceBuilder::factory($tmp); - unlink($tmp); - $s = $b->get('billy.testing'); - $this->assertEquals('test.billy', $s->getConfig('subdomain')); - $this->assertEquals('billy', $s->getConfig('username')); - } - - public function testFactoryCanCreateFromArray() - { - $b = ServiceBuilder::factory($this->arrayData); - $s = $b->get('billy.testing'); - $this->assertEquals('test.billy', $s->getConfig('subdomain')); - $this->assertEquals('billy', $s->getConfig('username')); - } - - public function testFactoryDoesNotRequireParams() - { - $b = ServiceBuilder::factory($this->arrayData); - $s = $b->get('missing_params'); - $this->assertEquals('billy', $s->getConfig('username')); - } - - public function testBuilderAllowsReferencesBetweenClients() - { - $builder = ServiceBuilder::factory(array( - 'a' => array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'other_client' => '{b}', - 'username' => 'x', - 'password' => 'y', - 'subdomain' => 'z' - ) - ), - 'b' => array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'username' => '1', - 'password' => '2', - 'subdomain' => '3' - ) - ) - )); - - $client = $builder['a']; - $this->assertEquals('x', $client->getConfig('username')); - $this->assertSame($builder['b'], $client->getConfig('other_client')); - $this->assertEquals('1', $builder['b']->getConfig('username')); - } - - public function testEmitsEventsWhenClientsAreCreated() - { - // Ensure that the client signals that it emits an event - $this->assertEquals(array('service_builder.create_client'), ServiceBuilder::getAllEvents()); - - // Create a test service builder - $builder = ServiceBuilder::factory(array( - 'a' => array( - 'class' => 'Guzzle\Tests\Service\Mock\MockClient', - 'params' => array( - 'username' => 'test', - 'password' => '123', - 'subdomain' => 'z' - ) - ) - )); - - // Add an event listener to pick up client creation events - $emits = 0; - $builder->getEventDispatcher()->addListener('service_builder.create_client', function($event) use (&$emits) { - $emits++; - }); - - // Get the 'a' client by name - $client = $builder->get('a'); - - // Ensure that the event was emitted once, and that the client was present - $this->assertEquals(1, $emits); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\MockClient', $client); - } - - public function testCanAddGlobalParametersToServicesOnLoad() - { - $builder = ServiceBuilder::factory($this->arrayData, array( - 'username' => 'fred', - 'new_value' => 'test' - )); - - $data = json_decode($builder->serialize(), true); - - foreach ($data as $service) { - $this->assertEquals('fred', $service['params']['username']); - $this->assertEquals('test', $service['params']['new_value']); - } - } - - public function testCacheServiceCanBeCreatedAndInjectedIntoOtherServices() - { - $builder = ServiceBuilder::factory($this->arrayData); - $usesCache = $builder['service_uses_cache']; - $this->assertInstanceOf('Guzzle\Cache\DoctrineCacheAdapter', $usesCache->getConfig('cache')); - } - - public function testServicesCanBeAddedToBuilderAfterInstantiationAndInjectedIntoServices() - { - // Grab the cache adapter and remove it from the config - $cache = $this->arrayData['cache.adapter']; - $data = $this->arrayData; - unset($data['cache.adapter']); - - // Create the builder and add the cache adapter - $builder = ServiceBuilder::factory($data); - $builder['cache.adapter'] = $cache; - - $this->assertInstanceOf( - 'Guzzle\Cache\DoctrineCacheAdapter', - $builder['service_uses_cache']->getConfig('cache') - ); - } - - public function testAddsGlobalPlugins() - { - $b = new ServiceBuilder($this->arrayData); - $b->addGlobalPlugin(new HistoryPlugin()); - $s = $b->get('michael.mock'); - $this->assertTrue($s->getEventDispatcher()->hasListeners('request.complete')); - } - - public function testCanGetData() - { - $b = new ServiceBuilder($this->arrayData); - $this->assertEquals($this->arrayData['michael.mock'], $b->getData('michael.mock')); - $this->assertNull($b->getData('ewofweoweofe')); - } - - public function testCanGetByAlias() - { - $b = new ServiceBuilder($this->arrayData); - $this->assertSame($b->get('billy.mock'), $b->get('Hello!')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/CachingConfigLoaderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/CachingConfigLoaderTest.php deleted file mode 100644 index b8245ad..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/CachingConfigLoaderTest.php +++ /dev/null @@ -1,43 +0,0 @@ -getMockBuilder('Guzzle\Service\ConfigLoaderInterface') - ->setMethods(array('load')) - ->getMockForAbstractClass(); - $data = array('foo' => 'bar'); - $loader->expects($this->once()) - ->method('load') - ->will($this->returnValue($data)); - $cache = new CachingConfigLoader($loader, $cache); - $this->assertEquals($data, $cache->load('foo')); - $this->assertEquals($data, $cache->load('foo')); - } - - public function testDoesNotCacheArrays() - { - $cache = new DoctrineCacheAdapter(new ArrayCache()); - $loader = $this->getMockBuilder('Guzzle\Service\ConfigLoaderInterface') - ->setMethods(array('load')) - ->getMockForAbstractClass(); - $data = array('foo' => 'bar'); - $loader->expects($this->exactly(2)) - ->method('load') - ->will($this->returnValue($data)); - $cache = new CachingConfigLoader($loader, $cache); - $this->assertEquals($data, $cache->load(array())); - $this->assertEquals($data, $cache->load(array())); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/ClientTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/ClientTest.php deleted file mode 100644 index 12b816c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/ClientTest.php +++ /dev/null @@ -1,392 +0,0 @@ -serviceTest = new ServiceDescription(array( - 'test_command' => new Operation(array( - 'doc' => 'documentationForCommand', - 'method' => 'DELETE', - 'class' => 'Guzzle\\Tests\\Service\\Mock\\Command\\MockCommand', - 'args' => array( - 'bucket' => array( - 'required' => true - ), - 'key' => array( - 'required' => true - ) - ) - )) - )); - - $this->service = ServiceDescription::factory(__DIR__ . '/../TestData/test_service.json'); - } - - public function testAllowsCustomClientParameters() - { - $client = new Mock\MockClient(null, array( - Client::COMMAND_PARAMS => array(AbstractCommand::RESPONSE_PROCESSING => 'foo') - )); - $command = $client->getCommand('mock_command'); - $this->assertEquals('foo', $command->get(AbstractCommand::RESPONSE_PROCESSING)); - } - - /** - * @covers Guzzle\Service\Client::factory - */ - public function testFactoryCreatesClient() - { - $client = Client::factory(array( - 'base_url' => 'http://www.test.com/', - 'test' => '123' - )); - - $this->assertEquals('http://www.test.com/', $client->getBaseUrl()); - $this->assertEquals('123', $client->getConfig('test')); - } - - /** - * @covers Guzzle\Service\Client::factory - */ - public function testFactoryDoesNotRequireBaseUrl() - { - $client = Client::factory(); - } - - /** - * @covers Guzzle\Service\Client::getAllEvents - */ - public function testDescribesEvents() - { - $this->assertInternalType('array', Client::getAllEvents()); - } - - /** - * @covers Guzzle\Service\Client::execute - */ - public function testExecutesCommands() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - - $client = new Client($this->getServer()->getUrl()); - $cmd = new MockCommand(); - $client->execute($cmd); - - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $cmd->getResponse()); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Response', $cmd->getResult()); - $this->assertEquals(1, count($this->getServer()->getReceivedRequests(false))); - } - - /** - * @covers Guzzle\Service\Client::execute - */ - public function testExecutesCommandsWithArray() - { - $client = new Client('http://www.test.com/'); - $client->getEventDispatcher()->addSubscriber(new MockPlugin(array( - new Response(200), - new Response(200) - ))); - - // Create a command set and a command - $set = array(new MockCommand(), new MockCommand()); - $client->execute($set); - - // Make sure it sent - $this->assertTrue($set[0]->isExecuted()); - $this->assertTrue($set[1]->isExecuted()); - } - - /** - * @covers Guzzle\Service\Client::execute - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testThrowsExceptionWhenInvalidCommandIsExecuted() - { - $client = new Client(); - $client->execute(new \stdClass()); - } - - /** - * @covers Guzzle\Service\Client::getCommand - * @expectedException InvalidArgumentException - */ - public function testThrowsExceptionWhenMissingCommand() - { - $client = new Client(); - - $mock = $this->getMock('Guzzle\\Service\\Command\\Factory\\FactoryInterface'); - $mock->expects($this->any()) - ->method('factory') - ->with($this->equalTo('test')) - ->will($this->returnValue(null)); - - $client->setCommandFactory($mock); - $client->getCommand('test'); - } - - /** - * @covers Guzzle\Service\Client::getCommand - * @covers Guzzle\Service\Client::getCommandFactory - * @covers Guzzle\Service\Client::setCommandFactory - */ - public function testCreatesCommandsUsingCommandFactory() - { - $mockCommand = new MockCommand(); - - $client = new Mock\MockClient(); - $mock = $this->getMock('Guzzle\\Service\\Command\\Factory\\FactoryInterface'); - $mock->expects($this->any()) - ->method('factory') - ->with($this->equalTo('foo')) - ->will($this->returnValue($mockCommand)); - - $client->setCommandFactory($mock); - - $command = $client->getCommand('foo', array('acl' => '123')); - $this->assertSame($mockCommand, $command); - $command = $client->getCommand('foo', array('acl' => '123')); - $this->assertSame($mockCommand, $command); - $this->assertSame($client, $command->getClient()); - } - - /** - * @covers Guzzle\Service\Client::getDescription - * @covers Guzzle\Service\Client::setDescription - */ - public function testOwnsServiceDescription() - { - $client = new Mock\MockClient(); - $this->assertNull($client->getDescription()); - - $description = $this->getMock('Guzzle\\Service\\Description\\ServiceDescription'); - $this->assertSame($client, $client->setDescription($description)); - $this->assertSame($description, $client->getDescription()); - } - - /** - * @covers Guzzle\Service\Client::__call - * @expectedException BadMethodCallException - */ - public function testMagicCallBehaviorCanBeDisabled() - { - $client = new Client(); - $client->enableMagicMethods(false); - $client->foo(); - } - - /** - * @covers Guzzle\Service\Client::__call - * @covers Guzzle\Service\Client::enableMagicMethods - * @expectedException InvalidArgumentException - * @expectedExceptionMessage Command was not found matching foo - */ - public function testMagicCallBehaviorEnsuresCommandExists() - { - $client = new Mock\MockClient(); - $client->setDescription($this->service); - $client->enableMagicMethods(true); - $client->foo(); - } - - /** - * @covers Guzzle\Service\Client::__call - */ - public function testMagicCallBehaviorExecuteExecutesCommands() - { - $client = new Mock\MockClient(); - $client->setDescription($this->service); - $client->getEventDispatcher()->addSubscriber(new MockPlugin(array(new Response(200)))); - $result = $client->mockCommand(); - $this->assertInstanceOf('Guzzle\Http\Message\Response', $result); - } - - /** - * @covers Guzzle\Service\Client::getResourceIteratorFactory - * @covers Guzzle\Service\Client::setResourceIteratorFactory - */ - public function testOwnsResourceIteratorFactory() - { - $client = new Mock\MockClient(); - - $method = new \ReflectionMethod($client, 'getResourceIteratorFactory'); - $method->setAccessible(TRUE); - $rf1 = $method->invoke($client); - - $rf = $this->readAttribute($client, 'resourceIteratorFactory'); - $this->assertInstanceOf('Guzzle\\Service\\Resource\\ResourceIteratorClassFactory', $rf); - $this->assertSame($rf1, $rf); - - $rf = new ResourceIteratorClassFactory('Guzzle\Tests\Service\Mock'); - $client->setResourceIteratorFactory($rf); - $this->assertNotSame($rf1, $rf); - } - - /** - * @covers Guzzle\Service\Client::execute - */ - public function testClientResetsRequestsBeforeExecutingCommands() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nHi", - "HTTP/1.1 200 OK\r\nContent-Length: 1\r\n\r\nI" - )); - - $client = new Mock\MockClient($this->getServer()->getUrl()); - - $command = $client->getCommand('mock_command'); - $client->execute($command); - $client->execute($command); - $this->assertEquals('I', $command->getResponse()->getBody(true)); - } - - /** - * @covers Guzzle\Service\Client::getIterator - */ - public function testClientCreatesIterators() - { - $client = new Mock\MockClient(); - - $iterator = $client->getIterator('mock_command', array( - 'foo' => 'bar' - ), array( - 'limit' => 10 - )); - - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - $this->assertEquals(10, $this->readAttribute($iterator, 'limit')); - - $command = $this->readAttribute($iterator, 'originalCommand'); - $this->assertEquals('bar', $command->get('foo')); - } - - /** - * @covers Guzzle\Service\Client::getIterator - */ - public function testClientCreatesIteratorsWithNoOptions() - { - $client = new Mock\MockClient(); - $iterator = $client->getIterator('mock_command'); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - } - - /** - * @covers Guzzle\Service\Client::getIterator - */ - public function testClientCreatesIteratorsWithCommands() - { - $client = new Mock\MockClient(); - $command = new MockCommand(); - $iterator = $client->getIterator($command); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - $iteratorCommand = $this->readAttribute($iterator, 'originalCommand'); - $this->assertSame($command, $iteratorCommand); - } - - /** - * @covers Guzzle\Service\Client::getInflector - * @covers Guzzle\Service\Client::setInflector - */ - public function testClientHoldsInflector() - { - $client = new Mock\MockClient(); - $this->assertInstanceOf('Guzzle\Inflection\MemoizingInflector', $client->getInflector()); - - $inflector = new Inflector(); - $client->setInflector($inflector); - $this->assertSame($inflector, $client->getInflector()); - } - - /** - * @covers Guzzle\Service\Client::getCommand - */ - public function testClientAddsGlobalCommandOptions() - { - $client = new Mock\MockClient('http://www.foo.com', array( - Client::COMMAND_PARAMS => array( - 'mesa' => 'bar' - ) - )); - $command = $client->getCommand('mock_command'); - $this->assertEquals('bar', $command->get('mesa')); - } - - public function testSupportsServiceDescriptionBaseUrls() - { - $description = new ServiceDescription(array('baseUrl' => 'http://foo.com')); - $client = new Client(); - $client->setDescription($description); - $this->assertEquals('http://foo.com', $client->getBaseUrl()); - } - - public function testMergesDefaultCommandParamsCorrectly() - { - $client = new Mock\MockClient('http://www.foo.com', array( - Client::COMMAND_PARAMS => array( - 'mesa' => 'bar', - 'jar' => 'jar' - ) - )); - $command = $client->getCommand('mock_command', array('jar' => 'test')); - $this->assertEquals('bar', $command->get('mesa')); - $this->assertEquals('test', $command->get('jar')); - } - - /** - * @expectedException \Guzzle\Http\Exception\BadResponseException - */ - public function testWrapsSingleCommandExceptions() - { - $client = new Mock\MockClient('http://foobaz.com'); - $mock = new MockPlugin(array(new Response(401))); - $client->addSubscriber($mock); - $client->execute(new MockCommand()); - } - - public function testWrapsMultipleCommandExceptions() - { - $client = new Mock\MockClient('http://foobaz.com'); - $mock = new MockPlugin(array(new Response(200), new Response(200), new Response(404), new Response(500))); - $client->addSubscriber($mock); - - $cmds = array(new MockCommand(), new MockCommand(), new MockCommand(), new MockCommand()); - try { - $client->execute($cmds); - } catch (CommandTransferException $e) { - $this->assertEquals(2, count($e->getFailedRequests())); - $this->assertEquals(2, count($e->getFailedCommands())); - $this->assertEquals(2, count($e->getSuccessfulRequests())); - $this->assertEquals(2, count($e->getSuccessfulCommands())); - - foreach ($e->getSuccessfulCommands() as $c) { - $this->assertTrue($c->getResponse()->isSuccessful()); - } - - foreach ($e->getFailedCommands() as $c) { - $this->assertFalse($c->getRequest()->getResponse()->isSuccessful()); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php deleted file mode 100644 index 1004fae..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php +++ /dev/null @@ -1,16 +0,0 @@ -setDescription(ServiceDescription::factory(__DIR__ . '/../../TestData/test_service.json')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/ClosureCommandTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/ClosureCommandTest.php deleted file mode 100644 index a0a28bc..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/ClosureCommandTest.php +++ /dev/null @@ -1,57 +0,0 @@ - function($command, $api) { - $command->set('testing', '123'); - $request = RequestFactory::getInstance()->create('GET', 'http://www.test.com/'); - return $request; - } - )); - - $client = $this->getServiceBuilder()->get('mock'); - $c->setClient($client)->prepare(); - $this->assertEquals('123', $c->get('testing')); - $this->assertEquals('http://www.test.com/', $c->getRequest()->getUrl()); - } - - /** - * @covers Guzzle\Service\Command\ClosureCommand - * @expectedException UnexpectedValueException - * @expectedExceptionMessage Closure command did not return a RequestInterface object - */ - public function testMustReturnRequest() - { - $c = new ClosureCommand(array( - 'closure' => function($command, $api) { - return false; - } - )); - - $client = $this->getServiceBuilder()->get('mock'); - $c->setClient($client)->prepare(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/CommandTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/CommandTest.php deleted file mode 100644 index 3690237..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/CommandTest.php +++ /dev/null @@ -1,465 +0,0 @@ -assertEquals('123', $command->get('test')); - $this->assertFalse($command->isPrepared()); - $this->assertFalse($command->isExecuted()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::getName - */ - public function testDeterminesShortName() - { - $api = new Operation(array('name' => 'foobar')); - $command = new MockCommand(array(), $api); - $this->assertEquals('foobar', $command->getName()); - - $command = new MockCommand(); - $this->assertEquals('mock_command', $command->getName()); - - $command = new Sub(); - $this->assertEquals('sub.sub', $command->getName()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::getRequest - * @expectedException RuntimeException - */ - public function testGetRequestThrowsExceptionBeforePreparation() - { - $command = new MockCommand(); - $command->getRequest(); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::getResponse - */ - public function testGetResponseExecutesCommandsWhenNeeded() - { - $response = new Response(200); - $client = $this->getClient(); - $this->setMockResponse($client, array($response)); - $command = new MockCommand(); - $command->setClient($client); - $this->assertSame($response, $command->getResponse()); - $this->assertSame($response, $command->getResponse()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::getResult - */ - public function testGetResultExecutesCommandsWhenNeeded() - { - $response = new Response(200); - $client = $this->getClient(); - $this->setMockResponse($client, array($response)); - $command = new MockCommand(); - $command->setClient($client); - $this->assertSame($response, $command->getResult()); - $this->assertSame($response, $command->getResult()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::setClient - * @covers Guzzle\Service\Command\AbstractCommand::getClient - * @covers Guzzle\Service\Command\AbstractCommand::prepare - * @covers Guzzle\Service\Command\AbstractCommand::isPrepared - */ - public function testSetClient() - { - $command = new MockCommand(); - $client = $this->getClient(); - - $command->setClient($client); - $this->assertEquals($client, $command->getClient()); - - unset($client); - unset($command); - - $command = new MockCommand(); - $client = $this->getClient(); - - $command->setClient($client)->prepare(); - $this->assertEquals($client, $command->getClient()); - $this->assertTrue($command->isPrepared()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::execute - * @covers Guzzle\Service\Command\AbstractCommand::setClient - * @covers Guzzle\Service\Command\AbstractCommand::getRequest - * @covers Guzzle\Service\Command\AbstractCommand::getResponse - * @covers Guzzle\Service\Command\AbstractCommand::getResult - * @covers Guzzle\Service\Command\AbstractCommand::prepare - * @covers Guzzle\Service\Command\AbstractCommand::process - * @covers Guzzle\Service\Command\AbstractCommand::prepare - * @covers Guzzle\Service\Client::execute - */ - public function testExecute() - { - $client = $this->getClient(); - $response = new Response(200, array( - 'Content-Type' => 'application/xml' - ), '123'); - $this->setMockResponse($client, array($response)); - $command = new MockCommand(); - $this->assertSame($command, $command->setClient($client)); - - // Returns the result of the command - $this->assertInstanceOf('SimpleXMLElement', $command->execute()); - - $this->assertTrue($command->isPrepared()); - $this->assertTrue($command->isExecuted()); - $this->assertSame($response, $command->getResponse()); - $this->assertInstanceOf('Guzzle\\Http\\Message\\Request', $command->getRequest()); - // Make sure that the result was automatically set to a SimpleXMLElement - $this->assertInstanceOf('SimpleXMLElement', $command->getResult()); - $this->assertEquals('123', (string)$command->getResult()->data); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::process - */ - public function testConvertsJsonResponsesToArray() - { - $client = $this->getClient(); - $this->setMockResponse($client, array( - new \Guzzle\Http\Message\Response(200, array( - 'Content-Type' => 'application/json' - ), '{ "key": "Hi!" }' - ) - )); - $command = new MockCommand(); - $command->setClient($client); - $command->execute(); - $this->assertEquals(array( - 'key' => 'Hi!' - ), $command->getResult()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::process - * @expectedException \Guzzle\Common\Exception\RuntimeException - */ - public function testConvertsInvalidJsonResponsesToArray() - { - $client = $this->getClient(); - $this->setMockResponse($client, array( - new \Guzzle\Http\Message\Response(200, array( - 'Content-Type' => 'application/json' - ), '{ "key": "Hi!" }invalid' - ) - )); - $command = new MockCommand(); - $command->setClient($client); - $command->execute(); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::process - */ - public function testProcessResponseIsNotXml() - { - $client = $this->getClient(); - $this->setMockResponse($client, array( - new Response(200, array( - 'Content-Type' => 'application/octet-stream' - ), 'abc,def,ghi') - )); - $command = new MockCommand(); - $client->execute($command); - - // Make sure that the result was not converted to XML - $this->assertFalse($command->getResult() instanceof \SimpleXMLElement); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::execute - * @expectedException RuntimeException - */ - public function testExecuteThrowsExceptionWhenNoClientIsSet() - { - $command = new MockCommand(); - $command->execute(); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::prepare - * @expectedException RuntimeException - */ - public function testPrepareThrowsExceptionWhenNoClientIsSet() - { - $command = new MockCommand(); - $command->prepare(); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::prepare - * @covers Guzzle\Service\Command\AbstractCommand::getRequestHeaders - */ - public function testCommandsAllowsCustomRequestHeaders() - { - $command = new MockCommand(); - $command->getRequestHeaders()->set('test', '123'); - $this->assertInstanceOf('Guzzle\Common\Collection', $command->getRequestHeaders()); - $this->assertEquals('123', $command->getRequestHeaders()->get('test')); - - $command->setClient($this->getClient())->prepare(); - $this->assertEquals('123', (string) $command->getRequest()->getHeader('test')); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::__construct - */ - public function testCommandsAllowsCustomRequestHeadersAsArray() - { - $command = new MockCommand(array(AbstractCommand::HEADERS_OPTION => array('Foo' => 'Bar'))); - $this->assertInstanceOf('Guzzle\Common\Collection', $command->getRequestHeaders()); - $this->assertEquals('Bar', $command->getRequestHeaders()->get('Foo')); - } - - private function getOperation() - { - return new Operation(array( - 'name' => 'foobar', - 'httpMethod' => 'POST', - 'class' => 'Guzzle\\Tests\\Service\\Mock\\Command\\MockCommand', - 'parameters' => array( - 'test' => array( - 'default' => '123', - 'type' => 'string' - ) - ))); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand - */ - public function testCommandsUsesOperation() - { - $api = $this->getOperation(); - $command = new MockCommand(array(), $api); - $this->assertSame($api, $command->getOperation()); - $command->setClient($this->getClient())->prepare(); - $this->assertEquals('123', $command->get('test')); - $this->assertSame($api, $command->getOperation($api)); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::__clone - */ - public function testCloneMakesNewRequest() - { - $client = $this->getClient(); - $command = new MockCommand(array(), $this->getOperation()); - $command->setClient($client); - - $command->prepare(); - $this->assertTrue($command->isPrepared()); - - $command2 = clone $command; - $this->assertFalse($command2->isPrepared()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::setOnComplete - * @covers Guzzle\Service\Command\AbstractCommand::__construct - * @covers Guzzle\Service\Command\AbstractCommand::getResult - */ - public function testHasOnCompleteMethod() - { - $that = $this; - $called = 0; - - $testFunction = function($command) use (&$called, $that) { - $called++; - $that->assertInstanceOf('Guzzle\Service\Command\CommandInterface', $command); - }; - - $client = $this->getClient(); - $command = new MockCommand(array( - 'command.on_complete' => $testFunction - ), $this->getOperation()); - $command->setClient($client); - - $command->prepare()->setResponse(new Response(200), true); - $command->execute(); - $this->assertEquals(1, $called); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::setOnComplete - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testOnCompleteMustBeCallable() - { - $client = $this->getClient(); - $command = new MockCommand(); - $command->setOnComplete('foo'); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::setResult - */ - public function testCanSetResultManually() - { - $client = $this->getClient(); - $client->getEventDispatcher()->addSubscriber(new MockPlugin(array( - new Response(200) - ))); - $command = new MockCommand(); - $client->execute($command); - $command->setResult('foo!'); - $this->assertEquals('foo!', $command->getResult()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand - */ - public function testCanInitConfig() - { - $command = $this->getMockBuilder('Guzzle\\Service\\Command\\AbstractCommand') - ->setConstructorArgs(array(array( - 'foo' => 'bar' - ), new Operation(array( - 'parameters' => array( - 'baz' => new Parameter(array( - 'default' => 'baaar' - )) - ) - )))) - ->getMockForAbstractClass(); - - $this->assertEquals('bar', $command['foo']); - $this->assertEquals('baaar', $command['baz']); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::prepare - */ - public function testAddsCurlOptionsToRequestsWhenPreparing() - { - $command = new MockCommand(array( - 'foo' => 'bar', - 'curl.options' => array('CURLOPT_PROXYPORT' => 8080) - )); - $client = new Client(); - $command->setClient($client); - $request = $command->prepare(); - $this->assertEquals(8080, $request->getCurlOptions()->get(CURLOPT_PROXYPORT)); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::__invoke - */ - public function testIsInvokable() - { - $client = $this->getClient(); - $response = new Response(200); - $this->setMockResponse($client, array($response)); - $command = new MockCommand(); - $command->setClient($client); - // Returns the result of the command - $this->assertSame($response, $command()); - } - - /** - * @covers Guzzle\Service\Command\AbstractCommand::__construct - * @covers Guzzle\Service\Command\AbstractCommand::createOperation - */ - public function testCreatesDefaultOperation() - { - $command = $this->getMockBuilder('Guzzle\Service\Command\AbstractCommand')->getMockForAbstractClass(); - $this->assertInstanceOf('Guzzle\Service\Description\Operation', $command->getOperation()); - } - - public function testAllowsValidatorToBeInjected() - { - $command = $this->getMockBuilder('Guzzle\Service\Command\AbstractCommand')->getMockForAbstractClass(); - $v = new SchemaValidator(); - $command->setValidator($v); - $this->assertSame($v, $this->readAttribute($command, 'validator')); - } - - public function testCanDisableValidation() - { - $command = new MockCommand(); - $command->setClient(new \Guzzle\Service\Client()); - $v = $this->getMockBuilder('Guzzle\Service\Description\SchemaValidator') - ->setMethods(array('validate')) - ->getMock(); - $v->expects($this->never())->method('validate'); - $command->setValidator($v); - $command->set(AbstractCommand::DISABLE_VALIDATION, true); - $command->prepare(); - } - - public function testValidatorDoesNotUpdateNonDefaultValues() - { - $command = new MockCommand(array('test' => 123, 'foo' => 'bar')); - $command->setClient(new \Guzzle\Service\Client()); - $command->prepare(); - $this->assertEquals(123, $command->get('test')); - $this->assertEquals('bar', $command->get('foo')); - } - - public function testValidatorUpdatesDefaultValues() - { - $command = new MockCommand(); - $command->setClient(new \Guzzle\Service\Client()); - $command->prepare(); - $this->assertEquals(123, $command->get('test')); - $this->assertEquals('abc', $command->get('_internal')); - } - - /** - * @expectedException \Guzzle\Service\Exception\ValidationException - * @expectedExceptionMessage [Foo] Baz - */ - public function testValidatesCommandBeforeSending() - { - $command = new MockCommand(); - $command->setClient(new \Guzzle\Service\Client()); - $v = $this->getMockBuilder('Guzzle\Service\Description\SchemaValidator') - ->setMethods(array('validate', 'getErrors')) - ->getMock(); - $v->expects($this->any())->method('validate')->will($this->returnValue(false)); - $v->expects($this->any())->method('getErrors')->will($this->returnValue(array('[Foo] Baz', '[Bar] Boo'))); - $command->setValidator($v); - $command->prepare(); - } - - public function testCanChangeResponseBody() - { - $body = EntityBody::factory(); - $command = new MockCommand(); - $command->setClient(new \Guzzle\Service\Client()); - $command->set(AbstractCommand::RESPONSE_BODY, $body); - $request = $command->prepare(); - $this->assertSame($body, $this->readAttribute($request, 'responseBody')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultRequestSerializerTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultRequestSerializerTest.php deleted file mode 100644 index dcd0d72..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultRequestSerializerTest.php +++ /dev/null @@ -1,105 +0,0 @@ -serializer = DefaultRequestSerializer::getInstance(); - $this->client = new Client('http://foo.com/baz'); - $this->operation = new Operation(array('httpMethod' => 'POST')); - $this->command = $this->getMockBuilder('Guzzle\Service\Command\AbstractCommand') - ->setConstructorArgs(array(array(), $this->operation)) - ->getMockForAbstractClass(); - $this->command->setClient($this->client); - } - - public function testAllowsCustomVisitor() - { - $this->serializer->addVisitor('custom', new HeaderVisitor()); - $this->command['test'] = '123'; - $this->operation->addParam(new Parameter(array('name' => 'test', 'location' => 'custom'))); - $request = $this->serializer->prepare($this->command); - $this->assertEquals('123', (string) $request->getHeader('test')); - } - - public function testUsesRelativePath() - { - $this->operation->setUri('bar'); - $request = $this->serializer->prepare($this->command); - $this->assertEquals('http://foo.com/baz/bar', (string) $request->getUrl()); - } - - public function testUsesRelativePathWithUriLocations() - { - $this->command['test'] = '123'; - $this->operation->setUri('bar/{test}'); - $this->operation->addParam(new Parameter(array('name' => 'test', 'location' => 'uri'))); - $request = $this->serializer->prepare($this->command); - $this->assertEquals('http://foo.com/baz/bar/123', (string) $request->getUrl()); - } - - public function testAllowsCustomFactory() - { - $f = new VisitorFlyweight(); - $serializer = new DefaultRequestSerializer($f); - $this->assertSame($f, $this->readAttribute($serializer, 'factory')); - } - - public function testMixedParams() - { - $this->operation->setUri('bar{?limit,fields}'); - $this->operation->addParam(new Parameter(array( - 'name' => 'limit', - 'location' => 'uri', - 'required' => false, - ))); - $this->operation->addParam(new Parameter(array( - 'name' => 'fields', - 'location' => 'uri', - 'required' => true, - ))); - - $this->command['fields'] = array('id', 'name'); - - $request = $this->serializer->prepare($this->command); - $this->assertEquals('http://foo.com/baz/bar?fields='.urlencode('id,name'), (string) $request->getUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultResponseParserTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultResponseParserTest.php deleted file mode 100644 index a6a02f9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/DefaultResponseParserTest.php +++ /dev/null @@ -1,59 +0,0 @@ -setClient(new Client()); - $request = $op->prepare(); - $request->setResponse(new Response(200, array( - 'Content-Type' => 'application/xml' - ), 'Bar'), true); - $this->assertInstanceOf('SimpleXMLElement', $op->execute()); - } - - public function testParsesJsonResponses() - { - $op = new OperationCommand(array(), new Operation()); - $op->setClient(new Client()); - $request = $op->prepare(); - $request->setResponse(new Response(200, array( - 'Content-Type' => 'application/json' - ), '{"Baz":"Bar"}'), true); - $this->assertEquals(array('Baz' => 'Bar'), $op->execute()); - } - - /** - * @expectedException \Guzzle\Common\Exception\RuntimeException - */ - public function testThrowsExceptionWhenParsingJsonFails() - { - $op = new OperationCommand(array(), new Operation()); - $op->setClient(new Client()); - $request = $op->prepare(); - $request->setResponse(new Response(200, array('Content-Type' => 'application/json'), '{"Baz":ddw}'), true); - $op->execute(); - } - - public function testAddsContentTypeWhenExpectsIsSetOnCommand() - { - $op = new OperationCommand(array(), new Operation()); - $op['command.expects'] = 'application/json'; - $op->setClient(new Client()); - $request = $op->prepare(); - $request->setResponse(new Response(200, null, '{"Baz":"Bar"}'), true); - $this->assertEquals(array('Baz' => 'Bar'), $op->execute()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/AliasFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/AliasFactoryTest.php deleted file mode 100644 index 6779d2a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/AliasFactoryTest.php +++ /dev/null @@ -1,74 +0,0 @@ -client = new Client(); - - $map = new MapFactory(array( - 'test' => 'Guzzle\Tests\Service\Mock\Command\MockCommand', - 'test1' => 'Guzzle\Tests\Service\Mock\Command\OtherCommand' - )); - - $this->factory = new AliasFactory($this->client, array( - 'foo' => 'test', - 'bar' => 'sub', - 'sub' => 'test1', - 'krull' => 'test3', - 'krull_2' => 'krull', - 'sub_2' => 'bar', - 'bad_link' => 'jarjar' - )); - - $map2 = new MapFactory(array( - 'test3' => 'Guzzle\Tests\Service\Mock\Command\Sub\Sub' - )); - - $this->client->setCommandFactory(new CompositeFactory(array($map, $this->factory, $map2))); - } - - public function aliasProvider() - { - return array( - array('foo', 'Guzzle\Tests\Service\Mock\Command\MockCommand', false), - array('bar', 'Guzzle\Tests\Service\Mock\Command\OtherCommand', false), - array('sub', 'Guzzle\Tests\Service\Mock\Command\OtherCommand', false), - array('sub_2', 'Guzzle\Tests\Service\Mock\Command\OtherCommand', false), - array('krull', 'Guzzle\Tests\Service\Mock\Command\Sub\Sub', false), - array('krull_2', 'Guzzle\Tests\Service\Mock\Command\Sub\Sub', false), - array('missing', null, true), - array('bad_link', null, true) - ); - } - - /** - * @covers Guzzle\Service\Command\Factory\AliasFactory - * @dataProvider aliasProvider - */ - public function testAliasesCommands($key, $result, $exception) - { - try { - $command = $this->client->getCommand($key); - if (is_null($result)) { - $this->assertNull($command); - } else { - $this->assertInstanceof($result, $command); - } - } catch (\Exception $e) { - if (!$exception) { - $this->fail('Got exception when it was not expected'); - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/CompositeFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/CompositeFactoryTest.php deleted file mode 100644 index 3c7cb5a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/CompositeFactoryTest.php +++ /dev/null @@ -1,142 +0,0 @@ -getMockBuilder($class) - ->disableOriginalConstructor() - ->getMock(); - } - - /** - * @covers Guzzle\Service\Command\Factory\CompositeFactory::getIterator - * @covers Guzzle\Service\Command\Factory\CompositeFactory::count - */ - public function testIsIterable() - { - $factory = new CompositeFactory(array($this->getFactory(), $this->getFactory())); - $this->assertEquals(2, count($factory)); - $this->assertEquals(2, count(iterator_to_array($factory->getIterator()))); - } - - /** - * @covers Guzzle\Service\Command\Factory\CompositeFactory::find - * @covers Guzzle\Service\Command\Factory\CompositeFactory::has - */ - public function testFindsFactories() - { - $f1 = $this->getFactory(); - $f2 = $this->getFactory('Guzzle\\Service\\Command\\Factory\\CompositeFactory'); - $factory = new CompositeFactory(array($f1, $f2)); - $this->assertNull($factory->find('foo')); - $this->assertNull($factory->find($this->getFactory())); - $this->assertSame($f1, $factory->find('Guzzle\\Service\\Command\\Factory\\MapFactory')); - $this->assertSame($f2, $factory->find('Guzzle\\Service\\Command\\Factory\\CompositeFactory')); - $this->assertSame($f1, $factory->find($f1)); - $this->assertSame($f2, $factory->find($f2)); - - $this->assertFalse($factory->has('foo')); - $this->assertTrue($factory->has('Guzzle\\Service\\Command\\Factory\\MapFactory')); - $this->assertTrue($factory->has('Guzzle\\Service\\Command\\Factory\\CompositeFactory')); - } - - /** - * @covers Guzzle\Service\Command\Factory\CompositeFactory::factory - * @covers Guzzle\Service\Command\Factory\CompositeFactory::__construct - */ - public function testCreatesCommands() - { - $factory = new CompositeFactory(); - $this->assertNull($factory->factory('foo')); - - $f1 = $this->getFactory(); - $mockCommand1 = $this->getMockForAbstractClass('Guzzle\\Service\\Command\\AbstractCommand'); - - $f1->expects($this->once()) - ->method('factory') - ->with($this->equalTo('foo')) - ->will($this->returnValue($mockCommand1)); - - $factory = new CompositeFactory(array($f1)); - $this->assertSame($mockCommand1, $factory->factory('foo')); - } - - /** - * @covers Guzzle\Service\Command\Factory\CompositeFactory::remove - */ - public function testAllowsRemovalOfFactories() - { - $f1 = $this->getFactory(); - $f2 = $this->getFactory(); - $f3 = $this->getFactory('Guzzle\\Service\\Command\\Factory\\CompositeFactory'); - $factories = array($f1, $f2, $f3); - $factory = new CompositeFactory($factories); - - $factory->remove('foo'); - $this->assertEquals($factories, $factory->getIterator()->getArrayCopy()); - - $factory->remove($f1); - $this->assertEquals(array($f2, $f3), $factory->getIterator()->getArrayCopy()); - - $factory->remove('Guzzle\\Service\\Command\\Factory\\MapFactory'); - $this->assertEquals(array($f3), $factory->getIterator()->getArrayCopy()); - - $factory->remove('Guzzle\\Service\\Command\\Factory\\CompositeFactory'); - $this->assertEquals(array(), $factory->getIterator()->getArrayCopy()); - - $factory->remove('foo'); - $this->assertEquals(array(), $factory->getIterator()->getArrayCopy()); - } - - /** - * @covers Guzzle\Service\Command\Factory\CompositeFactory::add - */ - public function testAddsFactoriesBeforeAndAtEnd() - { - $f1 = $this->getFactory(); - $f2 = $this->getFactory(); - $f3 = $this->getFactory('Guzzle\\Service\\Command\\Factory\\CompositeFactory'); - $f4 = $this->getFactory(); - - $factory = new CompositeFactory(); - - $factory->add($f1); - $this->assertEquals(array($f1), $factory->getIterator()->getArrayCopy()); - - $factory->add($f2); - $this->assertEquals(array($f1, $f2), $factory->getIterator()->getArrayCopy()); - - $factory->add($f3, $f2); - $this->assertEquals(array($f1, $f3, $f2), $factory->getIterator()->getArrayCopy()); - - $factory->add($f4, 'Guzzle\\Service\\Command\\Factory\\CompositeFactory'); - $this->assertEquals(array($f1, $f4, $f3, $f2), $factory->getIterator()->getArrayCopy()); - } - - /** - * @covers Guzzle\Service\Command\Factory\CompositeFactory::getDefaultChain - */ - public function testProvidesDefaultChainForClients() - { - $client = $this->getMock('Guzzle\\Service\\Client'); - $chain = CompositeFactory::getDefaultChain($client); - $a = $chain->getIterator()->getArrayCopy(); - $this->assertEquals(1, count($a)); - $this->assertInstanceOf('Guzzle\\Service\\Command\\Factory\\ConcreteClassFactory', $a[0]); - - $description = $this->getMock('Guzzle\\Service\\Description\\ServiceDescription'); - $client->expects($this->once()) - ->method('getDescription') - ->will($this->returnValue($description)); - $chain = CompositeFactory::getDefaultChain($client); - $a = $chain->getIterator()->getArrayCopy(); - $this->assertEquals(2, count($a)); - $this->assertInstanceOf('Guzzle\\Service\\Command\\Factory\\ServiceDescriptionFactory', $a[0]); - $this->assertInstanceOf('Guzzle\\Service\\Command\\Factory\\ConcreteClassFactory', $a[1]); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ConcreteClassFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ConcreteClassFactoryTest.php deleted file mode 100644 index 8e987da..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ConcreteClassFactoryTest.php +++ /dev/null @@ -1,47 +0,0 @@ - $prefix - )); - } - - $factory = new ConcreteClassFactory($client); - - if (is_null($result)) { - $this->assertNull($factory->factory($key)); - } else { - $this->assertInstanceof($result, $factory->factory($key)); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/MapFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/MapFactoryTest.php deleted file mode 100644 index 46e19d8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/MapFactoryTest.php +++ /dev/null @@ -1,35 +0,0 @@ - 'Guzzle\Tests\Service\Mock\Command\MockCommand', - 'test1' => 'Guzzle\Tests\Service\Mock\Command\OtherCommand' - )); - - if (is_null($result)) { - $this->assertNull($factory->factory($key)); - } else { - $this->assertInstanceof($result, $factory->factory($key)); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ServiceDescriptionFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ServiceDescriptionFactoryTest.php deleted file mode 100644 index 67f6976..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/ServiceDescriptionFactoryTest.php +++ /dev/null @@ -1,63 +0,0 @@ -getDescription(); - - $factory = new ServiceDescriptionFactory($d); - $this->assertSame($d, $factory->getServiceDescription()); - - if (is_null($result)) { - $this->assertNull($factory->factory($key)); - } else { - $this->assertInstanceof($result, $factory->factory($key)); - } - } - - public function testUsesInflectionIfNoExactMatch() - { - $d = $this->getDescription(); - $factory = new ServiceDescriptionFactory($d, new Inflector()); - $this->assertInstanceof('Guzzle\Tests\Service\Mock\Command\OtherCommand', $factory->factory('Binks')); - $this->assertInstanceof('Guzzle\Tests\Service\Mock\Command\OtherCommand', $factory->factory('binks')); - $this->assertInstanceof('Guzzle\Tests\Service\Mock\Command\MockCommand', $factory->factory('JarJar')); - $this->assertInstanceof('Guzzle\Tests\Service\Mock\Command\MockCommand', $factory->factory('jar_jar')); - } - - protected function getDescription() - { - return ServiceDescription::factory(array( - 'operations' => array( - 'jar_jar' => array( - 'class' => 'Guzzle\Tests\Service\Mock\Command\MockCommand' - ), - 'binks' => array( - 'class' => 'Guzzle\Tests\Service\Mock\Command\OtherCommand' - ) - ) - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php deleted file mode 100644 index 6873f9e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php +++ /dev/null @@ -1,110 +0,0 @@ -command = new MockCommand(); - $this->request = new EntityEnclosingRequest('POST', 'http://www.test.com'); - $this->validator = new SchemaValidator(); - } - - protected function getCommand($location) - { - $command = new OperationCommand(array(), $this->getNestedCommand($location)); - $command->setClient(new MockClient()); - - return $command; - } - - protected function getNestedCommand($location) - { - return new Operation(array( - 'httpMethod' => 'POST', - 'parameters' => array( - 'foo' => new Parameter(array( - 'type' => 'object', - 'location' => $location, - 'sentAs' => 'Foo', - 'required' => true, - 'properties' => array( - 'test' => array( - 'type' => 'object', - 'required' => true, - 'properties' => array( - 'baz' => array( - 'type' => 'boolean', - 'default' => true - ), - 'jenga' => array( - 'type' => 'string', - 'default' => 'hello', - 'sentAs' => 'Jenga_Yall!', - 'filters' => array('strtoupper') - ) - ) - ), - 'bar' => array('default' => 123) - ), - 'additionalProperties' => array( - 'type' => 'string', - 'filters' => array('strtoupper'), - 'location' => $location - ) - )), - 'arr' => new Parameter(array( - 'type' => 'array', - 'location' => $location, - 'items' => array( - 'type' => 'string', - 'filters' => array('strtoupper') - ) - )), - ) - )); - } - - protected function getCommandWithArrayParamAndFilters() - { - $operation = new Operation(array( - 'httpMethod' => 'POST', - 'parameters' => array( - 'foo' => new Parameter(array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'Foo', - 'required' => true, - 'default' => 'bar', - 'filters' => array('strtoupper') - )), - 'arr' => new Parameter(array( - 'type' => 'array', - 'location' => 'query', - 'sentAs' => 'Arr', - 'required' => true, - 'default' => array(123, 456, 789), - 'filters' => array(array('method' => 'implode', 'args' => array(',', '@value'))) - )) - ) - )); - $command = new OperationCommand(array(), $operation); - $command->setClient(new MockClient()); - - return $command; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/BodyVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/BodyVisitorTest.php deleted file mode 100644 index 2a95c45..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/BodyVisitorTest.php +++ /dev/null @@ -1,63 +0,0 @@ -getNestedCommand('body')->getParam('foo')->setSentAs('Foo'); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertEquals('123', (string) $this->request->getBody()); - $this->assertNull($this->request->getHeader('Expect')); - } - - public function testAddsExpectHeaderWhenSetToTrue() - { - $visitor = new Visitor(); - $param = $this->getNestedCommand('body')->getParam('foo')->setSentAs('Foo'); - $param->setData('expect_header', true); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertEquals('123', (string) $this->request->getBody()); - } - - public function testCanDisableExpectHeader() - { - $visitor = new Visitor(); - $param = $this->getNestedCommand('body')->getParam('foo')->setSentAs('Foo'); - $param->setData('expect_header', false); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertNull($this->request->getHeader('Expect')); - } - - public function testCanSetExpectHeaderBasedOnSize() - { - $visitor = new Visitor(); - $param = $this->getNestedCommand('body')->getParam('foo')->setSentAs('Foo'); - // The body is less than the cutoff - $param->setData('expect_header', 5); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertNull($this->request->getHeader('Expect')); - // Now check when the body is greater than the cutoff - $param->setData('expect_header', 2); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertEquals('100-Continue', (string) $this->request->getHeader('Expect')); - } - - public function testAddsContentEncodingWhenSetOnBody() - { - $visitor = new Visitor(); - $param = $this->getNestedCommand('body')->getParam('foo')->setSentAs('Foo'); - $body = EntityBody::factory('foo'); - $body->compress(); - $visitor->visit($this->command, $this->request, $param, $body); - $this->assertEquals('gzip', (string) $this->request->getHeader('Content-Encoding')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/HeaderVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/HeaderVisitorTest.php deleted file mode 100644 index 7ea1ae9..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/HeaderVisitorTest.php +++ /dev/null @@ -1,48 +0,0 @@ -getNestedCommand('header')->getParam('foo')->setSentAs('test'); - $param->setAdditionalProperties(new Parameter(array())); - $visitor->visit($this->command, $this->request, $param, 'test'); - } - - public function testVisitsLocation() - { - $visitor = new Visitor(); - $param = $this->getNestedCommand('header')->getParam('foo')->setSentAs('test'); - $param->setAdditionalProperties(false); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertEquals('123', (string) $this->request->getHeader('test')); - } - - public function testVisitsMappedPrefixHeaders() - { - $visitor = new Visitor(); - $param = $this->getNestedCommand('header')->getParam('foo')->setSentAs('test'); - $param->setSentAs('x-foo-'); - $param->setAdditionalProperties(new Parameter(array( - 'type' => 'string' - ))); - $visitor->visit($this->command, $this->request, $param, array( - 'bar' => 'test', - 'baz' => '123' - )); - $this->assertEquals('test', (string) $this->request->getHeader('x-foo-bar')); - $this->assertEquals('123', (string) $this->request->getHeader('x-foo-baz')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/JsonVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/JsonVisitorTest.php deleted file mode 100644 index ff63ae3..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/JsonVisitorTest.php +++ /dev/null @@ -1,69 +0,0 @@ -after($this->command, $this->request); - - $param = $this->getNestedCommand('json')->getParam('foo'); - $visitor->visit($this->command, $this->request, $param->setSentAs('test'), '123'); - $visitor->visit($this->command, $this->request, $param->setSentAs('test2'), 'abc'); - $visitor->after($this->command, $this->request); - $this->assertEquals('{"test":"123","test2":"abc"}', (string) $this->request->getBody()); - } - - public function testAddsJsonHeader() - { - $visitor = new Visitor(); - $visitor->setContentTypeHeader('application/json-foo'); - $param = $this->getNestedCommand('json')->getParam('foo'); - $visitor->visit($this->command, $this->request, $param->setSentAs('test'), '123'); - $visitor->after($this->command, $this->request); - $this->assertEquals('application/json-foo', (string) $this->request->getHeader('Content-Type')); - } - - /** - * @covers Guzzle\Service\Command\LocationVisitor\Request\JsonVisitor - * @covers Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor::resolveRecursively - */ - public function testRecursivelyBuildsJsonBodies() - { - $command = $this->getCommand('json'); - $request = $command->prepare(); - $this->assertEquals('{"Foo":{"test":{"baz":true,"Jenga_Yall!":"HELLO"},"bar":123}}', (string) $request->getBody()); - } - - /** - * @covers Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor::resolveRecursively - */ - public function testAppliesFiltersToAdditionalProperties() - { - $command = $this->getCommand('json'); - $command->set('foo', array('not_set' => 'abc')); - $request = $command->prepare(); - $result = json_decode($request->getBody(), true); - $this->assertEquals('ABC', $result['Foo']['not_set']); - } - - /** - * @covers Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor::resolveRecursively - */ - public function testAppliesFiltersToArrayItemValues() - { - $command = $this->getCommand('json'); - $command->set('arr', array('a', 'b')); - $request = $command->prepare(); - $result = json_decode($request->getBody(), true); - $this->assertEquals(array('A', 'B'), $result['arr']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFieldVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFieldVisitorTest.php deleted file mode 100644 index 540b410..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFieldVisitorTest.php +++ /dev/null @@ -1,33 +0,0 @@ -getNestedCommand('postField')->getParam('foo'); - $visitor->visit($this->command, $this->request, $param->setSentAs('test'), '123'); - $this->assertEquals('123', (string) $this->request->getPostField('test')); - } - - public function testRecursivelyBuildsPostFields() - { - $command = $this->getCommand('postField'); - $request = $command->prepare(); - $visitor = new Visitor(); - $param = $command->getOperation()->getParam('foo'); - $visitor->visit($command, $request, $param, $command['foo']); - $visitor->after($command, $request); - $this->assertEquals( - 'Foo[test][baz]=1&Foo[test][Jenga_Yall!]=HELLO&Foo[bar]=123', - rawurldecode((string) $request->getPostFields()) - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFileVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFileVisitorTest.php deleted file mode 100644 index 43d70b6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/PostFileVisitorTest.php +++ /dev/null @@ -1,26 +0,0 @@ -getNestedCommand('postFile')->getParam('foo'); - - // Test using a path to a file - $visitor->visit($this->command, $this->request, $param->setSentAs('test_3'), __FILE__); - $this->assertInternalType('array', $this->request->getPostFile('test_3')); - - // Test with a PostFile - $visitor->visit($this->command, $this->request, $param->setSentAs(null), new PostFile('baz', __FILE__)); - $this->assertInternalType('array', $this->request->getPostFile('baz')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php deleted file mode 100644 index 607af76..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php +++ /dev/null @@ -1,48 +0,0 @@ -getNestedCommand('query')->getParam('foo')->setSentAs('test'); - $visitor->visit($this->command, $this->request, $param, '123'); - $this->assertEquals('123', $this->request->getQuery()->get('test')); - } - - /** - * @covers Guzzle\Service\Command\LocationVisitor\Request\QueryVisitor - * @covers Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor::resolveRecursively - */ - public function testRecursivelyBuildsQueryStrings() - { - $command = $this->getCommand('query'); - $command->getOperation()->getParam('foo')->setSentAs('Foo'); - $request = $command->prepare(); - $this->assertEquals( - 'Foo[test][baz]=1&Foo[test][Jenga_Yall!]=HELLO&Foo[bar]=123', - rawurldecode($request->getQuery()) - ); - } - - /** - * @covers Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor::resolveRecursively - */ - public function testFiltersAreAppliedToArrayParamType() - { - $command = $this->getCommandWithArrayParamAndFilters(); - $request = $command->prepare(); - $query = $request->getQuery(); - // param type 'string' - $this->assertEquals('BAR', $query->get('Foo')); - // param type 'array' - $this->assertEquals('123,456,789', $query->get('Arr')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/ResponseBodyVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/ResponseBodyVisitorTest.php deleted file mode 100644 index ff8cec5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/ResponseBodyVisitorTest.php +++ /dev/null @@ -1,20 +0,0 @@ -getNestedCommand('response_body')->getParam('foo'); - $visitor->visit($this->command, $this->request, $param, sys_get_temp_dir() . '/foo.txt'); - $body = $this->readAttribute($this->request, 'responseBody'); - $this->assertContains('/foo.txt', $body->getUri()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/XmlVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/XmlVisitorTest.php deleted file mode 100644 index 6f4ac76..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/XmlVisitorTest.php +++ /dev/null @@ -1,525 +0,0 @@ - array( - 'xmlRoot' => array( - 'name' => 'test', - 'namespaces' => 'http://foo.com' - ) - ), - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string'), - 'Baz' => array('location' => 'xml', 'type' => 'string') - ) - ), - array('Foo' => 'test', 'Baz' => 'bar'), - 'testbar' - ), - // Ensure that the content-type is not added - array(array('parameters' => array('Foo' => array('location' => 'xml', 'type' => 'string'))), array(), ''), - // Test with adding attributes and no namespace - array( - array( - 'data' => array( - 'xmlRoot' => array( - 'name' => 'test' - ) - ), - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string', 'data' => array('xmlAttribute' => true)) - ) - ), - array('Foo' => 'test', 'Baz' => 'bar'), - '' - ), - // Test adding with an array - array( - array( - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string'), - 'Baz' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'numeric', - 'sentAs' => 'Bar' - ) - ) - ) - ), - array('Foo' => 'test', 'Baz' => array(1, 2)), - 'test12' - ), - // Test adding an object - array( - array( - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string'), - 'Baz' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Bar' => array('type' => 'string'), - 'Bam' => array() - ) - ) - ) - ), - array('Foo' => 'test', 'Baz' => array('Bar' => 'abc', 'Bam' => 'foo')), - 'testabcfoo' - ), - // Add an array that contains an object - array( - array( - 'parameters' => array( - 'Baz' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Bar', - 'properties' => array('A' => array(), 'B' => array()) - ) - ) - ) - ), - array('Baz' => array( - array('A' => '1', 'B' => '2'), - array('A' => '3', 'B' => '4') - )), - '1234' - ), - // Add an object of attributes - array( - array( - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string'), - 'Baz' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Bar' => array('type' => 'string', 'data' => array('xmlAttribute' => true)), - 'Bam' => array() - ) - ) - ) - ), - array('Foo' => 'test', 'Baz' => array('Bar' => 'abc', 'Bam' => 'foo')), - 'testfoo' - ), - // Add values with custom namespaces - array( - array( - 'parameters' => array( - 'Foo' => array( - 'location' => 'xml', - 'type' => 'string', - 'data' => array( - 'xmlNamespace' => 'http://foo.com' - ) - ) - ) - ), - array('Foo' => 'test'), - 'test' - ), - // Add attributes with custom namespace prefix - array( - array( - 'parameters' => array( - 'Wrap' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Foo' => array( - 'type' => 'string', - 'sentAs' => 'xsi:baz', - 'data' => array( - 'xmlNamespace' => 'http://foo.com', - 'xmlAttribute' => true - ) - ) - ) - ), - ) - ), - array('Wrap' => array( - 'Foo' => 'test' - )), - '' - ), - // Add nodes with custom namespace prefix - array( - array( - 'parameters' => array( - 'Wrap' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Foo' => array( - 'type' => 'string', - 'sentAs' => 'xsi:Foo', - 'data' => array( - 'xmlNamespace' => 'http://foobar.com' - ) - ) - ) - ), - ) - ), - array('Wrap' => array( - 'Foo' => 'test' - )), - 'test' - ), - // Flat array at top level - array( - array( - 'parameters' => array( - 'Bars' => array( - 'type' => 'array', - 'data' => array('xmlFlattened' => true), - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Bar', - 'properties' => array( - 'A' => array(), - 'B' => array() - ) - ) - ), - 'Boos' => array( - 'type' => 'array', - 'data' => array('xmlFlattened' => true), - 'location' => 'xml', - 'items' => array( - 'sentAs' => 'Boo', - 'type' => 'string' - ) - ) - ) - ), - array( - 'Bars' => array( - array('A' => '1', 'B' => '2'), - array('A' => '3', 'B' => '4') - ), - 'Boos' => array('test', '123') - ), - '1234test123' - ), - // Nested flat arrays - array( - array( - 'parameters' => array( - 'Delete' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Items' => array( - 'type' => 'array', - 'data' => array('xmlFlattened' => true), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Item', - 'properties' => array( - 'A' => array(), - 'B' => array() - ) - ) - ) - ) - ) - ) - ), - array( - 'Delete' => array( - 'Items' => array( - array('A' => '1', 'B' => '2'), - array('A' => '3', 'B' => '4') - ) - ) - ), - '1234' - ) - ); - } - - /** - * @dataProvider xmlProvider - */ - public function testSerializesXml(array $operation, array $input, $xml) - { - $operation = new Operation($operation); - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array($input, $operation)) - ->getMockForAbstractClass(); - $command->setClient(new Client()); - $request = $command->prepare(); - if (!empty($input)) { - $this->assertEquals('application/xml', (string) $request->getHeader('Content-Type')); - } else { - $this->assertNull($request->getHeader('Content-Type')); - } - $body = str_replace(array("\n", ""), '', (string) $request->getBody()); - $this->assertEquals($xml, $body); - } - - public function testAddsContentTypeAndTopLevelValues() - { - $operation = new Operation(array( - 'data' => array( - 'xmlRoot' => array( - 'name' => 'test', - 'namespaces' => array( - 'xsi' => 'http://foo.com' - ) - ) - ), - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string'), - 'Baz' => array('location' => 'xml', 'type' => 'string') - ) - )); - - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array(array( - 'Foo' => 'test', - 'Baz' => 'bar' - ), $operation)) - ->getMockForAbstractClass(); - - $command->setClient(new Client()); - $request = $command->prepare(); - $this->assertEquals('application/xml', (string) $request->getHeader('Content-Type')); - $this->assertEquals( - '' . "\n" - . 'testbar' . "\n", - (string) $request->getBody() - ); - } - - public function testCanChangeContentType() - { - $visitor = new XmlVisitor(); - $visitor->setContentTypeHeader('application/foo'); - $this->assertEquals('application/foo', $this->readAttribute($visitor, 'contentType')); - } - - public function testCanAddArrayOfSimpleTypes() - { - $request = new EntityEnclosingRequest('POST', 'http://foo.com'); - $visitor = new XmlVisitor(); - $param = new Parameter(array( - 'type' => 'object', - 'location' => 'xml', - 'name' => 'Out', - 'properties' => array( - 'Nodes' => array( - 'required' => true, - 'type' => 'array', - 'min' => 1, - 'items' => array('type' => 'string', 'sentAs' => 'Node') - ) - ) - )); - - $param->setParent(new Operation(array( - 'data' => array( - 'xmlRoot' => array( - 'name' => 'Test', - 'namespaces' => array( - 'https://foo/' - ) - ) - ) - ))); - - $value = array('Nodes' => array('foo', 'baz')); - $this->assertTrue($this->validator->validate($param, $value)); - $visitor->visit($this->command, $request, $param, $value); - $visitor->after($this->command, $request); - - $this->assertEquals( - "\n" - . "foobaz\n", - (string) $request->getBody() - ); - } - - public function testCanAddMultipleNamespacesToRoot() - { - $operation = new Operation(array( - 'data' => array( - 'xmlRoot' => array( - 'name' => 'Hi', - 'namespaces' => array( - 'xsi' => 'http://foo.com', - 'foo' => 'http://foobar.com' - ) - ) - ), - 'parameters' => array( - 'Foo' => array('location' => 'xml', 'type' => 'string') - ) - )); - - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array(array( - 'Foo' => 'test' - ), $operation)) - ->getMockForAbstractClass(); - - $command->setClient(new Client()); - $request = $command->prepare(); - $this->assertEquals('application/xml', (string) $request->getHeader('Content-Type')); - $this->assertEquals( - '' . "\n" - . 'test' . "\n", - (string) $request->getBody() - ); - } - - public function testValuesAreFiltered() - { - $operation = new Operation(array( - 'parameters' => array( - 'Foo' => array( - 'location' => 'xml', - 'type' => 'string', - 'filters' => array('strtoupper') - ), - 'Bar' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'Baz' => array( - 'filters' => array('strtoupper') - ) - ) - ) - ) - )); - - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array(array( - 'Foo' => 'test', - 'Bar' => array( - 'Baz' => 'abc' - ) - ), $operation)) - ->getMockForAbstractClass(); - - $command->setClient(new Client()); - $request = $command->prepare(); - $this->assertEquals( - '' . "\n" - . 'TESTABC' . "\n", - (string) $request->getBody() - ); - } - - public function testSkipsNullValues() - { - $operation = new Operation(array( - 'parameters' => array( - 'Foo' => array( - 'location' => 'xml', - 'type' => 'string' - ), - 'Bar' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'Baz' => array(), - 'Bam' => array(), - ) - ), - 'Arr' => array( - 'type' => 'array', - 'items' => array( - 'type' => 'string' - ) - ) - ) - )); - - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array(array( - 'Foo' => null, - 'Bar' => array( - 'Bar' => null, - 'Bam' => 'test' - ), - 'Arr' => array(null) - ), $operation)) - ->getMockForAbstractClass(); - - $command->setClient(new Client()); - $request = $command->prepare(); - $this->assertEquals( - '' . "\n" - . 'test' . "\n", - (string) $request->getBody() - ); - } - - public function testAllowsXmlEncoding() - { - $operation = new Operation(array( - 'data' => array( - 'xmlEncoding' => 'utf8' - ), - 'parameters' => array( - 'Foo' => array('location' => 'xml') - ) - )); - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array(array('Foo' => 'test'), $operation)) - ->getMockForAbstractClass(); - $command->setClient(new Client()); - $request = $command->prepare(); - $this->assertEquals( - '' . "\n" - . 'test' . "\n", - (string) $request->getBody() - ); - } - - public function testAllowsSendingXmlPayloadIfNoXmlParamsWereSet() - { - $operation = new Operation(array( - 'httpMethod' => 'POST', - 'data' => array('xmlAllowEmpty' => true), - 'parameters' => array('Foo' => array('location' => 'xml')) - )); - $command = $this->getMockBuilder('Guzzle\Service\Command\OperationCommand') - ->setConstructorArgs(array(array(), $operation)) - ->getMockForAbstractClass(); - $command->setClient(new Client('http://foo.com')); - $request = $command->prepare(); - $this->assertEquals( - '' . "\n" - . '' . "\n", - (string) $request->getBody() - ); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php deleted file mode 100644 index ef81f3a..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php +++ /dev/null @@ -1,35 +0,0 @@ -value = array(); - $this->command = new MockCommand(); - $this->response = new Response(200, array( - 'X-Foo' => 'bar', - 'Content-Length' => 3, - 'Content-Type' => 'text/plain' - ), 'Foo'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/BodyVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/BodyVisitorTest.php deleted file mode 100644 index 932e39b..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/BodyVisitorTest.php +++ /dev/null @@ -1,21 +0,0 @@ - 'body', 'name' => 'foo')); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals('Foo', (string) $this->value['foo']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/HeaderVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/HeaderVisitorTest.php deleted file mode 100644 index e6a67b0..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/HeaderVisitorTest.php +++ /dev/null @@ -1,63 +0,0 @@ - 'header', - 'name' => 'ContentType', - 'sentAs' => 'Content-Type' - )); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals('text/plain', $this->value['ContentType']); - } - - public function testVisitsLocationWithFilters() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'location' => 'header', - 'name' => 'Content-Type', - 'filters' => array('strtoupper') - )); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals('TEXT/PLAIN', $this->value['Content-Type']); - } - - public function testVisitsMappedPrefixHeaders() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'location' => 'header', - 'name' => 'Metadata', - 'sentAs' => 'X-Baz-', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'string' - ) - )); - $response = new Response(200, array( - 'X-Baz-Test' => 'ABC', - 'X-Baz-Bar' => array('123', '456'), - 'Content-Length' => 3 - ), 'Foo'); - $visitor->visit($this->command, $response, $param, $this->value); - $this->assertEquals(array( - 'Metadata' => array( - 'Test' => 'ABC', - 'Bar' => array('123', '456') - ) - ), $this->value); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/JsonVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/JsonVisitorTest.php deleted file mode 100644 index e4393a1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/JsonVisitorTest.php +++ /dev/null @@ -1,72 +0,0 @@ -getMockBuilder('Guzzle\Service\Command\AbstractCommand') - ->setMethods(array('getResponse')) - ->getMockForAbstractClass(); - $command->expects($this->once()) - ->method('getResponse') - ->will($this->returnValue(new Response(200, null, '{"foo":"bar"}'))); - $result = array(); - $visitor->before($command, $result); - $this->assertEquals(array('foo' => 'bar'), $result); - } - - public function testVisitsLocation() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'name' => 'foo', - 'type' => 'array', - 'items' => array( - 'filters' => 'strtoupper', - 'type' => 'string' - ) - )); - $this->value = array('foo' => array('a', 'b', 'c')); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals(array('A', 'B', 'C'), $this->value['foo']); - } - - public function testRenamesTopLevelValues() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'name' => 'foo', - 'sentAs' => 'Baz', - 'type' => 'string', - )); - $this->value = array('Baz' => 'test'); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals(array('foo' => 'test'), $this->value); - } - - public function testTraversesObjectsAndAppliesFilters() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'properties' => array( - 'foo' => array('filters' => 'strtoupper'), - 'bar' => array('filters' => 'strtolower') - ) - )); - $this->value = array('foo' => array('foo' => 'hello', 'bar' => 'THERE')); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals(array('foo' => 'HELLO', 'bar' => 'there'), $this->value['foo']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/ReasonPhraseVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/ReasonPhraseVisitorTest.php deleted file mode 100644 index 23cd40f..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/ReasonPhraseVisitorTest.php +++ /dev/null @@ -1,21 +0,0 @@ - 'reasonPhrase', 'name' => 'phrase')); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals('OK', $this->value['phrase']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/StatusCodeVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/StatusCodeVisitorTest.php deleted file mode 100644 index 7211a58..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/StatusCodeVisitorTest.php +++ /dev/null @@ -1,21 +0,0 @@ - 'statusCode', 'name' => 'code')); - $visitor->visit($this->command, $this->response, $param, $this->value); - $this->assertEquals(200, $this->value['code']); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php deleted file mode 100644 index 5d6aa06..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php +++ /dev/null @@ -1,339 +0,0 @@ -getMockBuilder('Guzzle\Service\Command\AbstractCommand') - ->setMethods(array('getResponse')) - ->getMockForAbstractClass(); - $command->expects($this->once()) - ->method('getResponse') - ->will($this->returnValue(new Response(200, null, 'test'))); - $result = array(); - $visitor->before($command, $result); - $this->assertEquals(array('Bar' => 'test'), $result); - } - - public function testCanExtractAndRenameTopLevelXmlValues() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'location' => 'xml', - 'name' => 'foo', - 'sentAs' => 'Bar' - )); - $value = array('Bar' => 'test'); - $visitor->visit($this->command, $this->response, $param, $value); - $this->assertArrayHasKey('foo', $value); - $this->assertEquals('test', $value['foo']); - } - - public function testEnsuresRepeatedArraysAreInCorrectLocations() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'location' => 'xml', - 'name' => 'foo', - 'sentAs' => 'Foo', - 'type' => 'array', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Bar' => array('type' => 'string'), - 'Baz' => array('type' => 'string'), - 'Bam' => array('type' => 'string') - ) - ) - )); - - $xml = new \SimpleXMLElement('12'); - $value = json_decode(json_encode($xml), true); - $visitor->visit($this->command, $this->response, $param, $value); - $this->assertEquals(array( - 'foo' => array( - array ( - 'Bar' => '1', - 'Baz' => '2' - ) - ) - ), $value); - } - - public function testEnsuresFlatArraysAreFlat() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'location' => 'xml', - 'name' => 'foo', - 'type' => 'array', - 'items' => array('type' => 'string') - )); - - $value = array('foo' => array('bar', 'baz')); - $visitor->visit($this->command, $this->response, $param, $value); - $this->assertEquals(array('foo' => array('bar', 'baz')), $value); - - $value = array('foo' => 'bar'); - $visitor->visit($this->command, $this->response, $param, $value); - $this->assertEquals(array('foo' => array('bar')), $value); - } - - public function xmlDataProvider() - { - $param = new Parameter(array( - 'location' => 'xml', - 'name' => 'Items', - 'type' => 'array', - 'items' => array( - 'type' => 'object', - 'name' => 'Item', - 'properties' => array( - 'Bar' => array('type' => 'string'), - 'Baz' => array('type' => 'string') - ) - ) - )); - - return array( - array($param, '12', array( - 'Items' => array( - array('Bar' => 1), - array('Bar' => 2) - ) - )), - array($param, '1', array( - 'Items' => array( - array('Bar' => 1) - ) - )), - array($param, '', array( - 'Items' => array() - )) - ); - } - - /** - * @dataProvider xmlDataProvider - */ - public function testEnsuresWrappedArraysAreInCorrectLocations($param, $xml, $result) - { - $visitor = new Visitor(); - $xml = new \SimpleXMLElement($xml); - $value = json_decode(json_encode($xml), true); - $visitor->visit($this->command, $this->response, $param, $value); - $this->assertEquals($result, $value); - } - - public function testCanRenameValues() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'name' => 'TerminatingInstances', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => array( - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'InstanceId' => array( - 'type' => 'string', - 'sentAs' => 'instanceId', - ), - 'CurrentState' => array( - 'type' => 'object', - 'sentAs' => 'currentState', - 'properties' => array( - 'Code' => array( - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - 'PreviousState' => array( - 'type' => 'object', - 'sentAs' => 'previousState', - 'properties' => array( - 'Code' => array( - 'type' => 'numeric', - 'sentAs' => 'code', - ), - 'Name' => array( - 'type' => 'string', - 'sentAs' => 'name', - ), - ), - ), - ), - ) - )); - - $value = array( - 'instancesSet' => array ( - 'item' => array ( - 'instanceId' => 'i-3ea74257', - 'currentState' => array( - 'code' => '32', - 'name' => 'shutting-down', - ), - 'previousState' => array( - 'code' => '16', - 'name' => 'running', - ), - ), - ) - ); - - $visitor->visit($this->command, $this->response, $param, $value); - - $this->assertEquals(array( - 'TerminatingInstances' => array( - array( - 'InstanceId' => 'i-3ea74257', - 'CurrentState' => array( - 'Code' => '32', - 'Name' => 'shutting-down', - ), - 'PreviousState' => array( - 'Code' => '16', - 'Name' => 'running', - ) - ) - ) - ), $value); - } - - public function testCanRenameAttributes() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'name' => 'RunningQueues', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => array( - 'QueueId' => array( - 'type' => 'string', - 'sentAs' => 'queue_id', - 'data' => array( - 'xmlAttribute' => true, - ), - ), - 'CurrentState' => array( - 'type' => 'object', - 'properties' => array( - 'Code' => array( - 'type' => 'numeric', - 'sentAs' => 'code', - 'data' => array( - 'xmlAttribute' => true, - ), - ), - 'Name' => array( - 'sentAs' => 'name', - 'data' => array( - 'xmlAttribute' => true, - ), - ), - ), - ), - 'PreviousState' => array( - 'type' => 'object', - 'properties' => array( - 'Code' => array( - 'type' => 'numeric', - 'sentAs' => 'code', - 'data' => array( - 'xmlAttribute' => true, - ), - ), - 'Name' => array( - 'sentAs' => 'name', - 'data' => array( - 'xmlAttribute' => true, - ), - ), - ), - ), - ), - ) - )); - - $xml = ''; - $value = json_decode(json_encode(new \SimpleXMLElement($xml)), true); - $visitor->visit($this->command, $this->response, $param, $value); - - $this->assertEquals(array( - 'RunningQueues' => array( - array( - 'QueueId' => 'q-3ea74257', - 'CurrentState' => array( - 'Code' => '32', - 'Name' => 'processing', - ), - 'PreviousState' => array( - 'Code' => '16', - 'Name' => 'wait', - ), - ), - ) - ), $value); - } - - public function testAddsEmptyArraysWhenValueIsMissing() - { - $visitor = new Visitor(); - $param = new Parameter(array( - 'name' => 'Foo', - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Baz' => array('type' => 'array'), - 'Bar' => array( - 'type' => 'object', - 'properties' => array( - 'Baz' => array('type' => 'array'), - ) - ) - ) - ) - )); - - $value = array(); - $visitor->visit($this->command, $this->response, $param, $value); - - $value = array( - 'Foo' => array( - 'Bar' => array() - ) - ); - $visitor->visit($this->command, $this->response, $param, $value); - $this->assertEquals(array( - 'Foo' => array( - array( - 'Bar' => array() - ) - ) - ), $value); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/VisitorFlyweightTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/VisitorFlyweightTest.php deleted file mode 100644 index a252ffe..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/VisitorFlyweightTest.php +++ /dev/null @@ -1,53 +0,0 @@ -assertInstanceOf('Guzzle\Service\Command\LocationVisitor\Request\JsonVisitor', $f->getRequestVisitor('json')); - $this->assertInstanceOf('Guzzle\Service\Command\LocationVisitor\Response\JsonVisitor', $f->getResponseVisitor('json')); - } - - public function testCanUseCustomMappings() - { - $f = new VisitorFlyweight(array()); - $this->assertEquals(array(), $this->readAttribute($f, 'mappings')); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage No request visitor has been mapped for foo - */ - public function testThrowsExceptionWhenRetrievingUnknownVisitor() - { - VisitorFlyweight::getInstance()->getRequestVisitor('foo'); - } - - public function testCachesVisitors() - { - $f = new VisitorFlyweight(); - $v1 = $f->getRequestVisitor('json'); - $this->assertSame($v1, $f->getRequestVisitor('json')); - } - - public function testAllowsAddingVisitors() - { - $f = new VisitorFlyweight(); - $j1 = new JsonRequestVisitor(); - $j2 = new JsonResponseVisitor(); - $f->addRequestVisitor('json', $j1); - $f->addResponseVisitor('json', $j2); - $this->assertSame($j1, $f->getRequestVisitor('json')); - $this->assertSame($j2, $f->getResponseVisitor('json')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationCommandTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationCommandTest.php deleted file mode 100644 index 39dfe65..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationCommandTest.php +++ /dev/null @@ -1,102 +0,0 @@ -getRequestSerializer(); - $b = new DefaultRequestSerializer(VisitorFlyweight::getInstance()); - $operation->setRequestSerializer($b); - $this->assertNotSame($a, $operation->getRequestSerializer()); - } - - public function testPreparesRequestUsingSerializer() - { - $op = new OperationCommand(array(), new Operation()); - $op->setClient(new Client()); - $s = $this->getMockBuilder('Guzzle\Service\Command\RequestSerializerInterface') - ->setMethods(array('prepare')) - ->getMockForAbstractClass(); - $s->expects($this->once()) - ->method('prepare') - ->will($this->returnValue(new EntityEnclosingRequest('POST', 'http://foo.com'))); - $op->setRequestSerializer($s); - $op->prepare(); - } - - public function testParsesResponsesWithResponseParser() - { - $op = new OperationCommand(array(), new Operation()); - $p = $this->getMockBuilder('Guzzle\Service\Command\ResponseParserInterface') - ->setMethods(array('parse')) - ->getMockForAbstractClass(); - $p->expects($this->once()) - ->method('parse') - ->will($this->returnValue(array('foo' => 'bar'))); - $op->setResponseParser($p); - $op->setClient(new Client()); - $request = $op->prepare(); - $request->setResponse(new Response(200), true); - $this->assertEquals(array('foo' => 'bar'), $op->execute()); - } - - public function testParsesResponsesUsingModelParserWhenMatchingModelIsFound() - { - $description = ServiceDescription::factory(array( - 'operations' => array( - 'foo' => array('responseClass' => 'bar', 'responseType' => 'model') - ), - 'models' => array( - 'bar' => array( - 'type' => 'object', - 'properties' => array( - 'Baz' => array('type' => 'string', 'location' => 'xml') - ) - ) - ) - )); - - $op = new OperationCommand(array(), $description->getOperation('foo')); - $op->setClient(new Client()); - $request = $op->prepare(); - $request->setResponse(new Response(200, array( - 'Content-Type' => 'application/xml' - ), 'Bar'), true); - $result = $op->execute(); - $this->assertEquals(new Model(array('Baz' => 'Bar'), $description->getModel('bar')), $result); - } - - public function testAllowsRawResponses() - { - $description = new ServiceDescription(array( - 'operations' => array('foo' => array('responseClass' => 'bar', 'responseType' => 'model')), - 'models' => array('bar' => array()) - )); - $op = new OperationCommand(array( - OperationCommand::RESPONSE_PROCESSING => OperationCommand::TYPE_RAW - ), $description->getOperation('foo')); - $op->setClient(new Client()); - $request = $op->prepare(); - $response = new Response(200, array( - 'Content-Type' => 'application/xml' - ), 'Bar'); - $request->setResponse($response, true); - $this->assertSame($response, $op->execute()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationResponseParserTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationResponseParserTest.php deleted file mode 100644 index 0b3ac42..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/OperationResponseParserTest.php +++ /dev/null @@ -1,228 +0,0 @@ -addVisitor('foo', $visitor); - $this->assertSame($visitor, $this->readAttribute($p, 'factory')->getResponseVisitor('foo')); - } - - public function testUsesParentParser() - { - $p = new OperationResponseParser(new VisitorFlyweight()); - $operation = new Operation(); - $operation->setServiceDescription(new ServiceDescription()); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($p)->setClient(new Client()); - $op->prepare()->setResponse(new Response(200, array('Content-Type' => 'application/xml'), 'C'), true); - $this->assertInstanceOf('SimpleXMLElement', $op->execute()); - } - - public function testVisitsLocations() - { - $parser = new OperationResponseParser(new VisitorFlyweight(array())); - $parser->addVisitor('statusCode', new StatusCodeVisitor()); - $parser->addVisitor('reasonPhrase', new ReasonPhraseVisitor()); - $parser->addVisitor('json', new JsonVisitor()); - $op = new OperationCommand(array(), $this->getDescription()->getOperation('test')); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(201), true); - $result = $op->execute(); - $this->assertEquals(201, $result['code']); - $this->assertEquals('Created', $result['phrase']); - } - - public function testVisitsLocationsForJsonResponse() - { - $parser = OperationResponseParser::getInstance(); - $operation = $this->getDescription()->getOperation('test'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(200, array( - 'Content-Type' => 'application/json' - ), '{"baz":"bar","enigma":"123"}'), true); - $result = $op->execute(); - $this->assertEquals(array( - 'baz' => 'bar', - 'enigma' => '123', - 'code' => 200, - 'phrase' => 'OK' - ), $result->toArray()); - } - - public function testSkipsUnkownModels() - { - $parser = OperationResponseParser::getInstance(); - $operation = $this->getDescription()->getOperation('test'); - $operation->setResponseClass('Baz')->setResponseType('model'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(201), true); - $this->assertInstanceOf('Guzzle\Http\Message\Response', $op->execute()); - } - - public function testAllowsModelProcessingToBeDisabled() - { - $parser = OperationResponseParser::getInstance(); - $operation = $this->getDescription()->getOperation('test'); - $op = new OperationCommand(array('command.response_processing' => 'native'), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(200, array( - 'Content-Type' => 'application/json' - ), '{"baz":"bar","enigma":"123"}'), true); - $result = $op->execute(); - $this->assertInstanceOf('Guzzle\Service\Resource\Model', $result); - $this->assertEquals(array( - 'baz' => 'bar', - 'enigma' => '123' - ), $result->toArray()); - } - - public function testDoesNotParseXmlWhenNotUsingXmlVisitor() - { - $parser = OperationResponseParser::getInstance(); - $description = ServiceDescription::factory(array( - 'operations' => array('test' => array('responseClass' => 'Foo')), - 'models' => array( - 'Foo' => array( - 'type' => 'object', - 'properties' => array('baz' => array('location' => 'body')) - ) - ) - )); - $operation = $description->getOperation('test'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $brokenXml = '<><><>>>>'; - $op->prepare()->setResponse(new Response(200, array( - 'Content-Type' => 'application/xml' - ), $brokenXml), true); - $result = $op->execute(); - $this->assertEquals(array('baz'), $result->getKeys()); - $this->assertEquals($brokenXml, (string) $result['baz']); - } - - public function testVisitsAdditionalProperties() - { - $parser = OperationResponseParser::getInstance(); - $description = ServiceDescription::factory(array( - 'operations' => array('test' => array('responseClass' => 'Foo')), - 'models' => array( - 'Foo' => array( - 'type' => 'object', - 'properties' => array( - 'code' => array('location' => 'statusCode') - ), - 'additionalProperties' => array( - 'location' => 'json', - 'type' => 'object', - 'properties' => array( - 'a' => array( - 'type' => 'string', - 'filters' => 'strtoupper' - ) - ) - ) - ) - ) - )); - - $operation = $description->getOperation('test'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $json = '[{"a":"test"},{"a":"baz"}]'; - $op->prepare()->setResponse(new Response(200, array('Content-Type' => 'application/json'), $json), true); - $result = $op->execute()->toArray(); - $this->assertEquals(array( - 'code' => 200, - array('a' => 'TEST'), - array('a' => 'BAZ') - ), $result); - } - - public function testCreatesCustomResponseClassInterface() - { - $parser = OperationResponseParser::getInstance(); - $description = ServiceDescription::factory(array( - 'operations' => array('test' => array('responseClass' => 'Guzzle\Tests\Mock\CustomResponseModel')) - )); - $operation = $description->getOperation('test'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(200, array('Content-Type' => 'application/json'), 'hi!'), true); - $result = $op->execute(); - $this->assertInstanceOf('Guzzle\Tests\Mock\CustomResponseModel', $result); - $this->assertSame($op, $result->command); - } - - /** - * @expectedException \Guzzle\Service\Exception\ResponseClassException - * @expectedExceptionMessage does not exist - */ - public function testEnsuresResponseClassExists() - { - $parser = OperationResponseParser::getInstance(); - $description = ServiceDescription::factory(array( - 'operations' => array('test' => array('responseClass' => 'Foo\Baz\Bar')) - )); - $operation = $description->getOperation('test'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(200, array('Content-Type' => 'application/json'), 'hi!'), true); - $op->execute(); - } - - /** - * @expectedException \Guzzle\Service\Exception\ResponseClassException - * @expectedExceptionMessage must implement - */ - public function testEnsuresResponseClassImplementsResponseClassInterface() - { - $parser = OperationResponseParser::getInstance(); - $description = ServiceDescription::factory(array( - 'operations' => array('test' => array('responseClass' => __CLASS__)) - )); - $operation = $description->getOperation('test'); - $op = new OperationCommand(array(), $operation); - $op->setResponseParser($parser)->setClient(new Client()); - $op->prepare()->setResponse(new Response(200, array('Content-Type' => 'application/json'), 'hi!'), true); - $op->execute(); - } - - protected function getDescription() - { - return ServiceDescription::factory(array( - 'operations' => array('test' => array('responseClass' => 'Foo')), - 'models' => array( - 'Foo' => array( - 'type' => 'object', - 'properties' => array( - 'baz' => array('type' => 'string', 'location' => 'json'), - 'code' => array('location' => 'statusCode'), - 'phrase' => array('location' => 'reasonPhrase'), - ) - ) - ) - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/OperationTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/OperationTest.php deleted file mode 100644 index 574a6e5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/OperationTest.php +++ /dev/null @@ -1,288 +0,0 @@ - 'test', - 'summary' => 'doc', - 'notes' => 'notes', - 'documentationUrl' => 'http://www.example.com', - 'httpMethod' => 'POST', - 'uri' => '/api/v1', - 'responseClass' => 'array', - 'responseNotes' => 'returns the json_decoded response', - 'deprecated' => true, - 'parameters' => array( - 'key' => array( - 'required' => true, - 'type' => 'string', - 'maxLength' => 10 - ), - 'key_2' => array( - 'required' => true, - 'type' => 'integer', - 'default' => 10 - ) - ) - )); - - $this->assertEquals('test', $c->getName()); - $this->assertEquals('doc', $c->getSummary()); - $this->assertEquals('http://www.example.com', $c->getDocumentationUrl()); - $this->assertEquals('POST', $c->getHttpMethod()); - $this->assertEquals('/api/v1', $c->getUri()); - $this->assertEquals('array', $c->getResponseClass()); - $this->assertEquals('returns the json_decoded response', $c->getResponseNotes()); - $this->assertTrue($c->getDeprecated()); - $this->assertEquals('Guzzle\\Service\\Command\\OperationCommand', $c->getClass()); - $this->assertEquals(array( - 'key' => new Parameter(array( - 'name' => 'key', - 'required' => true, - 'type' => 'string', - 'maxLength' => 10, - 'parent' => $c - )), - 'key_2' => new Parameter(array( - 'name' => 'key_2', - 'required' => true, - 'type' => 'integer', - 'default' => 10, - 'parent' => $c - )) - ), $c->getParams()); - - $this->assertEquals(new Parameter(array( - 'name' => 'key_2', - 'required' => true, - 'type' => 'integer', - 'default' => 10, - 'parent' => $c - )), $c->getParam('key_2')); - - $this->assertNull($c->getParam('afefwef')); - $this->assertArrayNotHasKey('parent', $c->getParam('key_2')->toArray()); - } - - public function testAllowsConcreteCommands() - { - $c = new Operation(array( - 'name' => 'test', - 'class' => 'Guzzle\\Service\\Command\ClosureCommand', - 'parameters' => array( - 'p' => new Parameter(array( - 'name' => 'foo' - )) - ) - )); - $this->assertEquals('Guzzle\\Service\\Command\ClosureCommand', $c->getClass()); - } - - public function testConvertsToArray() - { - $data = array( - 'name' => 'test', - 'class' => 'Guzzle\\Service\\Command\ClosureCommand', - 'summary' => 'test', - 'documentationUrl' => 'http://www.example.com', - 'httpMethod' => 'PUT', - 'uri' => '/', - 'parameters' => array('p' => array('name' => 'foo')) - ); - $c = new Operation($data); - $toArray = $c->toArray(); - unset($data['name']); - $this->assertArrayHasKey('parameters', $toArray); - $this->assertInternalType('array', $toArray['parameters']); - - // Normalize the array - unset($data['parameters']); - unset($toArray['parameters']); - - $data['responseType'] = 'primitive'; - $data['responseClass'] = 'array'; - $this->assertEquals($data, $toArray); - } - - public function testDeterminesIfHasParam() - { - $command = $this->getTestCommand(); - $this->assertTrue($command->hasParam('data')); - $this->assertFalse($command->hasParam('baz')); - } - - public function testReturnsParamNames() - { - $command = $this->getTestCommand(); - $this->assertEquals(array('data'), $command->getParamNames()); - } - - protected function getTestCommand() - { - return new Operation(array( - 'parameters' => array( - 'data' => new Parameter(array( - 'type' => 'string' - )) - ) - )); - } - - public function testCanBuildUpCommands() - { - $c = new Operation(array()); - $c->setName('foo') - ->setClass('Baz') - ->setDeprecated(false) - ->setSummary('summary') - ->setDocumentationUrl('http://www.foo.com') - ->setHttpMethod('PUT') - ->setResponseNotes('oh') - ->setResponseClass('string') - ->setUri('/foo/bar') - ->addParam(new Parameter(array( - 'name' => 'test' - ))); - - $this->assertEquals('foo', $c->getName()); - $this->assertEquals('Baz', $c->getClass()); - $this->assertEquals(false, $c->getDeprecated()); - $this->assertEquals('summary', $c->getSummary()); - $this->assertEquals('http://www.foo.com', $c->getDocumentationUrl()); - $this->assertEquals('PUT', $c->getHttpMethod()); - $this->assertEquals('oh', $c->getResponseNotes()); - $this->assertEquals('string', $c->getResponseClass()); - $this->assertEquals('/foo/bar', $c->getUri()); - $this->assertEquals(array('test'), $c->getParamNames()); - } - - public function testCanRemoveParams() - { - $c = new Operation(array()); - $c->addParam(new Parameter(array('name' => 'foo'))); - $this->assertTrue($c->hasParam('foo')); - $c->removeParam('foo'); - $this->assertFalse($c->hasParam('foo')); - } - - public function testAddsNameToParametersIfNeeded() - { - $command = new Operation(array('parameters' => array('foo' => new Parameter(array())))); - $this->assertEquals('foo', $command->getParam('foo')->getName()); - } - - public function testContainsApiErrorInformation() - { - $command = $this->getOperation(); - $this->assertEquals(1, count($command->getErrorResponses())); - $arr = $command->toArray(); - $this->assertEquals(1, count($arr['errorResponses'])); - $command->addErrorResponse(400, 'Foo', 'Baz\\Bar'); - $this->assertEquals(2, count($command->getErrorResponses())); - $command->setErrorResponses(array()); - $this->assertEquals(0, count($command->getErrorResponses())); - } - - public function testHasNotes() - { - $o = new Operation(array('notes' => 'foo')); - $this->assertEquals('foo', $o->getNotes()); - $o->setNotes('bar'); - $this->assertEquals('bar', $o->getNotes()); - } - - public function testHasData() - { - $o = new Operation(array('data' => array('foo' => 'baz', 'bar' => 123))); - $o->setData('test', false); - $this->assertEquals('baz', $o->getData('foo')); - $this->assertEquals(123, $o->getData('bar')); - $this->assertNull($o->getData('wfefwe')); - $this->assertEquals(array( - 'parameters' => array(), - 'class' => 'Guzzle\Service\Command\OperationCommand', - 'data' => array('foo' => 'baz', 'bar' => 123, 'test' => false), - 'responseClass' => 'array', - 'responseType' => 'primitive' - ), $o->toArray()); - } - - public function testHasServiceDescription() - { - $s = new ServiceDescription(); - $o = new Operation(array(), $s); - $this->assertSame($s, $o->getServiceDescription()); - } - - /** - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testValidatesResponseType() - { - $o = new Operation(array('responseClass' => 'array', 'responseType' => 'foo')); - } - - public function testInfersResponseType() - { - $o = $this->getOperation(); - $o->setServiceDescription(new ServiceDescription(array('models' => array('Foo' => array())))); - $this->assertEquals('primitive', $o->getResponseType()); - $this->assertEquals('primitive', $o->setResponseClass('foo')->getResponseType()); - $this->assertEquals('primitive', $o->setResponseClass('boolean')->getResponseType()); - $this->assertEquals('class', $o->setResponseClass(__CLASS__)->getResponseType()); - $this->assertEquals('model', $o->setResponseClass('Foo')->getResponseType()); - } - - public function testHasResponseType() - { - // infers in the constructor - $o = new Operation(array('responseClass' => 'array')); - $this->assertEquals('primitive', $o->getResponseType()); - // Infers when set - $o = new Operation(); - $this->assertEquals('primitive', $o->getResponseType()); - $this->assertEquals('model', $o->setResponseType('model')->getResponseType()); - } - - /** - * @return Operation - */ - protected function getOperation() - { - return new Operation(array( - 'name' => 'OperationTest', - 'class' => get_class($this), - 'parameters' => array( - 'test' => array('type' => 'object'), - 'bool_1' => array('default' => true, 'type' => 'boolean'), - 'bool_2' => array('default' => false), - 'float' => array('type' => 'numeric'), - 'int' => array('type' => 'integer'), - 'date' => array('type' => 'string'), - 'timestamp' => array('type' => 'string'), - 'string' => array('type' => 'string'), - 'username' => array('type' => 'string', 'required' => true, 'filters' => 'strtolower'), - 'test_function' => array('type' => 'string', 'filters' => __CLASS__ . '::strtoupper') - ), - 'errorResponses' => array( - array('code' => 503, 'reason' => 'InsufficientCapacity', 'class' => 'Guzzle\\Exception\\RuntimeException') - ) - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ParameterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ParameterTest.php deleted file mode 100644 index 82924a5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ParameterTest.php +++ /dev/null @@ -1,407 +0,0 @@ - 'foo', - 'type' => 'bar', - 'required' => true, - 'default' => '123', - 'description' => '456', - 'minLength' => 2, - 'maxLength' => 5, - 'location' => 'body', - 'static' => 'static!', - 'filters' => array('trim', 'json_encode') - ); - - public function testCreatesParamFromArray() - { - $p = new Parameter($this->data); - $this->assertEquals('foo', $p->getName()); - $this->assertEquals('bar', $p->getType()); - $this->assertEquals(true, $p->getRequired()); - $this->assertEquals('123', $p->getDefault()); - $this->assertEquals('456', $p->getDescription()); - $this->assertEquals(2, $p->getMinLength()); - $this->assertEquals(5, $p->getMaxLength()); - $this->assertEquals('body', $p->getLocation()); - $this->assertEquals('static!', $p->getStatic()); - $this->assertEquals(array('trim', 'json_encode'), $p->getFilters()); - } - - public function testCanConvertToArray() - { - $p = new Parameter($this->data); - unset($this->data['name']); - $this->assertEquals($this->data, $p->toArray()); - } - - public function testUsesStatic() - { - $d = $this->data; - $d['default'] = 'booboo'; - $d['static'] = true; - $p = new Parameter($d); - $this->assertEquals('booboo', $p->getValue('bar')); - } - - public function testUsesDefault() - { - $d = $this->data; - $d['default'] = 'foo'; - $d['static'] = null; - $p = new Parameter($d); - $this->assertEquals('foo', $p->getValue(null)); - } - - public function testReturnsYourValue() - { - $d = $this->data; - $d['static'] = null; - $p = new Parameter($d); - $this->assertEquals('foo', $p->getValue('foo')); - } - - public function testFiltersValues() - { - $d = $this->data; - $d['static'] = null; - $d['filters'] = 'strtoupper'; - $p = new Parameter($d); - $this->assertEquals('FOO', $p->filter('foo')); - } - - public function testConvertsBooleans() - { - $p = new Parameter(array('type' => 'boolean')); - $this->assertEquals(true, $p->filter('true')); - $this->assertEquals(false, $p->filter('false')); - } - - public function testUsesArrayByDefaultForFilters() - { - $d = $this->data; - $d['filters'] = null; - $p = new Parameter($d); - $this->assertEquals(array(), $p->getFilters()); - } - - public function testAllowsSimpleLocationValue() - { - $p = new Parameter(array('name' => 'myname', 'location' => 'foo', 'sentAs' => 'Hello')); - $this->assertEquals('foo', $p->getLocation()); - $this->assertEquals('Hello', $p->getSentAs()); - } - - public function testParsesTypeValues() - { - $p = new Parameter(array('type' => 'foo')); - $this->assertEquals('foo', $p->getType()); - } - - /** - * @expectedException InvalidArgumentException - * @expectedExceptionMessage A [method] value must be specified for each complex filter - */ - public function testValidatesComplexFilters() - { - $p = new Parameter(array('filters' => array(array('args' => 'foo')))); - } - - public function testCanBuildUpParams() - { - $p = new Parameter(array()); - $p->setName('foo') - ->setDescription('c') - ->setFilters(array('d')) - ->setLocation('e') - ->setSentAs('f') - ->setMaxLength(1) - ->setMinLength(1) - ->setMinimum(2) - ->setMaximum(2) - ->setMinItems(3) - ->setMaxItems(3) - ->setRequired(true) - ->setStatic(true) - ->setDefault('h') - ->setType('i'); - - $p->addFilter('foo'); - - $this->assertEquals('foo', $p->getName()); - $this->assertEquals('h', $p->getDefault()); - $this->assertEquals('c', $p->getDescription()); - $this->assertEquals(array('d', 'foo'), $p->getFilters()); - $this->assertEquals('e', $p->getLocation()); - $this->assertEquals('f', $p->getSentAs()); - $this->assertEquals(1, $p->getMaxLength()); - $this->assertEquals(1, $p->getMinLength()); - $this->assertEquals(2, $p->getMaximum()); - $this->assertEquals(2, $p->getMinimum()); - $this->assertEquals(3, $p->getMaxItems()); - $this->assertEquals(3, $p->getMinItems()); - $this->assertEquals(true, $p->getRequired()); - $this->assertEquals(true, $p->getStatic()); - $this->assertEquals('i', $p->getType()); - } - - public function testAllowsNestedShape() - { - $command = $this->getServiceBuilder()->get('mock')->getCommand('mock_command')->getOperation(); - $param = new Parameter(array( - 'parent' => $command, - 'name' => 'foo', - 'type' => 'object', - 'location' => 'query', - 'properties' => array( - 'foo' => array( - 'type' => 'object', - 'required' => true, - 'properties' => array( - 'baz' => array( - 'name' => 'baz', - 'type' => 'bool', - ) - ) - ), - 'bar' => array( - 'name' => 'bar', - 'default' => '123' - ) - ) - )); - - $this->assertSame($command, $param->getParent()); - $this->assertNotEmpty($param->getProperties()); - $this->assertInstanceOf('Guzzle\Service\Description\Parameter', $param->getProperty('foo')); - $this->assertSame($param, $param->getProperty('foo')->getParent()); - $this->assertSame($param->getProperty('foo'), $param->getProperty('foo')->getProperty('baz')->getParent()); - $this->assertInstanceOf('Guzzle\Service\Description\Parameter', $param->getProperty('bar')); - $this->assertSame($param, $param->getProperty('bar')->getParent()); - - $array = $param->toArray(); - $this->assertInternalType('array', $array['properties']); - $this->assertArrayHasKey('foo', $array['properties']); - $this->assertArrayHasKey('bar', $array['properties']); - } - - public function testAllowsComplexFilters() - { - $that = $this; - $param = new Parameter(array()); - $param->setFilters(array(array('method' => function ($a, $b, $c, $d) use ($that, $param) { - $that->assertEquals('test', $a); - $that->assertEquals('my_value!', $b); - $that->assertEquals('bar', $c); - $that->assertSame($param, $d); - return 'abc' . $b; - }, 'args' => array('test', '@value', 'bar', '@api')))); - $this->assertEquals('abcmy_value!', $param->filter('my_value!')); - } - - public function testCanChangeParentOfNestedParameter() - { - $param1 = new Parameter(array('name' => 'parent')); - $param2 = new Parameter(array('name' => 'child')); - $param2->setParent($param1); - $this->assertSame($param1, $param2->getParent()); - } - - public function testCanRemoveFromNestedStructure() - { - $param1 = new Parameter(array('name' => 'parent')); - $param2 = new Parameter(array('name' => 'child')); - $param1->addProperty($param2); - $this->assertSame($param1, $param2->getParent()); - $this->assertSame($param2, $param1->getProperty('child')); - - // Remove a single child from the structure - $param1->removeProperty('child'); - $this->assertNull($param1->getProperty('child')); - // Remove the entire structure - $param1->addProperty($param2); - $param1->removeProperty('child'); - $this->assertNull($param1->getProperty('child')); - } - - public function testAddsAdditionalProperties() - { - $p = new Parameter(array( - 'type' => 'object', - 'additionalProperties' => array('type' => 'string') - )); - $this->assertInstanceOf('Guzzle\Service\Description\Parameter', $p->getAdditionalProperties()); - $this->assertNull($p->getAdditionalProperties()->getAdditionalProperties()); - $p = new Parameter(array('type' => 'object')); - $this->assertTrue($p->getAdditionalProperties()); - } - - public function testAddsItems() - { - $p = new Parameter(array( - 'type' => 'array', - 'items' => array('type' => 'string') - )); - $this->assertInstanceOf('Guzzle\Service\Description\Parameter', $p->getItems()); - $out = $p->toArray(); - $this->assertEquals('array', $out['type']); - $this->assertInternalType('array', $out['items']); - } - - public function testHasExtraProperties() - { - $p = new Parameter(); - $this->assertEquals(array(), $p->getData()); - $p->setData(array('foo' => 'bar')); - $this->assertEquals('bar', $p->getData('foo')); - $p->setData('baz', 'boo'); - $this->assertEquals(array('foo' => 'bar', 'baz' => 'boo'), $p->getData()); - } - - public function testCanRetrieveKnownPropertiesUsingDataMethod() - { - $p = new Parameter(); - $this->assertEquals(null, $p->getData('foo')); - $p->setName('test'); - $this->assertEquals('test', $p->getData('name')); - } - - public function testHasInstanceOf() - { - $p = new Parameter(); - $this->assertNull($p->getInstanceOf()); - $p->setInstanceOf('Foo'); - $this->assertEquals('Foo', $p->getInstanceOf()); - } - - public function testHasPattern() - { - $p = new Parameter(); - $this->assertNull($p->getPattern()); - $p->setPattern('/[0-9]+/'); - $this->assertEquals('/[0-9]+/', $p->getPattern()); - } - - public function testHasEnum() - { - $p = new Parameter(); - $this->assertNull($p->getEnum()); - $p->setEnum(array('foo', 'bar')); - $this->assertEquals(array('foo', 'bar'), $p->getEnum()); - } - - public function testSerializesItems() - { - $p = new Parameter(array( - 'type' => 'object', - 'additionalProperties' => array('type' => 'string') - )); - $this->assertEquals(array( - 'type' => 'object', - 'additionalProperties' => array('type' => 'string') - ), $p->toArray()); - } - - public function testResolvesRefKeysRecursively() - { - $jarJar = array('type' => 'string', 'default' => 'Mesa address tha senate!'); - $anakin = array('type' => 'array', 'items' => array('$ref' => 'JarJar')); - $description = new ServiceDescription(array( - 'models' => array( - 'JarJar' => $jarJar, - 'Anakin' => $anakin - ) - )); - // description attribute will be removed - $p = new Parameter(array('$ref' => 'Anakin', 'description' => 'missing'), $description); - $this->assertEquals(array( - 'type' => 'array', - 'items' => array( - 'type' => 'string', - 'default' => 'Mesa address tha senate!' - ) - ), $p->toArray()); - } - - public function testResolvesExtendsRecursively() - { - $jarJar = array('type' => 'string', 'default' => 'Mesa address tha senate!', 'description' => 'a'); - $anakin = array('type' => 'array', 'items' => array('extends' => 'JarJar', 'description' => 'b')); - $description = new ServiceDescription(array( - 'models' => array('JarJar' => $jarJar, 'Anakin' => $anakin) - )); - // Description attribute will be updated, and format added - $p = new Parameter(array('extends' => 'Anakin', 'format' => 'date'), $description); - $this->assertEquals(array( - 'type' => 'array', - 'format' => 'date', - 'items' => array( - 'type' => 'string', - 'default' => 'Mesa address tha senate!', - 'description' => 'b' - ) - ), $p->toArray()); - } - - public function testHasKeyMethod() - { - $p = new Parameter(array('name' => 'foo', 'sentAs' => 'bar')); - $this->assertEquals('bar', $p->getWireName()); - $p->setSentAs(null); - $this->assertEquals('foo', $p->getWireName()); - } - - public function testIncludesNameInToArrayWhenItemsAttributeHasName() - { - $p = new Parameter(array( - 'type' => 'array', - 'name' => 'Abc', - 'items' => array( - 'name' => 'Foo', - 'type' => 'object' - ) - )); - $result = $p->toArray(); - $this->assertEquals(array( - 'type' => 'array', - 'items' => array( - 'name' => 'Foo', - 'type' => 'object', - 'additionalProperties' => true - ) - ), $result); - } - - public function dateTimeProvider() - { - $d = 'October 13, 2012 16:15:46 UTC'; - - return array( - array($d, 'date-time', '2012-10-13T16:15:46Z'), - array($d, 'date', '2012-10-13'), - array($d, 'timestamp', strtotime($d)), - array(new \DateTime($d), 'timestamp', strtotime($d)) - ); - } - - /** - * @dataProvider dateTimeProvider - */ - public function testAppliesFormat($d, $format, $result) - { - $p = new Parameter(); - $p->setFormat($format); - $this->assertEquals($format, $p->getFormat()); - $this->assertEquals($result, $p->filter($d)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php deleted file mode 100644 index d233474..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php +++ /dev/null @@ -1,48 +0,0 @@ -assertEquals($result, SchemaFormatter::format($format, $value)); - } - - /** - * @expectedException \Guzzle\Common\Exception\InvalidArgumentException - */ - public function testValidatesDateTimeInput() - { - SchemaFormatter::format('date-time', false); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaValidatorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaValidatorTest.php deleted file mode 100644 index cc0ee40..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaValidatorTest.php +++ /dev/null @@ -1,315 +0,0 @@ -validator = new SchemaValidator(); - } - - public function testValidatesArrayListsAreNumericallyIndexed() - { - $value = array(array(1)); - $this->assertFalse($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals( - array('[Foo][0] must be an array of properties. Got a numerically indexed array.'), - $this->validator->getErrors() - ); - } - - public function testValidatesArrayListsContainProperItems() - { - $value = array(true); - $this->assertFalse($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals( - array('[Foo][0] must be of type object'), - $this->validator->getErrors() - ); - } - - public function testAddsDefaultValuesInLists() - { - $value = array(array()); - $this->assertTrue($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals(array(array('Bar' => true)), $value); - } - - public function testMergesDefaultValuesInLists() - { - $value = array( - array('Baz' => 'hello!'), - array('Bar' => false) - ); - $this->assertTrue($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals(array( - array( - 'Baz' => 'hello!', - 'Bar' => true - ), - array('Bar' => false) - ), $value); - } - - public function testCorrectlyConvertsParametersToArrayWhenArraysArePresent() - { - $param = $this->getComplexParam(); - $result = $param->toArray(); - $this->assertInternalType('array', $result['items']); - $this->assertEquals('array', $result['type']); - $this->assertInstanceOf('Guzzle\Service\Description\Parameter', $param->getItems()); - } - - public function testAllowsInstanceOf() - { - $p = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'instanceOf' => get_class($this) - )); - $this->assertTrue($this->validator->validate($p, $this)); - $this->assertFalse($this->validator->validate($p, $p)); - $this->assertEquals(array('[foo] must be an instance of ' . __CLASS__), $this->validator->getErrors()); - } - - public function testEnforcesInstanceOfOnlyWhenObject() - { - $p = new Parameter(array( - 'name' => 'foo', - 'type' => array('object', 'string'), - 'instanceOf' => get_class($this) - )); - $this->assertTrue($this->validator->validate($p, $this)); - $s = 'test'; - $this->assertTrue($this->validator->validate($p, $s)); - } - - public function testConvertsObjectsToArraysWhenToArrayInterface() - { - $o = $this->getMockBuilder('Guzzle\Common\ToArrayInterface') - ->setMethods(array('toArray')) - ->getMockForAbstractClass(); - $o->expects($this->once()) - ->method('toArray') - ->will($this->returnValue(array( - 'foo' => 'bar' - ))); - $p = new Parameter(array( - 'name' => 'test', - 'type' => 'object', - 'properties' => array( - 'foo' => array('required' => 'true') - ) - )); - $this->assertTrue($this->validator->validate($p, $o)); - } - - public function testMergesValidationErrorsInPropertiesWithParent() - { - $p = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'properties' => array( - 'bar' => array('type' => 'string', 'required' => true, 'description' => 'This is what it does'), - 'test' => array('type' => 'string', 'minLength' => 2, 'maxLength' => 5), - 'test2' => array('type' => 'string', 'minLength' => 2, 'maxLength' => 2), - 'test3' => array('type' => 'integer', 'minimum' => 100), - 'test4' => array('type' => 'integer', 'maximum' => 10), - 'test5' => array('type' => 'array', 'maxItems' => 2), - 'test6' => array('type' => 'string', 'enum' => array('a', 'bc')), - 'test7' => array('type' => 'string', 'pattern' => '/[0-9]+/'), - 'baz' => array( - 'type' => 'array', - 'minItems' => 2, - 'required' => true, - "items" => array("type" => "string") - ) - ) - )); - - $value = array( - 'test' => 'a', - 'test2' => 'abc', - 'baz' => array(false), - 'test3' => 10, - 'test4' => 100, - 'test5' => array(1, 3, 4), - 'test6' => 'Foo', - 'test7' => 'abc' - ); - - $this->assertFalse($this->validator->validate($p, $value)); - $this->assertEquals(array ( - '[foo][bar] is a required string: This is what it does', - '[foo][baz] must contain 2 or more elements', - '[foo][baz][0] must be of type string', - '[foo][test2] length must be less than or equal to 2', - '[foo][test3] must be greater than or equal to 100', - '[foo][test4] must be less than or equal to 10', - '[foo][test5] must contain 2 or fewer elements', - '[foo][test6] must be one of "a" or "bc"', - '[foo][test7] must match the following regular expression: /[0-9]+/', - '[foo][test] length must be greater than or equal to 2', - ), $this->validator->getErrors()); - } - - public function testHandlesNullValuesInArraysWithDefaults() - { - $p = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'required' => true, - 'properties' => array( - 'bar' => array( - 'type' => 'object', - 'required' => true, - 'properties' => array( - 'foo' => array('default' => 'hi') - ) - ) - ) - )); - $value = array(); - $this->assertTrue($this->validator->validate($p, $value)); - $this->assertEquals(array('bar' => array('foo' => 'hi')), $value); - } - - public function testFailsWhenNullValuesInArraysWithNoDefaults() - { - $p = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'required' => true, - 'properties' => array( - 'bar' => array( - 'type' => 'object', - 'required' => true, - 'properties' => array('foo' => array('type' => 'string')) - ) - ) - )); - $value = array(); - $this->assertFalse($this->validator->validate($p, $value)); - $this->assertEquals(array('[foo][bar] is a required object'), $this->validator->getErrors()); - } - - public function testChecksTypes() - { - $p = new SchemaValidator(); - $r = new \ReflectionMethod($p, 'determineType'); - $r->setAccessible(true); - $this->assertEquals('any', $r->invoke($p, 'any', 'hello')); - $this->assertEquals(false, $r->invoke($p, 'foo', 'foo')); - $this->assertEquals('string', $r->invoke($p, 'string', 'hello')); - $this->assertEquals(false, $r->invoke($p, 'string', false)); - $this->assertEquals('integer', $r->invoke($p, 'integer', 1)); - $this->assertEquals(false, $r->invoke($p, 'integer', 'abc')); - $this->assertEquals('numeric', $r->invoke($p, 'numeric', 1)); - $this->assertEquals('numeric', $r->invoke($p, 'numeric', '1')); - $this->assertEquals(false, $r->invoke($p, 'numeric', 'a')); - $this->assertEquals('boolean', $r->invoke($p, 'boolean', true)); - $this->assertEquals('boolean', $r->invoke($p, 'boolean', false)); - $this->assertEquals(false, $r->invoke($p, 'boolean', 'false')); - $this->assertEquals('null', $r->invoke($p, 'null', null)); - $this->assertEquals(false, $r->invoke($p, 'null', 'abc')); - $this->assertEquals('array', $r->invoke($p, 'array', array())); - $this->assertEquals(false, $r->invoke($p, 'array', 'foo')); - } - - public function testValidatesFalseAdditionalProperties() - { - $param = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'properties' => array('bar' => array('type' => 'string')), - 'additionalProperties' => false - )); - $value = array('test' => '123'); - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(array('[foo][test] is not an allowed property'), $this->validator->getErrors()); - $value = array('bar' => '123'); - $this->assertTrue($this->validator->validate($param, $value)); - } - - public function testAllowsUndefinedAdditionalProperties() - { - $param = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'properties' => array('bar' => array('type' => 'string')) - )); - $value = array('test' => '123'); - $this->assertTrue($this->validator->validate($param, $value)); - } - - public function testValidatesAdditionalProperties() - { - $param = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'properties' => array('bar' => array('type' => 'string')), - 'additionalProperties' => array('type' => 'integer') - )); - $value = array('test' => 'foo'); - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(array('[foo][test] must be of type integer'), $this->validator->getErrors()); - } - - public function testValidatesAdditionalPropertiesThatArrayArrays() - { - $param = new Parameter(array( - 'name' => 'foo', - 'type' => 'object', - 'additionalProperties' => array( - 'type' => 'array', - 'items' => array('type' => 'string') - ) - )); - $value = array('test' => array(true)); - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(array('[foo][test][0] must be of type string'), $this->validator->getErrors()); - } - - public function testIntegersCastToStringWhenTypeMismatch() - { - $param = new Parameter(array('name' => 'test', 'type' => 'string')); - $value = 12; - $this->assertTrue($this->validator->validate($param, $value)); - $this->assertEquals('12', $value); - } - - protected function getComplexParam() - { - return new Parameter(array( - 'name' => 'Foo', - 'type' => 'array', - 'required' => true, - 'min' => 1, - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Baz' => array( - 'type' => 'string', - ), - 'Bar' => array( - 'required' => true, - 'type' => 'boolean', - 'default' => true - ) - ) - ) - )); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionLoaderTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionLoaderTest.php deleted file mode 100644 index bbfd1d6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionLoaderTest.php +++ /dev/null @@ -1,177 +0,0 @@ - true, - 'baz' => array('bar'), - 'apiVersion' => '123', - 'operations' => array() - )); - - $this->assertEquals(true, $d->getData('foo')); - $this->assertEquals(array('bar'), $d->getData('baz')); - $this->assertEquals('123', $d->getApiVersion()); - } - - public function testAllowsDeepNestedInheritance() - { - $d = ServiceDescription::factory(array( - 'operations' => array( - 'abstract' => array( - 'httpMethod' => 'HEAD', - 'parameters' => array( - 'test' => array('type' => 'string', 'required' => true) - ) - ), - 'abstract2' => array('uri' => '/test', 'extends' => 'abstract'), - 'concrete' => array('extends' => 'abstract2'), - 'override' => array('extends' => 'abstract', 'httpMethod' => 'PUT'), - 'override2' => array('extends' => 'override', 'httpMethod' => 'POST', 'uri' => '/') - ) - )); - - $c = $d->getOperation('concrete'); - $this->assertEquals('/test', $c->getUri()); - $this->assertEquals('HEAD', $c->getHttpMethod()); - $params = $c->getParams(); - $param = $params['test']; - $this->assertEquals('string', $param->getType()); - $this->assertTrue($param->getRequired()); - - // Ensure that merging HTTP method does not make an array - $this->assertEquals('PUT', $d->getOperation('override')->getHttpMethod()); - $this->assertEquals('POST', $d->getOperation('override2')->getHttpMethod()); - $this->assertEquals('/', $d->getOperation('override2')->getUri()); - } - - /** - * @expectedException RuntimeException - */ - public function testThrowsExceptionWhenExtendingMissingCommand() - { - ServiceDescription::factory(array( - 'operations' => array( - 'concrete' => array( - 'extends' => 'missing' - ) - ) - )); - } - - public function testAllowsMultipleInheritance() - { - $description = ServiceDescription::factory(array( - 'operations' => array( - 'a' => array( - 'httpMethod' => 'GET', - 'parameters' => array( - 'a1' => array( - 'default' => 'foo', - 'required' => true, - 'prepend' => 'hi' - ) - ) - ), - 'b' => array( - 'extends' => 'a', - 'parameters' => array( - 'b2' => array() - ) - ), - 'c' => array( - 'parameters' => array( - 'a1' => array( - 'default' => 'bar', - 'required' => true, - 'description' => 'test' - ), - 'c3' => array() - ) - ), - 'd' => array( - 'httpMethod' => 'DELETE', - 'extends' => array('b', 'c'), - 'parameters' => array( - 'test' => array() - ) - ) - ) - )); - - $command = $description->getOperation('d'); - $this->assertEquals('DELETE', $command->getHttpMethod()); - $this->assertContains('a1', $command->getParamNames()); - $this->assertContains('b2', $command->getParamNames()); - $this->assertContains('c3', $command->getParamNames()); - $this->assertContains('test', $command->getParamNames()); - - $this->assertTrue($command->getParam('a1')->getRequired()); - $this->assertEquals('bar', $command->getParam('a1')->getDefault()); - $this->assertEquals('test', $command->getParam('a1')->getDescription()); - } - - public function testAddsOtherFields() - { - $description = ServiceDescription::factory(array( - 'operations' => array(), - 'description' => 'Foo', - 'apiVersion' => 'bar' - )); - $this->assertEquals('Foo', $description->getDescription()); - $this->assertEquals('bar', $description->getApiVersion()); - } - - public function testCanLoadNestedExtends() - { - $description = ServiceDescription::factory(array( - 'operations' => array( - 'root' => array( - 'class' => 'foo' - ), - 'foo' => array( - 'extends' => 'root', - 'parameters' => array( - 'baz' => array('type' => 'string') - ) - ), - 'foo_2' => array( - 'extends' => 'foo', - 'parameters' => array( - 'bar' => array('type' => 'string') - ) - ), - 'foo_3' => array( - 'class' => 'bar', - 'parameters' => array( - 'bar2' => array('type' => 'string') - ) - ), - 'foo_4' => array( - 'extends' => array('foo_2', 'foo_3'), - 'parameters' => array( - 'bar3' => array('type' => 'string') - ) - ) - ) - )); - - $this->assertTrue($description->hasOperation('foo_4')); - $foo4 = $description->getOperation('foo_4'); - $this->assertTrue($foo4->hasParam('baz')); - $this->assertTrue($foo4->hasParam('bar')); - $this->assertTrue($foo4->hasParam('bar2')); - $this->assertTrue($foo4->hasParam('bar3')); - $this->assertEquals('bar', $foo4->getClass()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionTest.php deleted file mode 100644 index c02b130..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/ServiceDescriptionTest.php +++ /dev/null @@ -1,208 +0,0 @@ -serviceData = array( - 'test_command' => new Operation(array( - 'name' => 'test_command', - 'description' => 'documentationForCommand', - 'httpMethod' => 'DELETE', - 'class' => 'Guzzle\\Tests\\Service\\Mock\\Command\\MockCommand', - 'parameters' => array( - 'bucket' => array('required' => true), - 'key' => array('required' => true) - ) - )) - ); - } - - /** - * @covers Guzzle\Service\Description\ServiceDescription::factory - * @covers Guzzle\Service\Description\ServiceDescriptionLoader::build - */ - public function testFactoryDelegatesToConcreteFactories() - { - $jsonFile = __DIR__ . '/../../TestData/test_service.json'; - $this->assertInstanceOf('Guzzle\Service\Description\ServiceDescription', ServiceDescription::factory($jsonFile)); - } - - public function testConstructor() - { - $service = new ServiceDescription(array('operations' => $this->serviceData)); - $this->assertEquals(1, count($service->getOperations())); - $this->assertFalse($service->hasOperation('foobar')); - $this->assertTrue($service->hasOperation('test_command')); - } - - public function testIsSerializable() - { - $service = new ServiceDescription(array('operations' => $this->serviceData)); - $data = serialize($service); - $d2 = unserialize($data); - $this->assertEquals(serialize($service), serialize($d2)); - } - - public function testSerializesParameters() - { - $service = new ServiceDescription(array( - 'operations' => array( - 'foo' => new Operation(array('parameters' => array('foo' => array('type' => 'string')))) - ) - )); - $serialized = serialize($service); - $this->assertContains('"parameters":{"foo":', $serialized); - $service = unserialize($serialized); - $this->assertTrue($service->getOperation('foo')->hasParam('foo')); - } - - public function testAllowsForJsonBasedArrayParamsFunctionalTest() - { - $description = new ServiceDescription(array( - 'operations' => array( - 'test' => new Operation(array( - 'httpMethod' => 'PUT', - 'parameters' => array( - 'data' => array( - 'required' => true, - 'filters' => 'json_encode', - 'location' => 'body' - ) - ) - )) - ) - )); - $client = new Client(); - $client->setDescription($description); - $command = $client->getCommand('test', array( - 'data' => array( - 'foo' => 'bar' - ) - )); - - $request = $command->prepare(); - $this->assertEquals('{"foo":"bar"}', (string) $request->getBody()); - } - - public function testContainsModels() - { - $d = new ServiceDescription(array( - 'operations' => array('foo' => array()), - 'models' => array( - 'Tag' => array('type' => 'object'), - 'Person' => array('type' => 'object') - ) - )); - $this->assertTrue($d->hasModel('Tag')); - $this->assertTrue($d->hasModel('Person')); - $this->assertFalse($d->hasModel('Foo')); - $this->assertInstanceOf('Guzzle\Service\Description\Parameter', $d->getModel('Tag')); - $this->assertNull($d->getModel('Foo')); - $this->assertContains('"models":{', serialize($d)); - $this->assertEquals(array('Tag', 'Person'), array_keys($d->getModels())); - } - - public function testCanAddModels() - { - $d = new ServiceDescription(array()); - $this->assertFalse($d->hasModel('Foo')); - $d->addModel(new Parameter(array('name' => 'Foo'))); - $this->assertTrue($d->hasModel('Foo')); - } - - public function testHasAttributes() - { - $d = new ServiceDescription(array( - 'operations' => array(), - 'name' => 'Name', - 'description' => 'Description', - 'apiVersion' => '1.24' - )); - - $this->assertEquals('Name', $d->getName()); - $this->assertEquals('Description', $d->getDescription()); - $this->assertEquals('1.24', $d->getApiVersion()); - - $s = serialize($d); - $this->assertContains('"name":"Name"', $s); - $this->assertContains('"description":"Description"', $s); - $this->assertContains('"apiVersion":"1.24"', $s); - - $d = unserialize($s); - $this->assertEquals('Name', $d->getName()); - $this->assertEquals('Description', $d->getDescription()); - $this->assertEquals('1.24', $d->getApiVersion()); - } - - public function testPersistsCustomAttributes() - { - $data = array( - 'operations' => array('foo' => array('class' => 'foo', 'parameters' => array())), - 'name' => 'Name', - 'description' => 'Test', - 'apiVersion' => '1.24', - 'auth' => 'foo', - 'keyParam' => 'bar' - ); - $d = new ServiceDescription($data); - $d->setData('hello', 'baz'); - $this->assertEquals('foo', $d->getData('auth')); - $this->assertEquals('baz', $d->getData('hello')); - $this->assertEquals('bar', $d->getData('keyParam')); - // responseClass and responseType are added by default - $data['operations']['foo']['responseClass'] = 'array'; - $data['operations']['foo']['responseType'] = 'primitive'; - $this->assertEquals($data + array('hello' => 'baz'), json_decode($d->serialize(), true)); - } - - public function testReturnsNullWhenRetrievingMissingOperation() - { - $s = new ServiceDescription(array()); - $this->assertNull($s->getOperation('foo')); - } - - public function testCanAddOperations() - { - $s = new ServiceDescription(array()); - $this->assertFalse($s->hasOperation('Foo')); - $s->addOperation(new Operation(array('name' => 'Foo'))); - $this->assertTrue($s->hasOperation('Foo')); - } - - /** - * @expectedException Guzzle\Common\Exception\InvalidArgumentException - */ - public function testValidatesOperationTypes() - { - $s = new ServiceDescription(array( - 'operations' => array('foo' => new \stdClass()) - )); - } - - public function testHasBaseUrl() - { - $description = new ServiceDescription(array('baseUrl' => 'http://foo.com')); - $this->assertEquals('http://foo.com', $description->getBaseUrl()); - $description->setBaseUrl('http://foobar.com'); - $this->assertEquals('http://foobar.com', $description->getBaseUrl()); - } - - public function testCanUseBasePath() - { - $description = new ServiceDescription(array('basePath' => 'http://foo.com')); - $this->assertEquals('http://foo.com', $description->getBaseUrl()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/CommandTransferExceptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/CommandTransferExceptionTest.php deleted file mode 100644 index dfd0075..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/CommandTransferExceptionTest.php +++ /dev/null @@ -1,40 +0,0 @@ -addSuccessfulCommand($c1)->addFailedCommand($c2); - $this->assertSame(array($c1), $e->getSuccessfulCommands()); - $this->assertSame(array($c2), $e->getFailedCommands()); - $this->assertSame(array($c1, $c2), $e->getAllCommands()); - } - - public function testConvertsMultiExceptionIntoCommandTransfer() - { - $r1 = new Request('GET', 'http://foo.com'); - $r2 = new Request('GET', 'http://foobaz.com'); - $e = new MultiTransferException('Test', 123); - $e->addSuccessfulRequest($r1)->addFailedRequest($r2); - $ce = CommandTransferException::fromMultiTransferException($e); - - $this->assertInstanceOf('Guzzle\Service\Exception\CommandTransferException', $ce); - $this->assertEquals('Test', $ce->getMessage()); - $this->assertEquals(123, $ce->getCode()); - $this->assertSame(array($r1), $ce->getSuccessfulRequests()); - $this->assertSame(array($r2), $ce->getFailedRequests()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/InconsistentClientTransferExceptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/InconsistentClientTransferExceptionTest.php deleted file mode 100644 index 6455295..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/InconsistentClientTransferExceptionTest.php +++ /dev/null @@ -1,15 +0,0 @@ -assertEquals($items, $e->getCommands()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/ValidationExceptionTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/ValidationExceptionTest.php deleted file mode 100644 index ef789d8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/ValidationExceptionTest.php +++ /dev/null @@ -1,17 +0,0 @@ -setErrors($errors); - $this->assertEquals($errors, $e->getErrors()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/IterableCommand.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/IterableCommand.php deleted file mode 100644 index 4ab423e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/IterableCommand.php +++ /dev/null @@ -1,31 +0,0 @@ - 'iterable_command', - 'parameters' => array( - 'page_size' => array('type' => 'integer'), - 'next_token' => array('type' => 'string') - ) - )); - } - - protected function build() - { - $this->request = $this->client->createRequest('GET'); - - // Add the next token and page size query string values - $this->request->getQuery()->set('next_token', $this->get('next_token')); - - if ($this->get('page_size')) { - $this->request->getQuery()->set('page_size', $this->get('page_size')); - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/MockCommand.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/MockCommand.php deleted file mode 100644 index 831a7e7..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/MockCommand.php +++ /dev/null @@ -1,32 +0,0 @@ - get_called_class() == __CLASS__ ? 'mock_command' : 'sub.sub', - 'httpMethod' => 'POST', - 'parameters' => array( - 'test' => array( - 'default' => 123, - 'required' => true, - 'doc' => 'Test argument' - ), - '_internal' => array( - 'default' => 'abc' - ), - 'foo' => array('filters' => array('strtoupper')) - ) - )); - } - - protected function build() - { - $this->request = $this->client->createRequest(); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/OtherCommand.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/OtherCommand.php deleted file mode 100644 index 72ae1f6..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/OtherCommand.php +++ /dev/null @@ -1,30 +0,0 @@ - 'other_command', - 'parameters' => array( - 'test' => array( - 'default' => '123', - 'required' => true, - 'doc' => 'Test argument' - ), - 'other' => array(), - 'arg' => array('type' => 'string'), - 'static' => array('static' => true, 'default' => 'this is static') - ) - )); - } - - protected function build() - { - $this->request = $this->client->getRequest('HEAD'); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/Sub/Sub.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/Sub/Sub.php deleted file mode 100644 index d348480..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/Sub/Sub.php +++ /dev/null @@ -1,7 +0,0 @@ - '{scheme}://127.0.0.1:8124/{api_version}/{subdomain}', - 'scheme' => 'http', - 'api_version' => 'v1' - ), array('username', 'password', 'subdomain')); - - return new self($config->get('base_url'), $config); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Model/MockCommandIterator.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Model/MockCommandIterator.php deleted file mode 100644 index 8faf412..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Model/MockCommandIterator.php +++ /dev/null @@ -1,42 +0,0 @@ -nextToken) { - $this->command->set('next_token', $this->nextToken); - } - - $this->command->set('page_size', (int) $this->calculatePageSize()); - $this->command->execute(); - - $data = json_decode($this->command->getResponse()->getBody(true), true); - - $this->nextToken = $data['next_token']; - - return $data['resources']; - } - - public function next() - { - $this->calledNext++; - parent::next(); - } - - public function getResources() - { - return $this->resources; - } - - public function getIteratedCount() - { - return $this->iteratedCount; - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/CompositeResourceIteratorFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/CompositeResourceIteratorFactoryTest.php deleted file mode 100644 index 41c2073..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/CompositeResourceIteratorFactoryTest.php +++ /dev/null @@ -1,37 +0,0 @@ -assertFalse($factory->canBuild($cmd)); - $factory->build($cmd); - } - - public function testBuildsResourceIterators() - { - $f1 = new ResourceIteratorClassFactory('Guzzle\Tests\Service\Mock\Model'); - $factory = new CompositeResourceIteratorFactory(array()); - $factory->addFactory($f1); - $command = new MockCommand(); - $iterator = $factory->build($command, array('client.namespace' => 'Guzzle\Tests\Service\Mock')); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/MapResourceIteratorFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/MapResourceIteratorFactoryTest.php deleted file mode 100644 index d166e92..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/MapResourceIteratorFactoryTest.php +++ /dev/null @@ -1,40 +0,0 @@ -build(new MockCommand()); - } - - public function testBuildsResourceIterators() - { - $factory = new MapResourceIteratorFactory(array( - 'mock_command' => 'Guzzle\Tests\Service\Mock\Model\MockCommandIterator' - )); - $iterator = $factory->build(new MockCommand()); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - } - - public function testUsesWildcardMappings() - { - $factory = new MapResourceIteratorFactory(array( - '*' => 'Guzzle\Tests\Service\Mock\Model\MockCommandIterator' - )); - $iterator = $factory->build(new MockCommand()); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ModelTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ModelTest.php deleted file mode 100644 index 24a862c..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ModelTest.php +++ /dev/null @@ -1,49 +0,0 @@ - 'object')); - $model = new Model(array('foo' => 'bar'), $param); - $this->assertSame($param, $model->getStructure()); - $this->assertEquals('bar', $model->get('foo')); - $this->assertEquals('bar', $model['foo']); - } - - public function testCanBeUsedWithoutStructure() - { - $model = new Model(array( - 'Foo' => 'baz', - 'Bar' => array( - 'Boo' => 'Bam' - ) - )); - $transform = function ($key, $value) { - return ($value && is_array($value)) ? new Collection($value) : $value; - }; - $model = $model->map($transform); - $this->assertInstanceOf('Guzzle\Common\Collection', $model->getPath('Bar')); - } - - public function testAllowsFiltering() - { - $model = new Model(array( - 'Foo' => 'baz', - 'Bar' => 'a' - )); - $model = $model->filter(function ($i, $v) { - return $v[0] == 'a'; - }); - $this->assertEquals(array('Bar' => 'a'), $model->toArray()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorApplyBatchedTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorApplyBatchedTest.php deleted file mode 100644 index 039b6d8..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorApplyBatchedTest.php +++ /dev/null @@ -1,59 +0,0 @@ -assertInternalType('array', ResourceIteratorApplyBatched::getAllEvents()); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIteratorApplyBatched - */ - public function testSendsRequestsForNextSetOfResources() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"g\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"j\", \"resources\": [\"g\", \"h\", \"i\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 41\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"j\"] }", - )); - - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command'), array( - 'page_size' => 3, - 'limit' => 7 - )); - - $received = array(); - $apply = new ResourceIteratorApplyBatched($ri, function(ResourceIterator $i, array $batch) use (&$received) { - $received[] = $batch; - }); - - $apply->apply(3); - - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals(3, count($requests)); - $this->assertEquals(3, $requests[0]->getQuery()->get('page_size')); - $this->assertEquals(3, $requests[1]->getQuery()->get('page_size')); - $this->assertEquals(1, $requests[2]->getQuery()->get('page_size')); - - $this->assertEquals(array('d', 'e', 'f'), array_values($received[0])); - $this->assertEquals(array('g', 'h', 'i'), array_values($received[1])); - $this->assertEquals(array('j'), array_values($received[2])); - - $this->assertEquals(3, $apply->getBatchCount()); - $this->assertEquals(7, $apply->getIteratedCount()); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorClassFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorClassFactoryTest.php deleted file mode 100644 index 7b061b5..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorClassFactoryTest.php +++ /dev/null @@ -1,41 +0,0 @@ -registerNamespace('Baz'); - $command = new MockCommand(); - $factory->build($command); - } - - public function testBuildsResourceIterators() - { - $factory = new ResourceIteratorClassFactory('Guzzle\Tests\Service\Mock\Model'); - $command = new MockCommand(); - $iterator = $factory->build($command, array('client.namespace' => 'Guzzle\Tests\Service\Mock')); - $this->assertInstanceOf('Guzzle\Tests\Service\Mock\Model\MockCommandIterator', $iterator); - } - - public function testChecksIfCanBuild() - { - $factory = new ResourceIteratorClassFactory('Guzzle\Tests\Service'); - $this->assertFalse($factory->canBuild(new MockCommand())); - $factory = new ResourceIteratorClassFactory('Guzzle\Tests\Service\Mock\Model'); - $this->assertTrue($factory->canBuild(new MockCommand())); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorTest.php deleted file mode 100644 index ecf82ba..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Resource/ResourceIteratorTest.php +++ /dev/null @@ -1,210 +0,0 @@ -assertInternalType('array', ResourceIterator::getAllEvents()); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator - */ - public function testConstructorConfiguresDefaults() - { - $ri = $this->getMockForAbstractClass('Guzzle\\Service\\Resource\\ResourceIterator', array( - $this->getServiceBuilder()->get('mock')->getCommand('iterable_command'), - array( - 'limit' => 10, - 'page_size' => 3 - ) - ), 'MockIterator'); - - $this->assertEquals(false, $ri->getNextToken()); - $this->assertEquals(false, $ri->current()); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator - */ - public function testSendsRequestsForNextSetOfResources() - { - // Queue up an array of responses for iterating - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"g\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"j\", \"resources\": [\"g\", \"h\", \"i\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 41\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"j\"] }" - )); - - // Create a new resource iterator using the IterableCommand mock - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command'), array( - 'page_size' => 3 - )); - - // Ensure that no requests have been sent yet - $this->assertEquals(0, count($this->getServer()->getReceivedRequests(false))); - - //$this->assertEquals(array('d', 'e', 'f', 'g', 'h', 'i', 'j'), $ri->toArray()); - $ri->toArray(); - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals(3, count($requests)); - - $this->assertEquals(3, $requests[0]->getQuery()->get('page_size')); - $this->assertEquals(3, $requests[1]->getQuery()->get('page_size')); - $this->assertEquals(3, $requests[2]->getQuery()->get('page_size')); - - // Reset and resend - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"g\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"j\", \"resources\": [\"g\", \"h\", \"i\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 41\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"j\"] }", - )); - - $d = array(); - reset($ri); - foreach ($ri as $data) { - $d[] = $data; - } - $this->assertEquals(array('d', 'e', 'f', 'g', 'h', 'i', 'j'), $d); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator - */ - public function testCalculatesPageSize() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"g\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"j\", \"resources\": [\"g\", \"h\", \"i\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"j\", \"resources\": [\"j\", \"k\"] }" - )); - - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command'), array( - 'page_size' => 3, - 'limit' => 7 - )); - - $this->assertEquals(array('d', 'e', 'f', 'g', 'h', 'i', 'j'), $ri->toArray()); - $requests = $this->getServer()->getReceivedRequests(true); - $this->assertEquals(3, count($requests)); - $this->assertEquals(3, $requests[0]->getQuery()->get('page_size')); - $this->assertEquals(3, $requests[1]->getQuery()->get('page_size')); - $this->assertEquals(1, $requests[2]->getQuery()->get('page_size')); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator - */ - public function testUseAsArray() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"g\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\nContent-Length: 52\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"g\", \"h\", \"i\"] }" - )); - - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command')); - - // Ensure that the key is never < 0 - $this->assertEquals(0, $ri->key()); - $this->assertEquals(0, count($ri)); - - // Ensure that the iterator can be used as KVP array - $data = array(); - foreach ($ri as $key => $value) { - $data[$key] = $value; - } - - // Ensure that the iterate is countable - $this->assertEquals(6, count($ri)); - $this->assertEquals(array('d', 'e', 'f', 'g', 'h', 'i'), $data); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator - */ - public function testBailsWhenSendReturnsNoResults() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\n\r\n{ \"next_token\": \"g\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\n\r\n{ \"next_token\": \"\", \"resources\": [] }" - )); - - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command')); - - // Ensure that the iterator can be used as KVP array - $data = $ri->toArray(); - - // Ensure that the iterate is countable - $this->assertEquals(3, count($ri)); - $this->assertEquals(array('d', 'e', 'f'), $data); - - $this->assertEquals(2, $ri->getRequestCount()); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator::set - * @covers Guzzle\Service\Resource\ResourceIterator::get - */ - public function testHoldsDataOptions() - { - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command')); - $this->assertNull($ri->get('foo')); - $this->assertSame($ri, $ri->set('foo', 'bar')); - $this->assertEquals('bar', $ri->get('foo')); - } - - /** - * @covers Guzzle\Service\Resource\ResourceIterator::setLimit - * @covers Guzzle\Service\Resource\ResourceIterator::setPageSize - */ - public function testSettingLimitOrPageSizeClearsData() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"d\", \"e\", \"f\"] }", - "HTTP/1.1 200 OK\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"d\", \"e\", \"f\"] }" - )); - - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command')); - $ri->toArray(); - $this->assertNotEmpty($this->readAttribute($ri, 'resources')); - - $ri->setLimit(10); - $this->assertEmpty($this->readAttribute($ri, 'resources')); - - $ri->toArray(); - $this->assertNotEmpty($this->readAttribute($ri, 'resources')); - $ri->setPageSize(10); - $this->assertEmpty($this->readAttribute($ri, 'resources')); - } - - public function testWorksWithCustomAppendIterator() - { - $this->getServer()->flush(); - $this->getServer()->enqueue(array( - "HTTP/1.1 200 OK\r\n\r\n{ \"next_token\": \"\", \"resources\": [\"d\", \"e\", \"f\"] }" - )); - $ri = new MockCommandIterator($this->getServiceBuilder()->get('mock')->getCommand('iterable_command')); - $a = new \Guzzle\Iterator\AppendIterator(); - $a->append($ri); - $results = iterator_to_array($a, false); - $this->assertEquals(4, $ri->calledNext); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Stream/PhpStreamRequestFactoryTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Stream/PhpStreamRequestFactoryTest.php deleted file mode 100644 index df546d1..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Stream/PhpStreamRequestFactoryTest.php +++ /dev/null @@ -1,172 +0,0 @@ -client = new Client($this->getServer()->getUrl()); - $this->factory = new PhpStreamRequestFactory(); - } - - public function testOpensValidStreamByCreatingContext() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->get('/'); - $stream = $this->factory->fromRequest($request); - $this->assertEquals('hi', (string) $stream); - $headers = $this->factory->getLastResponseHeaders(); - $this->assertContains('HTTP/1.1 200 OK', $headers); - $this->assertContains('Content-Length: 2', $headers); - $this->assertSame($headers, $stream->getCustomData('response_headers')); - } - - public function testOpensValidStreamByPassingContextAndMerging() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->get('/'); - $this->factory = $this->getMockBuilder('Guzzle\Stream\PhpStreamRequestFactory') - ->setMethods(array('createContext', 'createStream')) - ->getMock(); - $this->factory->expects($this->never()) - ->method('createContext'); - $this->factory->expects($this->once()) - ->method('createStream') - ->will($this->returnValue(new Stream(fopen('php://temp', 'r')))); - - $context = array('http' => array('method' => 'HEAD', 'ignore_errors' => false)); - $this->factory->fromRequest($request, stream_context_create($context)); - $options = stream_context_get_options($this->readAttribute($this->factory, 'context')); - $this->assertEquals('HEAD', $options['http']['method']); - $this->assertFalse($options['http']['ignore_errors']); - $this->assertEquals('1.0', $options['http']['protocol_version']); - } - - public function testAppliesProxySettings() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->get('/'); - $request->getCurlOptions()->set(CURLOPT_PROXY, 'tcp://foo.com'); - $this->factory = $this->getMockBuilder('Guzzle\Stream\PhpStreamRequestFactory') - ->setMethods(array('createStream')) - ->getMock(); - $this->factory->expects($this->once()) - ->method('createStream') - ->will($this->returnValue(new Stream(fopen('php://temp', 'r')))); - $this->factory->fromRequest($request); - $options = stream_context_get_options($this->readAttribute($this->factory, 'context')); - $this->assertEquals('tcp://foo.com', $options['http']['proxy']); - } - - public function testAddsPostFields() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->post('/', array('Foo' => 'Bar'), array('foo' => 'baz bar')); - $stream = $this->factory->fromRequest($request); - $this->assertEquals('hi', (string) $stream); - - $headers = $this->factory->getLastResponseHeaders(); - $this->assertContains('HTTP/1.1 200 OK', $headers); - $this->assertContains('Content-Length: 2', $headers); - $this->assertSame($headers, $stream->getCustomData('response_headers')); - - $received = $this->getServer()->getReceivedRequests(); - $this->assertEquals(1, count($received)); - $this->assertContains('POST / HTTP/1.0', $received[0]); - $this->assertContains('host: ', $received[0]); - $this->assertContains('user-agent: Guzzle/', $received[0]); - $this->assertContains('foo: Bar', $received[0]); - $this->assertContains('content-length: 13', $received[0]); - $this->assertContains('foo=baz%20bar', $received[0]); - } - - public function testAddsBody() - { - $this->getServer()->flush(); - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->put('/', array('Foo' => 'Bar'), 'Testing...123'); - $stream = $this->factory->fromRequest($request); - $this->assertEquals('hi', (string) $stream); - - $headers = $this->factory->getLastResponseHeaders(); - $this->assertContains('HTTP/1.1 200 OK', $headers); - $this->assertContains('Content-Length: 2', $headers); - $this->assertSame($headers, $stream->getCustomData('response_headers')); - - $received = $this->getServer()->getReceivedRequests(); - $this->assertEquals(1, count($received)); - $this->assertContains('PUT / HTTP/1.0', $received[0]); - $this->assertContains('host: ', $received[0]); - $this->assertContains('user-agent: Guzzle/', $received[0]); - $this->assertContains('foo: Bar', $received[0]); - $this->assertContains('content-length: 13', $received[0]); - $this->assertContains('Testing...123', $received[0]); - } - - public function testCanDisableSslValidation() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->get('/'); - $request->getCurlOptions()->set(CURLOPT_SSL_VERIFYPEER, false); - $this->factory = $this->getMockBuilder('Guzzle\Stream\PhpStreamRequestFactory') - ->setMethods(array('createStream')) - ->getMock(); - $this->factory->expects($this->once()) - ->method('createStream') - ->will($this->returnValue(new Stream(fopen('php://temp', 'r')))); - $this->factory->fromRequest($request); - $options = stream_context_get_options($this->readAttribute($this->factory, 'context')); - $this->assertFalse($options['ssl']['verify_peer']); - } - - public function testUsesSslValidationByDefault() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->get('/'); - $this->factory = $this->getMockBuilder('Guzzle\Stream\PhpStreamRequestFactory') - ->setMethods(array('createStream')) - ->getMock(); - $this->factory->expects($this->once()) - ->method('createStream') - ->will($this->returnValue(new Stream(fopen('php://temp', 'r')))); - $this->factory->fromRequest($request); - $options = stream_context_get_options($this->readAttribute($this->factory, 'context')); - $this->assertTrue($options['ssl']['verify_peer']); - $this->assertSame($request->getCurlOptions()->get(CURLOPT_CAINFO), $options['ssl']['cafile']); - } - - public function testBasicAuthAddsUserAndPassToUrl() - { - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nhi"); - $request = $this->client->get('/'); - $request->setAuth('Foo', 'Bar'); - $this->factory = $this->getMockBuilder('Guzzle\Stream\PhpStreamRequestFactory') - ->setMethods(array('createStream')) - ->getMock(); - $this->factory->expects($this->once()) - ->method('createStream') - ->will($this->returnValue(new Stream(fopen('php://temp', 'r')))); - $this->factory->fromRequest($request); - $this->assertContains('Foo:Bar@', (string) $this->readAttribute($this->factory, 'url')); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Stream/StreamTest.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Stream/StreamTest.php deleted file mode 100644 index 08be50e..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/Stream/StreamTest.php +++ /dev/null @@ -1,217 +0,0 @@ -assertEquals($handle, $stream->getStream()); - $this->assertTrue($stream->isReadable()); - $this->assertTrue($stream->isWritable()); - $this->assertTrue($stream->isLocal()); - $this->assertTrue($stream->isSeekable()); - $this->assertEquals('PHP', $stream->getWrapper()); - $this->assertEquals('TEMP', $stream->getStreamType()); - $this->assertEquals(4, $stream->getSize()); - $this->assertEquals('php://temp', $stream->getUri()); - $this->assertEquals(array(), $stream->getWrapperData()); - $this->assertFalse($stream->isConsumed()); - unset($stream); - } - - /** - * @covers Guzzle\Stream\Stream::getStream - * @covers Guzzle\Stream\Stream::setStream - */ - public function testCanModifyStream() - { - $handle1 = fopen('php://temp', 'r+'); - $handle2 = fopen('php://temp', 'r+'); - $stream = new Stream($handle1); - $this->assertSame($handle1, $stream->getStream()); - $stream->setStream($handle2, 10); - $this->assertEquals(10, $stream->getSize()); - $this->assertSame($handle2, $stream->getStream()); - } - - /** - * @covers Guzzle\Stream\Stream::__destruct - */ - public function testStreamClosesHandleOnDestruct() - { - $handle = fopen('php://temp', 'r'); - $stream = new Stream($handle); - unset($stream); - $this->assertFalse(is_resource($handle)); - } - - /** - * @covers Guzzle\Stream\Stream::__toString - */ - public function testConvertsToString() - { - $handle = fopen('php://temp', 'w+'); - fwrite($handle, 'data'); - $stream = new Stream($handle); - $this->assertEquals('data', (string)$stream); - unset($stream); - - $handle = fopen(__DIR__ . '/../TestData/FileBody.txt', 'w'); - $stream = new Stream($handle); - $this->assertEquals('', (string)$stream); - unset($stream); - } - - /** - * @covers Guzzle\Stream\Stream::__toString - */ - public function testConvertsToStringAndRestoresCursorPos() - { - $handle = fopen('php://temp', 'w+'); - $stream = new Stream($handle); - $stream->write('foobazbar'); - $stream->seek(3); - $this->assertEquals('foobazbar', (string) $stream); - $this->assertEquals(3, $stream->ftell()); - } - - /** - * @covers Guzzle\Stream\Stream::isConsumed - */ - public function testIsConsumed() - { - $handle = fopen('php://temp', 'w+'); - fwrite($handle, 'data'); - $stream = new Stream($handle); - $this->assertFalse($stream->isConsumed()); - $stream->read(4); - $this->assertTrue($stream->isConsumed()); - } - - /** - * @covers Guzzle\Stream\Stream::setSize - * @covers Guzzle\Stream\Stream::getSize - */ - public function testAllowsSettingManualSize() - { - $handle = fopen('php://temp', 'w+'); - fwrite($handle, 'data'); - $stream = new Stream($handle); - $stream->setSize(10); - $this->assertEquals(10, $stream->getSize()); - unset($stream); - } - - /** - * @covers Guzzle\Stream\Stream::read - * @covers Guzzle\Stream\Stream::write - * @covers Guzzle\Stream\Stream::seek - * @covers Guzzle\Stream\Stream::isReadable - * @covers Guzzle\Stream\Stream::isSeekable - */ - public function testWrapsStream() - { - $handle = fopen('php://temp', 'w+'); - fwrite($handle, 'data'); - $stream = new Stream($handle); - $this->assertTrue($stream->isSeekable()); - $this->assertTrue($stream->isReadable()); - $this->assertTrue($stream->seek(0)); - $this->assertEquals('da', $stream->read(2)); - $this->assertEquals('ta', $stream->read(2)); - $this->assertTrue($stream->seek(0)); - $this->assertEquals('data', $stream->read(4)); - $stream->write('_appended'); - $stream->seek(0); - $this->assertEquals('data_appended', $stream->read(13)); - } - - /** - * @covers Guzzle\Stream\Stream::getSize - * @covers Guzzle\Stream\Stream::__construct - */ - public function testGetSize() - { - $size = filesize(__DIR__ . '/../../../bootstrap.php'); - $handle = fopen(__DIR__ . '/../../../bootstrap.php', 'r'); - $stream = new Stream($handle); - $this->assertEquals($handle, $stream->getStream()); - $this->assertEquals($size, $stream->getSize()); - $this->assertEquals($size, $stream->getSize()); - unset($stream); - - // Make sure that false is returned when the size cannot be determined - $this->getServer()->enqueue("HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"); - $handle = fopen('http://localhost:' . $this->getServer()->getPort(), 'r'); - $stream = new Stream($handle); - $this->assertEquals(false, $stream->getSize()); - unset($stream); - } - - /** - * @covers Guzzle\Stream\Stream::getMetaData - */ - public function testAbstractsMetaData() - { - $handle = fopen(__DIR__ . '/../../../bootstrap.php', 'r'); - $stream = new Stream($handle); - $this->assertEquals('plainfile', $stream->getMetaData('wrapper_type')); - $this->assertEquals(null, $stream->getMetaData('wrapper_data')); - $this->assertInternalType('array', $stream->getMetaData()); - } - - /** - * @covers Guzzle\Stream\Stream::write - */ - public function testDoesNotAttemptToWriteToReadonlyStream() - { - $handle = fopen(__DIR__ . '/../../../bootstrap.php', 'r'); - $stream = new Stream($handle); - $this->assertEquals(0, $stream->write('foo')); - } - - /** - * @covers Guzzle\Stream\Stream::ftell - */ - public function testProvidesStreamPosition() - { - $handle = fopen(__DIR__ . '/../../../bootstrap.php', 'r'); - $stream = new Stream($handle); - $stream->read(2); - $this->assertSame(ftell($handle), $stream->ftell()); - $this->assertEquals(2, $stream->ftell()); - } - - /** - * @covers Guzzle\Stream\Stream::rewind - */ - public function testRewindIsSeekZero() - { - $stream = new Stream(fopen('php://temp', 'w+')); - $stream->write('foobazbar'); - $this->assertTrue($stream->rewind()); - $this->assertEquals('foobazbar', $stream->read(9)); - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/FileBody.txt b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/FileBody.txt deleted file mode 100755 index e69de29..0000000 diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/bar.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/bar.json deleted file mode 100644 index 63323db..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/bar.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "includes": ["foo.json"] -} \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/baz.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/baz.json deleted file mode 100644 index fc34298..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/baz.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "includes": ["foo.json", "bar.json"] -} \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/foo.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/foo.json deleted file mode 100644 index cee5005..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/foo.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "includes": ["recursive.json"], - "operations": { - "abstract": { - "httpMethod": "POST" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/recursive.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/recursive.json deleted file mode 100644 index 63323db..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/recursive.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "includes": ["foo.json"] -} \ No newline at end of file diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/mock_response b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/mock_response deleted file mode 100644 index b6938a2..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/mock_response +++ /dev/null @@ -1,3 +0,0 @@ -HTTP/1.1 200 OK -Content-Length: 0 - diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json1.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json1.json deleted file mode 100644 index 7b2a9da..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json1.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "includes": [ "json2.json" ], - "services": { - "abstract": { - "access_key": "xyz", - "secret": "abc" - }, - "mock": { - "class": "Guzzle\\Tests\\Service\\Mock\\MockClient", - "extends": "abstract", - "params": { - "username": "foo", - "password": "baz", - "subdomain": "bar" - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json2.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json2.json deleted file mode 100644 index 08e5566..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json2.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "services": { - "foo": { - "class": "Guzzle\\Tests\\Service\\Mock\\MockClient", - "extends": "abstract", - "params": { - "baz": "bar" - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/services.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/services.json deleted file mode 100644 index 25452e4..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/services.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "abstract": { - "access_key": "xyz", - "secret": "abc" - }, - "mock": { - "class": "Guzzle\\Tests\\Service\\Mock\\MockClient", - "extends": "abstract", - "params": { - "username": "foo", - "password": "baz", - "subdomain": "bar" - } - }, - - "test.abstract.aws": { - "params": { - "access_key": "12345", - "secret_key": "abcd" - } - }, - - "test.s3": { - "class": "Guzzle\\Service\\Aws\\S3Client", - "extends": "test.abstract.aws", - "params": { - "devpay_product_token": "", - "devpay_user_token": "" - } - }, - - "test.simple_db": { - "class": "Guzzle\\Service\\Aws\\SimpleDb\\SimpleDbClient", - "extends": "test.abstract.aws" - }, - - "test.sqs": { - "class": "Guzzle\\Service\\Aws\\Sqs\\SqsClient", - "extends": "test.abstract.aws" - }, - - "test.centinel": { - "class": "Guzzle\\Service\\CardinalCommerce\\Centinel.CentinelClient", - "params": { - "password": "test", - "processor_id": "123", - "merchant_id": "456" - } - }, - - "test.mws": { - "class": "Guzzle\\Service\\Mws\\MwsClient", - "extends": "test.abstract.aws", - "params": { - "merchant_id": "ABCDE", - "marketplace_id": "FGHIJ", - "application_name": "GuzzleTest", - "application_version": "0.1", - "base_url": "https://mws.amazonservices.com" - } - }, - - "mock": { - "class": "Guzzle\\Tests\\Service\\Mock\\MockClient", - "params": { - "username": "test_user", - "password": "****", - "subdomain": "test" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service.json deleted file mode 100644 index 01557ca..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "includes": [ "test_service2.json" ], - "operations": { - "test": { - "uri": "/path" - }, - "concrete": { - "extends": "abstract" - }, - "foo_bar": { - "uri": "/testing", - "parameters": { - "other": { - "location": "json", - "location_key": "Other" - }, - "test": { - "type": "object", - "location": "json", - "properties": { - "baz": { - "type": "boolean", - "default": true - }, - "bar": { - "type": "string", - "filters": [ - { - "method": "strtolower", - "args": ["test", "@value"] - }, - "strtoupper" - ] - } - } - } - } - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service2.json b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service2.json deleted file mode 100644 index 66dd9ef..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service2.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "operations": { - "abstract": { - "uri": "/abstract" - } - } -} diff --git a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/bootstrap.php b/in-development/check_awsiops/vendor/guzzle/guzzle/tests/bootstrap.php deleted file mode 100644 index 7f917eb..0000000 --- a/in-development/check_awsiops/vendor/guzzle/guzzle/tests/bootstrap.php +++ /dev/null @@ -1,29 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -use Symfony\Component\DependencyInjection\ContainerInterface; - -/** - * Lazily loads listeners and subscribers from the dependency injection - * container - * - * @author Fabien Potencier - * @author Bernhard Schussek - * @author Jordan Alliot - */ -class ContainerAwareEventDispatcher extends EventDispatcher -{ - /** - * The container from where services are loaded - * @var ContainerInterface - */ - private $container; - - /** - * The service IDs of the event listeners and subscribers - * @var array - */ - private $listenerIds = array(); - - /** - * The services registered as listeners - * @var array - */ - private $listeners = array(); - - /** - * Constructor. - * - * @param ContainerInterface $container A ContainerInterface instance - */ - public function __construct(ContainerInterface $container) - { - $this->container = $container; - } - - /** - * Adds a service as event listener - * - * @param string $eventName Event for which the listener is added - * @param array $callback The service ID of the listener service & the method - * name that has to be called - * @param integer $priority The higher this value, the earlier an event listener - * will be triggered in the chain. - * Defaults to 0. - * - * @throws \InvalidArgumentException - */ - public function addListenerService($eventName, $callback, $priority = 0) - { - if (!is_array($callback) || 2 !== count($callback)) { - throw new \InvalidArgumentException('Expected an array("service", "method") argument'); - } - - $this->listenerIds[$eventName][] = array($callback[0], $callback[1], $priority); - } - - public function removeListener($eventName, $listener) - { - $this->lazyLoad($eventName); - - if (isset($this->listeners[$eventName])) { - foreach ($this->listeners[$eventName] as $key => $l) { - foreach ($this->listenerIds[$eventName] as $i => $args) { - list($serviceId, $method, $priority) = $args; - if ($key === $serviceId.'.'.$method) { - if ($listener === array($l, $method)) { - unset($this->listeners[$eventName][$key]); - if (empty($this->listeners[$eventName])) { - unset($this->listeners[$eventName]); - } - unset($this->listenerIds[$eventName][$i]); - if (empty($this->listenerIds[$eventName])) { - unset($this->listenerIds[$eventName]); - } - } - } - } - } - } - - parent::removeListener($eventName, $listener); - } - - /** - * @see EventDispatcherInterface::hasListeners - */ - public function hasListeners($eventName = null) - { - if (null === $eventName) { - return (Boolean) count($this->listenerIds) || (Boolean) count($this->listeners); - } - - if (isset($this->listenerIds[$eventName])) { - return true; - } - - return parent::hasListeners($eventName); - } - - /** - * @see EventDispatcherInterface::getListeners - */ - public function getListeners($eventName = null) - { - if (null === $eventName) { - foreach (array_keys($this->listenerIds) as $serviceEventName) { - $this->lazyLoad($serviceEventName); - } - } else { - $this->lazyLoad($eventName); - } - - return parent::getListeners($eventName); - } - - /** - * Adds a service as event subscriber - * - * @param string $serviceId The service ID of the subscriber service - * @param string $class The service's class name (which must implement EventSubscriberInterface) - */ - public function addSubscriberService($serviceId, $class) - { - foreach ($class::getSubscribedEvents() as $eventName => $params) { - if (is_string($params)) { - $this->listenerIds[$eventName][] = array($serviceId, $params, 0); - } elseif (is_string($params[0])) { - $this->listenerIds[$eventName][] = array($serviceId, $params[0], isset($params[1]) ? $params[1] : 0); - } else { - foreach ($params as $listener) { - $this->listenerIds[$eventName][] = array($serviceId, $listener[0], isset($listener[1]) ? $listener[1] : 0); - } - } - } - } - - /** - * {@inheritDoc} - * - * Lazily loads listeners for this event from the dependency injection - * container. - * - * @throws \InvalidArgumentException if the service is not defined - */ - public function dispatch($eventName, Event $event = null) - { - $this->lazyLoad($eventName); - - return parent::dispatch($eventName, $event); - } - - public function getContainer() - { - return $this->container; - } - - /** - * Lazily loads listeners for this event from the dependency injection - * container. - * - * @param string $eventName The name of the event to dispatch. The name of - * the event is the name of the method that is - * invoked on listeners. - */ - protected function lazyLoad($eventName) - { - if (isset($this->listenerIds[$eventName])) { - foreach ($this->listenerIds[$eventName] as $args) { - list($serviceId, $method, $priority) = $args; - $listener = $this->container->get($serviceId); - - $key = $serviceId.'.'.$method; - if (!isset($this->listeners[$eventName][$key])) { - $this->addListener($eventName, array($listener, $method), $priority); - } elseif ($listener !== $this->listeners[$eventName][$key]) { - parent::removeListener($eventName, array($this->listeners[$eventName][$key], $method)); - $this->addListener($eventName, array($listener, $method), $priority); - } - - $this->listeners[$eventName][$key] = $listener; - } - } - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php deleted file mode 100644 index a67a979..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php +++ /dev/null @@ -1,32 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher\Debug; - -/** - * @author Fabien Potencier - */ -interface TraceableEventDispatcherInterface -{ - /** - * Gets the called listeners. - * - * @return array An array of called listeners - */ - public function getCalledListeners(); - - /** - * Gets the not called listeners. - * - * @return array An array of not called listeners - */ - public function getNotCalledListeners(); -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php deleted file mode 100644 index 42f09ea..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php +++ /dev/null @@ -1,121 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -/** - * Event is the base class for classes containing event data. - * - * This class contains no event data. It is used by events that do not pass - * state information to an event handler when an event is raised. - * - * You can call the method stopPropagation() to abort the execution of - * further listeners in your event listener. - * - * @author Guilherme Blanco - * @author Jonathan Wage - * @author Roman Borschel - * @author Bernhard Schussek - * - * @api - */ -class Event -{ - /** - * @var Boolean Whether no further event listeners should be triggered - */ - private $propagationStopped = false; - - /** - * @var EventDispatcher Dispatcher that dispatched this event - */ - private $dispatcher; - - /** - * @var string This event's name - */ - private $name; - - /** - * Returns whether further event listeners should be triggered. - * - * @see Event::stopPropagation - * @return Boolean Whether propagation was already stopped for this event. - * - * @api - */ - public function isPropagationStopped() - { - return $this->propagationStopped; - } - - /** - * Stops the propagation of the event to further event listeners. - * - * If multiple event listeners are connected to the same event, no - * further event listener will be triggered once any trigger calls - * stopPropagation(). - * - * @api - */ - public function stopPropagation() - { - $this->propagationStopped = true; - } - - /** - * Stores the EventDispatcher that dispatches this Event - * - * @param EventDispatcherInterface $dispatcher - * - * @api - */ - public function setDispatcher(EventDispatcherInterface $dispatcher) - { - $this->dispatcher = $dispatcher; - } - - /** - * Returns the EventDispatcher that dispatches this Event - * - * @return EventDispatcherInterface - * - * @api - */ - public function getDispatcher() - { - return $this->dispatcher; - } - - /** - * Gets the event's name. - * - * @return string - * - * @api - */ - public function getName() - { - return $this->name; - } - - /** - * Sets the event's name property. - * - * @param string $name The event name. - * - * @api - */ - public function setName($name) - { - $this->name = $name; - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php deleted file mode 100644 index eb1fb59..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php +++ /dev/null @@ -1,185 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -/** - * The EventDispatcherInterface is the central point of Symfony's event listener system. - * - * Listeners are registered on the manager and events are dispatched through the - * manager. - * - * @author Guilherme Blanco - * @author Jonathan Wage - * @author Roman Borschel - * @author Bernhard Schussek - * @author Fabien Potencier - * @author Jordi Boggiano - * @author Jordan Alliot - * - * @api - */ -class EventDispatcher implements EventDispatcherInterface -{ - private $listeners = array(); - private $sorted = array(); - - /** - * @see EventDispatcherInterface::dispatch - * - * @api - */ - public function dispatch($eventName, Event $event = null) - { - if (null === $event) { - $event = new Event(); - } - - $event->setDispatcher($this); - $event->setName($eventName); - - if (!isset($this->listeners[$eventName])) { - return $event; - } - - $this->doDispatch($this->getListeners($eventName), $eventName, $event); - - return $event; - } - - /** - * @see EventDispatcherInterface::getListeners - */ - public function getListeners($eventName = null) - { - if (null !== $eventName) { - if (!isset($this->sorted[$eventName])) { - $this->sortListeners($eventName); - } - - return $this->sorted[$eventName]; - } - - foreach (array_keys($this->listeners) as $eventName) { - if (!isset($this->sorted[$eventName])) { - $this->sortListeners($eventName); - } - } - - return $this->sorted; - } - - /** - * @see EventDispatcherInterface::hasListeners - */ - public function hasListeners($eventName = null) - { - return (Boolean) count($this->getListeners($eventName)); - } - - /** - * @see EventDispatcherInterface::addListener - * - * @api - */ - public function addListener($eventName, $listener, $priority = 0) - { - $this->listeners[$eventName][$priority][] = $listener; - unset($this->sorted[$eventName]); - } - - /** - * @see EventDispatcherInterface::removeListener - */ - public function removeListener($eventName, $listener) - { - if (!isset($this->listeners[$eventName])) { - return; - } - - foreach ($this->listeners[$eventName] as $priority => $listeners) { - if (false !== ($key = array_search($listener, $listeners, true))) { - unset($this->listeners[$eventName][$priority][$key], $this->sorted[$eventName]); - } - } - } - - /** - * @see EventDispatcherInterface::addSubscriber - * - * @api - */ - public function addSubscriber(EventSubscriberInterface $subscriber) - { - foreach ($subscriber->getSubscribedEvents() as $eventName => $params) { - if (is_string($params)) { - $this->addListener($eventName, array($subscriber, $params)); - } elseif (is_string($params[0])) { - $this->addListener($eventName, array($subscriber, $params[0]), isset($params[1]) ? $params[1] : 0); - } else { - foreach ($params as $listener) { - $this->addListener($eventName, array($subscriber, $listener[0]), isset($listener[1]) ? $listener[1] : 0); - } - } - } - } - - /** - * @see EventDispatcherInterface::removeSubscriber - */ - public function removeSubscriber(EventSubscriberInterface $subscriber) - { - foreach ($subscriber->getSubscribedEvents() as $eventName => $params) { - if (is_array($params) && is_array($params[0])) { - foreach ($params as $listener) { - $this->removeListener($eventName, array($subscriber, $listener[0])); - } - } else { - $this->removeListener($eventName, array($subscriber, is_string($params) ? $params : $params[0])); - } - } - } - - /** - * Triggers the listeners of an event. - * - * This method can be overridden to add functionality that is executed - * for each listener. - * - * @param array[callback] $listeners The event listeners. - * @param string $eventName The name of the event to dispatch. - * @param Event $event The event object to pass to the event handlers/listeners. - */ - protected function doDispatch($listeners, $eventName, Event $event) - { - foreach ($listeners as $listener) { - call_user_func($listener, $event); - if ($event->isPropagationStopped()) { - break; - } - } - } - - /** - * Sorts the internal list of listeners for the given event by priority. - * - * @param string $eventName The name of the event. - */ - private function sortListeners($eventName) - { - $this->sorted[$eventName] = array(); - - if (isset($this->listeners[$eventName])) { - krsort($this->listeners[$eventName]); - $this->sorted[$eventName] = call_user_func_array('array_merge', $this->listeners[$eventName]); - } - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcherInterface.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcherInterface.php deleted file mode 100644 index 7aead23..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcherInterface.php +++ /dev/null @@ -1,96 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -/** - * The EventDispatcherInterface is the central point of Symfony's event listener system. - * Listeners are registered on the manager and events are dispatched through the - * manager. - * - * @author Bernhard Schussek - * - * @api - */ -interface EventDispatcherInterface -{ - /** - * Dispatches an event to all registered listeners. - * - * @param string $eventName The name of the event to dispatch. The name of - * the event is the name of the method that is - * invoked on listeners. - * @param Event $event The event to pass to the event handlers/listeners. - * If not supplied, an empty Event instance is created. - * - * @return Event - * - * @api - */ - public function dispatch($eventName, Event $event = null); - - /** - * Adds an event listener that listens on the specified events. - * - * @param string $eventName The event to listen on - * @param callable $listener The listener - * @param integer $priority The higher this value, the earlier an event - * listener will be triggered in the chain (defaults to 0) - * - * @api - */ - public function addListener($eventName, $listener, $priority = 0); - - /** - * Adds an event subscriber. - * - * The subscriber is asked for all the events he is - * interested in and added as a listener for these events. - * - * @param EventSubscriberInterface $subscriber The subscriber. - * - * @api - */ - public function addSubscriber(EventSubscriberInterface $subscriber); - - /** - * Removes an event listener from the specified events. - * - * @param string|array $eventName The event(s) to remove a listener from - * @param callable $listener The listener to remove - */ - public function removeListener($eventName, $listener); - - /** - * Removes an event subscriber. - * - * @param EventSubscriberInterface $subscriber The subscriber - */ - public function removeSubscriber(EventSubscriberInterface $subscriber); - - /** - * Gets the listeners of a specific event or all listeners. - * - * @param string $eventName The name of the event - * - * @return array The event listeners for the specified event, or all event listeners by event name - */ - public function getListeners($eventName = null); - - /** - * Checks whether an event has any registered listeners. - * - * @param string $eventName The name of the event - * - * @return Boolean true if the specified event has any listeners, false otherwise - */ - public function hasListeners($eventName = null); -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventSubscriberInterface.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventSubscriberInterface.php deleted file mode 100644 index 080f892..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventSubscriberInterface.php +++ /dev/null @@ -1,50 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -/** - * An EventSubscriber knows himself what events he is interested in. - * If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes - * {@link getSubscribedEvents} and registers the subscriber as a listener for all - * returned events. - * - * @author Guilherme Blanco - * @author Jonathan Wage - * @author Roman Borschel - * @author Bernhard Schussek - * - * @api - */ -interface EventSubscriberInterface -{ - /** - * Returns an array of event names this subscriber wants to listen to. - * - * The array keys are event names and the value can be: - * - * * The method name to call (priority defaults to 0) - * * An array composed of the method name to call and the priority - * * An array of arrays composed of the method names to call and respective - * priorities, or 0 if unset - * - * For instance: - * - * * array('eventName' => 'methodName') - * * array('eventName' => array('methodName', $priority)) - * * array('eventName' => array(array('methodName1', $priority), array('methodName2')) - * - * @return array The event names to listen to - * - * @api - */ - public static function getSubscribedEvents(); -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php deleted file mode 100644 index 3a5efcf..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php +++ /dev/null @@ -1,186 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -/** - * Event encapsulation class. - * - * Encapsulates events thus decoupling the observer from the subject they encapsulate. - * - * @author Drak - */ -class GenericEvent extends Event implements \ArrayAccess, \IteratorAggregate -{ - /** - * Observer pattern subject. - * - * @var mixed usually object or callable - */ - protected $subject; - - /** - * Array of arguments. - * - * @var array - */ - protected $arguments; - - /** - * Encapsulate an event with $subject and $args. - * - * @param mixed $subject The subject of the event, usually an object. - * @param array $arguments Arguments to store in the event. - */ - public function __construct($subject = null, array $arguments = array()) - { - $this->subject = $subject; - $this->arguments = $arguments; - } - - /** - * Getter for subject property. - * - * @return mixed $subject The observer subject. - */ - public function getSubject() - { - return $this->subject; - } - - /** - * Get argument by key. - * - * @param string $key Key. - * - * @throws \InvalidArgumentException If key is not found. - * - * @return mixed Contents of array key. - */ - public function getArgument($key) - { - if ($this->hasArgument($key)) { - return $this->arguments[$key]; - } - - throw new \InvalidArgumentException(sprintf('%s not found in %s', $key, $this->getName())); - } - - /** - * Add argument to event. - * - * @param string $key Argument name. - * @param mixed $value Value. - * - * @return GenericEvent - */ - public function setArgument($key, $value) - { - $this->arguments[$key] = $value; - - return $this; - } - - /** - * Getter for all arguments. - * - * @return array - */ - public function getArguments() - { - return $this->arguments; - } - - /** - * Set args property. - * - * @param array $args Arguments. - * - * @return GenericEvent - */ - public function setArguments(array $args = array()) - { - $this->arguments = $args; - - return $this; - } - - /** - * Has argument. - * - * @param string $key Key of arguments array. - * - * @return boolean - */ - public function hasArgument($key) - { - return array_key_exists($key, $this->arguments); - } - - /** - * ArrayAccess for argument getter. - * - * @param string $key Array key. - * - * @throws \InvalidArgumentException If key does not exist in $this->args. - * - * @return mixed - */ - public function offsetGet($key) - { - return $this->getArgument($key); - } - - /** - * ArrayAccess for argument setter. - * - * @param string $key Array key to set. - * @param mixed $value Value. - */ - public function offsetSet($key, $value) - { - $this->setArgument($key, $value); - } - - /** - * ArrayAccess for unset argument. - * - * @param string $key Array key. - */ - public function offsetUnset($key) - { - if ($this->hasArgument($key)) { - unset($this->arguments[$key]); - } - } - - /** - * ArrayAccess has argument. - * - * @param string $key Array key. - * - * @return boolean - */ - public function offsetExists($key) - { - return $this->hasArgument($key); - } - - /** - * IteratorAggregate for iterating over the object like an array - * - * @return \ArrayIterator - */ - public function getIterator() - { - return new \ArrayIterator($this->arguments); - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php deleted file mode 100644 index b70b81a..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php +++ /dev/null @@ -1,92 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher; - -/** - * A read-only proxy for an event dispatcher. - * - * @author Bernhard Schussek - */ -class ImmutableEventDispatcher implements EventDispatcherInterface -{ - /** - * The proxied dispatcher. - * @var EventDispatcherInterface - */ - private $dispatcher; - - /** - * Creates an unmodifiable proxy for an event dispatcher. - * - * @param EventDispatcherInterface $dispatcher The proxied event dispatcher. - */ - public function __construct(EventDispatcherInterface $dispatcher) - { - $this->dispatcher = $dispatcher; - } - - /** - * {@inheritdoc} - */ - public function dispatch($eventName, Event $event = null) - { - return $this->dispatcher->dispatch($eventName, $event); - } - - /** - * {@inheritdoc} - */ - public function addListener($eventName, $listener, $priority = 0) - { - throw new \BadMethodCallException('Unmodifiable event dispatchers must not be modified.'); - } - - /** - * {@inheritdoc} - */ - public function addSubscriber(EventSubscriberInterface $subscriber) - { - throw new \BadMethodCallException('Unmodifiable event dispatchers must not be modified.'); - } - - /** - * {@inheritdoc} - */ - public function removeListener($eventName, $listener) - { - throw new \BadMethodCallException('Unmodifiable event dispatchers must not be modified.'); - } - - /** - * {@inheritdoc} - */ - public function removeSubscriber(EventSubscriberInterface $subscriber) - { - throw new \BadMethodCallException('Unmodifiable event dispatchers must not be modified.'); - } - - /** - * {@inheritdoc} - */ - public function getListeners($eventName = null) - { - return $this->dispatcher->getListeners($eventName); - } - - /** - * {@inheritdoc} - */ - public function hasListeners($eventName = null) - { - return $this->dispatcher->hasListeners($eventName); - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/LICENSE b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/LICENSE deleted file mode 100644 index 88a57f8..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2004-2013 Fabien Potencier - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/README.md b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/README.md deleted file mode 100644 index 11f6b18..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/README.md +++ /dev/null @@ -1,25 +0,0 @@ -EventDispatcher Component -========================= - -EventDispatcher implements a lightweight version of the Observer design -pattern. - - use Symfony\Component\EventDispatcher\EventDispatcher; - use Symfony\Component\EventDispatcher\Event; - - $dispatcher = new EventDispatcher(); - - $dispatcher->addListener('event_name', function (Event $event) { - // ... - }); - - $dispatcher->dispatch('event_name'); - -Resources ---------- - -You can run the unit tests with the following command: - - $ cd path/to/Symfony/Component/EventDispatcher/ - $ composer.phar install --dev - $ phpunit diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php deleted file mode 100644 index 71f3ad0..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php +++ /dev/null @@ -1,257 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher\Tests; - -use Symfony\Component\DependencyInjection\Container; -use Symfony\Component\DependencyInjection\Scope; -use Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher; -use Symfony\Component\EventDispatcher\Event; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; - -class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase -{ - protected function setUp() - { - if (!class_exists('Symfony\Component\DependencyInjection\Container')) { - $this->markTestSkipped('The "DependencyInjection" component is not available'); - } - } - - public function testAddAListenerService() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $service - ->expects($this->once()) - ->method('onEvent') - ->with($event) - ; - - $container = new Container(); - $container->set('service.listener', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - - $dispatcher->dispatch('onEvent', $event); - } - - public function testAddASubscriberService() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\SubscriberService'); - - $service - ->expects($this->once()) - ->method('onEvent') - ->with($event) - ; - - $container = new Container(); - $container->set('service.subscriber', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addSubscriberService('service.subscriber', 'Symfony\Component\EventDispatcher\Tests\SubscriberService'); - - $dispatcher->dispatch('onEvent', $event); - } - - public function testPreventDuplicateListenerService() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $service - ->expects($this->once()) - ->method('onEvent') - ->with($event) - ; - - $container = new Container(); - $container->set('service.listener', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent'), 5); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent'), 10); - - $dispatcher->dispatch('onEvent', $event); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testTriggerAListenerServiceOutOfScope() - { - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $scope = new Scope('scope'); - $container = new Container(); - $container->addScope($scope); - $container->enterScope('scope'); - - $container->set('service.listener', $service, 'scope'); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - - $container->leaveScope('scope'); - $dispatcher->dispatch('onEvent'); - } - - public function testReEnteringAScope() - { - $event = new Event(); - - $service1 = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $service1 - ->expects($this->exactly(2)) - ->method('onEvent') - ->with($event) - ; - - $scope = new Scope('scope'); - $container = new Container(); - $container->addScope($scope); - $container->enterScope('scope'); - - $container->set('service.listener', $service1, 'scope'); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - $dispatcher->dispatch('onEvent', $event); - - $service2 = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $service2 - ->expects($this->once()) - ->method('onEvent') - ->with($event) - ; - - $container->enterScope('scope'); - $container->set('service.listener', $service2, 'scope'); - - $dispatcher->dispatch('onEvent', $event); - - $container->leaveScope('scope'); - - $dispatcher->dispatch('onEvent'); - } - - public function testHasListenersOnLazyLoad() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $container = new Container(); - $container->set('service.listener', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - - $event->setDispatcher($dispatcher); - $event->setName('onEvent'); - - $service - ->expects($this->once()) - ->method('onEvent') - ->with($event) - ; - - $this->assertTrue($dispatcher->hasListeners()); - - if ($dispatcher->hasListeners('onEvent')) { - $dispatcher->dispatch('onEvent'); - } - } - - public function testGetListenersOnLazyLoad() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $container = new Container(); - $container->set('service.listener', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - - $listeners = $dispatcher->getListeners(); - - $this->assertTrue(isset($listeners['onEvent'])); - - $this->assertCount(1, $dispatcher->getListeners('onEvent')); - } - - public function testRemoveAfterDispatch() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $container = new Container(); - $container->set('service.listener', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - - $dispatcher->dispatch('onEvent', new Event()); - $dispatcher->removeListener('onEvent', array($container->get('service.listener'), 'onEvent')); - $this->assertFalse($dispatcher->hasListeners('onEvent')); - } - - public function testRemoveBeforeDispatch() - { - $event = new Event(); - - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); - - $container = new Container(); - $container->set('service.listener', $service); - - $dispatcher = new ContainerAwareEventDispatcher($container); - $dispatcher->addListenerService('onEvent', array('service.listener', 'onEvent')); - - $dispatcher->removeListener('onEvent', array($container->get('service.listener'), 'onEvent')); - $this->assertFalse($dispatcher->hasListeners('onEvent')); - } -} - -class Service -{ - public function onEvent(Event $e) - { - } -} - -class SubscriberService implements EventSubscriberInterface -{ - public static function getSubscribedEvents() - { - return array( - 'onEvent' => 'onEvent', - 'onEvent' => array('onEvent', 10), - 'onEvent' => array('onEvent'), - ); - } - - public function onEvent(Event $e) - { - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php deleted file mode 100644 index ad7e448..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php +++ /dev/null @@ -1,320 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher\Tests; - -use Symfony\Component\EventDispatcher\Event; -use Symfony\Component\EventDispatcher\EventDispatcher; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; - -class EventDispatcherTest extends \PHPUnit_Framework_TestCase -{ - /* Some pseudo events */ - const preFoo = 'pre.foo'; - const postFoo = 'post.foo'; - const preBar = 'pre.bar'; - const postBar = 'post.bar'; - - private $dispatcher; - - private $listener; - - protected function setUp() - { - $this->dispatcher = new EventDispatcher(); - $this->listener = new TestEventListener(); - } - - protected function tearDown() - { - $this->dispatcher = null; - $this->listener = null; - } - - public function testInitialState() - { - $this->assertEquals(array(), $this->dispatcher->getListeners()); - $this->assertFalse($this->dispatcher->hasListeners(self::preFoo)); - $this->assertFalse($this->dispatcher->hasListeners(self::postFoo)); - } - - public function testAddListener() - { - $this->dispatcher->addListener('pre.foo', array($this->listener, 'preFoo')); - $this->dispatcher->addListener('post.foo', array($this->listener, 'postFoo')); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->assertTrue($this->dispatcher->hasListeners(self::postFoo)); - $this->assertCount(1, $this->dispatcher->getListeners(self::preFoo)); - $this->assertCount(1, $this->dispatcher->getListeners(self::postFoo)); - $this->assertCount(2, $this->dispatcher->getListeners()); - } - - public function testGetListenersSortsByPriority() - { - $listener1 = new TestEventListener(); - $listener2 = new TestEventListener(); - $listener3 = new TestEventListener(); - $listener1->name = '1'; - $listener2->name = '2'; - $listener3->name = '3'; - - $this->dispatcher->addListener('pre.foo', array($listener1, 'preFoo'), -10); - $this->dispatcher->addListener('pre.foo', array($listener2, 'preFoo'), 10); - $this->dispatcher->addListener('pre.foo', array($listener3, 'preFoo')); - - $expected = array( - array($listener2, 'preFoo'), - array($listener3, 'preFoo'), - array($listener1, 'preFoo'), - ); - - $this->assertSame($expected, $this->dispatcher->getListeners('pre.foo')); - } - - public function testGetAllListenersSortsByPriority() - { - $listener1 = new TestEventListener(); - $listener2 = new TestEventListener(); - $listener3 = new TestEventListener(); - $listener4 = new TestEventListener(); - $listener5 = new TestEventListener(); - $listener6 = new TestEventListener(); - - $this->dispatcher->addListener('pre.foo', $listener1, -10); - $this->dispatcher->addListener('pre.foo', $listener2); - $this->dispatcher->addListener('pre.foo', $listener3, 10); - $this->dispatcher->addListener('post.foo', $listener4, -10); - $this->dispatcher->addListener('post.foo', $listener5); - $this->dispatcher->addListener('post.foo', $listener6, 10); - - $expected = array( - 'pre.foo' => array($listener3, $listener2, $listener1), - 'post.foo' => array($listener6, $listener5, $listener4), - ); - - $this->assertSame($expected, $this->dispatcher->getListeners()); - } - - public function testDispatch() - { - $this->dispatcher->addListener('pre.foo', array($this->listener, 'preFoo')); - $this->dispatcher->addListener('post.foo', array($this->listener, 'postFoo')); - $this->dispatcher->dispatch(self::preFoo); - $this->assertTrue($this->listener->preFooInvoked); - $this->assertFalse($this->listener->postFooInvoked); - $this->assertInstanceOf('Symfony\Component\EventDispatcher\Event', $this->dispatcher->dispatch('noevent')); - $this->assertInstanceOf('Symfony\Component\EventDispatcher\Event', $this->dispatcher->dispatch(self::preFoo)); - $event = new Event(); - $return = $this->dispatcher->dispatch(self::preFoo, $event); - $this->assertEquals('pre.foo', $event->getName()); - $this->assertSame($event, $return); - } - - public function testDispatchForClosure() - { - $invoked = 0; - $listener = function () use (&$invoked) { - $invoked++; - }; - $this->dispatcher->addListener('pre.foo', $listener); - $this->dispatcher->addListener('post.foo', $listener); - $this->dispatcher->dispatch(self::preFoo); - $this->assertEquals(1, $invoked); - } - - public function testStopEventPropagation() - { - $otherListener = new TestEventListener(); - - // postFoo() stops the propagation, so only one listener should - // be executed - // Manually set priority to enforce $this->listener to be called first - $this->dispatcher->addListener('post.foo', array($this->listener, 'postFoo'), 10); - $this->dispatcher->addListener('post.foo', array($otherListener, 'preFoo')); - $this->dispatcher->dispatch(self::postFoo); - $this->assertTrue($this->listener->postFooInvoked); - $this->assertFalse($otherListener->postFooInvoked); - } - - public function testDispatchByPriority() - { - $invoked = array(); - $listener1 = function () use (&$invoked) { - $invoked[] = '1'; - }; - $listener2 = function () use (&$invoked) { - $invoked[] = '2'; - }; - $listener3 = function () use (&$invoked) { - $invoked[] = '3'; - }; - $this->dispatcher->addListener('pre.foo', $listener1, -10); - $this->dispatcher->addListener('pre.foo', $listener2); - $this->dispatcher->addListener('pre.foo', $listener3, 10); - $this->dispatcher->dispatch(self::preFoo); - $this->assertEquals(array('3', '2', '1'), $invoked); - } - - public function testRemoveListener() - { - $this->dispatcher->addListener('pre.bar', $this->listener); - $this->assertTrue($this->dispatcher->hasListeners(self::preBar)); - $this->dispatcher->removeListener('pre.bar', $this->listener); - $this->assertFalse($this->dispatcher->hasListeners(self::preBar)); - $this->dispatcher->removeListener('notExists', $this->listener); - } - - public function testAddSubscriber() - { - $eventSubscriber = new TestEventSubscriber(); - $this->dispatcher->addSubscriber($eventSubscriber); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->assertTrue($this->dispatcher->hasListeners(self::postFoo)); - } - - public function testAddSubscriberWithPriorities() - { - $eventSubscriber = new TestEventSubscriber(); - $this->dispatcher->addSubscriber($eventSubscriber); - - $eventSubscriber = new TestEventSubscriberWithPriorities(); - $this->dispatcher->addSubscriber($eventSubscriber); - - $listeners = $this->dispatcher->getListeners('pre.foo'); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->assertCount(2, $listeners); - $this->assertInstanceOf('Symfony\Component\EventDispatcher\Tests\TestEventSubscriberWithPriorities', $listeners[0][0]); - } - - public function testAddSubscriberWithMultipleListeners() - { - $eventSubscriber = new TestEventSubscriberWithMultipleListeners(); - $this->dispatcher->addSubscriber($eventSubscriber); - - $listeners = $this->dispatcher->getListeners('pre.foo'); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->assertCount(2, $listeners); - $this->assertEquals('preFoo2', $listeners[0][1]); - } - - public function testRemoveSubscriber() - { - $eventSubscriber = new TestEventSubscriber(); - $this->dispatcher->addSubscriber($eventSubscriber); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->assertTrue($this->dispatcher->hasListeners(self::postFoo)); - $this->dispatcher->removeSubscriber($eventSubscriber); - $this->assertFalse($this->dispatcher->hasListeners(self::preFoo)); - $this->assertFalse($this->dispatcher->hasListeners(self::postFoo)); - } - - public function testRemoveSubscriberWithPriorities() - { - $eventSubscriber = new TestEventSubscriberWithPriorities(); - $this->dispatcher->addSubscriber($eventSubscriber); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->dispatcher->removeSubscriber($eventSubscriber); - $this->assertFalse($this->dispatcher->hasListeners(self::preFoo)); - } - - public function testRemoveSubscriberWithMultipleListeners() - { - $eventSubscriber = new TestEventSubscriberWithMultipleListeners(); - $this->dispatcher->addSubscriber($eventSubscriber); - $this->assertTrue($this->dispatcher->hasListeners(self::preFoo)); - $this->assertCount(2, $this->dispatcher->getListeners(self::preFoo)); - $this->dispatcher->removeSubscriber($eventSubscriber); - $this->assertFalse($this->dispatcher->hasListeners(self::preFoo)); - } - - public function testEventReceivesTheDispatcherInstance() - { - $test = $this; - $this->dispatcher->addListener('test', function ($event) use (&$dispatcher) { - $dispatcher = $event->getDispatcher(); - }); - $this->dispatcher->dispatch('test'); - $this->assertSame($this->dispatcher, $dispatcher); - } - - /** - * @see https://bugs.php.net/bug.php?id=62976 - * - * This bug affects: - * - The PHP 5.3 branch for versions < 5.3.18 - * - The PHP 5.4 branch for versions < 5.4.8 - * - The PHP 5.5 branch is not affected - */ - public function testWorkaroundForPhpBug62976() - { - $dispatcher = new EventDispatcher(); - $dispatcher->addListener('bug.62976', new CallableClass()); - $dispatcher->removeListener('bug.62976', function() {}); - $this->assertTrue($dispatcher->hasListeners('bug.62976')); - } -} - -class CallableClass -{ - public function __invoke() - { - } -} - -class TestEventListener -{ - public $preFooInvoked = false; - public $postFooInvoked = false; - - /* Listener methods */ - - public function preFoo(Event $e) - { - $this->preFooInvoked = true; - } - - public function postFoo(Event $e) - { - $this->postFooInvoked = true; - - $e->stopPropagation(); - } -} - -class TestEventSubscriber implements EventSubscriberInterface -{ - public static function getSubscribedEvents() - { - return array('pre.foo' => 'preFoo', 'post.foo' => 'postFoo'); - } -} - -class TestEventSubscriberWithPriorities implements EventSubscriberInterface -{ - public static function getSubscribedEvents() - { - return array( - 'pre.foo' => array('preFoo', 10), - 'post.foo' => array('postFoo'), - ); - } -} - -class TestEventSubscriberWithMultipleListeners implements EventSubscriberInterface -{ - public static function getSubscribedEvents() - { - return array('pre.foo' => array( - array('preFoo1'), - array('preFoo2', 10) - )); - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventTest.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventTest.php deleted file mode 100644 index 52aa9ad..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventTest.php +++ /dev/null @@ -1,84 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher\Tests; - -use Symfony\Component\EventDispatcher\Event; -use Symfony\Component\EventDispatcher\EventDispatcher; - -/** - * Test class for Event. - */ -class EventTest extends \PHPUnit_Framework_TestCase -{ - /** - * @var \Symfony\Component\EventDispatcher\Event - */ - protected $event; - - /** - * @var \Symfony\Component\EventDispatcher\EventDispatcher - */ - protected $dispatcher; - - /** - * Sets up the fixture, for example, opens a network connection. - * This method is called before a test is executed. - */ - protected function setUp() - { - $this->event = new Event; - $this->dispatcher = new EventDispatcher(); - } - - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - */ - protected function tearDown() - { - $this->event = null; - $this->eventDispatcher = null; - } - - public function testIsPropagationStopped() - { - $this->assertFalse($this->event->isPropagationStopped()); - } - - public function testStopPropagationAndIsPropagationStopped() - { - $this->event->stopPropagation(); - $this->assertTrue($this->event->isPropagationStopped()); - } - - public function testSetDispatcher() - { - $this->event->setDispatcher($this->dispatcher); - $this->assertSame($this->dispatcher, $this->event->getDispatcher()); - } - - public function testGetDispatcher() - { - $this->assertNull($this->event->getDispatcher()); - } - - public function testGetName() - { - $this->assertNull($this->event->getName()); - } - - public function testSetName() - { - $this->event->setName('foo'); - $this->assertEquals('foo', $this->event->getName()); - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php deleted file mode 100644 index 8dd6f5b..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php +++ /dev/null @@ -1,140 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher\Tests; - -use Symfony\Component\EventDispatcher\GenericEvent; - -/** - * Test class for Event. - */ -class GenericEventTest extends \PHPUnit_Framework_TestCase -{ - - /** - * @var GenericEvent - */ - private $event; - - private $subject; - - /** - * Prepares the environment before running a test. - */ - protected function setUp() - { - parent::setUp(); - - $this->subject = new \StdClass(); - $this->event = new GenericEvent($this->subject, array('name' => 'Event'), 'foo'); - } - - /** - * Cleans up the environment after running a test. - */ - protected function tearDown() - { - $this->subject = null; - $this->event = null; - - parent::tearDown(); - } - - public function testConstruct() - { - $this->assertEquals($this->event, new GenericEvent($this->subject, array('name' => 'Event'))); - } - - /** - * Tests Event->getArgs() - */ - public function testGetArguments() - { - // test getting all - $this->assertSame(array('name' => 'Event'), $this->event->getArguments()); - } - - public function testSetArguments() - { - $result = $this->event->setArguments(array('foo' => 'bar')); - $this->assertAttributeSame(array('foo' => 'bar'), 'arguments', $this->event); - $this->assertSame($this->event, $result); - } - - public function testSetArgument() - { - $result = $this->event->setArgument('foo2', 'bar2'); - $this->assertAttributeSame(array('name' => 'Event', 'foo2' => 'bar2'), 'arguments', $this->event); - $this->assertEquals($this->event, $result); - } - - public function testGetArgument() - { - // test getting key - $this->assertEquals('Event', $this->event->getArgument('name')); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testGetArgException() - { - $this->event->getArgument('nameNotExist'); - } - - public function testOffsetGet() - { - // test getting key - $this->assertEquals('Event', $this->event['name']); - - // test getting invalid arg - $this->setExpectedException('InvalidArgumentException'); - $this->assertFalse($this->event['nameNotExist']); - } - - public function testOffsetSet() - { - $this->event['foo2'] = 'bar2'; - $this->assertAttributeSame(array('name' => 'Event', 'foo2' => 'bar2'), 'arguments', $this->event); - } - - public function testOffsetUnset() - { - unset($this->event['name']); - $this->assertAttributeSame(array(), 'arguments', $this->event); - } - - public function testOffsetIsset() - { - $this->assertTrue(isset($this->event['name'])); - $this->assertFalse(isset($this->event['nameNotExist'])); - } - - public function testHasArgument() - { - $this->assertTrue($this->event->hasArgument('name')); - $this->assertFalse($this->event->hasArgument('nameNotExist')); - } - - public function testGetSubject() - { - $this->assertSame($this->subject, $this->event->getSubject()); - } - - public function testHasIterator() - { - $data = array(); - foreach ($this->event as $key => $value) { - $data[$key] = $value; - } - $this->assertEquals(array('name' => 'Event'), $data); - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php deleted file mode 100644 index 6402f89..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php +++ /dev/null @@ -1,106 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\EventDispatcher\Tests; - -use Symfony\Component\EventDispatcher\Event; -use Symfony\Component\EventDispatcher\ImmutableEventDispatcher; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; - -/** - * @author Bernhard Schussek - */ -class ImmutableEventDispatcherTest extends \PHPUnit_Framework_TestCase -{ - /** - * @var \PHPUnit_Framework_MockObject_MockObject - */ - private $innerDispatcher; - - /** - * @var ImmutableEventDispatcher - */ - private $dispatcher; - - protected function setUp() - { - $this->innerDispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface'); - $this->dispatcher = new ImmutableEventDispatcher($this->innerDispatcher); - } - - public function testDispatchDelegates() - { - $event = new Event(); - - $this->innerDispatcher->expects($this->once()) - ->method('dispatch') - ->with('event', $event) - ->will($this->returnValue('result')); - - $this->assertSame('result', $this->dispatcher->dispatch('event', $event)); - } - - public function testGetListenersDelegates() - { - $this->innerDispatcher->expects($this->once()) - ->method('getListeners') - ->with('event') - ->will($this->returnValue('result')); - - $this->assertSame('result', $this->dispatcher->getListeners('event')); - } - - public function testHasListenersDelegates() - { - $this->innerDispatcher->expects($this->once()) - ->method('hasListeners') - ->with('event') - ->will($this->returnValue('result')); - - $this->assertSame('result', $this->dispatcher->hasListeners('event')); - } - - /** - * @expectedException \BadMethodCallException - */ - public function testAddListenerDisallowed() - { - $this->dispatcher->addListener('event', function () { return 'foo'; }); - } - - /** - * @expectedException \BadMethodCallException - */ - public function testAddSubscriberDisallowed() - { - $subscriber = $this->getMock('Symfony\Component\EventDispatcher\EventSubscriberInterface'); - - $this->dispatcher->addSubscriber($subscriber); - } - - /** - * @expectedException \BadMethodCallException - */ - public function testRemoveListenerDisallowed() - { - $this->dispatcher->removeListener('event', function () { return 'foo'; }); - } - - /** - * @expectedException \BadMethodCallException - */ - public function testRemoveSubscriberDisallowed() - { - $subscriber = $this->getMock('Symfony\Component\EventDispatcher\EventSubscriberInterface'); - - $this->dispatcher->removeSubscriber($subscriber); - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/composer.json b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/composer.json deleted file mode 100644 index efc320c..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/composer.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "symfony/event-dispatcher", - "type": "library", - "description": "Symfony EventDispatcher Component", - "keywords": [], - "homepage": "http://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/dependency-injection": "~2.0" - }, - "suggest": { - "symfony/dependency-injection": "2.2.*", - "symfony/http-kernel": "2.2.*" - }, - "autoload": { - "psr-0": { "Symfony\\Component\\EventDispatcher\\": "" } - }, - "target-dir": "Symfony/Component/EventDispatcher", - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - } -} diff --git a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/phpunit.xml.dist b/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/phpunit.xml.dist deleted file mode 100644 index 0c3de4f..0000000 --- a/in-development/check_awsiops/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/phpunit.xml.dist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - ./Tests/ - - - - - - ./ - - ./Resources - ./Tests - ./vendor - - - -