From 0b64dc5ec5582378b948c48d02817dd2079f6562 Mon Sep 17 00:00:00 2001 From: Ashley Rich Date: Mon, 13 Mar 2017 13:15:50 +0000 Subject: [PATCH] Deploying version 1.0.2 --- README.md | 8 +- amazon-web-services.php | 4 +- classes/aws-plugin-base.php | 4 +- languages/amazon-web-services-en.pot | 2 +- readme.txt | 8 +- .../aws/Aws/AutoScaling/AutoScalingClient.php | 77 +- .../Resources/autoscaling-2011-01-01.php | 3021 ++- .../CloudFormation/CloudFormationClient.php | 1 + .../Resources/cloudformation-2010-05-15.php | 96 +- .../aws/Aws/CloudFront/CloudFrontClient.php | 31 +- .../Resources/cloudfront-2015-07-27.php | 6366 +++++ .../Resources/cloudfront-2016-01-28.php | 6798 +++++ .../Resources/cloudhsm-2014-05-30.php | 2 - .../Resources/cloudsearch-2011-02-01.php | 37 - .../Resources/cloudsearch-2013-01-01.php | 50 - .../CloudSearchDomainClientBuilder.php | 6 +- .../aws/Aws/CloudTrail/CloudTrailClient.php | 4 + .../Resources/cloudtrail-2013-11-01.php | 525 +- .../Resources/cloudwatch-2010-08-01.php | 35 - .../CloudWatchLogs/CloudWatchLogsClient.php | 5 + .../Resources/cloudwatchlogs-2014-03-28.php | 313 +- .../Resources/codecommit-2015-04-13.php | 16 - .../Resources/codedeploy-2014-10-06.php | 29 - .../Resources/codepipeline-2015-07-09.php | 67 +- .../Resources/cognitoidentity-2014-06-30.php | 41 - .../Resources/cognitosync-2014-06-30.php | 39 - vendor/aws/Aws/Common/Aws.php | 2 +- .../aws/Aws/Common/Client/ClientBuilder.php | 7 +- .../AbstractRefreshableCredentials.php | 19 + .../RefreshableInstanceProfileCredentials.php | 6 +- vendor/aws/Aws/Common/Enum/ClientOptions.php | 5 + .../Common/Signature/SignatureListener.php | 9 +- .../Aws/ConfigService/ConfigServiceClient.php | 12 + .../Resources/configservice-2014-11-12.php | 1362 +- .../Resources/datapipeline-2012-10-29.php | 68 - .../aws/Aws/DeviceFarm/DeviceFarmClient.php | 6 + .../Resources/devicefarm-2015-06-23.php | 368 +- .../Resources/directoryservice-2015-04-16.php | 16 - vendor/aws/Aws/DynamoDb/DynamoDbClient.php | 9 +- .../Resources/dynamodb-2011-12-05.php | 13 - .../Aws/DynamoDb/Session/SessionHandler.php | 28 +- vendor/aws/Aws/Ec2/Ec2Client.php | 224 +- .../aws/Aws/Ec2/Resources/ec2-2015-04-15.php | 39 + .../aws/Aws/Ec2/Resources/ec2-2015-10-01.php | 21012 ++++++++++++++++ .../aws/Aws/Ecs/Resources/ecs-2014-11-13.php | 630 +- .../elasticfilesystem-2015-02-01.php | 5 - .../Resources/elasticbeanstalk-2010-12-01.php | 84 - .../elasticloadbalancing-2012-06-01.php | 5 - .../elastictranscoder-2012-09-25.php | 47 - .../aws/Aws/Emr/Resources/emr-2009-03-31.php | 48 - vendor/aws/Aws/Iam/IamClient.php | 4 + .../aws/Aws/Iam/Resources/iam-2010-05-08.php | 732 +- vendor/aws/Aws/Kinesis/KinesisClient.php | 2 + .../Kinesis/Resources/kinesis-2013-12-02.php | 170 +- vendor/aws/Aws/Kms/KmsClient.php | 7 + .../aws/Aws/Kms/Resources/kms-2014-11-01.php | 566 +- vendor/aws/Aws/Lambda/LambdaClient.php | 7 + .../Lambda/Resources/lambda-2014-11-11.php | 10 - .../Lambda/Resources/lambda-2015-03-31.php | 589 +- .../Resources/machinelearning-2014-12-12.php | 94 - vendor/aws/Aws/OpsWorks/OpsWorksClient.php | 4 + .../Resources/opsworks-2013-02-18.php | 199 + vendor/aws/Aws/Rds/RdsClient.php | 34 +- .../aws/Aws/Rds/Resources/rds-2014-10-31.php | 2743 +- .../Route53/Resources/route53-2013-04-01.php | 178 +- .../Resources/route53domains-2014-05-15.php | 134 - vendor/aws/Aws/S3/Resources/s3-2006-03-01.php | 462 + vendor/aws/Aws/S3/S3Client.php | 9 +- .../aws/Aws/Ses/Resources/ses-2010-12-01.php | 1548 +- vendor/aws/Aws/Ses/SesClient.php | 17 + .../Sns/MessageValidator/MessageValidator.php | 23 +- .../aws/Aws/Ssm/Resources/ssm-2014-11-06.php | 1030 +- vendor/aws/Aws/Ssm/SsmClient.php | 5 + .../Resources/storagegateway-2013-06-30.php | 394 +- .../StorageGateway/StorageGatewayClient.php | 3 + .../aws/Aws/Sts/Resources/sts-2011-06-15.php | 24 +- .../Support/Resources/support-2013-04-15.php | 2 - .../aws/Aws/Swf/Resources/swf-2012-01-25.php | 163 - .../Resources/workspaces-2015-04-08.php | 81 +- .../aws/Aws/WorkSpaces/WorkSpacesClient.php | 3 + vendor/aws/CHANGELOG.md | 140 +- vendor/aws/Doctrine/Common/Cache/ApcCache.php | 30 +- .../aws/Doctrine/Common/Cache/ApcuCache.php | 106 + .../aws/Doctrine/Common/Cache/ArrayCache.php | 64 +- vendor/aws/Doctrine/Common/Cache/Cache.php | 14 +- .../Doctrine/Common/Cache/CacheProvider.php | 75 +- .../Doctrine/Common/Cache/ClearableCache.php | 7 +- .../aws/Doctrine/Common/Cache/FileCache.php | 107 +- .../Doctrine/Common/Cache/FilesystemCache.php | 8 +- .../Doctrine/Common/Cache/FlushableCache.php | 4 +- .../Doctrine/Common/Cache/MemcacheCache.php | 3 +- .../Doctrine/Common/Cache/MemcachedCache.php | 18 +- .../Doctrine/Common/Cache/MongoDBCache.php | 32 +- .../Doctrine/Common/Cache/MultiPutCache.php | 41 + .../Doctrine/Common/Cache/PhpFileCache.php | 4 +- .../aws/Doctrine/Common/Cache/PredisCache.php | 48 +- .../aws/Doctrine/Common/Cache/RedisCache.php | 43 +- .../aws/Doctrine/Common/Cache/RiakCache.php | 2 +- .../Doctrine/Common/Cache/SQLite3Cache.php | 7 +- vendor/aws/Doctrine/Common/Cache/Version.php | 2 +- .../Doctrine/Common/Cache/WinCacheCache.php | 20 +- vendor/aws/Monolog/ErrorHandler.php | 10 +- .../Monolog/Formatter/ChromePHPFormatter.php | 5 +- .../Monolog/Formatter/ElasticaFormatter.php | 4 +- .../Monolog/Formatter/FluentdFormatter.php | 85 + .../Formatter/GelfMessageFormatter.php | 30 +- .../aws/Monolog/Formatter/HtmlFormatter.php | 11 +- .../aws/Monolog/Formatter/JsonFormatter.php | 95 +- .../aws/Monolog/Formatter/LineFormatter.php | 16 +- .../aws/Monolog/Formatter/LogglyFormatter.php | 2 +- .../Monolog/Formatter/LogstashFormatter.php | 5 +- .../Monolog/Formatter/NormalizerFormatter.php | 114 +- .../aws/Monolog/Handler/AbstractHandler.php | 8 +- .../Monolog/Handler/AbstractSyslogHandler.php | 11 +- vendor/aws/Monolog/Handler/AmqpHandler.php | 84 +- .../Monolog/Handler/BrowserConsoleHandler.php | 78 +- vendor/aws/Monolog/Handler/BufferHandler.php | 4 +- .../aws/Monolog/Handler/ChromePHPHandler.php | 11 +- vendor/aws/Monolog/Handler/CouchDBHandler.php | 2 +- vendor/aws/Monolog/Handler/CubeHandler.php | 40 +- vendor/aws/Monolog/Handler/Curl/Util.php | 8 +- .../Monolog/Handler/DeduplicationHandler.php | 169 + .../aws/Monolog/Handler/DynamoDbHandler.php | 6 +- .../Monolog/Handler/ElasticSearchHandler.php | 2 +- .../aws/Monolog/Handler/ErrorLogHandler.php | 4 +- vendor/aws/Monolog/Handler/FilterHandler.php | 6 +- .../ChannelLevelActivationStrategy.php | 12 +- .../Monolog/Handler/FingersCrossedHandler.php | 32 +- .../aws/Monolog/Handler/FleepHookHandler.php | 2 +- vendor/aws/Monolog/Handler/GelfHandler.php | 6 +- vendor/aws/Monolog/Handler/GroupHandler.php | 24 + vendor/aws/Monolog/Handler/HandlerWrapper.php | 106 + vendor/aws/Monolog/Handler/HipChatHandler.php | 39 +- vendor/aws/Monolog/Handler/IFTTTHandler.php | 12 +- .../aws/Monolog/Handler/LogEntriesHandler.php | 8 +- vendor/aws/Monolog/Handler/MailHandler.php | 12 + .../aws/Monolog/Handler/MandrillHandler.php | 4 +- vendor/aws/Monolog/Handler/MongoDBHandler.php | 10 +- .../Monolog/Handler/NativeMailerHandler.php | 19 +- .../aws/Monolog/Handler/NewRelicHandler.php | 36 +- vendor/aws/Monolog/Handler/NullHandler.php | 2 +- .../aws/Monolog/Handler/PHPConsoleHandler.php | 8 +- .../aws/Monolog/Handler/PushoverHandler.php | 14 +- vendor/aws/Monolog/Handler/RavenHandler.php | 44 +- vendor/aws/Monolog/Handler/RedisHandler.php | 10 +- vendor/aws/Monolog/Handler/RollbarHandler.php | 29 +- .../Monolog/Handler/RotatingFileHandler.php | 26 +- vendor/aws/Monolog/Handler/SlackHandler.php | 68 +- vendor/aws/Monolog/Handler/SocketHandler.php | 70 +- vendor/aws/Monolog/Handler/StreamHandler.php | 26 +- .../Monolog/Handler/SwiftMailerHandler.php | 13 +- vendor/aws/Monolog/Handler/SyslogHandler.php | 2 +- .../Monolog/Handler/SyslogUdp/UdpSocket.php | 4 + .../aws/Monolog/Handler/SyslogUdpHandler.php | 4 +- vendor/aws/Monolog/Handler/TestHandler.php | 86 +- .../Handler/WhatFailureGroupHandler.php | 4 + vendor/aws/Monolog/Logger.php | 90 +- .../Processor/IntrospectionProcessor.php | 20 +- .../aws/Monolog/Processor/MemoryProcessor.php | 8 +- vendor/aws/Monolog/Processor/UidProcessor.php | 8 + vendor/aws/Monolog/Processor/WebProcessor.php | 16 +- vendor/aws/Monolog/Registry.php | 6 +- .../ContainerAwareEventDispatcher.php | 29 +- .../Debug/TraceableEventDispatcher.php | 47 +- .../RegisterListenersPass.php | 3 +- .../Component/EventDispatcher/Event.php | 18 +- .../EventDispatcher/EventDispatcher.php | 73 +- .../EventDispatcherInterface.php | 12 +- .../EventSubscriberInterface.php | 6 +- .../EventDispatcher/GenericEvent.php | 34 +- .../ImmutableEventDispatcher.php | 10 +- .../Symfony/Component/EventDispatcher/LICENSE | 2 +- .../Tests/AbstractEventDispatcherTest.php | 17 +- .../ContainerAwareEventDispatcherTest.php | 30 +- .../Debug/TraceableEventDispatcherTest.php | 61 +- vendor/aws/aws-autoloader.php | 8 + wp-offload-s3-autoloader.php | 94 + 177 files changed, 49020 insertions(+), 4735 deletions(-) create mode 100644 vendor/aws/Aws/CloudFront/Resources/cloudfront-2015-07-27.php create mode 100644 vendor/aws/Aws/CloudFront/Resources/cloudfront-2016-01-28.php create mode 100644 vendor/aws/Aws/Ec2/Resources/ec2-2015-10-01.php create mode 100644 vendor/aws/Doctrine/Common/Cache/ApcuCache.php create mode 100644 vendor/aws/Doctrine/Common/Cache/MultiPutCache.php create mode 100644 vendor/aws/Monolog/Formatter/FluentdFormatter.php create mode 100644 vendor/aws/Monolog/Handler/DeduplicationHandler.php create mode 100644 vendor/aws/Monolog/Handler/HandlerWrapper.php create mode 100644 wp-offload-s3-autoloader.php diff --git a/README.md b/README.md index 713a041..9ef78f4 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ **Contributors:** bradt, deliciousbrains **Tags:** amazon, amazon web services **Requires at least:** 4.4 -**Tested up to:** 4.7 -**Stable tag:** 1.0.1 +**Tested up to:** 4.7.3 +**Stable tag:** 1.0.2 **License:** GPLv3 Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins. @@ -35,6 +35,10 @@ This plugin is required by other plugins, which use its libraries and its settin ## Changelog ## +### 1.0.2 - 2017-03-13 ### +* New: AWS SDK updated to 2.8.31 +* New: London and Montreal regions added + ### 1.0.1 - 2016-12-13 ### * New: Mumbai and Seoul regions added diff --git a/amazon-web-services.php b/amazon-web-services.php index 84fe672..63ec675 100644 --- a/amazon-web-services.php +++ b/amazon-web-services.php @@ -4,7 +4,7 @@ Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/ Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it. Author: Delicious Brains -Version: 1.0.1 +Version: 1.0.2 Author URI: http://deliciousbrains.com/ Network: True Text Domain: amazon-web-services @@ -22,7 +22,7 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // ********************************************************************** -$GLOBALS['aws_meta']['amazon-web-services']['version'] = '1.0.1'; +$GLOBALS['aws_meta']['amazon-web-services']['version'] = '1.0.2'; $GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array( 'amazon-s3-and-cloudfront' => '0.9', diff --git a/classes/aws-plugin-base.php b/classes/aws-plugin-base.php index 40d0c55..14666b9 100644 --- a/classes/aws-plugin-base.php +++ b/classes/aws-plugin-base.php @@ -347,13 +347,15 @@ public function get_aws_regions() { 'us-east-1' => 'US Standard', 'us-west-1' => 'Northern California', 'us-west-2' => 'Oregon', + 'ca-central-1' => 'Montreal', 'eu-west-1' => 'Ireland', + 'eu-west-2' => 'London', 'eu-central-1' => 'Frankfurt', 'ap-southeast-1' => 'Singapore', 'ap-southeast-2' => 'Sydney', 'ap-northeast-1' => 'Tokyo', - 'ap-south-1' => 'Mumbai', 'ap-northeast-2' => 'Seoul', + 'ap-south-1' => 'Mumbai', 'sa-east-1' => 'Sao Paulo', ); diff --git a/languages/amazon-web-services-en.pot b/languages/amazon-web-services-en.pot index 63ca76c..1f2d72b 100644 --- a/languages/amazon-web-services-en.pot +++ b/languages/amazon-web-services-en.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: amazon-web-services\n" "Report-Msgid-Bugs-To: nom@deliciousbrains.com\n" -"POT-Creation-Date: 2016-12-13 11:33+0000\n" +"POT-Creation-Date: 2017-03-13 13:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/readme.txt b/readme.txt index 93d613e..8b0470d 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: bradt, deliciousbrains Tags: amazon, amazon web services Requires at least: 4.4 -Tested up to: 4.7 -Stable tag: 1.0.1 +Tested up to: 4.7.3 +Stable tag: 1.0.2 License: GPLv3 Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins. @@ -33,6 +33,10 @@ This plugin is required by other plugins, which use its libraries and its settin == Changelog == += 1.0.2 - 2017-03-13 = +* New: AWS SDK updated to 2.8.31 +* New: London and Montreal regions added + = 1.0.1 - 2016-12-13 = * New: Mumbai and Seoul regions added diff --git a/vendor/aws/Aws/AutoScaling/AutoScalingClient.php b/vendor/aws/Aws/AutoScaling/AutoScalingClient.php index 37f832a..cbf97ed 100644 --- a/vendor/aws/Aws/AutoScaling/AutoScalingClient.php +++ b/vendor/aws/Aws/AutoScaling/AutoScalingClient.php @@ -26,54 +26,55 @@ /** * Client to interact with Auto Scaling * - * @method Model attachInstances(array $args = array()) {@command AutoScaling AttachInstances} - * @method Model attachLoadBalancers(array $args = array()) {@command AutoScaling AttachLoadBalancers} - * @method Model completeLifecycleAction(array $args = array()) {@command AutoScaling CompleteLifecycleAction} * @method Model createAutoScalingGroup(array $args = array()) {@command AutoScaling CreateAutoScalingGroup} - * @method Model createLaunchConfiguration(array $args = array()) {@command AutoScaling CreateLaunchConfiguration} - * @method Model createOrUpdateTags(array $args = array()) {@command AutoScaling CreateOrUpdateTags} + * @method Model attachInstances(array $args = array()) {@command AutoScaling AttachInstances} + * @method Model detachInstances(array $args = array()) {@command AutoScaling DetachInstances} + * @method Model enterStandby(array $args = array()) {@command AutoScaling EnterStandby} + * @method Model exitStandby(array $args = array()) {@command AutoScaling ExitStandby} * @method Model deleteAutoScalingGroup(array $args = array()) {@command AutoScaling DeleteAutoScalingGroup} - * @method Model deleteLaunchConfiguration(array $args = array()) {@command AutoScaling DeleteLaunchConfiguration} - * @method Model deleteLifecycleHook(array $args = array()) {@command AutoScaling DeleteLifecycleHook} - * @method Model deleteNotificationConfiguration(array $args = array()) {@command AutoScaling DeleteNotificationConfiguration} - * @method Model deletePolicy(array $args = array()) {@command AutoScaling DeletePolicy} - * @method Model deleteScheduledAction(array $args = array()) {@command AutoScaling DeleteScheduledAction} - * @method Model deleteTags(array $args = array()) {@command AutoScaling DeleteTags} - * @method Model describeAccountLimits(array $args = array()) {@command AutoScaling DescribeAccountLimits} - * @method Model describeAdjustmentTypes(array $args = array()) {@command AutoScaling DescribeAdjustmentTypes} * @method Model describeAutoScalingGroups(array $args = array()) {@command AutoScaling DescribeAutoScalingGroups} + * @method Model updateAutoScalingGroup(array $args = array()) {@command AutoScaling UpdateAutoScalingGroup} * @method Model describeAutoScalingInstances(array $args = array()) {@command AutoScaling DescribeAutoScalingInstances} - * @method Model describeAutoScalingNotificationTypes(array $args = array()) {@command AutoScaling DescribeAutoScalingNotificationTypes} - * @method Model describeLaunchConfigurations(array $args = array()) {@command AutoScaling DescribeLaunchConfigurations} - * @method Model describeLifecycleHookTypes(array $args = array()) {@command AutoScaling DescribeLifecycleHookTypes} - * @method Model describeLifecycleHooks(array $args = array()) {@command AutoScaling DescribeLifecycleHooks} - * @method Model describeLoadBalancers(array $args = array()) {@command AutoScaling DescribeLoadBalancers} - * @method Model describeMetricCollectionTypes(array $args = array()) {@command AutoScaling DescribeMetricCollectionTypes} - * @method Model describeNotificationConfigurations(array $args = array()) {@command AutoScaling DescribeNotificationConfigurations} - * @method Model describePolicies(array $args = array()) {@command AutoScaling DescribePolicies} - * @method Model describeScalingActivities(array $args = array()) {@command AutoScaling DescribeScalingActivities} * @method Model describeScalingProcessTypes(array $args = array()) {@command AutoScaling DescribeScalingProcessTypes} + * @method Model suspendProcesses(array $args = array()) {@command AutoScaling SuspendProcesses} + * @method Model resumeProcesses(array $args = array()) {@command AutoScaling ResumeProcesses} + * @method Model setDesiredCapacity(array $args = array()) {@command AutoScaling SetDesiredCapacity} + * @method Model setInstanceHealth(array $args = array()) {@command AutoScaling SetInstanceHealth} + * @method Model attachLoadBalancers(array $args = array()) {@command AutoScaling AttachLoadBalancers} + * @method Model detachLoadBalancers(array $args = array()) {@command AutoScaling DetachLoadBalancers} + * @method Model putScheduledUpdateGroupAction(array $args = array()) {@command AutoScaling PutScheduledUpdateGroupAction} * @method Model describeScheduledActions(array $args = array()) {@command AutoScaling DescribeScheduledActions} + * @method Model deleteScheduledAction(array $args = array()) {@command AutoScaling DeleteScheduledAction} + * @method Model describeAdjustmentTypes(array $args = array()) {@command AutoScaling DescribeAdjustmentTypes} + * @method Model putScalingPolicy(array $args = array()) {@command AutoScaling PutScalingPolicy} + * @method Model describePolicies(array $args = array()) {@command AutoScaling DescribePolicies} + * @method Model deletePolicy(array $args = array()) {@command AutoScaling DeletePolicy} + * @method Model executePolicy(array $args = array()) {@command AutoScaling ExecutePolicy} + * @method Model describeMetricCollectionTypes(array $args = array()) {@command AutoScaling DescribeMetricCollectionTypes} + * @method Model enableMetricsCollection(array $args = array()) {@command AutoScaling EnableMetricsCollection} + * @method Model disableMetricsCollection(array $args = array()) {@command AutoScaling DisableMetricsCollection} + * @method Model createLaunchConfiguration(array $args = array()) {@command AutoScaling CreateLaunchConfiguration} + * @method Model describeLaunchConfigurations(array $args = array()) {@command AutoScaling DescribeLaunchConfigurations} + * @method Model deleteLaunchConfiguration(array $args = array()) {@command AutoScaling DeleteLaunchConfiguration} + * @method Model describeScalingActivities(array $args = array()) {@command AutoScaling DescribeScalingActivities} + * @method Model terminateInstanceInAutoScalingGroup(array $args = array()) {@command AutoScaling TerminateInstanceInAutoScalingGroup} + * @method Model setInstanceProtection(array $args = array()) {@command AutoScaling SetInstanceProtection} + * @method Model putNotificationConfiguration(array $args = array()) {@command AutoScaling PutNotificationConfiguration} + * @method Model deleteNotificationConfiguration(array $args = array()) {@command AutoScaling DeleteNotificationConfiguration} + * @method Model describeNotificationConfigurations(array $args = array()) {@command AutoScaling DescribeNotificationConfigurations} + * @method Model describeAutoScalingNotificationTypes(array $args = array()) {@command AutoScaling DescribeAutoScalingNotificationTypes} + * @method Model createOrUpdateTags(array $args = array()) {@command AutoScaling CreateOrUpdateTags} + * @method Model deleteTags(array $args = array()) {@command AutoScaling DeleteTags} * @method Model describeTags(array $args = array()) {@command AutoScaling DescribeTags} * @method Model describeTerminationPolicyTypes(array $args = array()) {@command AutoScaling DescribeTerminationPolicyTypes} - * @method Model detachInstances(array $args = array()) {@command AutoScaling DetachInstances} - * @method Model detachLoadBalancers(array $args = array()) {@command AutoScaling DetachLoadBalancers} - * @method Model disableMetricsCollection(array $args = array()) {@command AutoScaling DisableMetricsCollection} - * @method Model enableMetricsCollection(array $args = array()) {@command AutoScaling EnableMetricsCollection} - * @method Model enterStandby(array $args = array()) {@command AutoScaling EnterStandby} - * @method Model executePolicy(array $args = array()) {@command AutoScaling ExecutePolicy} - * @method Model exitStandby(array $args = array()) {@command AutoScaling ExitStandby} + * @method Model describeAccountLimits(array $args = array()) {@command AutoScaling DescribeAccountLimits} * @method Model putLifecycleHook(array $args = array()) {@command AutoScaling PutLifecycleHook} - * @method Model putNotificationConfiguration(array $args = array()) {@command AutoScaling PutNotificationConfiguration} - * @method Model putScalingPolicy(array $args = array()) {@command AutoScaling PutScalingPolicy} - * @method Model putScheduledUpdateGroupAction(array $args = array()) {@command AutoScaling PutScheduledUpdateGroupAction} + * @method Model deleteLifecycleHook(array $args = array()) {@command AutoScaling DeleteLifecycleHook} + * @method Model describeLifecycleHooks(array $args = array()) {@command AutoScaling DescribeLifecycleHooks} + * @method Model describeLifecycleHookTypes(array $args = array()) {@command AutoScaling DescribeLifecycleHookTypes} + * @method Model completeLifecycleAction(array $args = array()) {@command AutoScaling CompleteLifecycleAction} * @method Model recordLifecycleActionHeartbeat(array $args = array()) {@command AutoScaling RecordLifecycleActionHeartbeat} - * @method Model resumeProcesses(array $args = array()) {@command AutoScaling ResumeProcesses} - * @method Model setDesiredCapacity(array $args = array()) {@command AutoScaling SetDesiredCapacity} - * @method Model setInstanceHealth(array $args = array()) {@command AutoScaling SetInstanceHealth} - * @method Model suspendProcesses(array $args = array()) {@command AutoScaling SuspendProcesses} - * @method Model terminateInstanceInAutoScalingGroup(array $args = array()) {@command AutoScaling TerminateInstanceInAutoScalingGroup} - * @method Model updateAutoScalingGroup(array $args = array()) {@command AutoScaling UpdateAutoScalingGroup} + * @method Model describeLoadBalancers(array $args = array()) {@command AutoScaling DescribeLoadBalancers} * @method ResourceIteratorInterface getDescribeAutoScalingGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeAutoScalingGroups operation * @method ResourceIteratorInterface getDescribeAutoScalingInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeAutoScalingInstances operation * @method ResourceIteratorInterface getDescribeLaunchConfigurationsIterator(array $args = array()) The input array uses the parameters of the DescribeLaunchConfigurations operation diff --git a/vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php b/vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php index 9bc2cd8..a1d14ac 100644 --- a/vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php +++ b/vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php @@ -75,142 +75,6 @@ ), ), 'operations' => array( - 'AttachInstances' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachInstances', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'InstanceIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'InstanceIds.member', - 'items' => array( - 'name' => 'XmlStringMaxLen16', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 16, - ), - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', - ), - ), - ), - 'AttachLoadBalancers' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'AttachLoadBalancers', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'AutoScalingGroupName' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'LoadBalancerNames' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LoadBalancerNames.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', - ), - ), - ), - 'CompleteLifecycleAction' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CompleteLifecycleAction', - ), - 'Version' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => '2011-01-01', - ), - 'LifecycleHookName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'LifecycleActionToken' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 36, - 'maxLength' => 36, - ), - 'LifecycleActionResult' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', - ), - ), - ), 'CreateAutoScalingGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -233,19 +97,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'LaunchConfigurationName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), 'InstanceId' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16, ), 'MinSize' => array( 'required' => true, @@ -274,7 +135,6 @@ 'name' => 'XmlStringMaxLen255', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), 'LoadBalancerNames' => array( @@ -285,14 +145,12 @@ 'name' => 'XmlStringMaxLen255', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), 'HealthCheckType' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 32, ), 'HealthCheckGracePeriod' => array( 'type' => 'numeric', @@ -302,13 +160,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'VPCZoneIdentifier' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'TerminationPolicies' => array( 'type' => 'array', @@ -318,9 +174,13 @@ 'name' => 'XmlStringMaxLen1600', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1600, ), ), + 'NewInstancesProtectedFromScaleIn' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), 'Tags' => array( 'type' => 'array', 'location' => 'aws.query', @@ -339,11 +199,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 256, ), 'PropagateAtLaunch' => array( 'type' => 'boolean', @@ -368,7 +226,7 @@ ), ), ), - 'CreateLaunchConfiguration' => array( + 'AttachInstances' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -378,255 +236,166 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'CreateLaunchConfiguration', + 'default' => 'AttachInstances', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'LaunchConfigurationName' => array( + 'InstanceIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceIds.member', + 'items' => array( + 'name' => 'XmlStringMaxLen19', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'AutoScalingGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), - 'ImageId' => array( - 'type' => 'string', + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', + ), + ), + ), + 'DetachInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DetachInstancesAnswer', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, + 'default' => 'DetachInstances', ), - 'KeyName' => array( - 'type' => 'string', + 'Version' => array( + 'static' => true, 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, + 'default' => '2011-01-01', ), - 'SecurityGroups' => array( + 'InstanceIds' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'SecurityGroups.member', + 'sentAs' => 'InstanceIds.member', 'items' => array( - 'name' => 'XmlString', + 'name' => 'XmlStringMaxLen19', 'type' => 'string', + 'minLength' => 1, ), ), - 'ClassicLinkVPCId' => array( + 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), - 'ClassicLinkVPCSecurityGroups' => array( + 'ShouldDecrementDesiredCapacity' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', + ), + ), + ), + 'EnterStandby' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EnterStandbyAnswer', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'EnterStandby', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2011-01-01', + ), + 'InstanceIds' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'ClassicLinkVPCSecurityGroups.member', + 'sentAs' => 'InstanceIds.member', 'items' => array( - 'name' => 'XmlStringMaxLen255', + 'name' => 'XmlStringMaxLen19', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), - 'UserData' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'maxLength' => 21847, - ), - 'InstanceId' => array( + 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16, ), - 'InstanceType' => array( - 'type' => 'string', + 'ShouldDecrementDesiredCapacity' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, ), - 'KernelId' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', ), - 'RamdiskId' => array( - 'type' => 'string', + ), + ), + 'ExitStandby' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ExitStandbyAnswer', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'BlockDeviceMappings' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'BlockDeviceMappings.member', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'type' => 'object', - 'properties' => array( - 'VirtualName' => array( - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'DeviceName' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Ebs' => array( - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'VolumeSize' => array( - 'type' => 'numeric', - 'minimum' => 1, - 'maximum' => 16384, - ), - 'VolumeType' => array( - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'Iops' => array( - 'type' => 'numeric', - 'minimum' => 100, - 'maximum' => 20000, - ), - ), - ), - 'NoDevice' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - ), - 'InstanceMonitoring' => array( - 'type' => 'object', - 'location' => 'aws.query', - 'properties' => array( - 'Enabled' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), - ), - 'SpotPrice' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'IamInstanceProfile' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'AssociatePublicIpAddress' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'PlacementTenancy' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.', - 'class' => 'AlreadyExistsException', - ), - array( - 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', - ), - ), - ), - 'CreateOrUpdateTags' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, - 'location' => 'aws.query', - 'default' => 'CreateOrUpdateTags', + 'default' => 'ExitStandby', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'Tags' => array( - 'required' => true, + 'InstanceIds' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Tags.member', + 'sentAs' => 'InstanceIds.member', 'items' => array( - 'name' => 'Tag', - 'type' => 'object', - 'properties' => array( - 'ResourceId' => array( - 'type' => 'string', - ), - 'ResourceType' => array( - 'type' => 'string', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Value' => array( - 'type' => 'string', - 'maxLength' => 256, - ), - 'PropagateAtLaunch' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), + 'name' => 'XmlStringMaxLen19', + 'type' => 'string', + 'minLength' => 1, ), ), + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), ), 'errorResponses' => array( - array( - 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', - 'class' => 'LimitExceededException', - ), - array( - 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.', - 'class' => 'AlreadyExistsException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', @@ -655,7 +424,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), 'ForceDelete' => array( 'type' => 'boolean', @@ -678,35 +446,46 @@ ), ), ), - 'DeleteLaunchConfiguration' => array( + 'DescribeAutoScalingGroups' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'AutoScalingGroupsType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DeleteLaunchConfiguration', + 'default' => 'DescribeAutoScalingGroups', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'LaunchConfigurationName' => array( - 'required' => true, + 'AutoScalingGroupNames' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'AutoScalingGroupNames.member', + 'items' => array( + 'name' => 'ResourceName', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'NextToken' => array( 'type' => 'string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', ), ), 'errorResponses' => array( array( - 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.', - 'class' => 'ResourceInUseException', + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', @@ -714,7 +493,7 @@ ), ), ), - 'DeleteLifecycleHook' => array( + 'UpdateAutoScalingGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -724,142 +503,161 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DeleteLifecycleHook', + 'default' => 'UpdateAutoScalingGroup', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'LifecycleHookName' => array( + 'AutoScalingGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), - 'AutoScalingGroupName' => array( - 'required' => true, + 'LaunchConfigurationName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', + 'MinSize' => array( + 'type' => 'numeric', + 'location' => 'aws.query', ), - ), - ), - 'DeleteNotificationConfiguration' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, + 'MaxSize' => array( + 'type' => 'numeric', 'location' => 'aws.query', - 'default' => 'DeleteNotificationConfiguration', ), - 'Version' => array( - 'static' => true, + 'DesiredCapacity' => array( + 'type' => 'numeric', 'location' => 'aws.query', - 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'required' => true, + 'DefaultCooldown' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'AvailabilityZones' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'AvailabilityZones.member', + 'minItems' => 1, + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'HealthCheckType' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'TopicARN' => array( - 'required' => true, + 'HealthCheckGracePeriod' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'PlacementGroup' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - ), - 'errorResponses' => array( - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', + 'VPCZoneIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'TerminationPolicies' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'TerminationPolicies.member', + 'items' => array( + 'name' => 'XmlStringMaxLen1600', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'NewInstancesProtectedFromScaleIn' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', + 'class' => 'ScalingActivityInProgressException', + ), + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', ), ), ), - 'DeletePolicy' => array( + 'DescribeAutoScalingInstances' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'AutoScalingInstancesType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DeletePolicy', + 'default' => 'DescribeAutoScalingInstances', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'type' => 'string', + 'InstanceIds' => array( + 'type' => 'array', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, + 'sentAs' => 'InstanceIds.member', + 'items' => array( + 'name' => 'XmlStringMaxLen19', + 'type' => 'string', + 'minLength' => 1, + ), ), - 'PolicyName' => array( - 'required' => true, + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( 'type' => 'string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, ), ), 'errorResponses' => array( + array( + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DeleteScheduledAction' => array( + 'DescribeScalingProcessTypes' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'ProcessesType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DeleteScheduledAction', + 'default' => 'DescribeScalingProcessTypes', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScheduledActionName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), ), 'errorResponses' => array( array( @@ -868,7 +666,7 @@ ), ), ), - 'DeleteTags' => array( + 'SuspendProcesses' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -878,216 +676,245 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DeleteTags', + 'default' => 'SuspendProcesses', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'Tags' => array( + 'AutoScalingGroupName' => array( 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ScalingProcesses' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Tags.member', + 'sentAs' => 'ScalingProcesses.member', 'items' => array( - 'name' => 'Tag', - 'type' => 'object', - 'properties' => array( - 'ResourceId' => array( - 'type' => 'string', - ), - 'ResourceType' => array( - 'type' => 'string', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 128, - ), - 'Value' => array( - 'type' => 'string', - 'maxLength' => 256, - ), - 'PropagateAtLaunch' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - ), + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, ), ), ), 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.', + 'class' => 'ResourceInUseException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeAccountLimits' => array( + 'ResumeProcesses' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAccountLimitsAnswer', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeAccountLimits', + 'default' => 'ResumeProcesses', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ScalingProcesses' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ScalingProcesses.member', + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, + ), + ), ), 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.', + 'class' => 'ResourceInUseException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeAdjustmentTypes' => array( + 'SetDesiredCapacity' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAdjustmentTypesAnswer', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeAdjustmentTypes', + 'default' => 'SetDesiredCapacity', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'DesiredCapacity' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'HonorCooldown' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', + 'class' => 'ScalingActivityInProgressException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeAutoScalingGroups' => array( + 'SetInstanceHealth' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AutoScalingGroupsType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeAutoScalingGroups', + 'default' => 'SetInstanceHealth', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupNames' => array( - 'type' => 'array', + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', 'location' => 'aws.query', - 'sentAs' => 'AutoScalingGroupNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), + 'minLength' => 1, ), - 'NextToken' => array( + 'HealthStatus' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - 'MaxRecords' => array( - 'type' => 'numeric', + 'ShouldRespectGracePeriod' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', 'location' => 'aws.query', ), ), 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeAutoScalingInstances' => array( + 'AttachLoadBalancers' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'AutoScalingInstancesType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeAutoScalingInstances', + 'default' => 'AttachLoadBalancers', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'InstanceIds' => array( + 'AutoScalingGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'LoadBalancerNames' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'InstanceIds.member', + 'sentAs' => 'LoadBalancerNames.member', 'items' => array( - 'name' => 'XmlStringMaxLen16', + 'name' => 'XmlStringMaxLen255', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 16, ), ), - 'MaxRecords' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), ), 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeAutoScalingNotificationTypes' => array( + 'DetachLoadBalancers' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeAutoScalingNotificationTypesAnswer', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeAutoScalingNotificationTypes', + 'default' => 'DetachLoadBalancers', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), + 'AutoScalingGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'LoadBalancerNames' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'LoadBalancerNames.member', + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, + ), + ), ), 'errorResponses' => array( array( @@ -1096,90 +923,106 @@ ), ), ), - 'DescribeLaunchConfigurations' => array( + 'PutScheduledUpdateGroupAction' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'LaunchConfigurationsType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeLaunchConfigurations', + 'default' => 'PutScheduledUpdateGroupAction', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'LaunchConfigurationNames' => array( - 'type' => 'array', + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', 'location' => 'aws.query', - 'sentAs' => 'LaunchConfigurationNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), + 'minLength' => 1, ), - 'NextToken' => array( + 'ScheduledActionName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - 'MaxRecords' => array( - 'type' => 'numeric', + 'Time' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', 'location' => 'aws.query', ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', + 'StartTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', ), - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', + 'EndTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', ), - ), - ), - 'DescribeLifecycleHookTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeLifecycleHookTypesAnswer', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, + 'Recurrence' => array( + 'type' => 'string', 'location' => 'aws.query', - 'default' => 'DescribeLifecycleHookTypes', + 'minLength' => 1, ), - 'Version' => array( - 'static' => true, + 'MinSize' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MaxSize' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'DesiredCapacity' => array( + 'type' => 'numeric', 'location' => 'aws.query', - 'default' => '2011-01-01', ), ), 'errorResponses' => array( + array( + 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.', + 'class' => 'AlreadyExistsException', + ), + array( + 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', + 'class' => 'LimitExceededException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeLifecycleHooks' => array( + 'DescribeScheduledActions' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeLifecycleHooksAnswer', + 'responseClass' => 'ScheduledActionsType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeLifecycleHooks', + 'default' => 'DescribeScheduledActions', ), 'Version' => array( 'static' => true, @@ -1187,42 +1030,69 @@ 'default' => '2011-01-01', ), 'AutoScalingGroupName' => array( - 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'LifecycleHookNames' => array( + 'ScheduledActionNames' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'LifecycleHookNames.member', + 'sentAs' => 'ScheduledActionNames.member', 'items' => array( - 'name' => 'AsciiStringMaxLen255', + 'name' => 'ResourceName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), + 'StartTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'EndTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( + array( + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeLoadBalancers' => array( + 'DeleteScheduledAction' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeLoadBalancersResponse', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeLoadBalancers', + 'default' => 'DeleteScheduledAction', ), 'Version' => array( 'static' => true, @@ -1230,19 +1100,15 @@ 'default' => '2011-01-01', ), 'AutoScalingGroupName' => array( - 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'NextToken' => array( + 'ScheduledActionName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', - ), - 'MaxRecords' => array( - 'type' => 'numeric', - 'location' => 'aws.query', + 'minLength' => 1, ), ), 'errorResponses' => array( @@ -1252,17 +1118,17 @@ ), ), ), - 'DescribeMetricCollectionTypes' => array( + 'DescribeAdjustmentTypes' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeMetricCollectionTypesAnswer', + 'responseClass' => 'DescribeAdjustmentTypesAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeMetricCollectionTypes', + 'default' => 'DescribeAdjustmentTypes', ), 'Version' => array( 'static' => true, @@ -1277,47 +1143,97 @@ ), ), ), - 'DescribeNotificationConfigurations' => array( + 'PutScalingPolicy' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeNotificationConfigurationsAnswer', + 'responseClass' => 'PolicyARNType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeNotificationConfigurations', + 'default' => 'PutScalingPolicy', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupNames' => array( - 'type' => 'array', + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', 'location' => 'aws.query', - 'sentAs' => 'AutoScalingGroupNames.member', - 'items' => array( - 'name' => 'ResourceName', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), + 'minLength' => 1, ), - 'NextToken' => array( + 'PolicyName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - 'MaxRecords' => array( + 'PolicyType' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'AdjustmentType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'MinAdjustmentStep' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MinAdjustmentMagnitude' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ScalingAdjustment' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Cooldown' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MetricAggregationType' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'StepAdjustments' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'StepAdjustments.member', + 'items' => array( + 'name' => 'StepAdjustment', + 'type' => 'object', + 'properties' => array( + 'MetricIntervalLowerBound' => array( + 'type' => 'numeric', + ), + 'MetricIntervalUpperBound' => array( + 'type' => 'numeric', + ), + 'ScalingAdjustment' => array( + 'required' => true, + 'type' => 'numeric', + ), + ), + ), + ), + 'EstimatedInstanceWarmup' => array( 'type' => 'numeric', 'location' => 'aws.query', ), ), 'errorResponses' => array( array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', + 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', + 'class' => 'LimitExceededException', ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', @@ -1346,7 +1262,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), 'PolicyNames' => array( 'type' => 'array', @@ -1356,7 +1271,6 @@ 'name' => 'ResourceName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1600, ), ), 'PolicyTypes' => array( @@ -1367,7 +1281,6 @@ 'name' => 'XmlStringMaxLen64', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), 'NextToken' => array( @@ -1390,94 +1303,131 @@ ), ), ), - 'DescribeScalingActivities' => array( + 'DeletePolicy' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ActivitiesType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeScalingActivities', + 'default' => 'DeletePolicy', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'ActivityIds' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ActivityIds.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - ), - ), 'AutoScalingGroupName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, - ), - 'MaxRecords' => array( - 'type' => 'numeric', - 'location' => 'aws.query', ), - 'NextToken' => array( + 'PolicyName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), ), 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeScalingProcessTypes' => array( + 'ExecutePolicy' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ProcessesType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeScalingProcessTypes', + 'default' => 'ExecutePolicy', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), + 'AutoScalingGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'PolicyName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'HonorCooldown' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'MetricValue' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'BreachThreshold' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', + 'class' => 'ScalingActivityInProgressException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeScheduledActions' => array( + 'DescribeMetricCollectionTypes' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ScheduledActionsType', + 'responseClass' => 'DescribeMetricCollectionTypesAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeScheduledActions', + 'default' => 'DescribeMetricCollectionTypes', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2011-01-01', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', + ), + ), + ), + 'EnableMetricsCollection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'EnableMetricsCollection', ), 'Version' => array( 'static' => true, @@ -1485,194 +1435,311 @@ 'default' => '2011-01-01', ), 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'ScheduledActionNames' => array( + 'Metrics' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'ScheduledActionNames.member', + 'sentAs' => 'Metrics.member', 'items' => array( - 'name' => 'ResourceName', + 'name' => 'XmlStringMaxLen255', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1600, ), ), - 'StartTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', + 'Granularity' => array( + 'required' => true, + 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - 'EndTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', + ), + ), + ), + 'DisableMetricsCollection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, 'location' => 'aws.query', + 'default' => 'DisableMetricsCollection', ), - 'NextToken' => array( + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2011-01-01', + ), + 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - 'MaxRecords' => array( - 'type' => 'numeric', + 'Metrics' => array( + 'type' => 'array', 'location' => 'aws.query', + 'sentAs' => 'Metrics.member', + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, + ), ), ), 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DescribeTags' => array( + 'CreateLaunchConfiguration' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'TagsType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeTags', + 'default' => 'CreateLaunchConfiguration', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'Filters' => array( + 'LaunchConfigurationName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ImageId' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'KeyName' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'SecurityGroups' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Filters.member', + 'sentAs' => 'SecurityGroups.member', 'items' => array( - 'name' => 'Filter', + 'name' => 'XmlString', + 'type' => 'string', + ), + ), + 'ClassicLinkVPCId' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ClassicLinkVPCSecurityGroups' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ClassicLinkVPCSecurityGroups.member', + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'UserData' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'InstanceType' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'KernelId' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'RamdiskId' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BlockDeviceMappings.member', + 'items' => array( + 'name' => 'BlockDeviceMapping', 'type' => 'object', 'properties' => array( - 'Name' => array( + 'VirtualName' => array( 'type' => 'string', + 'minLength' => 1, ), - 'Values' => array( - 'type' => 'array', - 'sentAs' => 'Values.member', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', + 'DeviceName' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'minimum' => 1, + 'maximum' => 16384, + ), + 'VolumeType' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Iops' => array( + 'type' => 'numeric', + 'minimum' => 100, + 'maximum' => 20000, + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), ), ), + 'NoDevice' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), ), ), ), - 'NextToken' => array( - 'type' => 'string', + 'InstanceMonitoring' => array( + 'type' => 'object', 'location' => 'aws.query', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), ), - 'MaxRecords' => array( - 'type' => 'numeric', + 'SpotPrice' => array( + 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - ), - 'errorResponses' => array( - array( - 'reason' => 'The NextToken value is not valid.', - 'class' => 'InvalidNextTokenException', + 'IamInstanceProfile' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, ), - array( - 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', - 'class' => 'ResourceContentionException', + 'EbsOptimized' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', ), - ), - ), - 'DescribeTerminationPolicyTypes' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DescribeTerminationPolicyTypesAnswer', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', 'location' => 'aws.query', - 'default' => 'DescribeTerminationPolicyTypes', ), - 'Version' => array( - 'static' => true, + 'PlacementTenancy' => array( + 'type' => 'string', 'location' => 'aws.query', - 'default' => '2011-01-01', + 'minLength' => 1, ), ), 'errorResponses' => array( + array( + 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.', + 'class' => 'AlreadyExistsException', + ), + array( + 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', + 'class' => 'LimitExceededException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DetachInstances' => array( + 'DescribeLaunchConfigurations' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DetachInstancesAnswer', + 'responseClass' => 'LaunchConfigurationsType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DetachInstances', + 'default' => 'DescribeLaunchConfigurations', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'InstanceIds' => array( + 'LaunchConfigurationNames' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'InstanceIds.member', + 'sentAs' => 'LaunchConfigurationNames.member', 'items' => array( - 'name' => 'XmlStringMaxLen16', + 'name' => 'ResourceName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 16, ), ), - 'AutoScalingGroupName' => array( - 'required' => true, + 'NextToken' => array( 'type' => 'string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ShouldDecrementDesiredCapacity' => array( - 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', + ), + 'MaxRecords' => array( + 'type' => 'numeric', 'location' => 'aws.query', ), ), 'errorResponses' => array( + array( + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DetachLoadBalancers' => array( + 'DeleteLaunchConfiguration' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -1682,142 +1749,134 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DetachLoadBalancers', + 'default' => 'DeleteLaunchConfiguration', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( + 'LaunchConfigurationName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, - ), - 'LoadBalancerNames' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'LoadBalancerNames.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), ), ), 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.', + 'class' => 'ResourceInUseException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'DisableMetricsCollection' => array( + 'DescribeScalingActivities' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'ActivitiesType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DisableMetricsCollection', + 'default' => 'DescribeScalingActivities', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), + 'ActivityIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ActivityIds.member', + 'items' => array( + 'name' => 'XmlString', + 'type' => 'string', + ), + ), 'AutoScalingGroupName' => array( - 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'Metrics' => array( - 'type' => 'array', + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', 'location' => 'aws.query', - 'sentAs' => 'Metrics.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), ), ), 'errorResponses' => array( + array( + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'EnableMetricsCollection' => array( + 'TerminateInstanceInAutoScalingGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'ActivityType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'EnableMetricsCollection', + 'default' => 'TerminateInstanceInAutoScalingGroup', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( + 'InstanceId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, - ), - 'Metrics' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'Metrics.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), ), - 'Granularity' => array( + 'ShouldDecrementDesiredCapacity' => array( 'required' => true, - 'type' => 'string', + 'type' => 'boolean', + 'format' => 'boolean-string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( + array( + 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', + 'class' => 'ScalingActivityInProgressException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'EnterStandby' => array( + 'SetInstanceProtection' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EnterStandbyAnswer', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'EnterStandby', + 'default' => 'SetInstanceProtection', ), 'Version' => array( 'static' => true, @@ -1825,14 +1884,14 @@ 'default' => '2011-01-01', ), 'InstanceIds' => array( + 'required' => true, 'type' => 'array', 'location' => 'aws.query', 'sentAs' => 'InstanceIds.member', 'items' => array( - 'name' => 'XmlStringMaxLen16', + 'name' => 'XmlStringMaxLen19', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 16, ), ), 'AutoScalingGroupName' => array( @@ -1840,9 +1899,8 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'ShouldDecrementDesiredCapacity' => array( + 'ProtectedFromScaleIn' => array( 'required' => true, 'type' => 'boolean', 'format' => 'boolean-string', @@ -1850,13 +1908,17 @@ ), ), 'errorResponses' => array( + array( + 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', + 'class' => 'LimitExceededException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'ExecutePolicy' => array( + 'PutNotificationConfiguration' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -1866,7 +1928,7 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'ExecutePolicy', + 'default' => 'PutNotificationConfiguration', ), 'Version' => array( 'static' => true, @@ -1874,36 +1936,33 @@ 'default' => '2011-01-01', ), 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'PolicyName' => array( + 'TopicARN' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, - ), - 'HonorCooldown' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', ), - 'MetricValue' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'BreachThreshold' => array( - 'type' => 'numeric', + 'NotificationTypes' => array( + 'required' => true, + 'type' => 'array', 'location' => 'aws.query', + 'sentAs' => 'NotificationTypes.member', + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'minLength' => 1, + ), ), ), 'errorResponses' => array( array( - 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', - 'class' => 'ScalingActivityInProgressException', + 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', + 'class' => 'LimitExceededException', ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', @@ -1911,40 +1970,34 @@ ), ), ), - 'ExitStandby' => array( + 'DeleteNotificationConfiguration' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ExitStandbyAnswer', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'ExitStandby', + 'default' => 'DeleteNotificationConfiguration', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'InstanceIds' => array( - 'type' => 'array', + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', 'location' => 'aws.query', - 'sentAs' => 'InstanceIds.member', - 'items' => array( - 'name' => 'XmlStringMaxLen16', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 16, - ), + 'minLength' => 1, ), - 'AutoScalingGroupName' => array( + 'TopicARN' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), ), 'errorResponses' => array( @@ -1954,72 +2007,46 @@ ), ), ), - 'PutLifecycleHook' => array( + 'DescribeNotificationConfigurations' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DescribeNotificationConfigurationsAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'PutLifecycleHook', + 'default' => 'DescribeNotificationConfigurations', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'LifecycleHookName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'LifecycleTransition' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'RoleARN' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'NotificationTargetARN' => array( - 'type' => 'string', + 'AutoScalingGroupNames' => array( + 'type' => 'array', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, + 'sentAs' => 'AutoScalingGroupNames.member', + 'items' => array( + 'name' => 'ResourceName', + 'type' => 'string', + 'minLength' => 1, + ), ), - 'NotificationMetadata' => array( + 'NextToken' => array( 'type' => 'string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1023, ), - 'HeartbeatTimeout' => array( + 'MaxRecords' => array( 'type' => 'numeric', 'location' => 'aws.query', ), - 'DefaultResult' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), ), 'errorResponses' => array( array( - 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', - 'class' => 'LimitExceededException', + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', @@ -2027,47 +2054,76 @@ ), ), ), - 'PutNotificationConfiguration' => array( + 'DescribeAutoScalingNotificationTypes' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DescribeAutoScalingNotificationTypesAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'PutNotificationConfiguration', + 'default' => 'DescribeAutoScalingNotificationTypes', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', + ), + ), + ), + 'CreateOrUpdateTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, + 'default' => 'CreateOrUpdateTags', ), - 'TopicARN' => array( - 'required' => true, - 'type' => 'string', + 'Version' => array( + 'static' => true, 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, + 'default' => '2011-01-01', ), - 'NotificationTypes' => array( + 'Tags' => array( 'required' => true, 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'NotificationTypes.member', + 'sentAs' => 'Tags.member', 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + ), + 'ResourceType' => array( + 'type' => 'string', + ), + 'Key' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, + ), + 'Value' => array( + 'type' => 'string', + ), + 'PropagateAtLaunch' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), ), ), ), @@ -2076,200 +2132,123 @@ 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', 'class' => 'LimitExceededException', ), + array( + 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.', + 'class' => 'AlreadyExistsException', + ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'PutScalingPolicy' => array( + 'DeleteTags' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'PolicyARNType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'PutScalingPolicy', + 'default' => 'DeleteTags', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'PolicyName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'PolicyType' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 64, - ), - 'AdjustmentType' => array( + 'Tags' => array( 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'MinAdjustmentStep' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MinAdjustmentMagnitude' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'ScalingAdjustment' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'Cooldown' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MetricAggregationType' => array( - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 32, - ), - 'StepAdjustments' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'StepAdjustments.member', + 'sentAs' => 'Tags.member', 'items' => array( - 'name' => 'StepAdjustment', + 'name' => 'Tag', 'type' => 'object', 'properties' => array( - 'MetricIntervalLowerBound' => array( - 'type' => 'numeric', + 'ResourceId' => array( + 'type' => 'string', ), - 'MetricIntervalUpperBound' => array( - 'type' => 'numeric', + 'ResourceType' => array( + 'type' => 'string', ), - 'ScalingAdjustment' => array( + 'Key' => array( 'required' => true, - 'type' => 'numeric', + 'type' => 'string', + 'minLength' => 1, + ), + 'Value' => array( + 'type' => 'string', + ), + 'PropagateAtLaunch' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', ), ), ), ), - 'EstimatedInstanceWarmup' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), ), 'errorResponses' => array( - array( - 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', - 'class' => 'LimitExceededException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'PutScheduledUpdateGroupAction' => array( + 'DescribeTags' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'TagsType', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'PutScheduledUpdateGroupAction', + 'default' => 'DescribeTags', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScheduledActionName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'Time' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - 'location' => 'aws.query', - ), - 'StartTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', + 'Filters' => array( + 'type' => 'array', 'location' => 'aws.query', - ), - 'EndTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'XmlString', + 'type' => 'string', + ), + ), + ), ), - 'format' => 'date-time', - 'location' => 'aws.query', ), - 'Recurrence' => array( + 'NextToken' => array( 'type' => 'string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'MinSize' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxSize' => array( - 'type' => 'numeric', - 'location' => 'aws.query', ), - 'DesiredCapacity' => array( + 'MaxRecords' => array( 'type' => 'numeric', 'location' => 'aws.query', ), ), 'errorResponses' => array( array( - 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.', - 'class' => 'AlreadyExistsException', - ), - array( - 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', - 'class' => 'LimitExceededException', + 'reason' => 'The NextToken value is not valid.', + 'class' => 'InvalidNextTokenException', ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', @@ -2277,44 +2256,23 @@ ), ), ), - 'RecordLifecycleActionHeartbeat' => array( + 'DescribeTerminationPolicyTypes' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DescribeTerminationPolicyTypesAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'RecordLifecycleActionHeartbeat', + 'default' => 'DescribeTerminationPolicyTypes', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'LifecycleHookName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, - ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'LifecycleActionToken' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 36, - 'maxLength' => 36, - ), ), 'errorResponses' => array( array( @@ -2323,54 +2281,32 @@ ), ), ), - 'ResumeProcesses' => array( + 'DescribeAccountLimits' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DescribeAccountLimitsAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'ResumeProcesses', + 'default' => 'DescribeAccountLimits', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 1600, - ), - 'ScalingProcesses' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'ScalingProcesses.member', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), - ), ), 'errorResponses' => array( - array( - 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.', - 'class' => 'ResourceInUseException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'SetDesiredCapacity' => array( + 'PutLifecycleHook' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -2380,35 +2316,57 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'SetDesiredCapacity', + 'default' => 'PutLifecycleHook', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2011-01-01', + ), + 'LifecycleHookName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'AutoScalingGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'LifecycleTransition' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RoleARN' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, ), - 'Version' => array( - 'static' => true, + 'NotificationTargetARN' => array( + 'type' => 'string', 'location' => 'aws.query', - 'default' => '2011-01-01', + 'minLength' => 1, ), - 'AutoScalingGroupName' => array( - 'required' => true, + 'NotificationMetadata' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'DesiredCapacity' => array( - 'required' => true, + 'HeartbeatTimeout' => array( 'type' => 'numeric', 'location' => 'aws.query', ), - 'HonorCooldown' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', + 'DefaultResult' => array( + 'type' => 'string', 'location' => 'aws.query', ), ), 'errorResponses' => array( array( - 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', - 'class' => 'ScalingActivityInProgressException', + 'reason' => 'You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.', + 'class' => 'LimitExceededException', ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', @@ -2416,7 +2374,7 @@ ), ), ), - 'SetInstanceHealth' => array( + 'DeleteLifecycleHook' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -2426,31 +2384,24 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'SetInstanceHealth', + 'default' => 'DeleteLifecycleHook', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'InstanceId' => array( + 'LifecycleHookName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16, ), - 'HealthStatus' => array( + 'AutoScalingGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 32, - ), - 'ShouldRespectGracePeriod' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', ), ), 'errorResponses' => array( @@ -2460,17 +2411,17 @@ ), ), ), - 'SuspendProcesses' => array( + 'DescribeLifecycleHooks' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DescribeLifecycleHooksAnswer', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'SuspendProcesses', + 'default' => 'DescribeLifecycleHooks', ), 'Version' => array( 'static' => true, @@ -2482,74 +2433,103 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'ScalingProcesses' => array( + 'LifecycleHookNames' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'ScalingProcesses.member', + 'sentAs' => 'LifecycleHookNames.member', 'items' => array( - 'name' => 'XmlStringMaxLen255', + 'name' => 'AsciiStringMaxLen255', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), 'errorResponses' => array( array( - 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.', - 'class' => 'ResourceInUseException', + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', + ), + ), + ), + 'DescribeLifecycleHookTypes' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeLifecycleHookTypesAnswer', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeLifecycleHookTypes', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2011-01-01', ), + ), + 'errorResponses' => array( array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'TerminateInstanceInAutoScalingGroup' => array( + 'CompleteLifecycleAction' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ActivityType', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'TerminateInstanceInAutoScalingGroup', + 'default' => 'CompleteLifecycleAction', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'InstanceId' => array( + 'LifecycleHookName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16, ), - 'ShouldDecrementDesiredCapacity' => array( + 'AutoScalingGroupName' => array( 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'LifecycleActionToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 36, + ), + 'LifecycleActionResult' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), ), 'errorResponses' => array( - array( - 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', - 'class' => 'ScalingActivityInProgressException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', ), ), ), - 'UpdateAutoScalingGroup' => array( + 'RecordLifecycleActionHeartbeat' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -2559,93 +2539,76 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'UpdateAutoScalingGroup', + 'default' => 'RecordLifecycleActionHeartbeat', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-01-01', ), - 'AutoScalingGroupName' => array( + 'LifecycleHookName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, ), - 'LaunchConfigurationName' => array( + 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1600, - ), - 'MinSize' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'MaxSize' => array( - 'type' => 'numeric', - 'location' => 'aws.query', ), - 'DesiredCapacity' => array( - 'type' => 'numeric', + 'LifecycleActionToken' => array( + 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 36, ), - 'DefaultCooldown' => array( - 'type' => 'numeric', + 'InstanceId' => array( + 'type' => 'string', 'location' => 'aws.query', + 'minLength' => 1, ), - 'AvailabilityZones' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'AvailabilityZones.member', - 'minItems' => 1, - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 255, - ), + ), + 'errorResponses' => array( + array( + 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', + 'class' => 'ResourceContentionException', ), - 'HealthCheckType' => array( - 'type' => 'string', + ), + ), + 'DescribeLoadBalancers' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeLoadBalancersResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 32, + 'default' => 'DescribeLoadBalancers', ), - 'HealthCheckGracePeriod' => array( - 'type' => 'numeric', + 'Version' => array( + 'static' => true, 'location' => 'aws.query', + 'default' => '2011-01-01', ), - 'PlacementGroup' => array( + 'AutoScalingGroupName' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), - 'VPCZoneIdentifier' => array( + 'NextToken' => array( 'type' => 'string', 'location' => 'aws.query', - 'minLength' => 1, - 'maxLength' => 255, ), - 'TerminationPolicies' => array( - 'type' => 'array', + 'MaxRecords' => array( + 'type' => 'numeric', 'location' => 'aws.query', - 'sentAs' => 'TerminationPolicies.member', - 'items' => array( - 'name' => 'XmlStringMaxLen1600', - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 1600, - ), ), ), 'errorResponses' => array( - array( - 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.', - 'class' => 'ScalingActivityInProgressException', - ), array( 'reason' => 'You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).', 'class' => 'ResourceContentionException', @@ -2658,33 +2621,140 @@ 'type' => 'object', 'additionalProperties' => true, ), - 'DescribeAccountLimitsAnswer' => array( + 'DetachInstancesAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'MaxNumberOfAutoScalingGroups' => array( - 'type' => 'numeric', + 'Activities' => array( + 'type' => 'array', 'location' => 'xml', + 'items' => array( + 'name' => 'Activity', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'ActivityId' => array( + 'type' => 'string', + ), + 'AutoScalingGroupName' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Cause' => array( + 'type' => 'string', + ), + 'StartTime' => array( + 'type' => 'string', + ), + 'EndTime' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'StatusMessage' => array( + 'type' => 'string', + ), + 'Progress' => array( + 'type' => 'numeric', + ), + 'Details' => array( + 'type' => 'string', + ), + ), + ), ), - 'MaxNumberOfLaunchConfigurations' => array( - 'type' => 'numeric', + ), + ), + 'EnterStandbyAnswer' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Activities' => array( + 'type' => 'array', 'location' => 'xml', + 'items' => array( + 'name' => 'Activity', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'ActivityId' => array( + 'type' => 'string', + ), + 'AutoScalingGroupName' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Cause' => array( + 'type' => 'string', + ), + 'StartTime' => array( + 'type' => 'string', + ), + 'EndTime' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'StatusMessage' => array( + 'type' => 'string', + ), + 'Progress' => array( + 'type' => 'numeric', + ), + 'Details' => array( + 'type' => 'string', + ), + ), + ), ), ), ), - 'DescribeAdjustmentTypesAnswer' => array( + 'ExitStandbyAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'AdjustmentTypes' => array( + 'Activities' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'AdjustmentType', + 'name' => 'Activity', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'AdjustmentType' => array( + 'ActivityId' => array( + 'type' => 'string', + ), + 'AutoScalingGroupName' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Cause' => array( + 'type' => 'string', + ), + 'StartTime' => array( + 'type' => 'string', + ), + 'EndTime' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'StatusMessage' => array( + 'type' => 'string', + ), + 'Progress' => array( + 'type' => 'numeric', + ), + 'Details' => array( 'type' => 'string', ), ), @@ -2769,6 +2839,9 @@ 'LaunchConfigurationName' => array( 'type' => 'string', ), + 'ProtectedFromScaleIn' => array( + 'type' => 'boolean', + ), ), ), ), @@ -2849,6 +2922,9 @@ 'sentAs' => 'member', ), ), + 'NewInstancesProtectedFromScaleIn' => array( + 'type' => 'boolean', + ), ), ), ), @@ -2888,6 +2964,9 @@ 'LaunchConfigurationName' => array( 'type' => 'string', ), + 'ProtectedFromScaleIn' => array( + 'type' => 'boolean', + ), ), ), ), @@ -2897,227 +2976,68 @@ ), ), ), - 'DescribeAutoScalingNotificationTypesAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AutoScalingNotificationTypes' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - ), - ), - 'LaunchConfigurationsType' => array( + 'ProcessesType' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'LaunchConfigurations' => array( + 'Processes' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'LaunchConfiguration', + 'name' => 'ProcessType', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'LaunchConfigurationName' => array( - 'type' => 'string', - ), - 'LaunchConfigurationARN' => array( - 'type' => 'string', - ), - 'ImageId' => array( - 'type' => 'string', - ), - 'KeyName' => array( - 'type' => 'string', - ), - 'SecurityGroups' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'XmlString', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'ClassicLinkVPCId' => array( - 'type' => 'string', - ), - 'ClassicLinkVPCSecurityGroups' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), - 'UserData' => array( - 'type' => 'string', - ), - 'InstanceType' => array( - 'type' => 'string', - ), - 'KernelId' => array( - 'type' => 'string', - ), - 'RamdiskId' => array( - 'type' => 'string', - ), - 'BlockDeviceMappings' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'BlockDeviceMapping', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'VirtualName' => array( - 'type' => 'string', - ), - 'DeviceName' => array( - 'type' => 'string', - ), - 'Ebs' => array( - 'type' => 'object', - 'properties' => array( - 'SnapshotId' => array( - 'type' => 'string', - ), - 'VolumeSize' => array( - 'type' => 'numeric', - ), - 'VolumeType' => array( - 'type' => 'string', - ), - 'DeleteOnTermination' => array( - 'type' => 'boolean', - ), - 'Iops' => array( - 'type' => 'numeric', - ), - ), - ), - 'NoDevice' => array( - 'type' => 'boolean', - ), - ), - ), - ), - 'InstanceMonitoring' => array( - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'type' => 'boolean', - ), - ), - ), - 'SpotPrice' => array( - 'type' => 'string', - ), - 'IamInstanceProfile' => array( - 'type' => 'string', - ), - 'CreatedTime' => array( - 'type' => 'string', - ), - 'EbsOptimized' => array( - 'type' => 'boolean', - ), - 'AssociatePublicIpAddress' => array( - 'type' => 'boolean', - ), - 'PlacementTenancy' => array( + 'ProcessName' => array( 'type' => 'string', ), ), ), ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DescribeLifecycleHookTypesAnswer' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LifecycleHookTypes' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'XmlStringMaxLen255', - 'type' => 'string', - 'sentAs' => 'member', - ), - ), ), ), - 'DescribeLifecycleHooksAnswer' => array( + 'ScheduledActionsType' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'LifecycleHooks' => array( + 'ScheduledUpdateGroupActions' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'LifecycleHook', + 'name' => 'ScheduledUpdateGroupAction', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'LifecycleHookName' => array( - 'type' => 'string', - ), 'AutoScalingGroupName' => array( 'type' => 'string', ), - 'LifecycleTransition' => array( - 'type' => 'string', - ), - 'NotificationTargetARN' => array( - 'type' => 'string', - ), - 'RoleARN' => array( - 'type' => 'string', - ), - 'NotificationMetadata' => array( + 'ScheduledActionName' => array( 'type' => 'string', ), - 'HeartbeatTimeout' => array( - 'type' => 'numeric', - ), - 'GlobalTimeout' => array( - 'type' => 'numeric', - ), - 'DefaultResult' => array( + 'ScheduledActionARN' => array( 'type' => 'string', ), - ), - ), - ), - ), - ), - 'DescribeLoadBalancersResponse' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoadBalancers' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'LoadBalancerState', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'LoadBalancerName' => array( + 'Time' => array( 'type' => 'string', ), - 'State' => array( + 'StartTime' => array( + 'type' => 'string', + ), + 'EndTime' => array( + 'type' => 'string', + ), + 'Recurrence' => array( 'type' => 'string', ), + 'MinSize' => array( + 'type' => 'numeric', + ), + 'MaxSize' => array( + 'type' => 'numeric', + ), + 'DesiredCapacity' => array( + 'type' => 'numeric', + ), ), ), ), @@ -3127,33 +3047,19 @@ ), ), ), - 'DescribeMetricCollectionTypesAnswer' => array( + 'DescribeAdjustmentTypesAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'Metrics' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'MetricCollectionType', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'Metric' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Granularities' => array( + 'AdjustmentTypes' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'MetricGranularityType', + 'name' => 'AdjustmentType', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'Granularity' => array( + 'AdjustmentType' => array( 'type' => 'string', ), ), @@ -3161,31 +3067,11 @@ ), ), ), - 'DescribeNotificationConfigurationsAnswer' => array( + 'PolicyARNType' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'NotificationConfigurations' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'NotificationConfiguration', - 'type' => 'object', - 'sentAs' => 'member', - 'properties' => array( - 'AutoScalingGroupName' => array( - 'type' => 'string', - ), - 'TopicARN' => array( - 'type' => 'string', - ), - 'NotificationType' => array( - 'type' => 'string', - ), - ), - ), - ), - 'NextToken' => array( + 'PolicyARN' => array( 'type' => 'string', 'location' => 'xml', ), @@ -3280,6 +3166,172 @@ ), ), ), + 'DescribeMetricCollectionTypesAnswer' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Metrics' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'MetricCollectionType', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Metric' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Granularities' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'MetricGranularityType', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Granularity' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'LaunchConfigurationsType' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'LaunchConfigurations' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'LaunchConfiguration', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'LaunchConfigurationName' => array( + 'type' => 'string', + ), + 'LaunchConfigurationARN' => array( + 'type' => 'string', + ), + 'ImageId' => array( + 'type' => 'string', + ), + 'KeyName' => array( + 'type' => 'string', + ), + 'SecurityGroups' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'XmlString', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'ClassicLinkVPCId' => array( + 'type' => 'string', + ), + 'ClassicLinkVPCSecurityGroups' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'UserData' => array( + 'type' => 'string', + ), + 'InstanceType' => array( + 'type' => 'string', + ), + 'KernelId' => array( + 'type' => 'string', + ), + 'RamdiskId' => array( + 'type' => 'string', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'boolean', + ), + ), + ), + ), + 'InstanceMonitoring' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'SpotPrice' => array( + 'type' => 'string', + ), + 'IamInstanceProfile' => array( + 'type' => 'string', + ), + 'CreatedTime' => array( + 'type' => 'string', + ), + 'EbsOptimized' => array( + 'type' => 'boolean', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + ), + 'PlacementTenancy' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), 'ActivitiesType' => array( 'type' => 'object', 'additionalProperties' => true, @@ -3325,81 +3377,97 @@ ), ), ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'xml', - ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), + 'ActivityType' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Activity' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'ActivityId' => array( + 'type' => 'string', + ), + 'AutoScalingGroupName' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Cause' => array( + 'type' => 'string', + ), + 'StartTime' => array( + 'type' => 'string', + ), + 'EndTime' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'StatusMessage' => array( + 'type' => 'string', + ), + 'Progress' => array( + 'type' => 'numeric', + ), + 'Details' => array( + 'type' => 'string', + ), + ), + ), ), ), - 'ProcessesType' => array( + 'DescribeNotificationConfigurationsAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'Processes' => array( + 'NotificationConfigurations' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'ProcessType', + 'name' => 'NotificationConfiguration', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'ProcessName' => array( + 'AutoScalingGroupName' => array( + 'type' => 'string', + ), + 'TopicARN' => array( + 'type' => 'string', + ), + 'NotificationType' => array( 'type' => 'string', ), ), ), ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + ), ), ), - 'ScheduledActionsType' => array( + 'DescribeAutoScalingNotificationTypesAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'ScheduledUpdateGroupActions' => array( + 'AutoScalingNotificationTypes' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'ScheduledUpdateGroupAction', - 'type' => 'object', + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', 'sentAs' => 'member', - 'properties' => array( - 'AutoScalingGroupName' => array( - 'type' => 'string', - ), - 'ScheduledActionName' => array( - 'type' => 'string', - ), - 'ScheduledActionARN' => array( - 'type' => 'string', - ), - 'Time' => array( - 'type' => 'string', - ), - 'StartTime' => array( - 'type' => 'string', - ), - 'EndTime' => array( - 'type' => 'string', - ), - 'Recurrence' => array( - 'type' => 'string', - ), - 'MinSize' => array( - 'type' => 'numeric', - ), - 'MaxSize' => array( - 'type' => 'numeric', - ), - 'DesiredCapacity' => array( - 'type' => 'numeric', - ), - ), ), ), - 'NextToken' => array( - 'type' => 'string', - 'location' => 'xml', - ), ), ), 'TagsType' => array( @@ -3453,46 +3521,65 @@ ), ), ), - 'DetachInstancesAnswer' => array( + 'DescribeAccountLimitsAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'Activities' => array( + 'MaxNumberOfAutoScalingGroups' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'MaxNumberOfLaunchConfigurations' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'NumberOfAutoScalingGroups' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'NumberOfLaunchConfigurations' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + ), + ), + 'DescribeLifecycleHooksAnswer' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'LifecycleHooks' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'Activity', + 'name' => 'LifecycleHook', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'ActivityId' => array( + 'LifecycleHookName' => array( 'type' => 'string', ), 'AutoScalingGroupName' => array( 'type' => 'string', ), - 'Description' => array( - 'type' => 'string', - ), - 'Cause' => array( + 'LifecycleTransition' => array( 'type' => 'string', ), - 'StartTime' => array( + 'NotificationTargetARN' => array( 'type' => 'string', ), - 'EndTime' => array( + 'RoleARN' => array( 'type' => 'string', ), - 'StatusCode' => array( + 'NotificationMetadata' => array( 'type' => 'string', ), - 'StatusMessage' => array( - 'type' => 'string', + 'HeartbeatTimeout' => array( + 'type' => 'numeric', ), - 'Progress' => array( + 'GlobalTimeout' => array( 'type' => 'numeric', ), - 'Details' => array( + 'DefaultResult' => array( 'type' => 'string', ), ), @@ -3500,152 +3587,48 @@ ), ), ), - 'EnterStandbyAnswer' => array( + 'DescribeLifecycleHookTypesAnswer' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'Activities' => array( + 'LifecycleHookTypes' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'Activity', - 'type' => 'object', + 'name' => 'XmlStringMaxLen255', + 'type' => 'string', 'sentAs' => 'member', - 'properties' => array( - 'ActivityId' => array( - 'type' => 'string', - ), - 'AutoScalingGroupName' => array( - 'type' => 'string', - ), - 'Description' => array( - 'type' => 'string', - ), - 'Cause' => array( - 'type' => 'string', - ), - 'StartTime' => array( - 'type' => 'string', - ), - 'EndTime' => array( - 'type' => 'string', - ), - 'StatusCode' => array( - 'type' => 'string', - ), - 'StatusMessage' => array( - 'type' => 'string', - ), - 'Progress' => array( - 'type' => 'numeric', - ), - 'Details' => array( - 'type' => 'string', - ), - ), ), ), ), ), - 'ExitStandbyAnswer' => array( + 'DescribeLoadBalancersResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'Activities' => array( + 'LoadBalancers' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'Activity', + 'name' => 'LoadBalancerState', 'type' => 'object', 'sentAs' => 'member', 'properties' => array( - 'ActivityId' => array( - 'type' => 'string', - ), - 'AutoScalingGroupName' => array( - 'type' => 'string', - ), - 'Description' => array( - 'type' => 'string', - ), - 'Cause' => array( - 'type' => 'string', - ), - 'StartTime' => array( - 'type' => 'string', - ), - 'EndTime' => array( - 'type' => 'string', - ), - 'StatusCode' => array( - 'type' => 'string', - ), - 'StatusMessage' => array( + 'LoadBalancerName' => array( 'type' => 'string', ), - 'Progress' => array( - 'type' => 'numeric', - ), - 'Details' => array( + 'State' => array( 'type' => 'string', ), ), ), ), - ), - ), - 'PolicyARNType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'PolicyARN' => array( + 'NextToken' => array( 'type' => 'string', 'location' => 'xml', ), ), ), - 'ActivityType' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Activity' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ActivityId' => array( - 'type' => 'string', - ), - 'AutoScalingGroupName' => array( - 'type' => 'string', - ), - 'Description' => array( - 'type' => 'string', - ), - 'Cause' => array( - 'type' => 'string', - ), - 'StartTime' => array( - 'type' => 'string', - ), - 'EndTime' => array( - 'type' => 'string', - ), - 'StatusCode' => array( - 'type' => 'string', - ), - 'StatusMessage' => array( - 'type' => 'string', - ), - 'Progress' => array( - 'type' => 'numeric', - ), - 'Details' => array( - 'type' => 'string', - ), - ), - ), - ), - ), ), 'iterators' => array( 'DescribeAutoScalingGroups' => array( diff --git a/vendor/aws/Aws/CloudFormation/CloudFormationClient.php b/vendor/aws/Aws/CloudFormation/CloudFormationClient.php index df983f9..b731279 100644 --- a/vendor/aws/Aws/CloudFormation/CloudFormationClient.php +++ b/vendor/aws/Aws/CloudFormation/CloudFormationClient.php @@ -29,6 +29,7 @@ * @method Model cancelUpdateStack(array $args = array()) {@command CloudFormation CancelUpdateStack} * @method Model createStack(array $args = array()) {@command CloudFormation CreateStack} * @method Model deleteStack(array $args = array()) {@command CloudFormation DeleteStack} + * @method Model describeAccountLimits(array $args = array()) {@command CloudFormation DescribeAccountLimits} * @method Model describeStackEvents(array $args = array()) {@command CloudFormation DescribeStackEvents} * @method Model describeStackResource(array $args = array()) {@command CloudFormation DescribeStackResource} * @method Model describeStackResources(array $args = array()) {@command CloudFormation DescribeStackResources} diff --git a/vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php b/vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php index dc74e4b..bbfa767 100644 --- a/vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php +++ b/vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php @@ -130,7 +130,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), 'Parameters' => array( 'type' => 'array', @@ -182,6 +181,15 @@ 'type' => 'string', ), ), + 'ResourceTypes' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceTypes.member', + 'items' => array( + 'name' => 'ResourceType', + 'type' => 'string', + ), + ), 'OnFailure' => array( 'type' => 'string', 'location' => 'aws.query', @@ -190,13 +198,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), 'StackPolicyURL' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1350, ), 'Tags' => array( 'type' => 'array', @@ -255,6 +261,30 @@ ), ), ), + 'DescribeAccountLimits' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeAccountLimitsOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeAccountLimits', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-05-15', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + ), + ), 'DescribeStackEvents' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -280,7 +310,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), ), ), @@ -369,7 +398,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), ), ), @@ -399,7 +427,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), 'Parameters' => array( 'type' => 'array', @@ -498,7 +525,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), 'StackName' => array( 'type' => 'string', @@ -533,7 +559,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), ), ), @@ -558,7 +583,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), 'StackStatusFilter' => array( 'type' => 'array', @@ -597,13 +621,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), 'StackPolicyURL' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1350, ), ), ), @@ -640,7 +662,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Status' => array( 'required' => true, @@ -680,7 +701,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), 'UsePreviousTemplate' => array( 'type' => 'boolean', @@ -691,13 +711,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), 'StackPolicyDuringUpdateURL' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1350, ), 'Parameters' => array( 'type' => 'array', @@ -729,17 +747,24 @@ 'type' => 'string', ), ), + 'ResourceTypes' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceTypes.member', + 'items' => array( + 'name' => 'ResourceType', + 'type' => 'string', + ), + ), 'StackPolicyBody' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), 'StackPolicyURL' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1350, ), 'NotificationARNs' => array( 'type' => 'array', @@ -785,7 +810,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), ), ), @@ -805,6 +829,33 @@ ), ), ), + 'DescribeAccountLimitsOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AccountLimits' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'AccountLimit', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'numeric', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), 'DescribeStackEventsOutput' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1150,6 +1201,15 @@ 'type' => 'string', 'location' => 'xml', ), + 'ResourceTypes' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'ResourceType', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), 'Version' => array( 'type' => 'string', 'location' => 'xml', diff --git a/vendor/aws/Aws/CloudFront/CloudFrontClient.php b/vendor/aws/Aws/CloudFront/CloudFrontClient.php index 569ba9e..978bd14 100644 --- a/vendor/aws/Aws/CloudFront/CloudFrontClient.php +++ b/vendor/aws/Aws/CloudFront/CloudFrontClient.php @@ -30,27 +30,28 @@ /** * Client to interact with Amazon CloudFront * - * @method Model createCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront CreateCloudFrontOriginAccessIdentity} * @method Model createDistribution(array $args = array()) {@command CloudFront CreateDistribution} - * @method Model createInvalidation(array $args = array()) {@command CloudFront CreateInvalidation} - * @method Model createStreamingDistribution(array $args = array()) {@command CloudFront CreateStreamingDistribution} - * @method Model deleteCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront DeleteCloudFrontOriginAccessIdentity} * @method Model deleteDistribution(array $args = array()) {@command CloudFront DeleteDistribution} - * @method Model deleteStreamingDistribution(array $args = array()) {@command CloudFront DeleteStreamingDistribution} - * @method Model getCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentity} - * @method Model getCloudFrontOriginAccessIdentityConfig(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentityConfig} * @method Model getDistribution(array $args = array()) {@command CloudFront GetDistribution} + * @method Model updateDistribution(array $args = array()) {@command CloudFront UpdateDistribution} * @method Model getDistributionConfig(array $args = array()) {@command CloudFront GetDistributionConfig} - * @method Model getInvalidation(array $args = array()) {@command CloudFront GetInvalidation} - * @method Model getStreamingDistribution(array $args = array()) {@command CloudFront GetStreamingDistribution} - * @method Model getStreamingDistributionConfig(array $args = array()) {@command CloudFront GetStreamingDistributionConfig} - * @method Model listCloudFrontOriginAccessIdentities(array $args = array()) {@command CloudFront ListCloudFrontOriginAccessIdentities} * @method Model listDistributions(array $args = array()) {@command CloudFront ListDistributions} - * @method Model listInvalidations(array $args = array()) {@command CloudFront ListInvalidations} - * @method Model listStreamingDistributions(array $args = array()) {@command CloudFront ListStreamingDistributions} + * @method Model listDistributionsByWebACLId(array $args = array()) {@command CloudFront ListDistributionsByWebACLId} + * @method Model createCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront CreateCloudFrontOriginAccessIdentity} + * @method Model deleteCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront DeleteCloudFrontOriginAccessIdentity} + * @method Model getCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentity} + * @method Model getCloudFrontOriginAccessIdentityConfig(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentityConfig} * @method Model updateCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront UpdateCloudFrontOriginAccessIdentity} - * @method Model updateDistribution(array $args = array()) {@command CloudFront UpdateDistribution} + * @method Model listCloudFrontOriginAccessIdentities(array $args = array()) {@command CloudFront ListCloudFrontOriginAccessIdentities} + * @method Model createStreamingDistribution(array $args = array()) {@command CloudFront CreateStreamingDistribution} + * @method Model deleteStreamingDistribution(array $args = array()) {@command CloudFront DeleteStreamingDistribution} + * @method Model getStreamingDistribution(array $args = array()) {@command CloudFront GetStreamingDistribution} * @method Model updateStreamingDistribution(array $args = array()) {@command CloudFront UpdateStreamingDistribution} + * @method Model getStreamingDistributionConfig(array $args = array()) {@command CloudFront GetStreamingDistributionConfig} + * @method Model listStreamingDistributions(array $args = array()) {@command CloudFront ListStreamingDistributions} + * @method Model createInvalidation(array $args = array()) {@command CloudFront CreateInvalidation} + * @method Model getInvalidation(array $args = array()) {@command CloudFront GetInvalidation} + * @method Model listInvalidations(array $args = array()) {@command CloudFront ListInvalidations} * @method waitUntilStreamingDistributionDeployed(array $input) The input array uses the parameters of the GetStreamingDistribution operation and waiter specific settings * @method waitUntilDistributionDeployed(array $input) The input array uses the parameters of the GetDistribution operation and waiter specific settings * @method waitUntilInvalidationCompleted(array $input) The input array uses the parameters of the GetInvalidation operation and waiter specific settings @@ -64,7 +65,7 @@ */ class CloudFrontClient extends AbstractClient { - const LATEST_API_VERSION = '2015-04-17'; + const LATEST_API_VERSION = '2016-01-28'; /** * Factory method to create a new Amazon CloudFront client using an array of configuration options. diff --git a/vendor/aws/Aws/CloudFront/Resources/cloudfront-2015-07-27.php b/vendor/aws/Aws/CloudFront/Resources/cloudfront-2015-07-27.php new file mode 100644 index 0000000..6ce27cc --- /dev/null +++ b/vendor/aws/Aws/CloudFront/Resources/cloudfront-2015-07-27.php @@ -0,0 +1,6366 @@ + '2015-07-27', + 'endpointPrefix' => 'cloudfront', + 'serviceFullName' => 'Amazon CloudFront', + 'serviceAbbreviation' => 'CloudFront', + 'serviceType' => 'rest-xml', + 'globalEndpoint' => 'cloudfront.amazonaws.com', + 'signatureVersion' => 'v4', + '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' => '/2015-07-27/origin-access-identity/cloudfront', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'CloudFrontOriginAccessIdentityConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => '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.', + 'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'Processing your request would cause you to exceed the maximum number of origin access identities allowed.', + 'class' => 'TooManyCloudFrontOriginAccessIdentitiesException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'CreateDistribution' => array( + 'httpMethod' => 'POST', + 'uri' => '/2015-07-27/distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'DistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Origins' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'minItems' => 1, + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'properties' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + ), + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'properties' => array( + 'PathPattern' => array( + 'required' => true, + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'properties' => array( + 'ErrorCode' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'IncludeCookies' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'GeoRestriction' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'required' => true, + 'type' => 'string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'reason' => 'The caller reference you attempted to create the distribution with is associated with another distribution.', + 'class' => 'DistributionAlreadyExistsException', + ), + array( + 'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.', + 'class' => 'InvalidOriginException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'class' => 'InvalidViewerCertificateException', + ), + array( + 'class' => 'InvalidMinimumProtocolVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'Your request contains more CNAMEs than are allowed per distribution.', + 'class' => 'TooManyDistributionCNAMEsException', + ), + array( + 'reason' => 'Processing your request would cause you to exceed the maximum number of distributions allowed.', + 'class' => 'TooManyDistributionsException', + ), + array( + 'reason' => 'The default root object file name is too big or contains an invalid character.', + 'class' => 'InvalidDefaultRootObjectException', + ), + array( + 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).', + 'class' => 'InvalidRelativePathException', + ), + array( + 'class' => 'InvalidErrorCodeException', + ), + array( + 'class' => 'InvalidResponseCodeException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.', + 'class' => 'InvalidRequiredProtocolException', + ), + array( + 'reason' => 'No origin exists with the specified Origin Id.', + 'class' => 'NoSuchOriginException', + ), + array( + 'reason' => 'You cannot create anymore origins for the distribution.', + 'class' => 'TooManyOriginsException', + ), + array( + 'reason' => 'You cannot create anymore cache behaviors for the distribution.', + 'class' => 'TooManyCacheBehaviorsException', + ), + array( + 'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.', + 'class' => 'TooManyCookieNamesInWhiteListException', + ), + array( + 'reason' => 'Your request contains forward cookies option which doesn\'t match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.', + 'class' => 'InvalidForwardCookiesException', + ), + array( + 'class' => 'TooManyHeadersInForwardedValuesException', + ), + array( + 'class' => 'InvalidHeadersForS3OriginException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + array( + 'reason' => 'You cannot create anymore custom ssl certificates.', + 'class' => 'TooManyCertificatesException', + ), + array( + 'class' => 'InvalidLocationCodeException', + ), + array( + 'class' => 'InvalidGeoRestrictionParameterException', + ), + array( + 'reason' => 'You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that Support Server Name Indication (SNI).', + 'class' => 'InvalidProtocolSettingsException', + ), + array( + 'class' => 'InvalidTTLOrderException', + ), + array( + 'class' => 'InvalidWebACLIdException', + ), + ), + ), + 'CreateInvalidation' => array( + 'httpMethod' => 'POST', + 'uri' => '/2015-07-27/distribution/{DistributionId}/invalidation', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateInvalidationResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'InvalidationBatch', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'DistributionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'Paths' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Path', + 'type' => 'string', + ), + ), + ), + ), + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'class' => 'BatchTooLargeException', + ), + array( + 'reason' => 'You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.', + 'class' => 'TooManyInvalidationsInProgressException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'CreateStreamingDistribution' => array( + 'httpMethod' => 'POST', + 'uri' => '/2015-07-27/streaming-distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateStreamingDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'StreamingDistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'S3Origin' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'class' => 'StreamingDistributionAlreadyExistsException', + ), + array( + 'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.', + 'class' => 'InvalidOriginException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'class' => 'TooManyStreamingDistributionCNAMEsException', + ), + array( + 'reason' => 'Processing your request would cause you to exceed the maximum number of streaming distributions allowed.', + 'class' => 'TooManyStreamingDistributionsException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'DeleteCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2015-07-27/origin-access-identity/cloudfront/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2015_07_27Output', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'class' => 'CloudFrontOriginAccessIdentityInUseException', + ), + ), + ), + 'DeleteDistribution' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2015-07-27/distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'DeleteDistribution2015_07_27Output', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'DistributionNotDisabledException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + ), + ), + 'DeleteStreamingDistribution' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2015-07-27/streaming-distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'DeleteStreamingDistribution2015_07_27Output', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'StreamingDistributionNotDisabledException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/origin-access-identity/cloudfront/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetCloudFrontOriginAccessIdentityResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentityConfig' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/origin-access-identity/cloudfront/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetDistribution' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetDistributionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetDistributionConfig' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetDistributionConfigResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetInvalidation' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/distribution/{DistributionId}/invalidation/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetInvalidationResult', + 'responseType' => 'model', + 'parameters' => array( + 'DistributionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified invalidation does not exist.', + 'class' => 'NoSuchInvalidationException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetStreamingDistribution' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/streaming-distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetStreamingDistributionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetStreamingDistributionConfig' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/streaming-distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetStreamingDistributionConfigResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'ListCloudFrontOriginAccessIdentities' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/origin-access-identity/cloudfront', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + ), + ), + 'ListDistributions' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListDistributionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + ), + ), + 'ListDistributionsByWebACLId' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/distributionsByWebACLId/{WebACLId}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListDistributionsByWebACLIdResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'WebACLId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'class' => 'InvalidWebACLIdException', + ), + ), + ), + 'ListInvalidations' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/distribution/{DistributionId}/invalidation', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListInvalidationsResult', + 'responseType' => 'model', + 'parameters' => array( + 'DistributionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'ListStreamingDistributions' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-07-27/streaming-distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListStreamingDistributionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + ), + ), + 'UpdateCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2015-07-27/origin-access-identity/cloudfront/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'CloudFrontOriginAccessIdentityConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'Origin and CallerReference cannot be updated.', + 'class' => 'IllegalUpdateException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'UpdateDistribution' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2015-07-27/distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'UpdateDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'DistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Origins' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'minItems' => 1, + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'properties' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + ), + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'properties' => array( + 'PathPattern' => array( + 'required' => true, + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'properties' => array( + 'ErrorCode' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'IncludeCookies' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'GeoRestriction' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'required' => true, + 'type' => 'string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'reason' => 'Origin and CallerReference cannot be updated.', + 'class' => 'IllegalUpdateException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'reason' => 'Your request contains more CNAMEs than are allowed per distribution.', + 'class' => 'TooManyDistributionCNAMEsException', + ), + array( + 'reason' => 'The default root object file name is too big or contains an invalid character.', + 'class' => 'InvalidDefaultRootObjectException', + ), + array( + 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).', + 'class' => 'InvalidRelativePathException', + ), + array( + 'class' => 'InvalidErrorCodeException', + ), + array( + 'class' => 'InvalidResponseCodeException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'class' => 'InvalidViewerCertificateException', + ), + array( + 'class' => 'InvalidMinimumProtocolVersionException', + ), + array( + 'reason' => 'This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.', + 'class' => 'InvalidRequiredProtocolException', + ), + array( + 'reason' => 'No origin exists with the specified Origin Id.', + 'class' => 'NoSuchOriginException', + ), + array( + 'reason' => 'You cannot create anymore origins for the distribution.', + 'class' => 'TooManyOriginsException', + ), + array( + 'reason' => 'You cannot create anymore cache behaviors for the distribution.', + 'class' => 'TooManyCacheBehaviorsException', + ), + array( + 'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.', + 'class' => 'TooManyCookieNamesInWhiteListException', + ), + array( + 'reason' => 'Your request contains forward cookies option which doesn\'t match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.', + 'class' => 'InvalidForwardCookiesException', + ), + array( + 'class' => 'TooManyHeadersInForwardedValuesException', + ), + array( + 'class' => 'InvalidHeadersForS3OriginException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + array( + 'reason' => 'You cannot create anymore custom ssl certificates.', + 'class' => 'TooManyCertificatesException', + ), + array( + 'class' => 'InvalidLocationCodeException', + ), + array( + 'class' => 'InvalidGeoRestrictionParameterException', + ), + array( + 'class' => 'InvalidTTLOrderException', + ), + array( + 'class' => 'InvalidWebACLIdException', + ), + ), + ), + 'UpdateStreamingDistribution' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2015-07-27/streaming-distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'UpdateStreamingDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'StreamingDistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2015-07-27/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'S3Origin' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'reason' => 'Origin and CallerReference cannot be updated.', + 'class' => 'IllegalUpdateException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'class' => 'TooManyStreamingDistributionCNAMEsException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + ), + 'models' => array( + 'CreateCloudFrontOriginAccessIdentityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CloudFrontOriginAccessIdentityConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'CreateDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InProgressInvalidationBatches' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'CreateInvalidationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CreateTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InvalidationBatch' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Paths' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Path', + 'type' => 'string', + 'sentAs' => 'Path', + ), + ), + ), + ), + 'CallerReference' => array( + 'type' => 'string', + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'CreateStreamingDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'StreamingDistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'DeleteCloudFrontOriginAccessIdentity2015_07_27Output' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'DeleteDistribution2015_07_27Output' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'DeleteStreamingDistribution2015_07_27Output' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CloudFrontOriginAccessIdentityConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentityConfigResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InProgressInvalidationBatches' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetDistributionConfigResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Origins' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetInvalidationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CreateTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InvalidationBatch' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Paths' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Path', + 'type' => 'string', + 'sentAs' => 'Path', + ), + ), + ), + ), + 'CallerReference' => array( + 'type' => 'string', + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetStreamingDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'StreamingDistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetStreamingDistributionConfigResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3Origin' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListCloudFrontOriginAccessIdentitiesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'CloudFrontOriginAccessIdentitySummary', + 'type' => 'object', + 'sentAs' => 'CloudFrontOriginAccessIdentitySummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListDistributionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'DistributionSummary', + 'type' => 'object', + 'sentAs' => 'DistributionSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListDistributionsByWebACLIdResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'DistributionSummary', + 'type' => 'object', + 'sentAs' => 'DistributionSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListInvalidationsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'InvalidationSummary', + 'type' => 'object', + 'sentAs' => 'InvalidationSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'CreateTime' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListStreamingDistributionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'StreamingDistributionSummary', + 'type' => 'object', + 'sentAs' => 'StreamingDistributionSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'UpdateCloudFrontOriginAccessIdentityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CloudFrontOriginAccessIdentityConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'UpdateDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InProgressInvalidationBatches' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'UpdateStreamingDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'StreamingDistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + ), + 'iterators' => array( + 'ListCloudFrontOriginAccessIdentities' => array( + 'input_token' => 'Marker', + 'output_token' => 'CloudFrontOriginAccessIdentityList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'CloudFrontOriginAccessIdentityList/IsTruncated', + 'result_key' => 'CloudFrontOriginAccessIdentityList/Items', + ), + 'ListDistributions' => array( + 'input_token' => 'Marker', + 'output_token' => 'DistributionList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'DistributionList/IsTruncated', + 'result_key' => 'DistributionList/Items', + ), + 'ListInvalidations' => array( + 'input_token' => 'Marker', + 'output_token' => 'InvalidationList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'InvalidationList/IsTruncated', + 'result_key' => 'InvalidationList/Items', + ), + 'ListStreamingDistributions' => array( + 'input_token' => 'Marker', + 'output_token' => 'StreamingDistributionList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'StreamingDistributionList/IsTruncated', + 'result_key' => 'StreamingDistributionList/Items', + ), + ), + 'waiters' => array( + '__default__' => array( + 'success.type' => 'output', + 'success.path' => 'Status', + ), + 'StreamingDistributionDeployed' => array( + 'operation' => 'GetStreamingDistribution', + 'interval' => 60, + 'max_attempts' => 25, + 'success.value' => 'Deployed', + ), + 'DistributionDeployed' => array( + 'operation' => 'GetDistribution', + 'interval' => 60, + 'max_attempts' => 25, + 'success.value' => 'Deployed', + ), + 'InvalidationCompleted' => array( + 'operation' => 'GetInvalidation', + 'interval' => 20, + 'max_attempts' => 30, + 'success.value' => 'Completed', + ), + ), +); diff --git a/vendor/aws/Aws/CloudFront/Resources/cloudfront-2016-01-28.php b/vendor/aws/Aws/CloudFront/Resources/cloudfront-2016-01-28.php new file mode 100644 index 0000000..e7aeb1a --- /dev/null +++ b/vendor/aws/Aws/CloudFront/Resources/cloudfront-2016-01-28.php @@ -0,0 +1,6798 @@ + '2016-01-28', + 'endpointPrefix' => 'cloudfront', + 'serviceFullName' => 'Amazon CloudFront', + 'serviceAbbreviation' => 'CloudFront', + 'serviceType' => 'rest-xml', + 'globalEndpoint' => 'cloudfront.amazonaws.com', + 'signatureVersion' => 'v4', + '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( + 'CreateDistribution' => array( + 'httpMethod' => 'POST', + 'uri' => '/2016-01-28/distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'DistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Origins' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'minItems' => 1, + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'properties' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + ), + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'required' => true, + 'type' => 'string', + ), + 'HeaderValue' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'properties' => array( + 'PathPattern' => array( + 'required' => true, + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'properties' => array( + 'ErrorCode' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'IncludeCookies' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'GeoRestriction' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'required' => true, + 'type' => 'string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'reason' => 'The caller reference you attempted to create the distribution with is associated with another distribution.', + 'class' => 'DistributionAlreadyExistsException', + ), + array( + 'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.', + 'class' => 'InvalidOriginException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'class' => 'InvalidViewerCertificateException', + ), + array( + 'class' => 'InvalidMinimumProtocolVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'Your request contains more CNAMEs than are allowed per distribution.', + 'class' => 'TooManyDistributionCNAMEsException', + ), + array( + 'reason' => 'Processing your request would cause you to exceed the maximum number of distributions allowed.', + 'class' => 'TooManyDistributionsException', + ), + array( + 'reason' => 'The default root object file name is too big or contains an invalid character.', + 'class' => 'InvalidDefaultRootObjectException', + ), + array( + 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).', + 'class' => 'InvalidRelativePathException', + ), + array( + 'class' => 'InvalidErrorCodeException', + ), + array( + 'class' => 'InvalidResponseCodeException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.', + 'class' => 'InvalidRequiredProtocolException', + ), + array( + 'reason' => 'No origin exists with the specified Origin Id.', + 'class' => 'NoSuchOriginException', + ), + array( + 'reason' => 'You cannot create anymore origins for the distribution.', + 'class' => 'TooManyOriginsException', + ), + array( + 'reason' => 'You cannot create anymore cache behaviors for the distribution.', + 'class' => 'TooManyCacheBehaviorsException', + ), + array( + 'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.', + 'class' => 'TooManyCookieNamesInWhiteListException', + ), + array( + 'reason' => 'Your request contains forward cookies option which doesn\'t match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.', + 'class' => 'InvalidForwardCookiesException', + ), + array( + 'class' => 'TooManyHeadersInForwardedValuesException', + ), + array( + 'class' => 'InvalidHeadersForS3OriginException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + array( + 'reason' => 'You cannot create anymore custom ssl certificates.', + 'class' => 'TooManyCertificatesException', + ), + array( + 'class' => 'InvalidLocationCodeException', + ), + array( + 'class' => 'InvalidGeoRestrictionParameterException', + ), + array( + 'reason' => 'You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that Support Server Name Indication (SNI).', + 'class' => 'InvalidProtocolSettingsException', + ), + array( + 'class' => 'InvalidTTLOrderException', + ), + array( + 'class' => 'InvalidWebACLIdException', + ), + array( + 'class' => 'TooManyOriginCustomHeadersException', + ), + ), + ), + 'DeleteDistribution' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2016-01-28/distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'DeleteDistribution2016_01_28Output', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'DistributionNotDisabledException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + ), + ), + 'GetDistribution' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetDistributionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'UpdateDistribution' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2016-01-28/distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'UpdateDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'DistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Origins' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'minItems' => 1, + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'properties' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + ), + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'required' => true, + 'type' => 'string', + ), + 'HeaderValue' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'properties' => array( + 'PathPattern' => array( + 'required' => true, + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'required' => true, + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Cookies' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'required' => true, + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'required' => true, + 'type' => 'string', + ), + 'MinTTL' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'required' => true, + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'properties' => array( + 'ErrorCode' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'IncludeCookies' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'GeoRestriction' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'required' => true, + 'type' => 'string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'reason' => 'Origin and CallerReference cannot be updated.', + 'class' => 'IllegalUpdateException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'reason' => 'Your request contains more CNAMEs than are allowed per distribution.', + 'class' => 'TooManyDistributionCNAMEsException', + ), + array( + 'reason' => 'The default root object file name is too big or contains an invalid character.', + 'class' => 'InvalidDefaultRootObjectException', + ), + array( + 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).', + 'class' => 'InvalidRelativePathException', + ), + array( + 'class' => 'InvalidErrorCodeException', + ), + array( + 'class' => 'InvalidResponseCodeException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'class' => 'InvalidViewerCertificateException', + ), + array( + 'class' => 'InvalidMinimumProtocolVersionException', + ), + array( + 'reason' => 'This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.', + 'class' => 'InvalidRequiredProtocolException', + ), + array( + 'reason' => 'No origin exists with the specified Origin Id.', + 'class' => 'NoSuchOriginException', + ), + array( + 'reason' => 'You cannot create anymore origins for the distribution.', + 'class' => 'TooManyOriginsException', + ), + array( + 'reason' => 'You cannot create anymore cache behaviors for the distribution.', + 'class' => 'TooManyCacheBehaviorsException', + ), + array( + 'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.', + 'class' => 'TooManyCookieNamesInWhiteListException', + ), + array( + 'reason' => 'Your request contains forward cookies option which doesn\'t match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.', + 'class' => 'InvalidForwardCookiesException', + ), + array( + 'class' => 'TooManyHeadersInForwardedValuesException', + ), + array( + 'class' => 'InvalidHeadersForS3OriginException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + array( + 'reason' => 'You cannot create anymore custom ssl certificates.', + 'class' => 'TooManyCertificatesException', + ), + array( + 'class' => 'InvalidLocationCodeException', + ), + array( + 'class' => 'InvalidGeoRestrictionParameterException', + ), + array( + 'class' => 'InvalidTTLOrderException', + ), + array( + 'class' => 'InvalidWebACLIdException', + ), + array( + 'class' => 'TooManyOriginCustomHeadersException', + ), + ), + ), + 'GetDistributionConfig' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetDistributionConfigResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'ListDistributions' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListDistributionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + ), + ), + 'ListDistributionsByWebACLId' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/distributionsByWebACLId/{WebACLId}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListDistributionsByWebACLIdResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'WebACLId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'class' => 'InvalidWebACLIdException', + ), + ), + ), + 'CreateCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'POST', + 'uri' => '/2016-01-28/origin-access-identity/cloudfront', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'CloudFrontOriginAccessIdentityConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => '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.', + 'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'Processing your request would cause you to exceed the maximum number of origin access identities allowed.', + 'class' => 'TooManyCloudFrontOriginAccessIdentitiesException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'DeleteCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2016-01-28/origin-access-identity/cloudfront/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2016_01_28Output', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'class' => 'CloudFrontOriginAccessIdentityInUseException', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/origin-access-identity/cloudfront/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetCloudFrontOriginAccessIdentityResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentityConfig' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/origin-access-identity/cloudfront/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'UpdateCloudFrontOriginAccessIdentity' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2016-01-28/origin-access-identity/cloudfront/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'CloudFrontOriginAccessIdentityConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'Origin and CallerReference cannot be updated.', + 'class' => 'IllegalUpdateException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The specified origin access identity does not exist.', + 'class' => 'NoSuchCloudFrontOriginAccessIdentityException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'ListCloudFrontOriginAccessIdentities' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/origin-access-identity/cloudfront', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + ), + ), + 'CreateStreamingDistribution' => array( + 'httpMethod' => 'POST', + 'uri' => '/2016-01-28/streaming-distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateStreamingDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'StreamingDistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'S3Origin' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'class' => 'StreamingDistributionAlreadyExistsException', + ), + array( + 'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.', + 'class' => 'InvalidOriginException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'class' => 'TooManyStreamingDistributionCNAMEsException', + ), + array( + 'reason' => 'Processing your request would cause you to exceed the maximum number of streaming distributions allowed.', + 'class' => 'TooManyStreamingDistributionsException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'DeleteStreamingDistribution' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2016-01-28/streaming-distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'DeleteStreamingDistribution2016_01_28Output', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'StreamingDistributionNotDisabledException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + ), + ), + 'GetStreamingDistribution' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/streaming-distribution/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetStreamingDistributionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'UpdateStreamingDistribution' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2016-01-28/streaming-distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'UpdateStreamingDistributionResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'StreamingDistributionConfig', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'S3Origin' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'DomainName' => array( + 'required' => true, + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + ), + ), + ), + ), + 'Comment' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'IfMatch' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'If-Match', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'class' => 'CNAMEAlreadyExistsException', + ), + array( + 'reason' => 'Origin and CallerReference cannot be updated.', + 'class' => 'IllegalUpdateException', + ), + array( + 'reason' => 'The If-Match version is missing or not valid for the distribution.', + 'class' => 'InvalidIfMatchVersionException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.', + 'class' => 'PreconditionFailedException', + ), + array( + 'class' => 'TooManyStreamingDistributionCNAMEsException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The origin access identity is not valid or doesn\'t exist.', + 'class' => 'InvalidOriginAccessIdentityException', + ), + array( + 'reason' => 'Your request contains more trusted signers than are allowed per distribution.', + 'class' => 'TooManyTrustedSignersException', + ), + array( + 'reason' => 'One or more of your trusted signers do not exist.', + 'class' => 'TrustedSignerDoesNotExistException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'GetStreamingDistributionConfig' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/streaming-distribution/{Id}/config', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetStreamingDistributionConfigResult', + 'responseType' => 'model', + 'parameters' => array( + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified streaming distribution does not exist.', + 'class' => 'NoSuchStreamingDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'ListStreamingDistributions' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/streaming-distribution', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListStreamingDistributionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + ), + ), + 'CreateInvalidation' => array( + 'httpMethod' => 'POST', + 'uri' => '/2016-01-28/distribution/{DistributionId}/invalidation', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'CreateInvalidationResult', + 'responseType' => 'model', + 'data' => array( + 'xmlRoot' => array( + 'name' => 'InvalidationBatch', + 'namespaces' => array( + 'http://cloudfront.amazonaws.com/doc/2016-01-28/', + ), + ), + ), + 'parameters' => array( + 'DistributionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'Paths' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Path', + 'type' => 'string', + ), + ), + ), + ), + 'CallerReference' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'xml', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + array( + 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.', + 'class' => 'MissingBodyException', + ), + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'class' => 'BatchTooLargeException', + ), + array( + 'reason' => 'You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.', + 'class' => 'TooManyInvalidationsInProgressException', + ), + array( + 'reason' => 'The value of Quantity and the size of Items do not match.', + 'class' => 'InconsistentQuantitiesException', + ), + ), + ), + 'GetInvalidation' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/distribution/{DistributionId}/invalidation/{Id}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'GetInvalidationResult', + 'responseType' => 'model', + 'parameters' => array( + 'DistributionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'Id' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified invalidation does not exist.', + 'class' => 'NoSuchInvalidationException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + 'ListInvalidations' => array( + 'httpMethod' => 'GET', + 'uri' => '/2016-01-28/distribution/{DistributionId}/invalidation', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListInvalidationsResult', + 'responseType' => 'model', + 'parameters' => array( + 'DistributionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The argument is invalid.', + 'class' => 'InvalidArgumentException', + ), + array( + 'reason' => 'The specified distribution does not exist.', + 'class' => 'NoSuchDistributionException', + ), + array( + 'reason' => 'Access denied.', + 'class' => 'AccessDeniedException', + ), + ), + ), + ), + 'models' => array( + 'CreateDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InProgressInvalidationBatches' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'sentAs' => 'OriginCustomHeader', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + 'sentAs' => 'SslProtocol', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'DeleteDistribution2016_01_28Output' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InProgressInvalidationBatches' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'sentAs' => 'OriginCustomHeader', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + 'sentAs' => 'SslProtocol', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'UpdateDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InProgressInvalidationBatches' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'sentAs' => 'OriginCustomHeader', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + 'sentAs' => 'SslProtocol', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetDistributionConfigResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'DefaultRootObject' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Origins' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'sentAs' => 'OriginCustomHeader', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + 'sentAs' => 'SslProtocol', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'IncludeCookies' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListDistributionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'DistributionSummary', + 'type' => 'object', + 'sentAs' => 'DistributionSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'sentAs' => 'OriginCustomHeader', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + 'sentAs' => 'SslProtocol', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListDistributionsByWebACLIdResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'DistributionSummary', + 'type' => 'object', + 'sentAs' => 'DistributionSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Origins' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Origin', + 'type' => 'object', + 'sentAs' => 'Origin', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginPath' => array( + 'type' => 'string', + ), + 'CustomHeaders' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'OriginCustomHeader', + 'type' => 'object', + 'sentAs' => 'OriginCustomHeader', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'S3OriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'CustomOriginConfig' => array( + 'type' => 'object', + 'properties' => array( + 'HTTPPort' => array( + 'type' => 'numeric', + ), + 'HTTPSPort' => array( + 'type' => 'numeric', + ), + 'OriginProtocolPolicy' => array( + 'type' => 'string', + ), + 'OriginSslProtocols' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SslProtocol', + 'type' => 'string', + 'sentAs' => 'SslProtocol', + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DefaultCacheBehavior' => array( + 'type' => 'object', + 'properties' => array( + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + 'CacheBehaviors' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CacheBehavior', + 'type' => 'object', + 'sentAs' => 'CacheBehavior', + 'properties' => array( + 'PathPattern' => array( + 'type' => 'string', + ), + 'TargetOriginId' => array( + 'type' => 'string', + ), + 'ForwardedValues' => array( + 'type' => 'object', + 'properties' => array( + 'QueryString' => array( + 'type' => 'boolean', + ), + 'Cookies' => array( + 'type' => 'object', + 'properties' => array( + 'Forward' => array( + 'type' => 'string', + ), + 'WhitelistedNames' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'Headers' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Name', + 'type' => 'string', + 'sentAs' => 'Name', + ), + ), + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'ViewerProtocolPolicy' => array( + 'type' => 'string', + ), + 'MinTTL' => array( + 'type' => 'numeric', + ), + 'AllowedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + 'CachedMethods' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Method', + 'type' => 'string', + 'sentAs' => 'Method', + ), + ), + ), + ), + ), + ), + 'SmoothStreaming' => array( + 'type' => 'boolean', + ), + 'DefaultTTL' => array( + 'type' => 'numeric', + ), + 'MaxTTL' => array( + 'type' => 'numeric', + ), + 'Compress' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'CustomErrorResponses' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CustomErrorResponse', + 'type' => 'object', + 'sentAs' => 'CustomErrorResponse', + 'properties' => array( + 'ErrorCode' => array( + 'type' => 'numeric', + ), + 'ResponsePagePath' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'string', + ), + 'ErrorCachingMinTTL' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'ViewerCertificate' => array( + 'type' => 'object', + 'properties' => array( + 'Certificate' => array( + 'type' => 'string', + ), + 'CertificateSource' => array( + 'type' => 'string', + ), + 'SSLSupportMethod' => array( + 'type' => 'string', + ), + 'MinimumProtocolVersion' => array( + 'type' => 'string', + ), + 'IAMCertificateId' => array( + 'type' => 'string', + ), + 'CloudFrontDefaultCertificate' => array( + 'type' => 'boolean', + ), + ), + ), + 'Restrictions' => array( + 'type' => 'object', + 'properties' => array( + 'GeoRestriction' => array( + 'type' => 'object', + 'properties' => array( + 'RestrictionType' => array( + 'type' => 'string', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Location', + 'type' => 'string', + 'sentAs' => 'Location', + ), + ), + ), + ), + ), + ), + 'WebACLId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'CreateCloudFrontOriginAccessIdentityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CloudFrontOriginAccessIdentityConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'DeleteCloudFrontOriginAccessIdentity2016_01_28Output' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CloudFrontOriginAccessIdentityConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetCloudFrontOriginAccessIdentityConfigResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'UpdateCloudFrontOriginAccessIdentityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CloudFrontOriginAccessIdentityConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListCloudFrontOriginAccessIdentitiesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'CloudFrontOriginAccessIdentitySummary', + 'type' => 'object', + 'sentAs' => 'CloudFrontOriginAccessIdentitySummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'S3CanonicalUserId' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'CreateStreamingDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'StreamingDistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'DeleteStreamingDistribution2016_01_28Output' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetStreamingDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'StreamingDistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'UpdateStreamingDistributionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DomainName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'ActiveTrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Signer', + 'type' => 'object', + 'sentAs' => 'Signer', + 'properties' => array( + 'AwsAccountNumber' => array( + 'type' => 'string', + ), + 'KeyPairIds' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'KeyPairId', + 'type' => 'string', + 'sentAs' => 'KeyPairId', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'StreamingDistributionConfig' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'Logging' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetStreamingDistributionConfigResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CallerReference' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'S3Origin' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Logging' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'PriceClass' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Enabled' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'ETag' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListStreamingDistributionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'StreamingDistributionSummary', + 'type' => 'object', + 'sentAs' => 'StreamingDistributionSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'LastModifiedTime' => array( + 'type' => 'string', + ), + 'DomainName' => array( + 'type' => 'string', + ), + 'S3Origin' => array( + 'type' => 'object', + 'properties' => array( + 'DomainName' => array( + 'type' => 'string', + ), + 'OriginAccessIdentity' => array( + 'type' => 'string', + ), + ), + ), + 'Aliases' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CNAME', + 'type' => 'string', + 'sentAs' => 'CNAME', + ), + ), + ), + ), + 'TrustedSigners' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + ), + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AwsAccountNumber', + 'type' => 'string', + 'sentAs' => 'AwsAccountNumber', + ), + ), + ), + ), + 'Comment' => array( + 'type' => 'string', + ), + 'PriceClass' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'CreateInvalidationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Location' => array( + 'type' => 'string', + 'location' => 'header', + ), + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CreateTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InvalidationBatch' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Paths' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Path', + 'type' => 'string', + 'sentAs' => 'Path', + ), + ), + ), + ), + 'CallerReference' => array( + 'type' => 'string', + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'GetInvalidationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Id' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'CreateTime' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'InvalidationBatch' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Paths' => array( + 'type' => 'object', + 'properties' => array( + 'Quantity' => array( + 'type' => 'numeric', + ), + 'Items' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Path', + 'type' => 'string', + 'sentAs' => 'Path', + ), + ), + ), + ), + 'CallerReference' => array( + 'type' => 'string', + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + 'ListInvalidationsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Quantity' => array( + 'type' => 'numeric', + 'location' => 'xml', + ), + 'Items' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'InvalidationSummary', + 'type' => 'object', + 'sentAs' => 'InvalidationSummary', + 'properties' => array( + 'Id' => array( + 'type' => 'string', + ), + 'CreateTime' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), + ), + 'iterators' => array( + 'ListCloudFrontOriginAccessIdentities' => array( + 'input_token' => 'Marker', + 'output_token' => 'CloudFrontOriginAccessIdentityList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'CloudFrontOriginAccessIdentityList/IsTruncated', + 'result_key' => 'CloudFrontOriginAccessIdentityList/Items', + ), + 'ListDistributions' => array( + 'input_token' => 'Marker', + 'output_token' => 'DistributionList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'DistributionList/IsTruncated', + 'result_key' => 'DistributionList/Items', + ), + 'ListInvalidations' => array( + 'input_token' => 'Marker', + 'output_token' => 'InvalidationList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'InvalidationList/IsTruncated', + 'result_key' => 'InvalidationList/Items', + ), + 'ListStreamingDistributions' => array( + 'input_token' => 'Marker', + 'output_token' => 'StreamingDistributionList/NextMarker', + 'limit_key' => 'MaxItems', + 'more_results' => 'StreamingDistributionList/IsTruncated', + 'result_key' => 'StreamingDistributionList/Items', + ), + ), + 'waiters' => array( + '__default__' => array( + 'success.type' => 'output', + 'success.path' => 'Status', + ), + 'StreamingDistributionDeployed' => array( + 'operation' => 'GetStreamingDistribution', + 'interval' => 60, + 'max_attempts' => 25, + 'success.value' => 'Deployed', + ), + 'DistributionDeployed' => array( + 'operation' => 'GetDistribution', + 'interval' => 60, + 'max_attempts' => 25, + 'success.value' => 'Deployed', + ), + 'InvalidationCompleted' => array( + 'operation' => 'GetInvalidation', + 'interval' => 20, + 'max_attempts' => 30, + 'success.value' => 'Completed', + ), + ), +); diff --git a/vendor/aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php b/vendor/aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php index 00c5099..70ea6b6 100644 --- a/vendor/aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php +++ b/vendor/aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php @@ -170,7 +170,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 600, - 'maxLength' => 2400, ), ), 'errorResponses' => array( @@ -809,7 +808,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 600, - 'maxLength' => 2400, ), ), 'errorResponses' => array( diff --git a/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php b/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php index a6ffa61..4da1c0d 100644 --- a/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php +++ b/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php @@ -72,7 +72,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -112,7 +111,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'IndexField' => array( 'required' => true, @@ -123,7 +121,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'IndexFieldType' => array( 'required' => true, @@ -142,7 +139,6 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SearchEnabled' => array( 'type' => 'boolean', @@ -163,7 +159,6 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'FacetEnabled' => array( 'type' => 'boolean', @@ -176,7 +171,6 @@ 'TextProcessor' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -198,11 +192,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -213,11 +205,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'Separator' => array( 'type' => 'string', @@ -234,18 +224,15 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'Cases' => array( 'type' => 'object', 'sentAs' => 'Cases.entry', 'additionalProperties' => array( 'type' => 'string', - 'maxLength' => 1024, 'data' => array( 'shape_name' => 'FieldValue', ), @@ -304,7 +291,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'RankExpression' => array( 'required' => true, @@ -315,13 +301,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'RankExpression' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 10240, ), ), ), @@ -371,7 +355,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -407,14 +390,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'IndexFieldName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -458,14 +439,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'RankName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -509,7 +488,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -552,7 +530,6 @@ 'name' => 'DomainName', 'type' => 'string', 'minLength' => 3, - 'maxLength' => 28, ), ), ), @@ -589,7 +566,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'FieldNames' => array( 'type' => 'array', @@ -599,7 +575,6 @@ 'name' => 'FieldName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -640,7 +615,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'RankNames' => array( 'type' => 'array', @@ -650,7 +624,6 @@ 'name' => 'FieldName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -691,7 +664,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -731,7 +703,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -771,7 +742,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -811,7 +781,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -851,7 +820,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -891,7 +859,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'DefaultSearchField' => array( 'required' => true, @@ -940,7 +907,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'AccessPolicies' => array( 'required' => true, @@ -993,7 +959,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Stems' => array( 'required' => true, @@ -1046,7 +1011,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Stopwords' => array( 'required' => true, @@ -1099,7 +1063,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Synonyms' => array( 'required' => true, diff --git a/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php b/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php index 601e811..2ea98b7 100644 --- a/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php +++ b/vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php @@ -87,7 +87,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -127,7 +126,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -167,7 +165,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'AnalysisScheme' => array( 'required' => true, @@ -178,7 +175,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'AnalysisSchemeLanguage' => array( 'required' => true, @@ -252,7 +248,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Expression' => array( 'required' => true, @@ -263,13 +258,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'ExpressionValue' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 10240, ), ), ), @@ -319,7 +312,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'IndexField' => array( 'required' => true, @@ -330,7 +322,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'IndexFieldType' => array( 'required' => true, @@ -345,7 +336,6 @@ 'SourceField' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'FacetEnabled' => array( 'type' => 'boolean', @@ -374,7 +364,6 @@ 'SourceField' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'FacetEnabled' => array( 'type' => 'boolean', @@ -399,12 +388,10 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceField' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'FacetEnabled' => array( 'type' => 'boolean', @@ -429,12 +416,10 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceField' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'ReturnEnabled' => array( 'type' => 'boolean', @@ -458,12 +443,10 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceField' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'FacetEnabled' => array( 'type' => 'boolean', @@ -488,12 +471,10 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceField' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'FacetEnabled' => array( 'type' => 'boolean', @@ -564,7 +545,6 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceFields' => array( 'type' => 'string', @@ -588,7 +568,6 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceFields' => array( 'type' => 'string', @@ -611,7 +590,6 @@ 'properties' => array( 'DefaultValue' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'SourceFields' => array( 'type' => 'string', @@ -678,7 +656,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Suggester' => array( 'required' => true, @@ -689,7 +666,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'DocumentSuggesterOptions' => array( 'required' => true, @@ -699,7 +675,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'FuzzyMatching' => array( 'type' => 'string', @@ -757,14 +732,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'AnalysisSchemeName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -808,7 +781,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -844,14 +816,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'ExpressionName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -895,14 +865,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'IndexFieldName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -946,14 +914,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'SuggesterName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -997,7 +963,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'AnalysisSchemeNames' => array( 'type' => 'array', @@ -1007,7 +972,6 @@ 'name' => 'StandardName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), 'Deployed' => array( @@ -1053,7 +1017,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Deployed' => array( 'type' => 'boolean', @@ -1113,7 +1076,6 @@ 'name' => 'DomainName', 'type' => 'string', 'minLength' => 3, - 'maxLength' => 28, ), ), ), @@ -1150,7 +1112,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'ExpressionNames' => array( 'type' => 'array', @@ -1160,7 +1121,6 @@ 'name' => 'StandardName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), 'Deployed' => array( @@ -1206,7 +1166,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'FieldNames' => array( 'type' => 'array', @@ -1216,7 +1175,6 @@ 'name' => 'DynamicFieldName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), 'Deployed' => array( @@ -1262,7 +1220,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -1302,7 +1259,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'Deployed' => array( 'type' => 'boolean', @@ -1347,7 +1303,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'SuggesterNames' => array( 'type' => 'array', @@ -1357,7 +1312,6 @@ 'name' => 'StandardName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), 'Deployed' => array( @@ -1403,7 +1357,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), ), 'errorResponses' => array( @@ -1468,7 +1421,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'MultiAZ' => array( 'required' => true, @@ -1526,7 +1478,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'ScalingParameters' => array( 'required' => true, @@ -1590,7 +1541,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 28, ), 'AccessPolicies' => array( 'required' => true, diff --git a/vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClientBuilder.php b/vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClientBuilder.php index 9de513c..f146f00 100644 --- a/vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClientBuilder.php +++ b/vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClientBuilder.php @@ -69,9 +69,11 @@ public function build() // Resolve backoff strategy $backoff = $config->get(Options::BACKOFF); if ($backoff === null) { + $retries = isset($config[Options::BACKOFF_RETRIES]) ? $config[Options::BACKOFF_RETRIES] : 3; + $backoff = new BackoffPlugin( - // Retry failed requests up to 3 times if it is determined that the request can be retried - new TruncatedBackoffStrategy(3, + // Retry failed requests up to 3 (or configured) times if it is determined that the request can be retried + new TruncatedBackoffStrategy($retries, // Retry failed requests with 400-level responses due to throttling new ThrottlingErrorChecker($exceptionParser, // Retry failed requests due to transient network or cURL problems diff --git a/vendor/aws/Aws/CloudTrail/CloudTrailClient.php b/vendor/aws/Aws/CloudTrail/CloudTrailClient.php index efa3dc3..80c2ea8 100644 --- a/vendor/aws/Aws/CloudTrail/CloudTrailClient.php +++ b/vendor/aws/Aws/CloudTrail/CloudTrailClient.php @@ -27,11 +27,15 @@ /** * Client to interact with AWS CloudTrail * + * @method Model addTags(array $args = array()) {@command CloudTrail AddTags} * @method Model createTrail(array $args = array()) {@command CloudTrail CreateTrail} * @method Model deleteTrail(array $args = array()) {@command CloudTrail DeleteTrail} * @method Model describeTrails(array $args = array()) {@command CloudTrail DescribeTrails} * @method Model getTrailStatus(array $args = array()) {@command CloudTrail GetTrailStatus} + * @method Model listPublicKeys(array $args = array()) {@command CloudTrail ListPublicKeys} + * @method Model listTags(array $args = array()) {@command CloudTrail ListTags} * @method Model lookupEvents(array $args = array()) {@command CloudTrail LookupEvents} + * @method Model removeTags(array $args = array()) {@command CloudTrail RemoveTags} * @method Model startLogging(array $args = array()) {@command CloudTrail StartLogging} * @method Model stopLogging(array $args = array()) {@command CloudTrail StopLogging} * @method Model updateTrail(array $args = array()) {@command CloudTrail UpdateTrail} diff --git a/vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php b/vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php index b354503..0971f6e 100644 --- a/vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php +++ b/vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php @@ -67,6 +67,85 @@ ), ), 'operations' => array( + 'AddTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.AddTags', + ), + 'ResourceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'TagsList' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'required' => true, + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'This exception is thrown when the specified resource is not found.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'This exception is thrown when an operation is called with an invalid trail ARN. The format of a trail ARN is arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.', + 'class' => 'CloudTrailARNInvalidException', + ), + array( + 'reason' => 'This exception is thrown when the specified resource type is not supported by CloudTrail.', + 'class' => 'ResourceTypeNotSupportedException', + ), + array( + 'reason' => 'The number of tags per trail has exceeded the permitted amount. Currently, the limit is 10.', + 'class' => 'TagsLimitExceededException', + ), + array( + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', + 'class' => 'InvalidTrailNameException', + ), + array( + 'reason' => 'This exception is thrown when the key or value specified for the tag does not match the regular expression ^([\\\\p_.:/=+\\\\-@]*)$.', + 'class' => 'InvalidTagParameterException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), + ), + ), 'CreateTrail' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -111,6 +190,11 @@ 'format' => 'boolean-string', 'location' => 'json', ), + 'EnableLogFileValidation' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'json', + ), 'CloudWatchLogsLogGroupArn' => array( 'type' => 'string', 'location' => 'json', @@ -119,6 +203,10 @@ 'type' => 'string', 'location' => 'json', ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'json', + ), ), 'errorResponses' => array( array( @@ -141,6 +229,10 @@ 'reason' => 'This exception is thrown when the policy on the SNS topic is not sufficient.', 'class' => 'InsufficientSnsTopicPolicyException', ), + array( + 'reason' => 'This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.', + 'class' => 'InsufficientEncryptionPolicyException', + ), array( 'reason' => 'This exception is thrown when the provided S3 bucket name is not valid.', 'class' => 'InvalidS3BucketNameException', @@ -154,9 +246,25 @@ 'class' => 'InvalidSnsTopicNameException', ), array( - 'reason' => 'This exception is thrown when the provided trail name is not valid.', + 'reason' => 'This exception is thrown when the KMS key ARN is invalid.', + 'class' => 'InvalidKmsKeyIdException', + ), + array( + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', 'class' => 'InvalidTrailNameException', ), + array( + 'reason' => 'This exception is deprecated.', + 'class' => 'TrailNotProvidedException', + ), + array( + 'reason' => 'This exception is thrown when the KMS key does not exist, or when the S3 bucket and the KMS key are not in the same region.', + 'class' => 'KmsKeyNotFoundException', + ), + array( + 'reason' => 'This exception is thrown when the KMS key is disabled.', + 'class' => 'KmsKeyDisabledException', + ), array( 'reason' => 'This exception is thrown when the provided CloudWatch log group is not valid.', 'class' => 'InvalidCloudWatchLogsLogGroupArnException', @@ -169,6 +277,14 @@ 'reason' => 'Cannot set a CloudWatch Logs delivery for this region.', 'class' => 'CloudWatchLogsDeliveryUnavailableException', ), + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), ), ), 'DeleteTrail' => array( @@ -204,7 +320,7 @@ 'class' => 'TrailNotFoundException', ), array( - 'reason' => 'This exception is thrown when the provided trail name is not valid.', + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', 'class' => 'InvalidTrailNameException', ), ), @@ -239,6 +355,16 @@ ), ), ), + 'errorResponses' => array( + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), + ), ), 'GetTrailStatus' => array( 'httpMethod' => 'POST', @@ -273,9 +399,138 @@ 'class' => 'TrailNotFoundException', ), array( - 'reason' => 'This exception is thrown when the provided trail name is not valid.', + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', + 'class' => 'InvalidTrailNameException', + ), + ), + ), + 'ListPublicKeys' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ListPublicKeysResponse', + 'responseType' => 'model', + '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' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.ListPublicKeys', + ), + 'StartTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'json', + ), + 'EndTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'json', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Occurs if the timestamp values are invalid. Either the start time occurs after the end time or the time range is outside the range of possible values.', + 'class' => 'InvalidTimeRangeException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), + array( + 'reason' => 'Reserved for future use.', + 'class' => 'InvalidTokenException', + ), + ), + ), + 'ListTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ListTagsResponse', + 'responseType' => 'model', + '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' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.ListTags', + ), + 'ResourceIdList' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'This exception is thrown when the specified resource is not found.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'This exception is thrown when an operation is called with an invalid trail ARN. The format of a trail ARN is arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.', + 'class' => 'CloudTrailARNInvalidException', + ), + array( + 'reason' => 'This exception is thrown when the specified resource type is not supported by CloudTrail.', + 'class' => 'ResourceTypeNotSupportedException', + ), + array( + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', 'class' => 'InvalidTrailNameException', ), + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), + array( + 'reason' => 'Reserved for future use.', + 'class' => 'InvalidTokenException', + ), ), ), 'LookupEvents' => array( @@ -365,6 +620,81 @@ ), ), ), + 'RemoveTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.RemoveTags', + ), + 'ResourceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'TagsList' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'required' => true, + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'This exception is thrown when the specified resource is not found.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'This exception is thrown when an operation is called with an invalid trail ARN. The format of a trail ARN is arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.', + 'class' => 'CloudTrailARNInvalidException', + ), + array( + 'reason' => 'This exception is thrown when the specified resource type is not supported by CloudTrail.', + 'class' => 'ResourceTypeNotSupportedException', + ), + array( + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', + 'class' => 'InvalidTrailNameException', + ), + array( + 'reason' => 'This exception is thrown when the key or value specified for the tag does not match the regular expression ^([\\\\p_.:/=+\\\\-@]*)$.', + 'class' => 'InvalidTagParameterException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), + ), + ), 'StartLogging' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -398,7 +728,7 @@ 'class' => 'TrailNotFoundException', ), array( - 'reason' => 'This exception is thrown when the provided trail name is not valid.', + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', 'class' => 'InvalidTrailNameException', ), ), @@ -436,7 +766,7 @@ 'class' => 'TrailNotFoundException', ), array( - 'reason' => 'This exception is thrown when the provided trail name is not valid.', + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', 'class' => 'InvalidTrailNameException', ), ), @@ -484,6 +814,11 @@ 'format' => 'boolean-string', 'location' => 'json', ), + 'EnableLogFileValidation' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'json', + ), 'CloudWatchLogsLogGroupArn' => array( 'type' => 'string', 'location' => 'json', @@ -492,6 +827,10 @@ 'type' => 'string', 'location' => 'json', ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'json', + ), ), 'errorResponses' => array( array( @@ -506,6 +845,10 @@ 'reason' => 'This exception is thrown when the policy on the SNS topic is not sufficient.', 'class' => 'InsufficientSnsTopicPolicyException', ), + array( + 'reason' => 'This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.', + 'class' => 'InsufficientEncryptionPolicyException', + ), array( 'reason' => 'This exception is thrown when the trail with the given name is not found.', 'class' => 'TrailNotFoundException', @@ -523,9 +866,25 @@ 'class' => 'InvalidSnsTopicNameException', ), array( - 'reason' => 'This exception is thrown when the provided trail name is not valid.', + 'reason' => 'This exception is thrown when the KMS key ARN is invalid.', + 'class' => 'InvalidKmsKeyIdException', + ), + array( + 'reason' => 'This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid. Not be in IP address format (for example, 192.168.5.4)', 'class' => 'InvalidTrailNameException', ), + array( + 'reason' => 'This exception is deprecated.', + 'class' => 'TrailNotProvidedException', + ), + array( + 'reason' => 'This exception is thrown when the KMS key does not exist, or when the S3 bucket and the KMS key are not in the same region.', + 'class' => 'KmsKeyNotFoundException', + ), + array( + 'reason' => 'This exception is thrown when the KMS key is disabled.', + 'class' => 'KmsKeyDisabledException', + ), array( 'reason' => 'This exception is thrown when the provided CloudWatch log group is not valid.', 'class' => 'InvalidCloudWatchLogsLogGroupArnException', @@ -538,10 +897,22 @@ 'reason' => 'Cannot set a CloudWatch Logs delivery for this region.', 'class' => 'CloudWatchLogsDeliveryUnavailableException', ), + array( + 'reason' => 'This exception is thrown when the requested operation is not supported. For example, this exception will occur if an attempt is made to tag a trail and tagging is not supported in the current region.', + 'class' => 'UnsupportedOperationException', + ), + array( + 'reason' => 'This exception is thrown when the requested operation is not permitted.', + 'class' => 'OperationNotPermittedException', + ), ), ), ), 'models' => array( + 'EmptyOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + ), 'CreateTrailResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -566,6 +937,14 @@ 'type' => 'boolean', 'location' => 'json', ), + 'TrailARN' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LogFileValidationEnabled' => array( + 'type' => 'boolean', + 'location' => 'json', + ), 'CloudWatchLogsLogGroupArn' => array( 'type' => 'string', 'location' => 'json', @@ -574,12 +953,12 @@ 'type' => 'string', 'location' => 'json', ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'json', + ), ), ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), 'DescribeTrailsResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -606,12 +985,21 @@ 'IncludeGlobalServiceEvents' => array( 'type' => 'boolean', ), + 'TrailARN' => array( + 'type' => 'string', + ), + 'LogFileValidationEnabled' => array( + 'type' => 'boolean', + ), 'CloudWatchLogsLogGroupArn' => array( 'type' => 'string', ), 'CloudWatchLogsRoleArn' => array( 'type' => 'string', ), + 'KmsKeyId' => array( + 'type' => 'string', + ), ), ), ), @@ -657,6 +1045,111 @@ 'type' => 'string', 'location' => 'json', ), + 'LatestDigestDeliveryTime' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LatestDigestDeliveryError' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LatestDeliveryAttemptTime' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LatestNotificationAttemptTime' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LatestNotificationAttemptSucceeded' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LatestDeliveryAttemptSucceeded' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'TimeLoggingStarted' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'TimeLoggingStopped' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'ListPublicKeysResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'PublicKeyList' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'PublicKey', + 'type' => 'object', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'filters' => array( + 'base64_decode', + ), + ), + 'ValidityStartTime' => array( + 'type' => 'string', + ), + 'ValidityEndTime' => array( + 'type' => 'string', + ), + 'Fingerprint' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'ListTagsResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ResourceTagList' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ResourceTag', + 'type' => 'object', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + ), + 'TagsList' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), ), ), 'LookupEventsResponse' => array( @@ -733,6 +1226,14 @@ 'type' => 'boolean', 'location' => 'json', ), + 'TrailARN' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'LogFileValidationEnabled' => array( + 'type' => 'boolean', + 'location' => 'json', + ), 'CloudWatchLogsLogGroupArn' => array( 'type' => 'string', 'location' => 'json', @@ -741,6 +1242,10 @@ 'type' => 'string', 'location' => 'json', ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'json', + ), ), ), ), diff --git a/vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php b/vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php index 9fae6c8..713d0b7 100644 --- a/vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php +++ b/vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php @@ -103,7 +103,6 @@ 'name' => 'AlarmName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -135,7 +134,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'HistoryItemType' => array( 'type' => 'string', @@ -203,14 +201,12 @@ 'name' => 'AlarmName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), 'AlarmNamePrefix' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'StateValue' => array( 'type' => 'string', @@ -220,7 +216,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 1024, ), 'MaxRecords' => array( 'type' => 'numeric', @@ -262,14 +257,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'Namespace' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'Statistic' => array( 'type' => 'string', @@ -288,13 +281,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Value' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -337,7 +328,6 @@ 'name' => 'AlarmName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -369,7 +359,6 @@ 'name' => 'AlarmName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -396,14 +385,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'MetricName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'Dimensions' => array( 'type' => 'array', @@ -418,13 +405,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Value' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -512,13 +497,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'MetricName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'Dimensions' => array( 'type' => 'array', @@ -533,12 +516,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Value' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -581,12 +562,10 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'AlarmDescription' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 255, ), 'ActionsEnabled' => array( 'type' => 'boolean', @@ -602,7 +581,6 @@ 'name' => 'ResourceName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'AlarmActions' => array( @@ -614,7 +592,6 @@ 'name' => 'ResourceName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'InsufficientDataActions' => array( @@ -626,7 +603,6 @@ 'name' => 'ResourceName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'MetricName' => array( @@ -634,14 +610,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'Namespace' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'Statistic' => array( 'required' => true, @@ -661,13 +635,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Value' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -728,7 +700,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'MetricData' => array( 'required' => true, @@ -743,7 +714,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Dimensions' => array( 'type' => 'array', @@ -757,13 +727,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Value' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -848,7 +816,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'StateValue' => array( 'required' => true, @@ -859,12 +826,10 @@ 'required' => true, 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 1023, ), 'StateReasonData' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 4000, ), ), 'errorResponses' => array( diff --git a/vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php b/vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php index 2dd082e..dd6aea7 100644 --- a/vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php +++ b/vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php @@ -12,6 +12,8 @@ /** * Client to interact with Amazon CloudWatch Logs * + * @method Model cancelExportTask(array $args = array()) {@command CloudWatchLogs CancelExportTask} + * @method Model createExportTask(array $args = array()) {@command CloudWatchLogs CreateExportTask} * @method Model createLogGroup(array $args = array()) {@command CloudWatchLogs CreateLogGroup} * @method Model createLogStream(array $args = array()) {@command CloudWatchLogs CreateLogStream} * @method Model deleteDestination(array $args = array()) {@command CloudWatchLogs DeleteDestination} @@ -21,6 +23,7 @@ * @method Model deleteRetentionPolicy(array $args = array()) {@command CloudWatchLogs DeleteRetentionPolicy} * @method Model deleteSubscriptionFilter(array $args = array()) {@command CloudWatchLogs DeleteSubscriptionFilter} * @method Model describeDestinations(array $args = array()) {@command CloudWatchLogs DescribeDestinations} + * @method Model describeExportTasks(array $args = array()) {@command CloudWatchLogs DescribeExportTasks} * @method Model describeLogGroups(array $args = array()) {@command CloudWatchLogs DescribeLogGroups} * @method Model describeLogStreams(array $args = array()) {@command CloudWatchLogs DescribeLogStreams} * @method Model describeMetricFilters(array $args = array()) {@command CloudWatchLogs DescribeMetricFilters} @@ -38,6 +41,8 @@ * @method ResourceIteratorInterface getDescribeLogGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeLogGroups operation * @method ResourceIteratorInterface getDescribeLogStreamsIterator(array $args = array()) The input array uses the parameters of the DescribeLogStreams operation * @method ResourceIteratorInterface getDescribeMetricFiltersIterator(array $args = array()) The input array uses the parameters of the DescribeMetricFilters operation + * @method ResourceIteratorInterface getDescribeSubscriptionFiltersIterator(array $args = array()) The input array uses the parameters of the DescribeSubscriptionFilters operation + * @method ResourceIteratorInterface getFilterLogEventsIterator(array $args = array()) The input array uses the parameters of the FilterLogEvents operation * @method ResourceIteratorInterface getGetLogEventsIterator(array $args = array()) The input array uses the parameters of the GetLogEvents operation * * @link http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-cloudwatchlogs.html User guide diff --git a/vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php b/vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php index 40938d2..37046c7 100644 --- a/vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php +++ b/vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php @@ -17,6 +17,138 @@ ), ), 'operations' => array( + 'CancelExportTask' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'Logs_20140328.CancelExportTask', + ), + 'taskId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Returned if a parameter of the request is incorrectly specified.', + 'class' => 'InvalidParameterException', + ), + array( + 'reason' => 'Returned if the specified resource does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'Returned if the operation is not valid on the specified resource', + 'class' => 'InvalidOperationException', + ), + array( + 'reason' => 'Returned if the service cannot complete the request.', + 'class' => 'ServiceUnavailableException', + ), + ), + ), + 'CreateExportTask' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'CreateExportTaskResponse', + 'responseType' => 'model', + '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' => 'Logs_20140328.CreateExportTask', + ), + 'taskName' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'logGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'logStreamNamePrefix' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'from' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'json', + ), + 'to' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'json', + ), + 'destination' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'destinationPrefix' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Returned if a parameter of the request is incorrectly specified.', + 'class' => 'InvalidParameterException', + ), + array( + 'reason' => 'Returned if you have reached the maximum number of resources that can be created.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'Returned if multiple requests to update the same resource were in conflict.', + 'class' => 'OperationAbortedException', + ), + array( + 'reason' => 'Returned if the service cannot complete the request.', + 'class' => 'ServiceUnavailableException', + ), + array( + 'reason' => 'Returned if the specified resource does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'Returned if the specified resource already exists.', + 'class' => 'ResourceAlreadyExistsException', + ), + ), + ), 'CreateLogGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -43,7 +175,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -95,14 +226,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logStreamName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -150,7 +279,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -198,7 +326,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -246,14 +373,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logStreamName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -301,14 +426,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -356,7 +479,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -404,14 +526,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -458,7 +578,59 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, + ), + 'nextToken' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'limit' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, + 'maximum' => 50, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Returned if a parameter of the request is incorrectly specified.', + 'class' => 'InvalidParameterException', + ), + array( + 'reason' => 'Returned if the service cannot complete the request.', + 'class' => 'ServiceUnavailableException', + ), + ), + ), + 'DescribeExportTasks' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeExportTasksResponse', + 'responseType' => 'model', + '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' => 'Logs_20140328.DescribeExportTasks', + ), + 'taskId' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'statusCode' => array( + 'type' => 'string', + 'location' => 'json', ), 'nextToken' => array( 'type' => 'string', @@ -508,7 +680,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'nextToken' => array( 'type' => 'string', @@ -559,13 +730,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logStreamNamePrefix' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'orderBy' => array( 'type' => 'string', @@ -629,13 +798,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterNamePrefix' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'nextToken' => array( 'type' => 'string', @@ -690,13 +857,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterNamePrefix' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'nextToken' => array( 'type' => 'string', @@ -751,7 +916,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logStreamNames' => array( 'type' => 'array', @@ -762,7 +926,6 @@ 'name' => 'LogStreamName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 512, ), ), 'startTime' => array( @@ -776,7 +939,6 @@ 'filterPattern' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 512, ), 'nextToken' => array( 'type' => 'string', @@ -836,14 +998,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logStreamName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'startTime' => array( 'type' => 'numeric', @@ -911,7 +1071,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'targetArn' => array( 'required' => true, @@ -967,7 +1126,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'accessPolicy' => array( 'required' => true, @@ -1017,14 +1175,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logStreamName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'logEvents' => array( 'required' => true, @@ -1105,20 +1261,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterPattern' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 512, ), 'metricTransformations' => array( 'required' => true, @@ -1133,17 +1286,14 @@ 'metricName' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 255, ), 'metricNamespace' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 255, ), 'metricValue' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 100, ), ), ), @@ -1198,7 +1348,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'retentionInDays' => array( 'required' => true, @@ -1251,20 +1400,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'filterPattern' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 512, ), 'destinationArn' => array( 'required' => true, @@ -1326,7 +1472,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 512, ), 'logEventMessages' => array( 'required' => true, @@ -1358,6 +1503,16 @@ 'type' => 'object', 'additionalProperties' => true, ), + 'CreateExportTaskResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'taskId' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'DescribeDestinationsResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1396,6 +1551,69 @@ ), ), ), + 'DescribeExportTasksResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'exportTasks' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ExportTask', + 'type' => 'object', + 'properties' => array( + 'taskId' => array( + 'type' => 'string', + ), + 'taskName' => array( + 'type' => 'string', + ), + 'logGroupName' => array( + 'type' => 'string', + ), + 'from' => array( + 'type' => 'numeric', + ), + 'to' => array( + 'type' => 'numeric', + ), + 'destination' => array( + 'type' => 'string', + ), + 'destinationPrefix' => array( + 'type' => 'string', + ), + 'status' => array( + 'type' => 'object', + 'properties' => array( + 'code' => array( + 'type' => 'string', + ), + 'message' => array( + 'type' => 'string', + ), + ), + ), + 'executionInfo' => array( + 'type' => 'object', + 'properties' => array( + 'creationTime' => array( + 'type' => 'numeric', + ), + 'completionTime' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'nextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'DescribeLogGroupsResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1756,6 +1974,21 @@ 'limit_key' => 'limit', 'result_key' => 'metricFilters', ), + 'DescribeSubscriptionFilters' => array( + 'input_token' => 'nextToken', + 'output_token' => 'nextToken', + 'limit_key' => 'limit', + 'result_key' => 'subscriptionFilters', + ), + 'FilterLogEvents' => array( + 'input_token' => 'nextToken', + 'output_token' => 'nextToken', + 'limit_key' => 'limit', + 'result_key' => array( + 'events', + 'searchedLogStreams', + ), + ), 'GetLogEvents' => array( 'input_token' => 'nextToken', 'output_token' => 'nextForwardToken', diff --git a/vendor/aws/Aws/CodeCommit/Resources/codecommit-2015-04-13.php b/vendor/aws/Aws/CodeCommit/Resources/codecommit-2015-04-13.php index e50d214..651b09b 100644 --- a/vendor/aws/Aws/CodeCommit/Resources/codecommit-2015-04-13.php +++ b/vendor/aws/Aws/CodeCommit/Resources/codecommit-2015-04-13.php @@ -40,7 +40,6 @@ 'name' => 'RepositoryName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -105,14 +104,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'branchName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'commitId' => array( 'required' => true, @@ -205,12 +202,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'repositoryDescription' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1000, ), ), 'errorResponses' => array( @@ -282,7 +277,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -341,13 +335,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'branchName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -423,7 +415,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -487,7 +478,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'nextToken' => array( 'type' => 'string', @@ -608,14 +598,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'defaultBranchName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -691,12 +679,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'repositoryDescription' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1000, ), ), 'errorResponses' => array( @@ -764,14 +750,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'newName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( diff --git a/vendor/aws/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php b/vendor/aws/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php index a913c7f..285555e 100644 --- a/vendor/aws/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php +++ b/vendor/aws/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php @@ -129,7 +129,6 @@ 'name' => 'ApplicationName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -256,7 +255,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -304,13 +302,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentGroupName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'revision' => array( 'type' => 'object', @@ -356,7 +352,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'description' => array( 'type' => 'string', @@ -445,7 +440,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'minimumHealthyHosts' => array( 'type' => 'object', @@ -505,20 +499,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentConfigName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'ec2TagFilters' => array( 'type' => 'array', @@ -657,7 +648,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -697,7 +687,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -745,14 +734,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -842,7 +829,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -886,7 +872,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'revision' => array( 'required' => true, @@ -1025,7 +1010,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -1069,14 +1053,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -1229,7 +1211,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'sortBy' => array( 'type' => 'string', @@ -1391,7 +1372,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'nextToken' => array( 'type' => 'string', @@ -1508,13 +1488,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentGroupName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'includeOnlyStatuses' => array( 'type' => 'array', @@ -1680,7 +1658,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'description' => array( 'type' => 'string', @@ -1960,13 +1937,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'newApplicationName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -2014,26 +1989,22 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'currentDeploymentGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'newDeploymentGroupName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'deploymentConfigName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'ec2TagFilters' => array( 'type' => 'array', diff --git a/vendor/aws/Aws/CodePipeline/Resources/codepipeline-2015-07-09.php b/vendor/aws/Aws/CodePipeline/Resources/codepipeline-2015-07-09.php index 283069b..d2827e2 100644 --- a/vendor/aws/Aws/CodePipeline/Resources/codepipeline-2015-07-09.php +++ b/vendor/aws/Aws/CodePipeline/Resources/codepipeline-2015-07-09.php @@ -84,7 +84,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'nonce' => array( 'required' => true, @@ -147,14 +146,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 25, ), 'version' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 9, ), 'settings' => array( 'type' => 'object', @@ -163,22 +160,18 @@ 'thirdPartyConfigurationUrl' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, ), 'entityUrlTemplate' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, ), 'executionUrlTemplate' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, ), 'revisionUrlTemplate' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, ), ), ), @@ -273,7 +266,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'roleArn' => array( 'required' => true, @@ -310,7 +302,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'blockers' => array( 'type' => 'array', @@ -335,7 +326,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'actionTypeId' => array( 'required' => true, @@ -353,13 +343,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 25, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 9, ), ), ), @@ -373,7 +361,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 250, 'data' => array( 'shape_name' => 'ActionConfigurationKey', ), @@ -389,7 +376,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -472,14 +458,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 25, ), 'version' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 9, ), ), 'errorResponses' => array( @@ -515,7 +499,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -551,14 +534,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'stageName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'transitionType' => array( 'required' => true, @@ -570,7 +551,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 300, ), ), 'errorResponses' => array( @@ -614,14 +594,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'stageName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'transitionType' => array( 'required' => true, @@ -708,7 +686,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'version' => array( 'type' => 'numeric', @@ -757,7 +734,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -797,7 +773,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'clientToken' => array( 'required' => true, @@ -936,13 +911,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 25, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 9, ), ), ), @@ -957,7 +930,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 20, 'data' => array( 'shape_name' => 'ActionConfigurationKey', ), @@ -1013,13 +985,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 25, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 9, ), ), ), @@ -1066,21 +1036,18 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'stageName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'actionName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'actionRevision' => array( 'required' => true, @@ -1279,7 +1246,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'clientToken' => array( 'required' => true, @@ -1342,7 +1308,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'clientToken' => array( 'required' => true, @@ -1429,7 +1394,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -1473,7 +1437,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'roleArn' => array( 'required' => true, @@ -1510,7 +1473,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'blockers' => array( 'type' => 'array', @@ -1535,7 +1497,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'actionTypeId' => array( 'required' => true, @@ -1553,13 +1514,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 25, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 9, ), ), ), @@ -1573,7 +1532,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 250, 'data' => array( 'shape_name' => 'ActionConfigurationKey', ), @@ -1589,7 +1547,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -1997,6 +1954,14 @@ 'continuationToken' => array( 'type' => 'string', ), + 'encryptionKey' => array( + 'type' => 'object', + 'properties' => array( + '' => array( + 'type' => 'object', + ), + ), + ), ), ), 'accountId' => array( @@ -2382,6 +2347,14 @@ 'continuationToken' => array( 'type' => 'string', ), + 'encryptionKey' => array( + 'type' => 'object', + 'properties' => array( + '' => array( + 'type' => 'object', + ), + ), + ), ), ), 'nonce' => array( @@ -2643,6 +2616,14 @@ 'continuationToken' => array( 'type' => 'string', ), + 'encryptionKey' => array( + 'type' => 'object', + 'properties' => array( + '' => array( + 'type' => 'object', + ), + ), + ), ), ), 'nonce' => array( diff --git a/vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php b/vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php index 63e435d..fa6a99d 100644 --- a/vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php +++ b/vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php @@ -50,7 +50,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'AllowUnauthenticatedIdentities' => array( 'required' => true, @@ -64,7 +63,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -75,7 +73,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'OpenIdConnectProviderARNs' => array( 'type' => 'array', @@ -84,7 +81,6 @@ 'name' => 'ARNString', 'type' => 'string', 'minLength' => 20, - 'maxLength' => 2048, ), ), ), @@ -146,7 +142,6 @@ 'name' => 'IdentityId', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 50, ), ), ), @@ -191,7 +186,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -243,7 +237,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -295,7 +288,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -347,7 +339,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'Logins' => array( 'type' => 'object', @@ -355,7 +346,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -423,14 +413,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 15, ), 'IdentityPoolId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'Logins' => array( 'type' => 'object', @@ -438,7 +426,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -507,7 +494,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -563,7 +549,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'Logins' => array( 'type' => 'object', @@ -571,7 +556,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -636,13 +620,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'Logins' => array( 'required' => true, @@ -651,7 +633,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -722,7 +703,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'MaxResults' => array( 'required' => true, @@ -844,19 +824,16 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'DeveloperUserIdentifier' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'MaxResults' => array( 'type' => 'numeric', @@ -923,28 +900,24 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'DestinationUserIdentifier' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'DeveloperProviderName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'IdentityPoolId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -1000,7 +973,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'Roles' => array( 'required' => true, @@ -1009,7 +981,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 20, - 'maxLength' => 2048, 'data' => array( 'shape_name' => 'RoleType', 'key_pattern' => '/(un)?authenticated/', @@ -1074,28 +1045,24 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityPoolId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'DeveloperProviderName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'DeveloperUserIdentifier' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1151,7 +1118,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'Logins' => array( 'required' => true, @@ -1160,7 +1126,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2048, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -1175,7 +1140,6 @@ 'name' => 'IdentityProviderName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), ), ), @@ -1236,14 +1200,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityPoolName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'AllowUnauthenticatedIdentities' => array( 'required' => true, @@ -1257,7 +1219,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, 'data' => array( 'shape_name' => 'IdentityProviderName', 'key_pattern' => '/[\\w._/-]+/', @@ -1268,7 +1229,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'OpenIdConnectProviderARNs' => array( 'type' => 'array', @@ -1277,7 +1237,6 @@ 'name' => 'ARNString', 'type' => 'string', 'minLength' => 20, - 'maxLength' => 2048, ), ), ), diff --git a/vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php b/vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php index ad3f84b..7e07391 100644 --- a/vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php +++ b/vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php @@ -35,7 +35,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -77,21 +76,18 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'DatasetName' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -133,21 +129,18 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'DatasetName' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -185,7 +178,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -223,14 +215,12 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -268,7 +258,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -302,7 +291,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -340,7 +328,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -378,14 +365,12 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'NextToken' => array( 'type' => 'string', @@ -466,21 +451,18 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'DatasetName' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 128, ), 'LastSyncCount' => array( 'type' => 'numeric', @@ -534,14 +516,12 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'Platform' => array( 'required' => true, @@ -592,7 +572,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'Events' => array( 'required' => true, @@ -641,7 +620,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'PushSync' => array( 'type' => 'object', @@ -657,7 +635,6 @@ 'RoleArn' => array( 'type' => 'string', 'minLength' => 20, - 'maxLength' => 2048, ), ), ), @@ -668,12 +645,10 @@ 'StreamName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'RoleArn' => array( 'type' => 'string', 'minLength' => 20, - 'maxLength' => 2048, ), 'StreamingStatus' => array( 'type' => 'string', @@ -720,28 +695,24 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'DatasetName' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 128, ), 'DeviceId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -782,28 +753,24 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'DatasetName' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 128, ), 'DeviceId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -844,27 +811,23 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'IdentityId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 50, ), 'DatasetName' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 128, ), 'DeviceId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'RecordPatches' => array( 'type' => 'array', @@ -881,11 +844,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 1048575, ), 'SyncCount' => array( 'required' => true, diff --git a/vendor/aws/Aws/Common/Aws.php b/vendor/aws/Aws/Common/Aws.php index 8f2f90d..d561054 100644 --- a/vendor/aws/Aws/Common/Aws.php +++ b/vendor/aws/Aws/Common/Aws.php @@ -28,7 +28,7 @@ class Aws extends ServiceBuilder /** * @var string Current version of the SDK */ - const VERSION = '2.8.18'; + const VERSION = '2.8.31'; /** * Create a new service locator for the AWS SDK diff --git a/vendor/aws/Aws/Common/Client/ClientBuilder.php b/vendor/aws/Aws/Common/Client/ClientBuilder.php index 34647e9..f706f49 100644 --- a/vendor/aws/Aws/Common/Client/ClientBuilder.php +++ b/vendor/aws/Aws/Common/Client/ClientBuilder.php @@ -235,7 +235,8 @@ public function build() // Resolve backoff strategy $backoff = $config->get(Options::BACKOFF); if ($backoff === null) { - $backoff = $this->createDefaultBackoff(); + $retries = isset($config[Options::BACKOFF_RETRIES]) ? $config[Options::BACKOFF_RETRIES] : 3; + $backoff = $this->createDefaultBackoff($retries); $config->set(Options::BACKOFF, $backoff); } @@ -489,11 +490,11 @@ private function handleEndpoint(Collection $config) } } - private function createDefaultBackoff() + private function createDefaultBackoff($retries = 3) { return new BackoffPlugin( // Retry failed requests up to 3 times if it is determined that the request can be retried - new TruncatedBackoffStrategy(3, + new TruncatedBackoffStrategy($retries, // Retry failed requests with 400-level responses due to throttling new ThrottlingErrorChecker($this->exceptionParser, // Retry failed requests due to transient network or cURL problems diff --git a/vendor/aws/Aws/Common/Credentials/AbstractRefreshableCredentials.php b/vendor/aws/Aws/Common/Credentials/AbstractRefreshableCredentials.php index 235bf9d..ebd957d 100644 --- a/vendor/aws/Aws/Common/Credentials/AbstractRefreshableCredentials.php +++ b/vendor/aws/Aws/Common/Credentials/AbstractRefreshableCredentials.php @@ -21,6 +21,25 @@ */ abstract class AbstractRefreshableCredentials extends AbstractCredentialsDecorator { + /** + * Get the underlying credentials, refreshing if necessary. + * + * @return Credentials + */ + public function getCredentials() + { + if ($this->credentials->isExpired()) { + $this->refresh(); + } + + return new Credentials( + $this->credentials->getAccessKeyId(), + $this->credentials->getSecretKey(), + $this->credentials->getSecurityToken(), + $this->credentials->getExpiration() + ); + } + /** * {@inheritdoc} */ diff --git a/vendor/aws/Aws/Common/Credentials/RefreshableInstanceProfileCredentials.php b/vendor/aws/Aws/Common/Credentials/RefreshableInstanceProfileCredentials.php index 7e67c6b..c4d8582 100644 --- a/vendor/aws/Aws/Common/Credentials/RefreshableInstanceProfileCredentials.php +++ b/vendor/aws/Aws/Common/Credentials/RefreshableInstanceProfileCredentials.php @@ -40,7 +40,7 @@ class RefreshableInstanceProfileCredentials extends AbstractRefreshableCredentia */ public function __construct(CredentialsInterface $credentials, InstanceMetadataClient $client = null) { - $this->credentials = $credentials; + parent::__construct($credentials); $this->setClient($client); } @@ -82,10 +82,10 @@ public function unserialize($value) protected function refresh() { $credentials = $this->client->getInstanceProfileCredentials(); - // Expire the token 30 minutes early to pre-fetch before expiring. + // Expire the token 5 minutes early to pre-fetch before expiring. $this->credentials->setAccessKeyId($credentials->getAccessKeyId()) ->setSecretKey($credentials->getSecretKey()) ->setSecurityToken($credentials->getSecurityToken()) - ->setExpiration($credentials->getExpiration() - 1800); + ->setExpiration($credentials->getExpiration() - 300); } } diff --git a/vendor/aws/Aws/Common/Enum/ClientOptions.php b/vendor/aws/Aws/Common/Enum/ClientOptions.php index 4048cfc..abc42f7 100644 --- a/vendor/aws/Aws/Common/Enum/ClientOptions.php +++ b/vendor/aws/Aws/Common/Enum/ClientOptions.php @@ -120,6 +120,11 @@ class ClientOptions extends Enum */ const BACKOFF = 'client.backoff'; + /** + * @var string Option key holding the exponential backoff retries + */ + const BACKOFF_RETRIES = 'client.backoff.retries'; + /** * @var string `Guzzle\Log\LogAdapterInterface` object used to log backoff retries. Use 'debug' to emit PHP * warnings when a retry is issued. diff --git a/vendor/aws/Aws/Common/Signature/SignatureListener.php b/vendor/aws/Aws/Common/Signature/SignatureListener.php index e53f367..17a5a56 100644 --- a/vendor/aws/Aws/Common/Signature/SignatureListener.php +++ b/vendor/aws/Aws/Common/Signature/SignatureListener.php @@ -16,6 +16,7 @@ namespace Aws\Common\Signature; +use Aws\Common\Credentials\AbstractRefreshableCredentials; use Aws\Common\Credentials\CredentialsInterface; use Aws\Common\Credentials\NullCredentials; use Guzzle\Common\Event; @@ -76,8 +77,12 @@ public function onCredentialsChanged(Event $event) */ public function onRequestBeforeSend(Event $event) { - if(!$this->credentials instanceof NullCredentials) { - $this->signature->signRequest($event['request'], $this->credentials); + $creds = $this->credentials instanceof AbstractRefreshableCredentials + ? $this->credentials->getCredentials() + : $this->credentials; + + if(!$creds instanceof NullCredentials) { + $this->signature->signRequest($event['request'], $creds); } } } diff --git a/vendor/aws/Aws/ConfigService/ConfigServiceClient.php b/vendor/aws/Aws/ConfigService/ConfigServiceClient.php index 84dce3e..96a7033 100644 --- a/vendor/aws/Aws/ConfigService/ConfigServiceClient.php +++ b/vendor/aws/Aws/ConfigService/ConfigServiceClient.php @@ -27,15 +27,27 @@ /** * Client to interact with AWS Config * + * @method Model deleteConfigRule(array $args = array()) {@command ConfigService DeleteConfigRule} * @method Model deleteDeliveryChannel(array $args = array()) {@command ConfigService DeleteDeliveryChannel} * @method Model deliverConfigSnapshot(array $args = array()) {@command ConfigService DeliverConfigSnapshot} + * @method Model describeComplianceByConfigRule(array $args = array()) {@command ConfigService DescribeComplianceByConfigRule} + * @method Model describeComplianceByResource(array $args = array()) {@command ConfigService DescribeComplianceByResource} + * @method Model describeConfigRuleEvaluationStatus(array $args = array()) {@command ConfigService DescribeConfigRuleEvaluationStatus} + * @method Model describeConfigRules(array $args = array()) {@command ConfigService DescribeConfigRules} * @method Model describeConfigurationRecorderStatus(array $args = array()) {@command ConfigService DescribeConfigurationRecorderStatus} * @method Model describeConfigurationRecorders(array $args = array()) {@command ConfigService DescribeConfigurationRecorders} * @method Model describeDeliveryChannelStatus(array $args = array()) {@command ConfigService DescribeDeliveryChannelStatus} * @method Model describeDeliveryChannels(array $args = array()) {@command ConfigService DescribeDeliveryChannels} + * @method Model getComplianceDetailsByConfigRule(array $args = array()) {@command ConfigService GetComplianceDetailsByConfigRule} + * @method Model getComplianceDetailsByResource(array $args = array()) {@command ConfigService GetComplianceDetailsByResource} + * @method Model getComplianceSummaryByConfigRule(array $args = array()) {@command ConfigService GetComplianceSummaryByConfigRule} + * @method Model getComplianceSummaryByResourceType(array $args = array()) {@command ConfigService GetComplianceSummaryByResourceType} * @method Model getResourceConfigHistory(array $args = array()) {@command ConfigService GetResourceConfigHistory} + * @method Model listDiscoveredResources(array $args = array()) {@command ConfigService ListDiscoveredResources} + * @method Model putConfigRule(array $args = array()) {@command ConfigService PutConfigRule} * @method Model putConfigurationRecorder(array $args = array()) {@command ConfigService PutConfigurationRecorder} * @method Model putDeliveryChannel(array $args = array()) {@command ConfigService PutDeliveryChannel} + * @method Model putEvaluations(array $args = array()) {@command ConfigService PutEvaluations} * @method Model startConfigurationRecorder(array $args = array()) {@command ConfigService StartConfigurationRecorder} * @method Model stopConfigurationRecorder(array $args = array()) {@command ConfigService StopConfigurationRecorder} * @method ResourceIteratorInterface getGetResourceConfigHistoryIterator(array $args = array()) The input array uses the parameters of the GetResourceConfigHistory operation diff --git a/vendor/aws/Aws/ConfigService/Resources/configservice-2014-11-12.php b/vendor/aws/Aws/ConfigService/Resources/configservice-2014-11-12.php index 8e7439e..5ca51fc 100644 --- a/vendor/aws/Aws/ConfigService/Resources/configservice-2014-11-12.php +++ b/vendor/aws/Aws/ConfigService/Resources/configservice-2014-11-12.php @@ -25,6 +25,41 @@ 'signatureVersion' => 'v4', 'namespace' => 'ConfigService', 'operations' => array( + 'DeleteConfigRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'StarlingDoveService.DeleteConfigRule', + ), + 'ConfigRuleName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.', + 'class' => 'NoSuchConfigRuleException', + ), + ), + ), 'DeleteDeliveryChannel' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -51,7 +86,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -91,7 +125,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -100,7 +133,7 @@ 'class' => 'NoSuchDeliveryChannelException', ), array( - 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources.', + 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.', 'class' => 'NoAvailableConfigurationRecorderException', ), array( @@ -109,6 +142,205 @@ ), ), ), + 'DescribeComplianceByConfigRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeComplianceByConfigRuleResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.DescribeComplianceByConfigRule', + ), + 'ConfigRuleNames' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 25, + 'items' => array( + 'name' => 'StringWithCharLimit64', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'ComplianceTypes' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 3, + 'items' => array( + 'name' => 'ComplianceType', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'reason' => 'One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.', + 'class' => 'NoSuchConfigRuleException', + ), + ), + ), + 'DescribeComplianceByResource' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeComplianceByResourceResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.DescribeComplianceByResource', + ), + 'ResourceType' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'ResourceId' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'ComplianceTypes' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 3, + 'items' => array( + 'name' => 'ComplianceType', + 'type' => 'string', + ), + ), + 'Limit' => array( + 'type' => 'numeric', + 'location' => 'json', + 'maximum' => 100, + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'reason' => 'The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.', + 'class' => 'InvalidNextTokenException', + ), + ), + ), + 'DescribeConfigRuleEvaluationStatus' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeConfigRuleEvaluationStatusResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.DescribeConfigRuleEvaluationStatus', + ), + 'ConfigRuleNames' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 25, + 'items' => array( + 'name' => 'StringWithCharLimit64', + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.', + 'class' => 'NoSuchConfigRuleException', + ), + ), + ), + 'DescribeConfigRules' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeConfigRulesResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.DescribeConfigRules', + ), + 'ConfigRuleNames' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 25, + 'items' => array( + 'name' => 'StringWithCharLimit64', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.', + 'class' => 'NoSuchConfigRuleException', + ), + ), + ), 'DescribeConfigurationRecorderStatus' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -137,7 +369,6 @@ 'name' => 'RecorderName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -176,7 +407,6 @@ 'name' => 'RecorderName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -215,7 +445,6 @@ 'name' => 'ChannelName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -254,7 +483,6 @@ 'name' => 'ChannelName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -265,11 +493,11 @@ ), ), ), - 'GetResourceConfigHistory' => array( + 'GetComplianceDetailsByConfigRule' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'GetResourceConfigHistoryResponse', + 'responseClass' => 'GetComplianceDetailsByConfigRuleResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( @@ -284,82 +512,53 @@ 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', - 'default' => 'StarlingDoveService.GetResourceConfigHistory', - ), - 'resourceType' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', + 'default' => 'StarlingDoveService.GetComplianceDetailsByConfigRule', ), - 'resourceId' => array( + 'ConfigRuleName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', + 'minLength' => 1, ), - 'laterTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', + 'ComplianceTypes' => array( + 'type' => 'array', 'location' => 'json', - ), - 'earlierTime' => array( - 'type' => array( - 'object', - 'string', - 'integer', + 'maxItems' => 3, + 'items' => array( + 'name' => 'ComplianceType', + 'type' => 'string', ), - 'format' => 'date-time', - 'location' => 'json', - ), - 'chronologicalOrder' => array( - 'type' => 'string', - 'location' => 'json', ), - 'limit' => array( + 'Limit' => array( 'type' => 'numeric', 'location' => 'json', 'maximum' => 100, ), - 'nextToken' => array( + 'NextToken' => array( 'type' => 'string', 'location' => 'json', ), ), 'errorResponses' => array( array( - 'reason' => 'The requested action is not valid.', - 'class' => 'ValidationException', - ), - array( - 'reason' => 'The specified time range is not valid. The earlier time is not chronologically before the later time.', - 'class' => 'InvalidTimeRangeException', - ), - array( - 'reason' => 'You have reached the limit on the pagination.', - 'class' => 'InvalidLimitException', + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', ), array( - 'reason' => 'The specified nextToken for pagination is not valid.', + 'reason' => 'The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.', 'class' => 'InvalidNextTokenException', ), array( - 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources.', - 'class' => 'NoAvailableConfigurationRecorderException', - ), - array( - 'reason' => 'You have specified a resource that is either unknown or has not been discovered.', - 'class' => 'ResourceNotDiscoveredException', + 'reason' => 'One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.', + 'class' => 'NoSuchConfigRuleException', ), ), ), - 'PutConfigurationRecorder' => array( + 'GetComplianceDetailsByResource' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'GetComplianceDetailsByResourceResponse', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( @@ -374,30 +573,429 @@ 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', - 'default' => 'StarlingDoveService.PutConfigurationRecorder', + 'default' => 'StarlingDoveService.GetComplianceDetailsByResource', ), - 'ConfigurationRecorder' => array( + 'ResourceType' => array( 'required' => true, - 'type' => 'object', + 'type' => 'string', 'location' => 'json', - 'properties' => array( - 'name' => array( - 'type' => 'string', - 'minLength' => 1, - 'maxLength' => 256, - ), - 'roleARN' => array( - 'type' => 'string', - ), - 'recordingGroup' => array( - 'type' => 'object', - 'properties' => array( - 'allSupported' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'resourceTypes' => array( - 'type' => 'array', + 'minLength' => 1, + ), + 'ResourceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'ComplianceTypes' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 3, + 'items' => array( + 'name' => 'ComplianceType', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', + ), + ), + ), + 'GetComplianceSummaryByConfigRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'GetComplianceSummaryByConfigRuleResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.GetComplianceSummaryByConfigRule', + ), + ), + ), + 'GetComplianceSummaryByResourceType' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'GetComplianceSummaryByResourceTypeResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.GetComplianceSummaryByResourceType', + ), + 'ResourceTypes' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 100, + 'items' => array( + 'name' => 'StringWithCharLimit256', + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', + ), + ), + ), + 'GetResourceConfigHistory' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'GetResourceConfigHistoryResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.GetResourceConfigHistory', + ), + 'resourceType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'resourceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'laterTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'json', + ), + 'earlierTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'json', + ), + 'chronologicalOrder' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'limit' => array( + 'type' => 'numeric', + 'location' => 'json', + 'maximum' => 100, + ), + 'nextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The requested action is not valid.', + 'class' => 'ValidationException', + ), + array( + 'reason' => 'The specified time range is not valid. The earlier time is not chronologically before the later time.', + 'class' => 'InvalidTimeRangeException', + ), + array( + 'reason' => 'The specified limit is outside the allowable range.', + 'class' => 'InvalidLimitException', + ), + array( + 'reason' => 'The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.', + 'class' => 'InvalidNextTokenException', + ), + array( + 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.', + 'class' => 'NoAvailableConfigurationRecorderException', + ), + array( + 'reason' => 'You have specified a resource that is either unknown or has not been discovered.', + 'class' => 'ResourceNotDiscoveredException', + ), + ), + ), + 'ListDiscoveredResources' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ListDiscoveredResourcesResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.ListDiscoveredResources', + ), + 'resourceType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'resourceIds' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ResourceId', + 'type' => 'string', + ), + ), + 'resourceName' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'limit' => array( + 'type' => 'numeric', + 'location' => 'json', + 'maximum' => 100, + ), + 'includeDeletedResources' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'json', + ), + 'nextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The requested action is not valid.', + 'class' => 'ValidationException', + ), + array( + 'reason' => 'The specified limit is outside the allowable range.', + 'class' => 'InvalidLimitException', + ), + array( + 'reason' => 'The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.', + 'class' => 'InvalidNextTokenException', + ), + array( + 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.', + 'class' => 'NoAvailableConfigurationRecorderException', + ), + ), + ), + 'PutConfigRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'StarlingDoveService.PutConfigRule', + ), + 'ConfigRule' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'ConfigRuleName' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'ConfigRuleArn' => array( + 'type' => 'string', + ), + 'ConfigRuleId' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Scope' => array( + 'type' => 'object', + 'properties' => array( + 'ComplianceResourceTypes' => array( + 'type' => 'array', + 'maxItems' => 100, + 'items' => array( + 'name' => 'StringWithCharLimit256', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'TagKey' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'TagValue' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'ComplianceResourceId' => array( + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + 'Source' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Owner' => array( + 'type' => 'string', + ), + 'SourceIdentifier' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'SourceDetails' => array( + 'type' => 'array', + 'maxItems' => 25, + 'items' => array( + 'name' => 'SourceDetail', + 'type' => 'object', + 'properties' => array( + 'EventSource' => array( + 'type' => 'string', + ), + 'MessageType' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'InputParameters' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'MaximumExecutionFrequency' => array( + 'type' => 'string', + ), + 'ConfigRuleState' => array( + 'type' => 'string', + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'reason' => 'Failed to add the AWS Config rule because the account already contains the maximum number of 25 rules. Consider deleting any deactivated rules before adding new rules.', + 'class' => 'MaxNumberOfConfigRulesExceededException', + ), + array( + 'reason' => 'The rule is currently being deleted. Wait for a while and try again.', + 'class' => 'ResourceInUseException', + ), + ), + ), + 'PutConfigurationRecorder' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'StarlingDoveService.PutConfigurationRecorder', + ), + 'ConfigurationRecorder' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'name' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'roleARN' => array( + 'type' => 'string', + ), + 'recordingGroup' => array( + 'type' => 'object', + 'properties' => array( + 'allSupported' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'resourceTypes' => array( + 'type' => 'array', 'items' => array( 'name' => 'ResourceType', 'type' => 'string', @@ -456,7 +1054,6 @@ 'name' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 's3BucketName' => array( 'type' => 'string', @@ -467,6 +1064,14 @@ 'snsTopicARN' => array( 'type' => 'string', ), + 'configSnapshotDeliveryProperties' => array( + 'type' => 'object', + 'properties' => array( + 'deliveryFrequency' => array( + 'type' => 'string', + ), + ), + ), ), ), ), @@ -476,7 +1081,7 @@ 'class' => 'MaxNumberOfDeliveryChannelsExceededException', ), array( - 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources.', + 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.', 'class' => 'NoAvailableConfigurationRecorderException', ), array( @@ -501,6 +1106,86 @@ ), ), ), + 'PutEvaluations' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'PutEvaluationsResponse', + 'responseType' => 'model', + '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' => 'StarlingDoveService.PutEvaluations', + ), + 'Evaluations' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 100, + 'items' => array( + 'name' => 'Evaluation', + 'type' => 'object', + 'properties' => array( + 'ComplianceResourceType' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, + ), + 'ComplianceResourceId' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, + ), + 'ComplianceType' => array( + 'required' => true, + 'type' => 'string', + ), + 'Annotation' => array( + 'type' => 'string', + 'minLength' => 1, + ), + 'OrderingTimestamp' => array( + 'required' => true, + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + ), + ), + ), + 'ResultToken' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'reason' => 'The result token is invalid.', + 'class' => 'InvalidResultTokenException', + ), + array( + 'reason' => 'One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.', + 'class' => 'NoSuchConfigRuleException', + ), + ), + ), 'StartConfigurationRecorder' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -527,7 +1212,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -567,7 +1251,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -577,17 +1260,232 @@ ), ), ), - ), - 'models' => array( - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'DeliverConfigSnapshotResponse' => array( + ), + 'models' => array( + 'EmptyOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + ), + 'DeliverConfigSnapshotResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'configSnapshotId' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'DescribeComplianceByConfigRuleResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ComplianceByConfigRules' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ComplianceByConfigRule', + 'type' => 'object', + 'properties' => array( + 'ConfigRuleName' => array( + 'type' => 'string', + ), + 'Compliance' => array( + 'type' => 'object', + 'properties' => array( + 'ComplianceType' => array( + 'type' => 'string', + ), + 'ComplianceContributorCount' => array( + 'type' => 'object', + 'properties' => array( + 'CappedCount' => array( + 'type' => 'numeric', + ), + 'CapExceeded' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'DescribeComplianceByResourceResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ComplianceByResources' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ComplianceByResource', + 'type' => 'object', + 'properties' => array( + 'ResourceType' => array( + 'type' => 'string', + ), + 'ResourceId' => array( + 'type' => 'string', + ), + 'Compliance' => array( + 'type' => 'object', + 'properties' => array( + 'ComplianceType' => array( + 'type' => 'string', + ), + 'ComplianceContributorCount' => array( + 'type' => 'object', + 'properties' => array( + 'CappedCount' => array( + 'type' => 'numeric', + ), + 'CapExceeded' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'DescribeConfigRuleEvaluationStatusResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ConfigRulesEvaluationStatus' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ConfigRuleEvaluationStatus', + 'type' => 'object', + 'properties' => array( + 'ConfigRuleName' => array( + 'type' => 'string', + ), + 'ConfigRuleArn' => array( + 'type' => 'string', + ), + 'ConfigRuleId' => array( + 'type' => 'string', + ), + 'LastSuccessfulInvocationTime' => array( + 'type' => 'string', + ), + 'LastFailedInvocationTime' => array( + 'type' => 'string', + ), + 'FirstActivatedTime' => array( + 'type' => 'string', + ), + 'LastErrorCode' => array( + 'type' => 'string', + ), + 'LastErrorMessage' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'DescribeConfigRulesResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'configSnapshotId' => array( + 'ConfigRules' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ConfigRule', + 'type' => 'object', + 'properties' => array( + 'ConfigRuleName' => array( + 'type' => 'string', + ), + 'ConfigRuleArn' => array( + 'type' => 'string', + ), + 'ConfigRuleId' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Scope' => array( + 'type' => 'object', + 'properties' => array( + 'ComplianceResourceTypes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'StringWithCharLimit256', + 'type' => 'string', + ), + ), + 'TagKey' => array( + 'type' => 'string', + ), + 'TagValue' => array( + 'type' => 'string', + ), + 'ComplianceResourceId' => array( + 'type' => 'string', + ), + ), + ), + 'Source' => array( + 'type' => 'object', + 'properties' => array( + 'Owner' => array( + 'type' => 'string', + ), + 'SourceIdentifier' => array( + 'type' => 'string', + ), + 'SourceDetails' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'SourceDetail', + 'type' => 'object', + 'properties' => array( + 'EventSource' => array( + 'type' => 'string', + ), + 'MessageType' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'InputParameters' => array( + 'type' => 'string', + ), + 'MaximumExecutionFrequency' => array( + 'type' => 'string', + ), + 'ConfigRuleState' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( 'type' => 'string', 'location' => 'json', ), @@ -702,6 +1600,9 @@ 'lastSuccessfulTime' => array( 'type' => 'string', ), + 'nextDeliveryTime' => array( + 'type' => 'string', + ), ), ), 'configHistoryDeliveryInfo' => array( @@ -722,6 +1623,9 @@ 'lastSuccessfulTime' => array( 'type' => 'string', ), + 'nextDeliveryTime' => array( + 'type' => 'string', + ), ), ), 'configStreamDeliveryInfo' => array( @@ -769,6 +1673,214 @@ 'snsTopicARN' => array( 'type' => 'string', ), + 'configSnapshotDeliveryProperties' => array( + 'type' => 'object', + 'properties' => array( + 'deliveryFrequency' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'GetComplianceDetailsByConfigRuleResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'EvaluationResults' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'EvaluationResult', + 'type' => 'object', + 'properties' => array( + 'EvaluationResultIdentifier' => array( + 'type' => 'object', + 'properties' => array( + 'EvaluationResultQualifier' => array( + 'type' => 'object', + 'properties' => array( + 'ConfigRuleName' => array( + 'type' => 'string', + ), + 'ResourceType' => array( + 'type' => 'string', + ), + 'ResourceId' => array( + 'type' => 'string', + ), + ), + ), + 'OrderingTimestamp' => array( + 'type' => 'string', + ), + ), + ), + 'ComplianceType' => array( + 'type' => 'string', + ), + 'ResultRecordedTime' => array( + 'type' => 'string', + ), + 'ConfigRuleInvokedTime' => array( + 'type' => 'string', + ), + 'Annotation' => array( + 'type' => 'string', + ), + 'ResultToken' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'GetComplianceDetailsByResourceResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'EvaluationResults' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'EvaluationResult', + 'type' => 'object', + 'properties' => array( + 'EvaluationResultIdentifier' => array( + 'type' => 'object', + 'properties' => array( + 'EvaluationResultQualifier' => array( + 'type' => 'object', + 'properties' => array( + 'ConfigRuleName' => array( + 'type' => 'string', + ), + 'ResourceType' => array( + 'type' => 'string', + ), + 'ResourceId' => array( + 'type' => 'string', + ), + ), + ), + 'OrderingTimestamp' => array( + 'type' => 'string', + ), + ), + ), + 'ComplianceType' => array( + 'type' => 'string', + ), + 'ResultRecordedTime' => array( + 'type' => 'string', + ), + 'ConfigRuleInvokedTime' => array( + 'type' => 'string', + ), + 'Annotation' => array( + 'type' => 'string', + ), + 'ResultToken' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'GetComplianceSummaryByConfigRuleResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ComplianceSummary' => array( + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'CompliantResourceCount' => array( + 'type' => 'object', + 'properties' => array( + 'CappedCount' => array( + 'type' => 'numeric', + ), + 'CapExceeded' => array( + 'type' => 'boolean', + ), + ), + ), + 'NonCompliantResourceCount' => array( + 'type' => 'object', + 'properties' => array( + 'CappedCount' => array( + 'type' => 'numeric', + ), + 'CapExceeded' => array( + 'type' => 'boolean', + ), + ), + ), + 'ComplianceSummaryTimestamp' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'GetComplianceSummaryByResourceTypeResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ComplianceSummariesByResourceType' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ComplianceSummaryByResourceType', + 'type' => 'object', + 'properties' => array( + 'ResourceType' => array( + 'type' => 'string', + ), + 'ComplianceSummary' => array( + 'type' => 'object', + 'properties' => array( + 'CompliantResourceCount' => array( + 'type' => 'object', + 'properties' => array( + 'CappedCount' => array( + 'type' => 'numeric', + ), + 'CapExceeded' => array( + 'type' => 'boolean', + ), + ), + ), + 'NonCompliantResourceCount' => array( + 'type' => 'object', + 'properties' => array( + 'CappedCount' => array( + 'type' => 'numeric', + ), + 'CapExceeded' => array( + 'type' => 'boolean', + ), + ), + ), + 'ComplianceSummaryTimestamp' => array( + 'type' => 'string', + ), + ), + ), ), ), ), @@ -812,6 +1924,12 @@ 'resourceId' => array( 'type' => 'string', ), + 'resourceName' => array( + 'type' => 'string', + ), + 'awsRegion' => array( + 'type' => 'string', + ), 'availabilityZone' => array( 'type' => 'string', ), @@ -843,6 +1961,9 @@ 'resourceId' => array( 'type' => 'string', ), + 'resourceName' => array( + 'type' => 'string', + ), 'relationshipName' => array( 'type' => 'string', ), @@ -861,6 +1982,69 @@ ), ), ), + 'ListDiscoveredResourcesResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'resourceIdentifiers' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'ResourceIdentifier', + 'type' => 'object', + 'properties' => array( + 'resourceType' => array( + 'type' => 'string', + ), + 'resourceId' => array( + 'type' => 'string', + ), + 'resourceName' => array( + 'type' => 'string', + ), + 'resourceDeletionTime' => array( + 'type' => 'string', + ), + ), + ), + ), + 'nextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'PutEvaluationsResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'FailedEvaluations' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Evaluation', + 'type' => 'object', + 'properties' => array( + 'ComplianceResourceType' => array( + 'type' => 'string', + ), + 'ComplianceResourceId' => array( + 'type' => 'string', + ), + 'ComplianceType' => array( + 'type' => 'string', + ), + 'Annotation' => array( + 'type' => 'string', + ), + 'OrderingTimestamp' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), ), 'iterators' => array( 'GetResourceConfigHistory' => array( diff --git a/vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php b/vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php index 5a3fae4..b27af25 100644 --- a/vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php +++ b/vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php @@ -77,7 +77,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'parameterValues' => array( 'type' => 'array', @@ -90,12 +89,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10240, ), ), ), @@ -155,7 +152,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'tags' => array( 'required' => true, @@ -170,12 +166,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -226,19 +220,16 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'uniqueId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'tags' => array( 'type' => 'array', @@ -252,12 +243,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -300,7 +289,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'cancelActive' => array( 'type' => 'boolean', @@ -353,7 +341,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -397,7 +384,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'objectIds' => array( 'required' => true, @@ -407,7 +393,6 @@ 'name' => 'id', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'evaluateExpressions' => array( @@ -418,7 +403,6 @@ 'marker' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -469,7 +453,6 @@ 'name' => 'id', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), ), @@ -518,20 +501,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'objectId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'expression' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 20971520, ), ), 'errorResponses' => array( @@ -583,12 +563,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'version' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -634,7 +612,6 @@ 'marker' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -673,13 +650,11 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'hostname' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'instanceIdentity' => array( 'type' => 'object', @@ -687,11 +662,9 @@ 'properties' => array( 'document' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'signature' => array( 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -737,7 +710,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'pipelineObjects' => array( 'required' => true, @@ -751,13 +723,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), 'name' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), 'fields' => array( 'required' => true, @@ -770,16 +740,13 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'type' => 'string', - 'maxLength' => 10240, ), 'refValue' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -798,7 +765,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'attributes' => array( 'required' => true, @@ -811,12 +777,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10240, ), ), ), @@ -835,12 +799,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10240, ), ), ), @@ -891,7 +853,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'query' => array( 'type' => 'object', @@ -905,7 +866,6 @@ 'properties' => array( 'fieldName' => array( 'type' => 'string', - 'maxLength' => 1024, ), 'operator' => array( 'type' => 'object', @@ -923,12 +883,10 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'marker' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'limit' => array( 'type' => 'numeric', @@ -980,7 +938,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'tagKeys' => array( 'required' => true, @@ -989,7 +946,6 @@ 'items' => array( 'name' => 'string', 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -1038,7 +994,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 2048, ), 'fields' => array( 'type' => 'array', @@ -1051,16 +1006,13 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'type' => 'string', - 'maxLength' => 10240, ), 'refValue' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -1115,18 +1067,15 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'workerGroup' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'hostname' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1166,7 +1115,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'objectIds' => array( 'required' => true, @@ -1176,14 +1124,12 @@ 'name' => 'id', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), 'status' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1231,7 +1177,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 2048, ), 'taskStatus' => array( 'required' => true, @@ -1241,7 +1186,6 @@ 'errorId' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'errorMessage' => array( 'type' => 'string', @@ -1250,7 +1194,6 @@ 'errorStackTrace' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1302,7 +1245,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'pipelineObjects' => array( 'required' => true, @@ -1316,13 +1258,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), 'name' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), 'fields' => array( 'required' => true, @@ -1335,16 +1275,13 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'type' => 'string', - 'maxLength' => 10240, ), 'refValue' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -1363,7 +1300,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'attributes' => array( 'required' => true, @@ -1376,12 +1312,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10240, ), ), ), @@ -1400,12 +1334,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'stringValue' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10240, ), ), ), diff --git a/vendor/aws/Aws/DeviceFarm/DeviceFarmClient.php b/vendor/aws/Aws/DeviceFarm/DeviceFarmClient.php index da53571..6306289 100644 --- a/vendor/aws/Aws/DeviceFarm/DeviceFarmClient.php +++ b/vendor/aws/Aws/DeviceFarm/DeviceFarmClient.php @@ -16,6 +16,10 @@ * @method Model createDevicePool(array $args = array()) {@command DeviceFarm CreateDevicePool} * @method Model createProject(array $args = array()) {@command DeviceFarm CreateProject} * @method Model createUpload(array $args = array()) {@command DeviceFarm CreateUpload} + * @method Model deleteDevicePool(array $args = array()) {@command DeviceFarm DeleteDevicePool} + * @method Model deleteProject(array $args = array()) {@command DeviceFarm DeleteProject} + * @method Model deleteRun(array $args = array()) {@command DeviceFarm DeleteRun} + * @method Model deleteUpload(array $args = array()) {@command DeviceFarm DeleteUpload} * @method Model getAccountSettings(array $args = array()) {@command DeviceFarm GetAccountSettings} * @method Model getDevice(array $args = array()) {@command DeviceFarm GetDevice} * @method Model getDevicePool(array $args = array()) {@command DeviceFarm GetDevicePool} @@ -38,6 +42,8 @@ * @method Model listUniqueProblems(array $args = array()) {@command DeviceFarm ListUniqueProblems} * @method Model listUploads(array $args = array()) {@command DeviceFarm ListUploads} * @method Model scheduleRun(array $args = array()) {@command DeviceFarm ScheduleRun} + * @method Model updateDevicePool(array $args = array()) {@command DeviceFarm UpdateDevicePool} + * @method Model updateProject(array $args = array()) {@command DeviceFarm UpdateProject} * @method ResourceIteratorInterface getListArtifactsIterator(array $args = array()) The input array uses the parameters of the ListArtifacts operation * @method ResourceIteratorInterface getListDevicePoolsIterator(array $args = array()) The input array uses the parameters of the ListDevicePools operation * @method ResourceIteratorInterface getListDevicesIterator(array $args = array()) The input array uses the parameters of the ListDevices operation diff --git a/vendor/aws/Aws/DeviceFarm/Resources/devicefarm-2015-06-23.php b/vendor/aws/Aws/DeviceFarm/Resources/devicefarm-2015-06-23.php index e5dc2bb..4dabc90 100644 --- a/vendor/aws/Aws/DeviceFarm/Resources/devicefarm-2015-06-23.php +++ b/vendor/aws/Aws/DeviceFarm/Resources/devicefarm-2015-06-23.php @@ -41,12 +41,10 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8192, ), 'rules' => array( 'required' => true, @@ -113,7 +111,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -180,6 +177,194 @@ ), ), ), + 'DeleteDevicePool' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'DeviceFarm_20150623.DeleteDevicePool', + ), + 'arn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 32, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An invalid argument was specified.', + 'class' => 'ArgumentException', + ), + array( + 'reason' => 'The specified entity was not found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'A limit was exceeded.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'There was a problem with the service account.', + 'class' => 'ServiceAccountException', + ), + ), + ), + 'DeleteProject' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'DeviceFarm_20150623.DeleteProject', + ), + 'arn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 32, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An invalid argument was specified.', + 'class' => 'ArgumentException', + ), + array( + 'reason' => 'The specified entity was not found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'A limit was exceeded.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'There was a problem with the service account.', + 'class' => 'ServiceAccountException', + ), + ), + ), + 'DeleteRun' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'DeviceFarm_20150623.DeleteRun', + ), + 'arn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 32, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An invalid argument was specified.', + 'class' => 'ArgumentException', + ), + array( + 'reason' => 'The specified entity was not found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'A limit was exceeded.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'There was a problem with the service account.', + 'class' => 'ServiceAccountException', + ), + ), + ), + 'DeleteUpload' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'DeviceFarm_20150623.DeleteUpload', + ), + 'arn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 32, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An invalid argument was specified.', + 'class' => 'ArgumentException', + ), + array( + 'reason' => 'The specified entity was not found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'A limit was exceeded.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'There was a problem with the service account.', + 'class' => 'ServiceAccountException', + ), + ), + ), 'GetAccountSettings' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -343,7 +528,6 @@ 'minLength' => 32, ), 'appArn' => array( - 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 32, @@ -774,7 +958,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -827,7 +1010,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -879,7 +1061,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -932,7 +1113,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -985,7 +1165,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1038,7 +1217,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1091,7 +1269,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1144,7 +1321,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1197,7 +1373,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 4, - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1247,7 +1422,6 @@ 'minLength' => 32, ), 'appArn' => array( - 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 32, @@ -1261,7 +1435,6 @@ 'name' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'test' => array( 'required' => true, @@ -1359,6 +1532,131 @@ ), ), ), + 'UpdateDevicePool' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'UpdateDevicePoolResult', + 'responseType' => 'model', + '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' => 'DeviceFarm_20150623.UpdateDevicePool', + ), + 'arn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 32, + ), + 'name' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'description' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'rules' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Rule', + 'type' => 'object', + 'properties' => array( + 'attribute' => array( + 'type' => 'string', + ), + 'operator' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An invalid argument was specified.', + 'class' => 'ArgumentException', + ), + array( + 'reason' => 'The specified entity was not found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'A limit was exceeded.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'There was a problem with the service account.', + 'class' => 'ServiceAccountException', + ), + ), + ), + 'UpdateProject' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'UpdateProjectResult', + 'responseType' => 'model', + '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' => 'DeviceFarm_20150623.UpdateProject', + ), + 'arn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 32, + ), + 'name' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An invalid argument was specified.', + 'class' => 'ArgumentException', + ), + array( + 'reason' => 'The specified entity was not found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'A limit was exceeded.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'There was a problem with the service account.', + 'class' => 'ServiceAccountException', + ), + ), + ), ), 'models' => array( 'CreateDevicePoolResult' => array( @@ -1412,6 +1710,10 @@ ), ), ), + 'EmptyOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + ), 'GetAccountSettingsResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -2265,6 +2567,42 @@ ), ), ), + 'UpdateDevicePoolResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'devicePool' => array( + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + '' => array( + 'type' => 'object', + ), + ), + ), + ), + ), + 'UpdateProjectResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'project' => array( + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'arn' => array( + 'type' => 'string', + ), + 'name' => array( + 'type' => 'string', + ), + 'created' => array( + 'type' => 'string', + ), + ), + ), + ), + ), ), 'iterators' => array( 'ListArtifacts' => array( diff --git a/vendor/aws/Aws/DirectoryService/Resources/directoryservice-2015-04-16.php b/vendor/aws/Aws/DirectoryService/Resources/directoryservice-2015-04-16.php index 5970795..ae92c5c 100644 --- a/vendor/aws/Aws/DirectoryService/Resources/directoryservice-2015-04-16.php +++ b/vendor/aws/Aws/DirectoryService/Resources/directoryservice-2015-04-16.php @@ -46,12 +46,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'Description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 128, ), 'Size' => array( 'required' => true, @@ -141,7 +139,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 62, ), ), 'errorResponses' => array( @@ -198,20 +195,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 15, ), 'Password' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 8, - 'maxLength' => 64, ), 'OrganizationalUnitDistinguishedName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 2000, ), 'ComputerAttributes' => array( 'type' => 'array', @@ -304,7 +298,6 @@ 'Description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 128, ), 'Size' => array( 'required' => true, @@ -378,7 +371,6 @@ 'Name' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -695,7 +687,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -758,7 +749,6 @@ 'name' => 'Server', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), 'RadiusPort' => array( @@ -778,7 +768,6 @@ 'SharedSecret' => array( 'type' => 'string', 'minLength' => 8, - 'maxLength' => 512, ), 'AuthenticationProtocol' => array( 'type' => 'string', @@ -786,7 +775,6 @@ 'DisplayLabel' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'UseSameUsername' => array( 'type' => 'boolean', @@ -853,7 +841,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1041,7 +1028,6 @@ 'name' => 'Server', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), 'RadiusPort' => array( @@ -1061,7 +1047,6 @@ 'SharedSecret' => array( 'type' => 'string', 'minLength' => 8, - 'maxLength' => 512, ), 'AuthenticationProtocol' => array( 'type' => 'string', @@ -1069,7 +1054,6 @@ 'DisplayLabel' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'UseSameUsername' => array( 'type' => 'boolean', diff --git a/vendor/aws/Aws/DynamoDb/DynamoDbClient.php b/vendor/aws/Aws/DynamoDb/DynamoDbClient.php index 5911b0c..d2a5a26 100644 --- a/vendor/aws/Aws/DynamoDb/DynamoDbClient.php +++ b/vendor/aws/Aws/DynamoDb/DynamoDbClient.php @@ -77,10 +77,11 @@ public static function factory($config = array()) // Configure the custom exponential backoff plugin for DynamoDB throttling $exceptionParser = new JsonQueryExceptionParser(); if (!isset($config[Options::BACKOFF])) { + $retries = isset($config[Options::BACKOFF_RETRIES]) ? $config[Options::BACKOFF_RETRIES] : 11; $config[Options::BACKOFF] = new BackoffPlugin( - // Retry requests if the CRC32 header does not match the CRC32 of the response. + // Retry requests if the CRC32 header does not match the CRC32 of the response. new Crc32ErrorChecker( - self::createDynamoDbBackoffStrategy($exceptionParser) + self::createDynamoDbBackoffStrategy($exceptionParser, $retries) ) ); } @@ -108,10 +109,10 @@ public static function factory($config = array()) * @return TruncatedBackoffStrategy * @internal */ - public static function createDynamoDbBackoffStrategy(JsonQueryExceptionParser $exceptionParser) + public static function createDynamoDbBackoffStrategy(JsonQueryExceptionParser $exceptionParser, $retries = 11) { // Retry failed requests up to 11 times instead of the normal 3 - return new TruncatedBackoffStrategy(11, + return new TruncatedBackoffStrategy($retries, // Retry failed requests with 400-level responses due to throttling new ThrottlingErrorChecker($exceptionParser, // Retry failed requests with 500-level responses diff --git a/vendor/aws/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php b/vendor/aws/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php index 1c1d216..e475524 100644 --- a/vendor/aws/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php +++ b/vendor/aws/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php @@ -507,7 +507,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'KeySchema' => array( 'required' => true, @@ -524,7 +523,6 @@ 'description' => 'The AttributeName of the KeySchemaElement.', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'AttributeType' => array( 'required' => true, @@ -547,7 +545,6 @@ 'description' => 'The AttributeName of the KeySchemaElement.', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'AttributeType' => array( 'required' => true, @@ -627,7 +624,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'Key' => array( 'required' => true, @@ -859,7 +855,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -910,7 +905,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -953,7 +947,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'Key' => array( 'required' => true, @@ -1117,7 +1110,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'Limit' => array( 'type' => 'numeric', @@ -1162,7 +1154,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'Item' => array( 'required' => true, @@ -1346,7 +1337,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'AttributesToGet' => array( 'type' => 'array', @@ -1657,7 +1647,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'AttributesToGet' => array( 'type' => 'array', @@ -1913,7 +1902,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'Key' => array( 'required' => true, @@ -2214,7 +2202,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 255, ), 'ProvisionedThroughput' => array( 'required' => true, diff --git a/vendor/aws/Aws/DynamoDb/Session/SessionHandler.php b/vendor/aws/Aws/DynamoDb/Session/SessionHandler.php index da0cc8e..67530fe 100644 --- a/vendor/aws/Aws/DynamoDb/Session/SessionHandler.php +++ b/vendor/aws/Aws/DynamoDb/Session/SessionHandler.php @@ -190,7 +190,7 @@ public function isSessionOpen() */ public function isSessionWritten() { - return $this->sessionWritten; + return $this->sessionWritten && $this->openSessionId === session_id(); } /** @@ -260,9 +260,8 @@ public function open($savePath, $sessionName) { $this->savePath = $savePath; $this->sessionName = $sessionName; - $this->openSessionId = session_id(); - return $this->isSessionOpen(); + return true; } /** @@ -276,13 +275,11 @@ public function close() { // Make sure the session is unlocked and the expiration time is updated, even if the write did not occur if (!$this->isSessionWritten()) { - $id = $this->formatId($this->openSessionId); + $id = $this->formatId(session_id()); $result = $this->lockingStrategy->doWrite($id, '', false); $this->sessionWritten = (bool) $result; } - $this->openSessionId = null; - return $this->isSessionWritten(); } @@ -297,6 +294,7 @@ public function close() */ public function read($id) { + $this->openSessionId = $id; // PHP expects an empty string to be returned from this method if no // data is retrieved $this->dataRead = ''; @@ -328,14 +326,14 @@ public function read($id) */ public function write($id, $data) { + $changed = $id !== $this->openSessionId + || $data !== $this->dataRead; + $this->openSessionId = $id; // Write the session data using the selected locking strategy - $this->sessionWritten = $this->lockingStrategy->doWrite( - $this->formatId($id), - $data, - ($data !== $this->dataRead) - ); + $this->sessionWritten = $this->lockingStrategy + ->doWrite($this->formatId($id), $data, $changed); - return $this->isSessionWritten(); + return $this->sessionWritten; } /** @@ -349,10 +347,12 @@ public function write($id, $data) */ public function destroy($id) { + $this->openSessionId = $id; // Delete the session data using the selected locking strategy - $this->sessionWritten = $this->lockingStrategy->doDestroy($this->formatId($id)); + $this->sessionWritten + = $this->lockingStrategy->doDestroy($this->formatId($id)); - return $this->isSessionWritten(); + return $this->sessionWritten; } /** diff --git a/vendor/aws/Aws/Ec2/Ec2Client.php b/vendor/aws/Aws/Ec2/Ec2Client.php index 27112bb..003e18d 100644 --- a/vendor/aws/Aws/Ec2/Ec2Client.php +++ b/vendor/aws/Aws/Ec2/Ec2Client.php @@ -26,188 +26,206 @@ /** * Client to interact with Amazon Elastic Compute Cloud * - * @method Model acceptVpcPeeringConnection(array $args = array()) {@command Ec2 AcceptVpcPeeringConnection} * @method Model allocateAddress(array $args = array()) {@command Ec2 AllocateAddress} - * @method Model assignPrivateIpAddresses(array $args = array()) {@command Ec2 AssignPrivateIpAddresses} * @method Model associateAddress(array $args = array()) {@command Ec2 AssociateAddress} * @method Model associateDhcpOptions(array $args = array()) {@command Ec2 AssociateDhcpOptions} - * @method Model associateRouteTable(array $args = array()) {@command Ec2 AssociateRouteTable} - * @method Model attachClassicLinkVpc(array $args = array()) {@command Ec2 AttachClassicLinkVpc} - * @method Model attachInternetGateway(array $args = array()) {@command Ec2 AttachInternetGateway} - * @method Model attachNetworkInterface(array $args = array()) {@command Ec2 AttachNetworkInterface} * @method Model attachVolume(array $args = array()) {@command Ec2 AttachVolume} * @method Model attachVpnGateway(array $args = array()) {@command Ec2 AttachVpnGateway} - * @method Model authorizeSecurityGroupEgress(array $args = array()) {@command Ec2 AuthorizeSecurityGroupEgress} * @method Model authorizeSecurityGroupIngress(array $args = array()) {@command Ec2 AuthorizeSecurityGroupIngress} * @method Model bundleInstance(array $args = array()) {@command Ec2 BundleInstance} * @method Model cancelBundleTask(array $args = array()) {@command Ec2 CancelBundleTask} - * @method Model cancelConversionTask(array $args = array()) {@command Ec2 CancelConversionTask} - * @method Model cancelExportTask(array $args = array()) {@command Ec2 CancelExportTask} - * @method Model cancelImportTask(array $args = array()) {@command Ec2 CancelImportTask} - * @method Model cancelReservedInstancesListing(array $args = array()) {@command Ec2 CancelReservedInstancesListing} - * @method Model cancelSpotFleetRequests(array $args = array()) {@command Ec2 CancelSpotFleetRequests} - * @method Model cancelSpotInstanceRequests(array $args = array()) {@command Ec2 CancelSpotInstanceRequests} * @method Model confirmProductInstance(array $args = array()) {@command Ec2 ConfirmProductInstance} - * @method Model copyImage(array $args = array()) {@command Ec2 CopyImage} * @method Model copySnapshot(array $args = array()) {@command Ec2 CopySnapshot} + * @method Model copyImage(array $args = array()) {@command Ec2 CopyImage} * @method Model createCustomerGateway(array $args = array()) {@command Ec2 CreateCustomerGateway} * @method Model createDhcpOptions(array $args = array()) {@command Ec2 CreateDhcpOptions} - * @method Model createFlowLogs(array $args = array()) {@command Ec2 CreateFlowLogs} - * @method Model createImage(array $args = array()) {@command Ec2 CreateImage} - * @method Model createInstanceExportTask(array $args = array()) {@command Ec2 CreateInstanceExportTask} - * @method Model createInternetGateway(array $args = array()) {@command Ec2 CreateInternetGateway} * @method Model createKeyPair(array $args = array()) {@command Ec2 CreateKeyPair} - * @method Model createNetworkAcl(array $args = array()) {@command Ec2 CreateNetworkAcl} - * @method Model createNetworkAclEntry(array $args = array()) {@command Ec2 CreateNetworkAclEntry} - * @method Model createNetworkInterface(array $args = array()) {@command Ec2 CreateNetworkInterface} - * @method Model createPlacementGroup(array $args = array()) {@command Ec2 CreatePlacementGroup} - * @method Model createReservedInstancesListing(array $args = array()) {@command Ec2 CreateReservedInstancesListing} - * @method Model createRoute(array $args = array()) {@command Ec2 CreateRoute} - * @method Model createRouteTable(array $args = array()) {@command Ec2 CreateRouteTable} * @method Model createSecurityGroup(array $args = array()) {@command Ec2 CreateSecurityGroup} * @method Model createSnapshot(array $args = array()) {@command Ec2 CreateSnapshot} - * @method Model createSpotDatafeedSubscription(array $args = array()) {@command Ec2 CreateSpotDatafeedSubscription} * @method Model createSubnet(array $args = array()) {@command Ec2 CreateSubnet} - * @method Model createTags(array $args = array()) {@command Ec2 CreateTags} * @method Model createVolume(array $args = array()) {@command Ec2 CreateVolume} * @method Model createVpc(array $args = array()) {@command Ec2 CreateVpc} - * @method Model createVpcEndpoint(array $args = array()) {@command Ec2 CreateVpcEndpoint} - * @method Model createVpcPeeringConnection(array $args = array()) {@command Ec2 CreateVpcPeeringConnection} * @method Model createVpnConnection(array $args = array()) {@command Ec2 CreateVpnConnection} - * @method Model createVpnConnectionRoute(array $args = array()) {@command Ec2 CreateVpnConnectionRoute} * @method Model createVpnGateway(array $args = array()) {@command Ec2 CreateVpnGateway} * @method Model deleteCustomerGateway(array $args = array()) {@command Ec2 DeleteCustomerGateway} * @method Model deleteDhcpOptions(array $args = array()) {@command Ec2 DeleteDhcpOptions} - * @method Model deleteFlowLogs(array $args = array()) {@command Ec2 DeleteFlowLogs} - * @method Model deleteInternetGateway(array $args = array()) {@command Ec2 DeleteInternetGateway} * @method Model deleteKeyPair(array $args = array()) {@command Ec2 DeleteKeyPair} - * @method Model deleteNetworkAcl(array $args = array()) {@command Ec2 DeleteNetworkAcl} - * @method Model deleteNetworkAclEntry(array $args = array()) {@command Ec2 DeleteNetworkAclEntry} - * @method Model deleteNetworkInterface(array $args = array()) {@command Ec2 DeleteNetworkInterface} - * @method Model deletePlacementGroup(array $args = array()) {@command Ec2 DeletePlacementGroup} - * @method Model deleteRoute(array $args = array()) {@command Ec2 DeleteRoute} - * @method Model deleteRouteTable(array $args = array()) {@command Ec2 DeleteRouteTable} * @method Model deleteSecurityGroup(array $args = array()) {@command Ec2 DeleteSecurityGroup} * @method Model deleteSnapshot(array $args = array()) {@command Ec2 DeleteSnapshot} - * @method Model deleteSpotDatafeedSubscription(array $args = array()) {@command Ec2 DeleteSpotDatafeedSubscription} * @method Model deleteSubnet(array $args = array()) {@command Ec2 DeleteSubnet} - * @method Model deleteTags(array $args = array()) {@command Ec2 DeleteTags} * @method Model deleteVolume(array $args = array()) {@command Ec2 DeleteVolume} * @method Model deleteVpc(array $args = array()) {@command Ec2 DeleteVpc} - * @method Model deleteVpcEndpoints(array $args = array()) {@command Ec2 DeleteVpcEndpoints} - * @method Model deleteVpcPeeringConnection(array $args = array()) {@command Ec2 DeleteVpcPeeringConnection} * @method Model deleteVpnConnection(array $args = array()) {@command Ec2 DeleteVpnConnection} - * @method Model deleteVpnConnectionRoute(array $args = array()) {@command Ec2 DeleteVpnConnectionRoute} * @method Model deleteVpnGateway(array $args = array()) {@command Ec2 DeleteVpnGateway} * @method Model deregisterImage(array $args = array()) {@command Ec2 DeregisterImage} * @method Model describeAccountAttributes(array $args = array()) {@command Ec2 DescribeAccountAttributes} * @method Model describeAddresses(array $args = array()) {@command Ec2 DescribeAddresses} * @method Model describeAvailabilityZones(array $args = array()) {@command Ec2 DescribeAvailabilityZones} * @method Model describeBundleTasks(array $args = array()) {@command Ec2 DescribeBundleTasks} - * @method Model describeClassicLinkInstances(array $args = array()) {@command Ec2 DescribeClassicLinkInstances} - * @method Model describeConversionTasks(array $args = array()) {@command Ec2 DescribeConversionTasks} * @method Model describeCustomerGateways(array $args = array()) {@command Ec2 DescribeCustomerGateways} * @method Model describeDhcpOptions(array $args = array()) {@command Ec2 DescribeDhcpOptions} - * @method Model describeExportTasks(array $args = array()) {@command Ec2 DescribeExportTasks} - * @method Model describeFlowLogs(array $args = array()) {@command Ec2 DescribeFlowLogs} + * @method Model describeIdFormat(array $args = array()) {@command Ec2 DescribeIdFormat} * @method Model describeImageAttribute(array $args = array()) {@command Ec2 DescribeImageAttribute} * @method Model describeImages(array $args = array()) {@command Ec2 DescribeImages} - * @method Model describeImportImageTasks(array $args = array()) {@command Ec2 DescribeImportImageTasks} - * @method Model describeImportSnapshotTasks(array $args = array()) {@command Ec2 DescribeImportSnapshotTasks} - * @method Model describeInstanceAttribute(array $args = array()) {@command Ec2 DescribeInstanceAttribute} - * @method Model describeInstanceStatus(array $args = array()) {@command Ec2 DescribeInstanceStatus} * @method Model describeInstances(array $args = array()) {@command Ec2 DescribeInstances} - * @method Model describeInternetGateways(array $args = array()) {@command Ec2 DescribeInternetGateways} * @method Model describeKeyPairs(array $args = array()) {@command Ec2 DescribeKeyPairs} - * @method Model describeMovingAddresses(array $args = array()) {@command Ec2 DescribeMovingAddresses} - * @method Model describeNetworkAcls(array $args = array()) {@command Ec2 DescribeNetworkAcls} - * @method Model describeNetworkInterfaceAttribute(array $args = array()) {@command Ec2 DescribeNetworkInterfaceAttribute} - * @method Model describeNetworkInterfaces(array $args = array()) {@command Ec2 DescribeNetworkInterfaces} - * @method Model describePlacementGroups(array $args = array()) {@command Ec2 DescribePlacementGroups} - * @method Model describePrefixLists(array $args = array()) {@command Ec2 DescribePrefixLists} * @method Model describeRegions(array $args = array()) {@command Ec2 DescribeRegions} * @method Model describeReservedInstances(array $args = array()) {@command Ec2 DescribeReservedInstances} - * @method Model describeReservedInstancesListings(array $args = array()) {@command Ec2 DescribeReservedInstancesListings} * @method Model describeReservedInstancesModifications(array $args = array()) {@command Ec2 DescribeReservedInstancesModifications} * @method Model describeReservedInstancesOfferings(array $args = array()) {@command Ec2 DescribeReservedInstancesOfferings} - * @method Model describeRouteTables(array $args = array()) {@command Ec2 DescribeRouteTables} * @method Model describeSecurityGroups(array $args = array()) {@command Ec2 DescribeSecurityGroups} * @method Model describeSnapshotAttribute(array $args = array()) {@command Ec2 DescribeSnapshotAttribute} * @method Model describeSnapshots(array $args = array()) {@command Ec2 DescribeSnapshots} - * @method Model describeSpotDatafeedSubscription(array $args = array()) {@command Ec2 DescribeSpotDatafeedSubscription} - * @method Model describeSpotFleetInstances(array $args = array()) {@command Ec2 DescribeSpotFleetInstances} - * @method Model describeSpotFleetRequestHistory(array $args = array()) {@command Ec2 DescribeSpotFleetRequestHistory} - * @method Model describeSpotFleetRequests(array $args = array()) {@command Ec2 DescribeSpotFleetRequests} - * @method Model describeSpotInstanceRequests(array $args = array()) {@command Ec2 DescribeSpotInstanceRequests} - * @method Model describeSpotPriceHistory(array $args = array()) {@command Ec2 DescribeSpotPriceHistory} * @method Model describeSubnets(array $args = array()) {@command Ec2 DescribeSubnets} - * @method Model describeTags(array $args = array()) {@command Ec2 DescribeTags} * @method Model describeVolumeAttribute(array $args = array()) {@command Ec2 DescribeVolumeAttribute} - * @method Model describeVolumeStatus(array $args = array()) {@command Ec2 DescribeVolumeStatus} * @method Model describeVolumes(array $args = array()) {@command Ec2 DescribeVolumes} + * @method Model describeVolumeStatus(array $args = array()) {@command Ec2 DescribeVolumeStatus} * @method Model describeVpcAttribute(array $args = array()) {@command Ec2 DescribeVpcAttribute} - * @method Model describeVpcClassicLink(array $args = array()) {@command Ec2 DescribeVpcClassicLink} - * @method Model describeVpcEndpointServices(array $args = array()) {@command Ec2 DescribeVpcEndpointServices} - * @method Model describeVpcEndpoints(array $args = array()) {@command Ec2 DescribeVpcEndpoints} - * @method Model describeVpcPeeringConnections(array $args = array()) {@command Ec2 DescribeVpcPeeringConnections} * @method Model describeVpcs(array $args = array()) {@command Ec2 DescribeVpcs} * @method Model describeVpnConnections(array $args = array()) {@command Ec2 DescribeVpnConnections} * @method Model describeVpnGateways(array $args = array()) {@command Ec2 DescribeVpnGateways} - * @method Model detachClassicLinkVpc(array $args = array()) {@command Ec2 DetachClassicLinkVpc} - * @method Model detachInternetGateway(array $args = array()) {@command Ec2 DetachInternetGateway} - * @method Model detachNetworkInterface(array $args = array()) {@command Ec2 DetachNetworkInterface} * @method Model detachVolume(array $args = array()) {@command Ec2 DetachVolume} * @method Model detachVpnGateway(array $args = array()) {@command Ec2 DetachVpnGateway} - * @method Model disableVgwRoutePropagation(array $args = array()) {@command Ec2 DisableVgwRoutePropagation} - * @method Model disableVpcClassicLink(array $args = array()) {@command Ec2 DisableVpcClassicLink} * @method Model disassociateAddress(array $args = array()) {@command Ec2 DisassociateAddress} - * @method Model disassociateRouteTable(array $args = array()) {@command Ec2 DisassociateRouteTable} - * @method Model enableVgwRoutePropagation(array $args = array()) {@command Ec2 EnableVgwRoutePropagation} * @method Model enableVolumeIO(array $args = array()) {@command Ec2 EnableVolumeIO} - * @method Model enableVpcClassicLink(array $args = array()) {@command Ec2 EnableVpcClassicLink} * @method Model getConsoleOutput(array $args = array()) {@command Ec2 GetConsoleOutput} * @method Model getPasswordData(array $args = array()) {@command Ec2 GetPasswordData} - * @method Model importImage(array $args = array()) {@command Ec2 ImportImage} - * @method Model importInstance(array $args = array()) {@command Ec2 ImportInstance} * @method Model importKeyPair(array $args = array()) {@command Ec2 ImportKeyPair} - * @method Model importSnapshot(array $args = array()) {@command Ec2 ImportSnapshot} - * @method Model importVolume(array $args = array()) {@command Ec2 ImportVolume} + * @method Model modifyIdFormat(array $args = array()) {@command Ec2 ModifyIdFormat} * @method Model modifyImageAttribute(array $args = array()) {@command Ec2 ModifyImageAttribute} - * @method Model modifyInstanceAttribute(array $args = array()) {@command Ec2 ModifyInstanceAttribute} - * @method Model modifyNetworkInterfaceAttribute(array $args = array()) {@command Ec2 ModifyNetworkInterfaceAttribute} * @method Model modifyReservedInstances(array $args = array()) {@command Ec2 ModifyReservedInstances} * @method Model modifySnapshotAttribute(array $args = array()) {@command Ec2 ModifySnapshotAttribute} * @method Model modifySubnetAttribute(array $args = array()) {@command Ec2 ModifySubnetAttribute} * @method Model modifyVolumeAttribute(array $args = array()) {@command Ec2 ModifyVolumeAttribute} * @method Model modifyVpcAttribute(array $args = array()) {@command Ec2 ModifyVpcAttribute} - * @method Model modifyVpcEndpoint(array $args = array()) {@command Ec2 ModifyVpcEndpoint} * @method Model monitorInstances(array $args = array()) {@command Ec2 MonitorInstances} - * @method Model moveAddressToVpc(array $args = array()) {@command Ec2 MoveAddressToVpc} * @method Model purchaseReservedInstancesOffering(array $args = array()) {@command Ec2 PurchaseReservedInstancesOffering} * @method Model rebootInstances(array $args = array()) {@command Ec2 RebootInstances} * @method Model registerImage(array $args = array()) {@command Ec2 RegisterImage} - * @method Model rejectVpcPeeringConnection(array $args = array()) {@command Ec2 RejectVpcPeeringConnection} * @method Model releaseAddress(array $args = array()) {@command Ec2 ReleaseAddress} - * @method Model replaceNetworkAclAssociation(array $args = array()) {@command Ec2 ReplaceNetworkAclAssociation} - * @method Model replaceNetworkAclEntry(array $args = array()) {@command Ec2 ReplaceNetworkAclEntry} - * @method Model replaceRoute(array $args = array()) {@command Ec2 ReplaceRoute} - * @method Model replaceRouteTableAssociation(array $args = array()) {@command Ec2 ReplaceRouteTableAssociation} - * @method Model reportInstanceStatus(array $args = array()) {@command Ec2 ReportInstanceStatus} - * @method Model requestSpotFleet(array $args = array()) {@command Ec2 RequestSpotFleet} - * @method Model requestSpotInstances(array $args = array()) {@command Ec2 RequestSpotInstances} * @method Model resetImageAttribute(array $args = array()) {@command Ec2 ResetImageAttribute} - * @method Model resetInstanceAttribute(array $args = array()) {@command Ec2 ResetInstanceAttribute} - * @method Model resetNetworkInterfaceAttribute(array $args = array()) {@command Ec2 ResetNetworkInterfaceAttribute} * @method Model resetSnapshotAttribute(array $args = array()) {@command Ec2 ResetSnapshotAttribute} - * @method Model restoreAddressToClassic(array $args = array()) {@command Ec2 RestoreAddressToClassic} - * @method Model revokeSecurityGroupEgress(array $args = array()) {@command Ec2 RevokeSecurityGroupEgress} * @method Model revokeSecurityGroupIngress(array $args = array()) {@command Ec2 RevokeSecurityGroupIngress} * @method Model runInstances(array $args = array()) {@command Ec2 RunInstances} + * @method Model terminateInstances(array $args = array()) {@command Ec2 TerminateInstances} + * @method Model unmonitorInstances(array $args = array()) {@command Ec2 UnmonitorInstances} + * @method Model createImage(array $args = array()) {@command Ec2 CreateImage} * @method Model startInstances(array $args = array()) {@command Ec2 StartInstances} * @method Model stopInstances(array $args = array()) {@command Ec2 StopInstances} - * @method Model terminateInstances(array $args = array()) {@command Ec2 TerminateInstances} + * @method Model describeInstanceAttribute(array $args = array()) {@command Ec2 DescribeInstanceAttribute} + * @method Model modifyInstanceAttribute(array $args = array()) {@command Ec2 ModifyInstanceAttribute} + * @method Model resetInstanceAttribute(array $args = array()) {@command Ec2 ResetInstanceAttribute} + * @method Model requestSpotInstances(array $args = array()) {@command Ec2 RequestSpotInstances} + * @method Model describeSpotInstanceRequests(array $args = array()) {@command Ec2 DescribeSpotInstanceRequests} + * @method Model cancelSpotInstanceRequests(array $args = array()) {@command Ec2 CancelSpotInstanceRequests} + * @method Model describeSpotPriceHistory(array $args = array()) {@command Ec2 DescribeSpotPriceHistory} + * @method Model createSpotDatafeedSubscription(array $args = array()) {@command Ec2 CreateSpotDatafeedSubscription} + * @method Model describeSpotDatafeedSubscription(array $args = array()) {@command Ec2 DescribeSpotDatafeedSubscription} + * @method Model deleteSpotDatafeedSubscription(array $args = array()) {@command Ec2 DeleteSpotDatafeedSubscription} + * @method Model createPlacementGroup(array $args = array()) {@command Ec2 CreatePlacementGroup} + * @method Model deletePlacementGroup(array $args = array()) {@command Ec2 DeletePlacementGroup} + * @method Model describePlacementGroups(array $args = array()) {@command Ec2 DescribePlacementGroups} + * @method Model createTags(array $args = array()) {@command Ec2 CreateTags} + * @method Model describeTags(array $args = array()) {@command Ec2 DescribeTags} + * @method Model deleteTags(array $args = array()) {@command Ec2 DeleteTags} + * @method Model authorizeSecurityGroupEgress(array $args = array()) {@command Ec2 AuthorizeSecurityGroupEgress} + * @method Model revokeSecurityGroupEgress(array $args = array()) {@command Ec2 RevokeSecurityGroupEgress} + * @method Model createInternetGateway(array $args = array()) {@command Ec2 CreateInternetGateway} + * @method Model describeInternetGateways(array $args = array()) {@command Ec2 DescribeInternetGateways} + * @method Model deleteInternetGateway(array $args = array()) {@command Ec2 DeleteInternetGateway} + * @method Model attachInternetGateway(array $args = array()) {@command Ec2 AttachInternetGateway} + * @method Model detachInternetGateway(array $args = array()) {@command Ec2 DetachInternetGateway} + * @method Model createRouteTable(array $args = array()) {@command Ec2 CreateRouteTable} + * @method Model describeRouteTables(array $args = array()) {@command Ec2 DescribeRouteTables} + * @method Model deleteRouteTable(array $args = array()) {@command Ec2 DeleteRouteTable} + * @method Model associateRouteTable(array $args = array()) {@command Ec2 AssociateRouteTable} + * @method Model replaceRouteTableAssociation(array $args = array()) {@command Ec2 ReplaceRouteTableAssociation} + * @method Model disassociateRouteTable(array $args = array()) {@command Ec2 DisassociateRouteTable} + * @method Model createRoute(array $args = array()) {@command Ec2 CreateRoute} + * @method Model replaceRoute(array $args = array()) {@command Ec2 ReplaceRoute} + * @method Model deleteRoute(array $args = array()) {@command Ec2 DeleteRoute} + * @method Model createNetworkAcl(array $args = array()) {@command Ec2 CreateNetworkAcl} + * @method Model describeNetworkAcls(array $args = array()) {@command Ec2 DescribeNetworkAcls} + * @method Model deleteNetworkAcl(array $args = array()) {@command Ec2 DeleteNetworkAcl} + * @method Model replaceNetworkAclAssociation(array $args = array()) {@command Ec2 ReplaceNetworkAclAssociation} + * @method Model createNetworkAclEntry(array $args = array()) {@command Ec2 CreateNetworkAclEntry} + * @method Model replaceNetworkAclEntry(array $args = array()) {@command Ec2 ReplaceNetworkAclEntry} + * @method Model deleteNetworkAclEntry(array $args = array()) {@command Ec2 DeleteNetworkAclEntry} + * @method Model describeInstanceStatus(array $args = array()) {@command Ec2 DescribeInstanceStatus} + * @method Model reportInstanceStatus(array $args = array()) {@command Ec2 ReportInstanceStatus} + * @method Model importInstance(array $args = array()) {@command Ec2 ImportInstance} + * @method Model importVolume(array $args = array()) {@command Ec2 ImportVolume} + * @method Model cancelConversionTask(array $args = array()) {@command Ec2 CancelConversionTask} + * @method Model describeConversionTasks(array $args = array()) {@command Ec2 DescribeConversionTasks} + * @method Model createNetworkInterface(array $args = array()) {@command Ec2 CreateNetworkInterface} + * @method Model describeNetworkInterfaces(array $args = array()) {@command Ec2 DescribeNetworkInterfaces} + * @method Model deleteNetworkInterface(array $args = array()) {@command Ec2 DeleteNetworkInterface} + * @method Model attachNetworkInterface(array $args = array()) {@command Ec2 AttachNetworkInterface} + * @method Model detachNetworkInterface(array $args = array()) {@command Ec2 DetachNetworkInterface} + * @method Model describeNetworkInterfaceAttribute(array $args = array()) {@command Ec2 DescribeNetworkInterfaceAttribute} + * @method Model modifyNetworkInterfaceAttribute(array $args = array()) {@command Ec2 ModifyNetworkInterfaceAttribute} + * @method Model resetNetworkInterfaceAttribute(array $args = array()) {@command Ec2 ResetNetworkInterfaceAttribute} + * @method Model describeExportTasks(array $args = array()) {@command Ec2 DescribeExportTasks} + * @method Model createInstanceExportTask(array $args = array()) {@command Ec2 CreateInstanceExportTask} + * @method Model cancelExportTask(array $args = array()) {@command Ec2 CancelExportTask} + * @method Model assignPrivateIpAddresses(array $args = array()) {@command Ec2 AssignPrivateIpAddresses} * @method Model unassignPrivateIpAddresses(array $args = array()) {@command Ec2 UnassignPrivateIpAddresses} - * @method Model unmonitorInstances(array $args = array()) {@command Ec2 UnmonitorInstances} + * @method Model cancelReservedInstancesListing(array $args = array()) {@command Ec2 CancelReservedInstancesListing} + * @method Model createReservedInstancesListing(array $args = array()) {@command Ec2 CreateReservedInstancesListing} + * @method Model describeReservedInstancesListings(array $args = array()) {@command Ec2 DescribeReservedInstancesListings} + * @method Model enableVgwRoutePropagation(array $args = array()) {@command Ec2 EnableVgwRoutePropagation} + * @method Model disableVgwRoutePropagation(array $args = array()) {@command Ec2 DisableVgwRoutePropagation} + * @method Model createVpnConnectionRoute(array $args = array()) {@command Ec2 CreateVpnConnectionRoute} + * @method Model deleteVpnConnectionRoute(array $args = array()) {@command Ec2 DeleteVpnConnectionRoute} + * @method Model acceptVpcPeeringConnection(array $args = array()) {@command Ec2 AcceptVpcPeeringConnection} + * @method Model createVpcPeeringConnection(array $args = array()) {@command Ec2 CreateVpcPeeringConnection} + * @method Model deleteVpcPeeringConnection(array $args = array()) {@command Ec2 DeleteVpcPeeringConnection} + * @method Model describeVpcPeeringConnections(array $args = array()) {@command Ec2 DescribeVpcPeeringConnections} + * @method Model rejectVpcPeeringConnection(array $args = array()) {@command Ec2 RejectVpcPeeringConnection} + * @method Model enableVpcClassicLink(array $args = array()) {@command Ec2 EnableVpcClassicLink} + * @method Model disableVpcClassicLink(array $args = array()) {@command Ec2 DisableVpcClassicLink} + * @method Model attachClassicLinkVpc(array $args = array()) {@command Ec2 AttachClassicLinkVpc} + * @method Model detachClassicLinkVpc(array $args = array()) {@command Ec2 DetachClassicLinkVpc} + * @method Model describeClassicLinkInstances(array $args = array()) {@command Ec2 DescribeClassicLinkInstances} + * @method Model describeVpcClassicLink(array $args = array()) {@command Ec2 DescribeVpcClassicLink} + * @method Model enableVpcClassicLinkDnsSupport(array $args = array()) {@command Ec2 EnableVpcClassicLinkDnsSupport} + * @method Model disableVpcClassicLinkDnsSupport(array $args = array()) {@command Ec2 DisableVpcClassicLinkDnsSupport} + * @method Model describeVpcClassicLinkDnsSupport(array $args = array()) {@command Ec2 DescribeVpcClassicLinkDnsSupport} + * @method Model cancelImportTask(array $args = array()) {@command Ec2 CancelImportTask} + * @method Model describeImportImageTasks(array $args = array()) {@command Ec2 DescribeImportImageTasks} + * @method Model describeImportSnapshotTasks(array $args = array()) {@command Ec2 DescribeImportSnapshotTasks} + * @method Model importImage(array $args = array()) {@command Ec2 ImportImage} + * @method Model importSnapshot(array $args = array()) {@command Ec2 ImportSnapshot} + * @method Model createVpcEndpoint(array $args = array()) {@command Ec2 CreateVpcEndpoint} + * @method Model describeVpcEndpoints(array $args = array()) {@command Ec2 DescribeVpcEndpoints} + * @method Model deleteVpcEndpoints(array $args = array()) {@command Ec2 DeleteVpcEndpoints} + * @method Model modifyVpcEndpoint(array $args = array()) {@command Ec2 ModifyVpcEndpoint} + * @method Model describeVpcEndpointServices(array $args = array()) {@command Ec2 DescribeVpcEndpointServices} + * @method Model describePrefixLists(array $args = array()) {@command Ec2 DescribePrefixLists} + * @method Model moveAddressToVpc(array $args = array()) {@command Ec2 MoveAddressToVpc} + * @method Model restoreAddressToClassic(array $args = array()) {@command Ec2 RestoreAddressToClassic} + * @method Model describeMovingAddresses(array $args = array()) {@command Ec2 DescribeMovingAddresses} + * @method Model describeScheduledInstanceAvailability(array $args = array()) {@command Ec2 DescribeScheduledInstanceAvailability} + * @method Model describeScheduledInstances(array $args = array()) {@command Ec2 DescribeScheduledInstances} + * @method Model purchaseScheduledInstances(array $args = array()) {@command Ec2 PurchaseScheduledInstances} + * @method Model runScheduledInstances(array $args = array()) {@command Ec2 RunScheduledInstances} + * @method Model requestSpotFleet(array $args = array()) {@command Ec2 RequestSpotFleet} + * @method Model describeSpotFleetRequests(array $args = array()) {@command Ec2 DescribeSpotFleetRequests} + * @method Model describeSpotFleetInstances(array $args = array()) {@command Ec2 DescribeSpotFleetInstances} + * @method Model cancelSpotFleetRequests(array $args = array()) {@command Ec2 CancelSpotFleetRequests} + * @method Model describeSpotFleetRequestHistory(array $args = array()) {@command Ec2 DescribeSpotFleetRequestHistory} + * @method Model modifySpotFleetRequest(array $args = array()) {@command Ec2 ModifySpotFleetRequest} + * @method Model createFlowLogs(array $args = array()) {@command Ec2 CreateFlowLogs} + * @method Model deleteFlowLogs(array $args = array()) {@command Ec2 DeleteFlowLogs} + * @method Model describeFlowLogs(array $args = array()) {@command Ec2 DescribeFlowLogs} + * @method Model allocateHosts(array $args = array()) {@command Ec2 AllocateHosts} + * @method Model modifyInstancePlacement(array $args = array()) {@command Ec2 ModifyInstancePlacement} + * @method Model modifyHosts(array $args = array()) {@command Ec2 ModifyHosts} + * @method Model describeHosts(array $args = array()) {@command Ec2 DescribeHosts} + * @method Model releaseHosts(array $args = array()) {@command Ec2 ReleaseHosts} + * @method Model createNatGateway(array $args = array()) {@command Ec2 CreateNatGateway} + * @method Model describeNatGateways(array $args = array()) {@command Ec2 DescribeNatGateways} + * @method Model deleteNatGateway(array $args = array()) {@command Ec2 DeleteNatGateway} * @method waitUntilInstanceRunning(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings * @method waitUntilInstanceStopped(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings * @method waitUntilInstanceTerminated(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings @@ -265,7 +283,7 @@ */ class Ec2Client extends AbstractClient { - const LATEST_API_VERSION = '2015-04-15'; + const LATEST_API_VERSION = '2015-10-01'; /** * Factory method to create a new AWS Elastic Compute Cloud client using an array of configuration options. diff --git a/vendor/aws/Aws/Ec2/Resources/ec2-2015-04-15.php b/vendor/aws/Aws/Ec2/Resources/ec2-2015-04-15.php index c9e5008..c4fccc2 100644 --- a/vendor/aws/Aws/Ec2/Resources/ec2-2015-04-15.php +++ b/vendor/aws/Aws/Ec2/Resources/ec2-2015-04-15.php @@ -8256,9 +8256,18 @@ 'type' => 'boolean', 'format' => 'boolean-string', ), + 'WeightedCapacity' => array( + 'type' => 'numeric', + ), + 'SpotPrice' => array( + 'type' => 'string', + ), ), ), ), + 'AllocationStrategy' => array( + 'type' => 'string', + ), ), ), ), @@ -10915,6 +10924,11 @@ 'location' => 'xml', 'sentAs' => 'status', ), + 'StateMessage' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'statusMessage', + ), 'StartTime' => array( 'type' => 'string', 'location' => 'xml', @@ -10955,6 +10969,11 @@ 'location' => 'xml', 'sentAs' => 'kmsKeyId', ), + 'DataEncryptionKeyId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'dataEncryptionKeyId', + ), ), ), 'CreateSpotDatafeedSubscriptionResult' => array( @@ -15256,6 +15275,10 @@ 'type' => 'string', 'sentAs' => 'status', ), + 'StateMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), 'StartTime' => array( 'type' => 'string', 'sentAs' => 'startTime', @@ -15307,6 +15330,10 @@ 'type' => 'string', 'sentAs' => 'kmsKeyId', ), + 'DataEncryptionKeyId' => array( + 'type' => 'string', + 'sentAs' => 'dataEncryptionKeyId', + ), ), ), ), @@ -15742,9 +15769,21 @@ 'type' => 'boolean', 'sentAs' => 'ebsOptimized', ), + 'WeightedCapacity' => array( + 'type' => 'numeric', + 'sentAs' => 'weightedCapacity', + ), + 'SpotPrice' => array( + 'type' => 'string', + 'sentAs' => 'spotPrice', + ), ), ), ), + 'AllocationStrategy' => array( + 'type' => 'string', + 'sentAs' => 'allocationStrategy', + ), ), ), ), diff --git a/vendor/aws/Aws/Ec2/Resources/ec2-2015-10-01.php b/vendor/aws/Aws/Ec2/Resources/ec2-2015-10-01.php new file mode 100644 index 0000000..e96a007 --- /dev/null +++ b/vendor/aws/Aws/Ec2/Resources/ec2-2015-10-01.php @@ -0,0 +1,21012 @@ + '2015-10-01', + 'endpointPrefix' => 'ec2', + 'serviceFullName' => 'Amazon Elastic Compute Cloud', + 'serviceAbbreviation' => 'Amazon EC2', + 'serviceType' => 'query', + 'signatureVersion' => 'v4', + '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', + ), + 'cn-north-1' => array( + 'http' => true, + 'https' => true, + 'hostname' => 'ec2.cn-north-1.amazonaws.com.cn', + ), + 'us-gov-west-1' => array( + 'http' => false, + 'https' => true, + 'hostname' => 'ec2.us-gov-west-1.amazonaws.com', + ), + ), + 'operations' => array( + 'AllocateAddress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AllocateAddressResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AllocateAddress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Domain' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AssociateAddress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AssociateAddressResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AssociateAddress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PublicIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AllocationId' => array( + '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', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AssociateDhcpOptions', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'DhcpOptionsId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AttachVolume' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'attachment', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AttachVolume', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Device' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AttachVpnGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AttachVpnGatewayResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AttachVpnGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpnGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AuthorizeSecurityGroupIngress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AuthorizeSecurityGroupIngress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GroupId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupOwnerId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpProtocol' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'FromPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ToPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'CidrIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpPermissions' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'IpPermission', + 'type' => 'object', + 'properties' => array( + 'IpProtocol' => array( + 'type' => 'string', + ), + 'FromPort' => array( + 'type' => 'numeric', + ), + 'ToPort' => array( + 'type' => 'numeric', + ), + 'UserIdGroupPairs' => array( + 'type' => 'array', + 'sentAs' => 'Groups', + 'items' => array( + 'name' => 'Groups', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + 'GroupId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'IpRanges' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'IpRange', + 'type' => 'object', + 'properties' => array( + 'CidrIp' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PrefixListId', + 'type' => 'object', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'BundleInstance' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'BundleInstanceResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'BundleInstance', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Storage' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'S3' => array( + 'type' => 'object', + 'properties' => array( + 'Bucket' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + 'AWSAccessKeyId' => array( + 'type' => 'string', + ), + 'UploadPolicy' => array( + 'type' => 'string', + ), + 'UploadPolicySignature' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'CancelBundleTask' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CancelBundleTaskResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CancelBundleTask', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'BundleId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ConfirmProductInstance' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ConfirmProductInstanceResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ConfirmProductInstance', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ProductCode' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + ), + 'DestinationRegion' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PresignedUrl' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KmsKeyId' => array( + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateCustomerGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateCustomerGatewayResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateCustomerGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Type' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PublicIp' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'sentAs' => 'IpAddress', + ), + 'BgpAsn' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'CreateDhcpOptions' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateDhcpOptionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateDhcpOptions', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'DhcpConfigurations' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'DhcpConfiguration', + 'items' => array( + 'name' => 'DhcpConfiguration', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'CreateKeyPair' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateKeyPairResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateKeyPair', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KeyName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateSecurityGroup' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateSecurityGroupResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateSecurityGroup', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'sentAs' => 'GroupDescription', + ), + 'VpcId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateSnapshot' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'snapshot', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateSnapshot', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateSubnet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateSubnetResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateSubnet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'CidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateVolume' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'volume', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateVolume', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Size' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'SnapshotId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VolumeType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Iops' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateVpc' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateVpcResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateVpc', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'CidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceTenancy' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateVpnConnection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateVpnConnectionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateVpnConnection', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Type' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'CustomerGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpnGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Options' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'StaticRoutesOnly' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + 'CreateVpnGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateVpnGatewayResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateVpnGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Type' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteCustomerGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteCustomerGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'CustomerGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteDhcpOptions' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteDhcpOptions', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'DhcpOptionsId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteKeyPair' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteKeyPair', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KeyName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteSecurityGroup' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteSecurityGroup', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GroupId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteSnapshot' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteSnapshot', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SnapshotId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteSubnet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteSubnet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SubnetId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteVolume' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteVolume', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteVpc' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteVpc', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteVpnConnection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteVpnConnection', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpnConnectionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteVpnGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteVpnGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpnGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeregisterImage' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeregisterImage', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageId' => array( + 'required' => true, + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeAddresses', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PublicIps' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PublicIp', + 'items' => array( + 'name' => 'PublicIp', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + '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', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeAvailabilityZones', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ZoneNames' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ZoneName', + 'items' => array( + 'name' => 'ZoneName', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeBundleTasks' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeBundleTasksResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeBundleTasks', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'BundleIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BundleId', + 'items' => array( + 'name' => 'BundleId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeCustomerGateways' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeCustomerGatewaysResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeCustomerGateways', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'CustomerGatewayIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'CustomerGatewayId', + 'items' => array( + 'name' => 'CustomerGatewayId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeDhcpOptions' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeDhcpOptionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeDhcpOptions', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'DhcpOptionsIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'DhcpOptionsId', + 'items' => array( + 'name' => 'DhcpOptionsId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeIdFormat' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeIdFormatResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeIdFormat', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'Resource' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeImageAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'imageAttribute', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeImageAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeImages' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeImagesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeImages', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ImageId', + 'items' => array( + 'name' => 'ImageId', + 'type' => 'string', + ), + ), + 'Owners' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Owner', + 'items' => array( + 'name' => 'Owner', + 'type' => 'string', + ), + ), + 'ExecutableUsers' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ExecutableBy', + 'items' => array( + 'name' => 'ExecutableBy', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeKeyPairs' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeKeyPairsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeKeyPairs', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KeyNames' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'KeyName', + 'items' => array( + 'name' => 'KeyName', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeRegions' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeRegionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeRegions', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'RegionNames' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'RegionName', + 'items' => array( + 'name' => 'RegionName', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeReservedInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeReservedInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeReservedInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ReservedInstancesIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ReservedInstancesId', + 'items' => array( + 'name' => 'ReservedInstancesId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'OfferingType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeReservedInstancesModifications' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeReservedInstancesModificationsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeReservedInstancesModifications', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'ReservedInstancesModificationIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ReservedInstancesModificationId', + 'items' => array( + 'name' => 'ReservedInstancesModificationId', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeReservedInstancesOfferings' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeReservedInstancesOfferingsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeReservedInstancesOfferings', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ReservedInstancesOfferingIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ReservedInstancesOfferingId', + 'items' => array( + 'name' => 'ReservedInstancesOfferingId', + 'type' => 'string', + ), + ), + 'InstanceType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ProductDescription' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'InstanceTenancy' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'OfferingType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'IncludeMarketplace' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'MinDuration' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MaxDuration' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MaxInstanceCount' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeSecurityGroups' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSecurityGroupsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSecurityGroups', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupNames' => array( + '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( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeSnapshotAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSnapshotAttributeResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSnapshotAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SnapshotId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeSnapshots' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSnapshotsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSnapshots', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SnapshotIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SnapshotId', + 'items' => array( + 'name' => 'SnapshotId', + 'type' => 'string', + ), + ), + 'OwnerIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Owner', + 'items' => array( + 'name' => 'Owner', + 'type' => 'string', + ), + ), + 'RestorableByUserIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'RestorableBy', + 'items' => array( + 'name' => 'RestorableBy', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeSubnets' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSubnetsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSubnets', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SubnetIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SubnetId', + 'items' => array( + 'name' => 'SubnetId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVolumes' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVolumesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVolumes', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVolumeStatus' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVolumeStatusResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVolumeStatus', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVpcs' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpcsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpcs', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcId', + 'items' => array( + 'name' => 'VpcId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeVpnConnections' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpnConnectionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpnConnections', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpnConnectionIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpnConnectionId', + 'items' => array( + 'name' => 'VpnConnectionId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeVpnGateways' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpnGatewaysResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpnGateways', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpnGatewayIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpnGatewayId', + 'items' => array( + 'name' => 'VpnGatewayId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DetachVolume' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'attachment', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DetachVolume', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Device' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Force' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'DetachVpnGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DetachVpnGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpnGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DisassociateAddress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DisassociateAddress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PublicIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AssociationId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'EnableVolumeIO' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'EnableVolumeIO', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'GetConsoleOutput' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'GetConsoleOutputResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'GetConsoleOutput', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'GetPasswordData' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'GetPasswordDataResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'GetPasswordData', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ImportKeyPair' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ImportKeyPairResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ImportKeyPair', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KeyName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PublicKeyMaterial' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'filters' => array( + 'base64_encode', + ), + ), + ), + ), + 'ModifyIdFormat' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyIdFormat', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'Resource' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'UseLongIds' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'ModifyImageAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyImageAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'OperationType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'UserIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'UserId', + 'items' => array( + 'name' => 'UserId', + 'type' => 'string', + ), + ), + 'UserGroups' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'UserGroup', + 'items' => array( + 'name' => 'UserGroup', + 'type' => 'string', + ), + ), + 'ProductCodes' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ProductCode', + 'items' => array( + 'name' => 'ProductCode', + 'type' => 'string', + ), + ), + 'Value' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'LaunchPermission' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Add' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'LaunchPermission', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'Group' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Remove' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'LaunchPermission', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'Group' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'Description' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'ModifyReservedInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ModifyReservedInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyReservedInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ReservedInstancesIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ReservedInstancesId', + 'items' => array( + 'name' => 'ReservedInstancesId', + 'type' => 'string', + ), + ), + 'TargetConfigurations' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ReservedInstancesConfigurationSetItemType', + 'items' => array( + 'name' => 'ReservedInstancesConfigurationSetItemType', + 'type' => 'object', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + ), + 'Platform' => array( + 'type' => 'string', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + ), + 'InstanceType' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ModifySnapshotAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifySnapshotAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SnapshotId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'OperationType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'UserIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'UserId', + 'items' => array( + 'name' => 'UserId', + 'type' => 'string', + ), + ), + 'GroupNames' => array( + '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', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'Group' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Remove' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CreateVolumePermission', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'Group' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'ModifySubnetAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifySubnetAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'SubnetId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MapPublicIpOnLaunch' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'format' => 'boolean-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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VolumeId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AutoEnableIO' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'EnableDnsSupport' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'EnableDnsHostnames' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + 'MonitorInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'MonitorInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'MonitorInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'required' => true, + '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', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'PurchaseReservedInstancesOffering', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ReservedInstancesOfferingId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceCount' => array( + 'required' => true, + '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', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RebootInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'required' => true, + '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', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RegisterImage', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageLocation' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Architecture' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'KernelId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RootDeviceName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + ), + ), + ), + ), + 'VirtualizationType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SriovNetSupport' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ReleaseAddress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReleaseAddress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PublicIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AllocationId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ResetImageAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ResetImageAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ResetSnapshotAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ResetSnapshotAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SnapshotId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'RevokeSecurityGroupIngress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RevokeSecurityGroupIngress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GroupId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupOwnerId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpProtocol' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'FromPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ToPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'CidrIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpPermissions' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'IpPermission', + 'type' => 'object', + 'properties' => array( + 'IpProtocol' => array( + 'type' => 'string', + ), + 'FromPort' => array( + 'type' => 'numeric', + ), + 'ToPort' => array( + 'type' => 'numeric', + ), + 'UserIdGroupPairs' => array( + 'type' => 'array', + 'sentAs' => 'Groups', + 'items' => array( + 'name' => 'Groups', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + 'GroupId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'IpRanges' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'IpRange', + 'type' => 'object', + 'properties' => array( + 'CidrIp' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PrefixListId', + 'type' => 'object', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'RunInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'reservation', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RunInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImageId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MinCount' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MaxCount' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'KeyName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SecurityGroups' => array( + '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( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Placement' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + 'Tenancy' => array( + 'type' => 'string', + ), + 'HostId' => array( + 'type' => 'string', + ), + 'Affinity' => array( + 'type' => 'string', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Monitoring' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'SubnetId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DisableApiTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceInitiatedShutdownBehavior' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PrivateIpAddress' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + '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', + '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', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + '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', + ), + ), + ), + 'TerminateInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'TerminateInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'TerminateInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + ), + ), + 'UnmonitorInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'UnmonitorInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'UnmonitorInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + ), + ), + 'CreateImage' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateImageResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateImage', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NoReboot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'StartInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'StartInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'StartInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'InstanceIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'AdditionalInfo' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'StopInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'StopInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'StopInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'Force' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeInstanceAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'InstanceAttribute', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeInstanceAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ModifyInstanceAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyInstanceAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Value' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'VirtualName' => array( + 'type' => 'string', + ), + 'NoDevice' => array( + 'type' => 'string', + ), + ), + ), + ), + 'SourceDestCheck' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'DisableApiTermination' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'InstanceType' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + 'Kernel' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + 'Ramdisk' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + 'UserData' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + 'InstanceInitiatedShutdownBehavior' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + '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( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'SriovNetSupport' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'ResetInstanceAttribute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ResetInstanceAttribute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'RequestSpotInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'RequestSpotInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RequestSpotInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotPrice' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Type' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ValidFrom' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'ValidUntil' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'LaunchGroup' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AvailabilityZoneGroup' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BlockDurationMinutes' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'LaunchSpecification' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + ), + 'KeyName' => array( + 'type' => 'string', + ), + 'UserData' => array( + 'type' => 'string', + ), + 'AddressingType' => array( + 'type' => 'string', + ), + 'InstanceType' => array( + 'type' => 'string', + ), + 'Placement' => array( + 'type' => 'object', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + ), + 'RamdiskId' => array( + 'type' => 'string', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Monitoring' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'SubnetId' => array( + 'type' => 'string', + ), + 'NetworkInterfaces' => array( + 'type' => 'array', + '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', + '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', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + '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', + ), + ), + ), + ), + ), + ), + 'DescribeSpotInstanceRequests' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSpotInstanceRequestsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSpotInstanceRequests', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotInstanceRequestIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SpotInstanceRequestId', + 'items' => array( + 'name' => 'SpotInstanceRequestId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'CancelSpotInstanceRequests' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CancelSpotInstanceRequestsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CancelSpotInstanceRequests', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotInstanceRequestIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SpotInstanceRequestId', + 'items' => array( + 'name' => 'SpotInstanceRequestId', + 'type' => 'string', + ), + ), + ), + ), + 'DescribeSpotPriceHistory' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSpotPriceHistoryResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSpotPriceHistory', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'StartTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'EndTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'InstanceTypes' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceType', + 'items' => array( + 'name' => 'InstanceType', + 'type' => 'string', + ), + ), + 'ProductDescriptions' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ProductDescription', + 'items' => array( + 'name' => 'ProductDescription', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateSpotDatafeedSubscription' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateSpotDatafeedSubscriptionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateSpotDatafeedSubscription', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Prefix' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeSpotDatafeedSubscription' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSpotDatafeedSubscriptionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSpotDatafeedSubscription', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteSpotDatafeedSubscription' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteSpotDatafeedSubscription', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'CreatePlacementGroup' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreatePlacementGroup', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Strategy' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeletePlacementGroup' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeletePlacementGroup', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribePlacementGroups' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribePlacementGroupsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribePlacementGroups', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupNames' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'GroupName', + 'items' => array( + 'name' => 'GroupName', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'CreateTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateTags', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Resources' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceId', + 'items' => array( + 'name' => 'ResourceId', + 'type' => 'string', + ), + ), + 'Tags' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tag', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'DescribeTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeTagsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeTags', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteTags' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteTags', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Resources' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceId', + 'items' => array( + 'name' => 'ResourceId', + 'type' => 'string', + ), + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tag', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'AuthorizeSecurityGroupEgress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AuthorizeSecurityGroupEgress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupOwnerId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpProtocol' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'FromPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ToPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'CidrIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpPermissions' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'IpPermission', + 'type' => 'object', + 'properties' => array( + 'IpProtocol' => array( + 'type' => 'string', + ), + 'FromPort' => array( + 'type' => 'numeric', + ), + 'ToPort' => array( + 'type' => 'numeric', + ), + 'UserIdGroupPairs' => array( + 'type' => 'array', + 'sentAs' => 'Groups', + 'items' => array( + 'name' => 'Groups', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + 'GroupId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'IpRanges' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'IpRange', + 'type' => 'object', + 'properties' => array( + 'CidrIp' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PrefixListId', + 'type' => 'object', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'RevokeSecurityGroupEgress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RevokeSecurityGroupEgress', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'GroupId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceSecurityGroupOwnerId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpProtocol' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'FromPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ToPort' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'CidrIp' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IpPermissions' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'IpPermission', + 'type' => 'object', + 'properties' => array( + 'IpProtocol' => array( + 'type' => 'string', + ), + 'FromPort' => array( + 'type' => 'numeric', + ), + 'ToPort' => array( + 'type' => 'numeric', + ), + 'UserIdGroupPairs' => array( + 'type' => 'array', + 'sentAs' => 'Groups', + 'items' => array( + 'name' => 'Groups', + 'type' => 'object', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + 'GroupId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'IpRanges' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'IpRange', + 'type' => 'object', + 'properties' => array( + 'CidrIp' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PrefixListId', + 'type' => 'object', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'CreateInternetGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateInternetGatewayResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateInternetGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeInternetGateways' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeInternetGatewaysResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeInternetGateways', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InternetGatewayIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InternetGatewayId', + 'items' => array( + 'name' => 'InternetGatewayId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DeleteInternetGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteInternetGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InternetGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AttachInternetGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AttachInternetGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InternetGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DetachInternetGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DetachInternetGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InternetGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateRouteTable' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateRouteTableResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateRouteTable', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeRouteTables' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeRouteTablesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeRouteTables', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'RouteTableIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'RouteTableId', + 'items' => array( + 'name' => 'RouteTableId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DeleteRouteTable' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteRouteTable', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AssociateRouteTable' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AssociateRouteTableResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AssociateRouteTable', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SubnetId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ReplaceRouteTableAssociation' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ReplaceRouteTableAssociationResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReplaceRouteTableAssociation', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'AssociationId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DisassociateRouteTable' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DisassociateRouteTable', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'AssociationId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateRoute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateRouteResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateRoute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DestinationCidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GatewayId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NetworkInterfaceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NatGatewayId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ReplaceRoute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReplaceRoute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DestinationCidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GatewayId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NetworkInterfaceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NatGatewayId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteRoute' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteRoute', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DestinationCidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateNetworkAcl' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateNetworkAclResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateNetworkAcl', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeNetworkAcls' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeNetworkAclsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeNetworkAcls', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkAclIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'NetworkAclId', + 'items' => array( + 'name' => 'NetworkAclId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DeleteNetworkAcl' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteNetworkAcl', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkAclId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ReplaceNetworkAclAssociation' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ReplaceNetworkAclAssociationResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReplaceNetworkAclAssociation', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'AssociationId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NetworkAclId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateNetworkAclEntry' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateNetworkAclEntry', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkAclId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleNumber' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Protocol' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleAction' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Egress' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'CidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IcmpTypeCode' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'sentAs' => 'Icmp', + 'properties' => array( + 'Type' => array( + 'type' => 'numeric', + ), + 'Code' => array( + 'type' => 'numeric', + ), + ), + ), + 'PortRange' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'From' => array( + 'type' => 'numeric', + ), + 'To' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + 'ReplaceNetworkAclEntry' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReplaceNetworkAclEntry', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkAclId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleNumber' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Protocol' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleAction' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Egress' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'CidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'IcmpTypeCode' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'sentAs' => 'Icmp', + 'properties' => array( + 'Type' => array( + 'type' => 'numeric', + ), + 'Code' => array( + 'type' => 'numeric', + ), + ), + ), + 'PortRange' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'From' => array( + 'type' => 'numeric', + ), + 'To' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + 'DeleteNetworkAclEntry' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteNetworkAclEntry', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkAclId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleNumber' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Egress' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeInstanceStatus' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeInstanceStatusResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeInstanceStatus', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'IncludeAllInstances' => array( + 'type' => 'boolean', + 'format' => 'boolean-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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Instances' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'Status' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'StartTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'EndTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', + ), + 'ReasonCodes' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ReasonCode', + 'items' => array( + 'name' => 'ReasonCode', + 'type' => 'string', + ), + ), + 'Description' => array( + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'LaunchSpecification' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Architecture' => array( + 'type' => 'string', + ), + 'GroupNames' => array( + 'type' => 'array', + 'sentAs' => 'GroupName', + 'items' => array( + 'name' => 'GroupName', + 'type' => 'string', + ), + ), + 'GroupIds' => array( + 'type' => 'array', + 'sentAs' => 'GroupId', + 'items' => array( + 'name' => 'GroupId', + 'type' => 'string', + ), + ), + 'AdditionalInfo' => array( + 'type' => 'string', + ), + 'UserData' => array( + 'type' => 'object', + 'properties' => array( + 'Data' => array( + 'type' => 'string', + ), + ), + ), + 'InstanceType' => array( + 'type' => 'string', + ), + 'Placement' => array( + 'type' => 'object', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + 'Tenancy' => array( + 'type' => 'string', + ), + 'HostId' => array( + 'type' => 'string', + ), + 'Affinity' => array( + 'type' => 'string', + ), + ), + ), + 'Monitoring' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'SubnetId' => array( + 'type' => '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', + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Image' => array( + 'required' => true, + '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( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Size' => array( + 'required' => true, + 'type' => 'numeric', + ), + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ConversionTaskId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ReasonMessage' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + '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', + ), + ), + ), + ), + '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' => '2015-10-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', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkInterfaceId' => array( + 'required' => true, + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + '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', + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'AttachmentId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Force' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkInterfaceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Attribute' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkInterfaceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + ), + ), + ), + 'SourceDestCheck' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Value' => array( + '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', + ), + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'NetworkInterfaceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceDestCheck' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-01', + ), + 'ExportTaskIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ExportTaskId', + 'items' => array( + 'name' => 'ExportTaskId', + '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' => '2015-10-01', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'TargetEnvironment' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ExportToS3Task' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'sentAs' => 'ExportToS3', + 'properties' => array( + 'DiskImageFormat' => array( + 'type' => 'string', + ), + 'ContainerFormat' => array( + 'type' => 'string', + ), + 'S3Bucket' => array( + 'type' => 'string', + ), + 'S3Prefix' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'ExportTaskId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-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', + ), + ), + ), + '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' => '2015-10-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', + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'ReservedInstancesListingId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-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', + ), + ), + ), + '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' => '2015-10-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', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + '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' => '2015-10-01', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GatewayId' => array( + 'required' => true, + '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' => '2015-10-01', + ), + 'RouteTableId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'GatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + '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' => '2015-10-01', + ), + 'VpnConnectionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DestinationCidrBlock' => array( + 'required' => true, + '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' => '2015-10-01', + ), + 'VpnConnectionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DestinationCidrBlock' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AcceptVpcPeeringConnection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AcceptVpcPeeringConnectionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AcceptVpcPeeringConnection', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateVpcPeeringConnection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateVpcPeeringConnectionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateVpcPeeringConnection', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PeerVpcId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PeerOwnerId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteVpcPeeringConnection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DeleteVpcPeeringConnectionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteVpcPeeringConnection', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcPeeringConnectionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVpcPeeringConnections' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpcPeeringConnectionsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpcPeeringConnections', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcPeeringConnectionIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcPeeringConnectionId', + 'items' => array( + 'name' => 'VpcPeeringConnectionId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'RejectVpcPeeringConnection' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'RejectVpcPeeringConnectionResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RejectVpcPeeringConnection', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcPeeringConnectionId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'EnableVpcClassicLink' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EnableVpcClassicLinkResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'EnableVpcClassicLink', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DisableVpcClassicLink' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DisableVpcClassicLinkResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DisableVpcClassicLink', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'AttachClassicLinkVpc' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AttachClassicLinkVpcResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AttachClassicLinkVpc', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Groups' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SecurityGroupId', + 'items' => array( + 'name' => 'SecurityGroupId', + 'type' => 'string', + ), + ), + ), + ), + 'DetachClassicLinkVpc' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DetachClassicLinkVpcResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DetachClassicLinkVpc', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeClassicLinkInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeClassicLinkInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeClassicLinkInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'InstanceIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'InstanceId', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVpcClassicLink' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpcClassicLinkResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpcClassicLink', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcId', + 'items' => array( + 'name' => 'VpcId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'EnableVpcClassicLinkDnsSupport' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EnableVpcClassicLinkDnsSupportResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'EnableVpcClassicLinkDnsSupport', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'VpcId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DisableVpcClassicLinkDnsSupport' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DisableVpcClassicLinkDnsSupportResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DisableVpcClassicLinkDnsSupport', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'VpcId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVpcClassicLinkDnsSupport' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpcClassicLinkDnsSupportResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpcClassicLinkDnsSupport', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'VpcIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + 'minimum' => 5, + 'maximum' => 255, + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + ), + ), + 'CancelImportTask' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CancelImportTaskResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CancelImportTask', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImportTaskId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'CancelReason' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeImportImageTasks' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeImportImageTasksResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeImportImageTasks', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImportTaskIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ImportTaskId', + 'items' => array( + 'name' => 'ImportTaskId', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeImportSnapshotTasks' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeImportSnapshotTasksResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeImportSnapshotTasks', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ImportTaskIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ImportTaskId', + 'items' => array( + 'name' => 'ImportTaskId', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'ImportImage' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ImportImageResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ImportImage', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DiskContainers' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'DiskContainer', + 'items' => array( + 'name' => 'DiskContainer', + 'type' => 'object', + 'properties' => array( + 'Description' => array( + 'type' => 'string', + ), + 'Format' => array( + 'type' => 'string', + ), + 'Url' => array( + 'type' => 'string', + ), + 'UserBucket' => array( + 'type' => 'object', + 'properties' => array( + 'S3Bucket' => array( + 'type' => 'string', + ), + 'S3Key' => array( + 'type' => 'string', + ), + ), + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'SnapshotId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'LicenseType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Hypervisor' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Architecture' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Platform' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ClientData' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'UploadStart' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'UploadEnd' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'UploadSize' => array( + 'type' => 'numeric', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RoleName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ImportSnapshot' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ImportSnapshotResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ImportSnapshot', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DiskContainer' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Description' => array( + 'type' => 'string', + ), + 'Format' => array( + 'type' => 'string', + ), + 'Url' => array( + 'type' => 'string', + ), + 'UserBucket' => array( + 'type' => 'object', + 'properties' => array( + 'S3Bucket' => array( + 'type' => 'string', + ), + 'S3Key' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'ClientData' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'UploadStart' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'UploadEnd' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'UploadSize' => array( + 'type' => 'numeric', + ), + 'Comment' => array( + 'type' => 'string', + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RoleName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateVpcEndpoint' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateVpcEndpointResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateVpcEndpoint', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ServiceName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PolicyDocument' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RouteTableIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'RouteTableId', + 'items' => array( + 'name' => 'RouteTableId', + 'type' => 'string', + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeVpcEndpoints' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpcEndpointsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpcEndpoints', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcEndpointIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcEndpointId', + 'items' => array( + 'name' => 'VpcEndpointId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteVpcEndpoints' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DeleteVpcEndpointsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteVpcEndpoints', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcEndpointIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcEndpointId', + 'items' => array( + 'name' => 'VpcEndpointId', + 'type' => 'string', + ), + ), + ), + ), + 'ModifyVpcEndpoint' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ModifyVpcEndpointResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyVpcEndpoint', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'VpcEndpointId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ResetPolicy' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PolicyDocument' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AddRouteTableIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'AddRouteTableId', + 'items' => array( + 'name' => 'AddRouteTableId', + 'type' => 'string', + ), + ), + 'RemoveRouteTableIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'RemoveRouteTableId', + 'items' => array( + 'name' => 'RemoveRouteTableId', + 'type' => 'string', + ), + ), + ), + ), + 'DescribeVpcEndpointServices' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeVpcEndpointServicesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeVpcEndpointServices', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribePrefixLists' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribePrefixListsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribePrefixLists', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PrefixListId', + 'items' => array( + 'name' => 'PrefixListId', + 'type' => 'string', + ), + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'MoveAddressToVpc' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'MoveAddressToVpcResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'MoveAddressToVpc', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PublicIp' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'RestoreAddressToClassic' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'RestoreAddressToClassicResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RestoreAddressToClassic', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PublicIp' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeMovingAddresses' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeMovingAddressesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeMovingAddresses', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'PublicIps' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PublicIp', + 'items' => array( + 'name' => 'PublicIp', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeScheduledInstanceAvailability' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeScheduledInstanceAvailabilityResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeScheduledInstanceAvailability', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Recurrence' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Frequency' => array( + 'type' => 'string', + ), + 'Interval' => array( + 'type' => 'numeric', + ), + 'OccurrenceDays' => array( + 'type' => 'array', + 'sentAs' => 'OccurrenceDay', + 'items' => array( + 'name' => 'OccurrenceDay', + 'type' => 'numeric', + ), + ), + 'OccurrenceRelativeToEnd' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'OccurrenceUnit' => array( + 'type' => 'string', + ), + ), + ), + 'FirstSlotStartTimeRange' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'EarliestTime' => array( + 'required' => true, + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'LatestTime' => array( + 'required' => true, + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + ), + ), + 'MinSlotDurationInHours' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MaxSlotDurationInHours' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'DescribeScheduledInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeScheduledInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeScheduledInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ScheduledInstanceIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ScheduledInstanceId', + 'items' => array( + 'name' => 'ScheduledInstanceId', + 'type' => 'string', + ), + ), + 'SlotStartTimeRange' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'EarliestTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'LatestTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filter', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'PurchaseScheduledInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'PurchaseScheduledInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'PurchaseScheduledInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PurchaseRequests' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PurchaseRequest', + 'items' => array( + 'name' => 'PurchaseRequest', + 'type' => 'object', + 'properties' => array( + 'PurchaseToken' => array( + 'type' => 'string', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'RunScheduledInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'RunScheduledInstancesResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RunScheduledInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ScheduledInstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'LaunchSpecification' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'ImageId' => array( + 'required' => true, + 'type' => 'string', + ), + 'KeyName' => array( + 'type' => 'string', + ), + 'SecurityGroupIds' => array( + 'type' => 'array', + 'sentAs' => 'SecurityGroupId', + 'items' => array( + 'name' => 'SecurityGroupId', + 'type' => 'string', + ), + ), + 'UserData' => array( + 'type' => 'string', + ), + 'Placement' => array( + 'type' => 'object', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + ), + 'InstanceType' => array( + 'type' => 'string', + ), + 'RamdiskId' => array( + 'type' => 'string', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'DeviceName' => array( + 'type' => 'string', + ), + 'NoDevice' => array( + 'type' => 'string', + ), + 'VirtualName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + ), + 'Monitoring' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'SubnetId' => array( + 'type' => 'string', + ), + 'NetworkInterfaces' => array( + 'type' => 'array', + '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', + ), + 'PrivateIpAddressConfigs' => array( + 'type' => 'array', + 'sentAs' => 'PrivateIpAddressConfig', + 'items' => array( + 'name' => 'PrivateIpAddressConfig', + 'type' => 'object', + 'properties' => array( + 'PrivateIpAddress' => array( + 'type' => 'string', + ), + 'Primary' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + 'SecondaryPrivateIpAddressCount' => array( + 'type' => 'numeric', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Groups' => array( + 'type' => 'array', + 'sentAs' => 'Group', + 'items' => array( + 'name' => 'Group', + 'type' => 'string', + ), + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + 'IamInstanceProfile' => array( + 'type' => 'object', + 'properties' => array( + 'Arn' => array( + 'type' => 'string', + ), + 'Name' => array( + 'type' => 'string', + ), + ), + ), + 'EbsOptimized' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + ), + 'RequestSpotFleet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'RequestSpotFleetResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RequestSpotFleet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotFleetRequestConfig' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'ClientToken' => array( + 'type' => 'string', + ), + 'SpotPrice' => array( + 'required' => true, + 'type' => 'string', + ), + 'TargetCapacity' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'ValidFrom' => array( + 'type' => 'string', + ), + 'ValidUntil' => array( + 'type' => 'string', + ), + 'TerminateInstancesWithExpiration' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'IamFleetRole' => array( + 'required' => true, + 'type' => 'string', + ), + 'LaunchSpecifications' => array( + 'required' => true, + 'type' => 'array', + 'minItems' => 1, + 'items' => array( + 'name' => 'SpotFleetLaunchSpecification', + 'type' => 'object', + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + ), + 'KeyName' => array( + 'type' => 'string', + ), + 'SecurityGroups' => array( + 'type' => 'array', + 'sentAs' => 'GroupSet', + 'items' => array( + 'name' => 'GroupSet', + 'type' => 'object', + 'properties' => array( + 'GroupName' => array( + 'type' => 'string', + ), + 'GroupId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'UserData' => array( + 'type' => 'string', + ), + 'AddressingType' => array( + 'type' => 'string', + ), + 'InstanceType' => array( + 'type' => 'string', + ), + 'Placement' => array( + 'type' => 'object', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + ), + 'GroupName' => array( + 'type' => 'string', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + ), + 'RamdiskId' => array( + 'type' => 'string', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'BlockDeviceMapping', + 'items' => array( + 'name' => 'BlockDeviceMapping', + 'type' => 'object', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + ), + 'DeviceName' => array( + 'type' => 'string', + ), + 'Ebs' => array( + 'type' => 'object', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'VolumeType' => array( + 'type' => 'string', + ), + 'Iops' => array( + 'type' => 'numeric', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Monitoring' => array( + 'type' => 'object', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + 'SubnetId' => array( + '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', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + 'IamInstanceProfile' => array( + 'type' => 'object', + 'properties' => array( + 'Arn' => array( + 'type' => 'string', + ), + 'Name' => array( + 'type' => 'string', + ), + ), + ), + 'EbsOptimized' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'WeightedCapacity' => array( + 'type' => 'numeric', + ), + 'SpotPrice' => array( + 'type' => 'string', + ), + ), + ), + ), + 'ExcessCapacityTerminationPolicy' => array( + 'type' => 'string', + ), + 'AllocationStrategy' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'DescribeSpotFleetRequests' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSpotFleetRequestsResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSpotFleetRequests', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotFleetRequestIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SpotFleetRequestId', + 'items' => array( + 'name' => 'SpotFleetRequestId', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeSpotFleetInstances' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSpotFleetInstancesResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSpotFleetInstances', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotFleetRequestId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'CancelSpotFleetRequests' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CancelSpotFleetRequestsResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CancelSpotFleetRequests', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotFleetRequestIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'SpotFleetRequestId', + 'items' => array( + 'name' => 'SpotFleetRequestId', + 'type' => 'string', + ), + ), + 'TerminateInstances' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeSpotFleetRequestHistory' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeSpotFleetRequestHistoryResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeSpotFleetRequestHistory', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'DryRun' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'SpotFleetRequestId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'EventType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'StartTime' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'ModifySpotFleetRequest' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ModifySpotFleetRequestResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifySpotFleetRequest', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'SpotFleetRequestId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'TargetCapacity' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'ExcessCapacityTerminationPolicy' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'CreateFlowLogs' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateFlowLogsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateFlowLogs', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'ResourceIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceId', + 'items' => array( + 'name' => 'ResourceId', + 'type' => 'string', + ), + ), + 'ResourceType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'TrafficType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'LogGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DeliverLogsPermissionArn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteFlowLogs' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DeleteFlowLogsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteFlowLogs', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'FlowLogIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'FlowLogId', + 'items' => array( + 'name' => 'FlowLogId', + 'type' => 'string', + ), + ), + ), + ), + 'DescribeFlowLogs' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeFlowLogsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeFlowLogs', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'FlowLogIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'FlowLogId', + 'items' => array( + 'name' => 'FlowLogId', + 'type' => 'string', + ), + ), + 'Filter' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + ), + 'AllocateHosts' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'AllocateHostsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'AllocateHosts', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'AutoPlacement' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'InstanceType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Quantity' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ModifyInstancePlacement' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ModifyInstancePlacementResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyInstancePlacement', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Tenancy' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Affinity' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'HostId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'ModifyHosts' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ModifyHostsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyHosts', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'HostIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'HostId', + 'items' => array( + 'name' => 'HostId', + 'type' => 'string', + ), + ), + 'AutoPlacement' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeHosts' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeHostsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeHosts', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'HostIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'HostId', + 'items' => array( + 'name' => 'HostId', + 'type' => 'string', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Filter' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'ReleaseHosts' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ReleaseHostsResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReleaseHosts', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'HostIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'HostId', + 'items' => array( + 'name' => 'HostId', + 'type' => 'string', + ), + ), + ), + ), + 'CreateNatGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CreateNatGatewayResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateNatGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'SubnetId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AllocationId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeNatGateways' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeNatGatewaysResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeNatGateways', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'NatGatewayIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'NatGatewayId', + 'items' => array( + 'name' => 'NatGatewayId', + 'type' => 'string', + ), + ), + 'Filter' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'Value', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteNatGateway' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DeleteNatGatewayResult', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteNatGateway', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2015-10-01', + ), + 'NatGatewayId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + ), + 'models' => array( + 'AllocateAddressResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'PublicIp' => array( + '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', + ), + ), + ), + 'EmptyOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + ), + '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( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'device', + ), + 'State' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'status', + ), + 'AttachTime' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'attachTime', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'deleteOnTermination', + ), + ), + ), + 'AttachVpnGatewayResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VpcAttachment' => 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( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'BundleId' => array( + 'type' => 'string', + 'sentAs' => 'bundleId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'StartTime' => array( + 'type' => 'string', + 'sentAs' => 'startTime', + ), + 'UpdateTime' => array( + 'type' => 'string', + 'sentAs' => 'updateTime', + ), + 'Storage' => array( + 'type' => 'object', + 'sentAs' => 'storage', + 'properties' => array( + 'S3' => array( + 'type' => 'object', + 'properties' => array( + 'Bucket' => array( + 'type' => 'string', + 'sentAs' => 'bucket', + ), + 'Prefix' => array( + 'type' => 'string', + 'sentAs' => 'prefix', + ), + 'AWSAccessKeyId' => array( + 'type' => 'string', + ), + 'UploadPolicy' => array( + 'type' => 'string', + 'sentAs' => 'uploadPolicy', + ), + 'UploadPolicySignature' => array( + 'type' => 'string', + 'sentAs' => 'uploadPolicySignature', + ), + ), + ), + ), + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'BundleTaskError' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + 'CancelBundleTaskResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'BundleTask' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'bundleInstanceTask', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'BundleId' => array( + 'type' => 'string', + 'sentAs' => 'bundleId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'StartTime' => array( + 'type' => 'string', + 'sentAs' => 'startTime', + ), + 'UpdateTime' => array( + 'type' => 'string', + 'sentAs' => 'updateTime', + ), + 'Storage' => array( + 'type' => 'object', + 'sentAs' => 'storage', + 'properties' => array( + 'S3' => array( + 'type' => 'object', + 'properties' => array( + 'Bucket' => array( + 'type' => 'string', + 'sentAs' => 'bucket', + ), + 'Prefix' => array( + 'type' => 'string', + 'sentAs' => 'prefix', + ), + 'AWSAccessKeyId' => array( + 'type' => 'string', + ), + 'UploadPolicy' => array( + 'type' => 'string', + 'sentAs' => 'uploadPolicy', + ), + 'UploadPolicySignature' => array( + 'type' => 'string', + 'sentAs' => 'uploadPolicySignature', + ), + ), + ), + ), + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'BundleTaskError' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + 'ConfirmProductInstanceResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'OwnerId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'ownerId', + ), + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'CopySnapshotResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'snapshotId', + ), + ), + ), + 'CopyImageResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'imageId', + ), + ), + ), + 'CreateCustomerGatewayResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CustomerGateway' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'customerGateway', + 'properties' => array( + 'CustomerGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'customerGatewayId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Type' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + 'IpAddress' => array( + 'type' => 'string', + 'sentAs' => 'ipAddress', + ), + 'BgpAsn' => array( + 'type' => 'string', + 'sentAs' => 'bgpAsn', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + 'CreateDhcpOptionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'DhcpOptions' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'dhcpOptions', + 'properties' => array( + 'DhcpOptionsId' => array( + 'type' => 'string', + 'sentAs' => 'dhcpOptionsId', + ), + 'DhcpConfigurations' => array( + 'type' => 'array', + 'sentAs' => 'dhcpConfigurationSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'valueSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + 'CreateKeyPairResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'KeyName' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'keyName', + ), + 'KeyFingerprint' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'keyFingerprint', + ), + 'KeyMaterial' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'keyMaterial', + ), + ), + ), + '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( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'snapshotId', + ), + 'VolumeId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'volumeId', + ), + 'State' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'status', + ), + 'StateMessage' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'statusMessage', + ), + 'StartTime' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'startTime', + ), + 'Progress' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'progress', + ), + 'OwnerId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'ownerId', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'description', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'location' => 'xml', + 'sentAs' => 'volumeSize', + ), + 'OwnerAlias' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'ownerAlias', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'encrypted', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'kmsKeyId', + ), + 'DataEncryptionKeyId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'dataEncryptionKeyId', + ), + ), + ), + 'CreateSubnetResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Subnet' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'subnet', + 'properties' => array( + 'SubnetId' => array( + 'type' => 'string', + 'sentAs' => 'subnetId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'AvailableIpAddressCount' => array( + 'type' => 'numeric', + 'sentAs' => 'availableIpAddressCount', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'DefaultForAz' => array( + 'type' => 'boolean', + 'sentAs' => 'defaultForAz', + ), + 'MapPublicIpOnLaunch' => array( + 'type' => 'boolean', + 'sentAs' => 'mapPublicIpOnLaunch', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + 'volume' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'volumeId', + ), + 'Size' => array( + 'type' => 'numeric', + 'location' => 'xml', + 'sentAs' => 'size', + ), + 'SnapshotId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'snapshotId', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'availabilityZone', + ), + 'State' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'status', + ), + 'CreateTime' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'createTime', + ), + 'Attachments' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'attachmentSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'Device' => array( + 'type' => 'string', + 'sentAs' => 'device', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'AttachTime' => array( + 'type' => 'string', + 'sentAs' => 'attachTime', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'VolumeType' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'location' => 'xml', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'encrypted', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'kmsKeyId', + ), + ), + ), + 'CreateVpcResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Vpc' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'vpc', + 'properties' => array( + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'DhcpOptionsId' => array( + 'type' => 'string', + 'sentAs' => 'dhcpOptionsId', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'InstanceTenancy' => array( + '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( + 'type' => 'string', + 'sentAs' => 'vpnConnectionId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'CustomerGatewayConfiguration' => array( + 'type' => 'string', + 'sentAs' => 'customerGatewayConfiguration', + ), + 'Type' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + 'CustomerGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'customerGatewayId', + ), + 'VpnGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'vpnGatewayId', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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( + 'type' => 'string', + 'sentAs' => 'vpnGatewayId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Type' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'VpcAttachments' => array( + '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( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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( + '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( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'availabilityZoneInfo', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ZoneName' => array( + 'type' => 'string', + 'sentAs' => 'zoneName', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'zoneState', + ), + 'RegionName' => array( + 'type' => 'string', + 'sentAs' => 'regionName', + ), + 'Messages' => array( + '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( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'bundleInstanceTasksSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'BundleId' => array( + 'type' => 'string', + 'sentAs' => 'bundleId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'StartTime' => array( + 'type' => 'string', + 'sentAs' => 'startTime', + ), + 'UpdateTime' => array( + 'type' => 'string', + 'sentAs' => 'updateTime', + ), + 'Storage' => array( + 'type' => 'object', + 'sentAs' => 'storage', + 'properties' => array( + 'S3' => array( + 'type' => 'object', + 'properties' => array( + 'Bucket' => array( + 'type' => 'string', + 'sentAs' => 'bucket', + ), + 'Prefix' => array( + 'type' => 'string', + 'sentAs' => 'prefix', + ), + 'AWSAccessKeyId' => array( + 'type' => 'string', + ), + 'UploadPolicy' => array( + 'type' => 'string', + 'sentAs' => 'uploadPolicy', + ), + 'UploadPolicySignature' => array( + 'type' => 'string', + 'sentAs' => 'uploadPolicySignature', + ), + ), + ), + ), + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'BundleTaskError' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeCustomerGatewaysResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CustomerGateways' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'customerGatewaySet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'CustomerGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'customerGatewayId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Type' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + 'IpAddress' => array( + 'type' => 'string', + 'sentAs' => 'ipAddress', + ), + 'BgpAsn' => array( + 'type' => 'string', + 'sentAs' => 'bgpAsn', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeDhcpOptionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'DhcpOptions' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'dhcpOptionsSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'DhcpOptionsId' => array( + 'type' => 'string', + 'sentAs' => 'dhcpOptionsId', + ), + 'DhcpConfigurations' => array( + 'type' => 'array', + 'sentAs' => 'dhcpConfigurationSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Values' => array( + 'type' => 'array', + 'sentAs' => 'valueSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeIdFormatResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Statuses' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'statusSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Resource' => array( + 'type' => 'string', + 'sentAs' => 'resource', + ), + 'UseLongIds' => array( + 'type' => 'boolean', + 'sentAs' => 'useLongIds', + ), + 'Deadline' => array( + 'type' => 'string', + 'sentAs' => 'deadline', + ), + ), + ), + ), + ), + ), + 'imageAttribute' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'imageId', + ), + 'LaunchPermissions' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'launchPermission', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + 'sentAs' => 'userId', + ), + 'Group' => array( + 'type' => 'string', + 'sentAs' => 'group', + ), + ), + ), + ), + 'ProductCodes' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + 'KernelId' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'kernel', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'RamdiskId' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'ramdisk', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'Description' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'description', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'SriovNetSupport' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'sriovNetSupport', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + 'sentAs' => 'virtualName', + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'sentAs' => 'volumeSize', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + 'VolumeType' => array( + 'type' => 'string', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + 'sentAs' => 'noDevice', + ), + ), + ), + ), + ), + ), + 'DescribeImagesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Images' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'imagesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'ImageLocation' => array( + 'type' => 'string', + 'sentAs' => 'imageLocation', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'imageState', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'imageOwnerId', + ), + 'CreationDate' => array( + 'type' => 'string', + 'sentAs' => 'creationDate', + ), + 'Public' => array( + 'type' => 'boolean', + 'sentAs' => 'isPublic', + ), + 'ProductCodes' => array( + 'type' => 'array', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + 'Architecture' => array( + 'type' => 'string', + 'sentAs' => 'architecture', + ), + 'ImageType' => array( + 'type' => 'string', + 'sentAs' => 'imageType', + ), + 'KernelId' => array( + 'type' => 'string', + 'sentAs' => 'kernelId', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'sentAs' => 'ramdiskId', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'SriovNetSupport' => array( + 'type' => 'string', + 'sentAs' => 'sriovNetSupport', + ), + 'StateReason' => array( + 'type' => 'object', + 'sentAs' => 'stateReason', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + 'ImageOwnerAlias' => array( + 'type' => 'string', + 'sentAs' => 'imageOwnerAlias', + ), + 'Name' => array( + 'type' => 'string', + 'sentAs' => 'name', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'RootDeviceType' => array( + 'type' => 'string', + 'sentAs' => 'rootDeviceType', + ), + 'RootDeviceName' => array( + 'type' => 'string', + 'sentAs' => 'rootDeviceName', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + 'sentAs' => 'virtualName', + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'sentAs' => 'volumeSize', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + 'VolumeType' => array( + 'type' => 'string', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + 'sentAs' => 'noDevice', + ), + ), + ), + ), + 'VirtualizationType' => array( + 'type' => 'string', + 'sentAs' => 'virtualizationType', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'Hypervisor' => array( + 'type' => 'string', + 'sentAs' => 'hypervisor', + ), + ), + ), + ), + ), + ), + 'DescribeInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Reservations' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'reservationSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ReservationId' => array( + 'type' => 'string', + 'sentAs' => 'reservationId', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'RequesterId' => array( + 'type' => 'string', + 'sentAs' => 'requesterId', + ), + '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', + ), + ), + ), + ), + 'Instances' => array( + 'type' => 'array', + 'sentAs' => 'instancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'ImageId' => array( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'State' => array( + 'type' => 'object', + 'sentAs' => 'instanceState', + 'properties' => array( + 'Code' => array( + 'type' => 'numeric', + 'sentAs' => 'code', + ), + 'Name' => array( + 'type' => 'string', + 'sentAs' => 'name', + ), + ), + ), + 'PrivateDnsName' => array( + 'type' => 'string', + 'sentAs' => 'privateDnsName', + ), + 'PublicDnsName' => array( + 'type' => 'string', + 'sentAs' => 'dnsName', + ), + 'StateTransitionReason' => array( + 'type' => 'string', + 'sentAs' => 'reason', + ), + 'KeyName' => array( + 'type' => 'string', + 'sentAs' => 'keyName', + ), + 'AmiLaunchIndex' => array( + 'type' => 'numeric', + 'sentAs' => 'amiLaunchIndex', + ), + 'ProductCodes' => array( + 'type' => 'array', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'LaunchTime' => array( + 'type' => 'string', + 'sentAs' => 'launchTime', + ), + 'Placement' => array( + 'type' => 'object', + 'sentAs' => 'placement', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + 'Tenancy' => array( + 'type' => 'string', + 'sentAs' => 'tenancy', + ), + 'HostId' => array( + 'type' => 'string', + 'sentAs' => 'hostId', + ), + 'Affinity' => array( + 'type' => 'string', + 'sentAs' => 'affinity', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + 'sentAs' => 'kernelId', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'sentAs' => 'ramdiskId', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'Monitoring' => array( + 'type' => 'object', + 'sentAs' => 'monitoring', + 'properties' => array( + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + ), + ), + 'SubnetId' => array( + 'type' => 'string', + 'sentAs' => 'subnetId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'PrivateIpAddress' => array( + 'type' => 'string', + 'sentAs' => 'privateIpAddress', + ), + 'PublicIpAddress' => array( + 'type' => 'string', + 'sentAs' => 'ipAddress', + ), + 'StateReason' => array( + 'type' => 'object', + 'sentAs' => 'stateReason', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + 'Architecture' => array( + 'type' => 'string', + 'sentAs' => 'architecture', + ), + 'RootDeviceType' => array( + 'type' => 'string', + 'sentAs' => 'rootDeviceType', + ), + 'RootDeviceName' => array( + 'type' => 'string', + 'sentAs' => 'rootDeviceName', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'AttachTime' => array( + 'type' => 'string', + 'sentAs' => 'attachTime', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + ), + ), + ), + ), + ), + 'VirtualizationType' => array( + 'type' => 'string', + 'sentAs' => 'virtualizationType', + ), + 'InstanceLifecycle' => array( + 'type' => 'string', + 'sentAs' => 'instanceLifecycle', + ), + 'SpotInstanceRequestId' => array( + 'type' => 'string', + 'sentAs' => 'spotInstanceRequestId', + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + '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', + ), + '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', + ), + 'SriovNetSupport' => array( + 'type' => 'string', + 'sentAs' => 'sriovNetSupport', + ), + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeKeyPairsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'KeyPairs' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'keySet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'KeyName' => array( + 'type' => 'string', + 'sentAs' => 'keyName', + ), + 'KeyFingerprint' => array( + 'type' => 'string', + 'sentAs' => 'keyFingerprint', + ), + ), + ), + ), + ), + ), + 'DescribeRegionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Regions' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'regionInfo', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'RegionName' => array( + 'type' => 'string', + 'sentAs' => 'regionName', + ), + 'Endpoint' => array( + 'type' => 'string', + 'sentAs' => 'regionEndpoint', + ), + ), + ), + ), + ), + ), + 'DescribeReservedInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ReservedInstances' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'reservedInstancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ReservedInstancesId' => array( + 'type' => 'string', + 'sentAs' => 'reservedInstancesId', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'Start' => array( + 'type' => 'string', + 'sentAs' => 'start', + ), + 'End' => array( + 'type' => 'string', + 'sentAs' => 'end', + ), + 'Duration' => array( + 'type' => 'numeric', + 'sentAs' => 'duration', + ), + 'UsagePrice' => array( + 'type' => 'numeric', + 'sentAs' => 'usagePrice', + ), + 'FixedPrice' => array( + 'type' => 'numeric', + 'sentAs' => 'fixedPrice', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + 'sentAs' => 'instanceCount', + ), + 'ProductDescription' => array( + 'type' => 'string', + 'sentAs' => 'productDescription', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'InstanceTenancy' => array( + 'type' => 'string', + 'sentAs' => 'instanceTenancy', + ), + 'CurrencyCode' => array( + 'type' => 'string', + 'sentAs' => 'currencyCode', + ), + 'OfferingType' => array( + 'type' => 'string', + 'sentAs' => 'offeringType', + ), + 'RecurringCharges' => array( + 'type' => 'array', + 'sentAs' => 'recurringCharges', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Frequency' => array( + 'type' => 'string', + 'sentAs' => 'frequency', + ), + 'Amount' => array( + 'type' => 'numeric', + 'sentAs' => 'amount', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeReservedInstancesModificationsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ReservedInstancesModifications' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'reservedInstancesModificationsSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ReservedInstancesModificationId' => array( + 'type' => 'string', + 'sentAs' => 'reservedInstancesModificationId', + ), + 'ReservedInstancesIds' => array( + 'type' => 'array', + 'sentAs' => 'reservedInstancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ReservedInstancesId' => array( + 'type' => 'string', + 'sentAs' => 'reservedInstancesId', + ), + ), + ), + ), + 'ModificationResults' => array( + 'type' => 'array', + 'sentAs' => 'modificationResultSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ReservedInstancesId' => array( + 'type' => 'string', + 'sentAs' => 'reservedInstancesId', + ), + 'TargetConfiguration' => array( + 'type' => 'object', + 'sentAs' => 'targetConfiguration', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + 'sentAs' => 'instanceCount', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + ), + ), + ), + ), + ), + 'CreateDate' => array( + 'type' => 'string', + 'sentAs' => 'createDate', + ), + 'UpdateDate' => array( + 'type' => 'string', + 'sentAs' => 'updateDate', + ), + 'EffectiveDate' => array( + 'type' => 'string', + 'sentAs' => 'effectiveDate', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeReservedInstancesOfferingsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ReservedInstancesOfferings' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'reservedInstancesOfferingsSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ReservedInstancesOfferingId' => array( + 'type' => 'string', + 'sentAs' => 'reservedInstancesOfferingId', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'Duration' => array( + 'type' => 'numeric', + 'sentAs' => 'duration', + ), + 'UsagePrice' => array( + 'type' => 'numeric', + 'sentAs' => 'usagePrice', + ), + 'FixedPrice' => array( + 'type' => 'numeric', + 'sentAs' => 'fixedPrice', + ), + 'ProductDescription' => array( + 'type' => 'string', + 'sentAs' => 'productDescription', + ), + 'InstanceTenancy' => array( + 'type' => 'string', + 'sentAs' => 'instanceTenancy', + ), + 'CurrencyCode' => array( + 'type' => 'string', + 'sentAs' => 'currencyCode', + ), + 'OfferingType' => array( + 'type' => 'string', + 'sentAs' => 'offeringType', + ), + 'RecurringCharges' => array( + 'type' => 'array', + 'sentAs' => 'recurringCharges', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Frequency' => array( + 'type' => 'string', + 'sentAs' => 'frequency', + ), + 'Amount' => array( + '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', + ), + ), + ), + 'DescribeSecurityGroupsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SecurityGroups' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'securityGroupInfo', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + 'GroupId' => array( + 'type' => 'string', + 'sentAs' => 'groupId', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'groupDescription', + ), + 'IpPermissions' => array( + 'type' => 'array', + 'sentAs' => 'ipPermissions', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'IpProtocol' => array( + 'type' => 'string', + 'sentAs' => 'ipProtocol', + ), + 'FromPort' => array( + 'type' => 'numeric', + 'sentAs' => 'fromPort', + ), + 'ToPort' => array( + 'type' => 'numeric', + 'sentAs' => 'toPort', + ), + 'UserIdGroupPairs' => array( + 'type' => 'array', + 'sentAs' => 'groups', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + 'sentAs' => 'userId', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + 'GroupId' => array( + 'type' => 'string', + 'sentAs' => 'groupId', + ), + ), + ), + ), + 'IpRanges' => array( + 'type' => 'array', + 'sentAs' => 'ipRanges', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'CidrIp' => array( + 'type' => 'string', + 'sentAs' => 'cidrIp', + ), + ), + ), + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'sentAs' => 'prefixListIds', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + 'sentAs' => 'prefixListId', + ), + ), + ), + ), + ), + ), + ), + 'IpPermissionsEgress' => array( + 'type' => 'array', + 'sentAs' => 'ipPermissionsEgress', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'IpProtocol' => array( + 'type' => 'string', + 'sentAs' => 'ipProtocol', + ), + 'FromPort' => array( + 'type' => 'numeric', + 'sentAs' => 'fromPort', + ), + 'ToPort' => array( + 'type' => 'numeric', + 'sentAs' => 'toPort', + ), + 'UserIdGroupPairs' => array( + 'type' => 'array', + 'sentAs' => 'groups', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + 'sentAs' => 'userId', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + 'GroupId' => array( + 'type' => 'string', + 'sentAs' => 'groupId', + ), + ), + ), + ), + 'IpRanges' => array( + 'type' => 'array', + 'sentAs' => 'ipRanges', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'CidrIp' => array( + 'type' => 'string', + 'sentAs' => 'cidrIp', + ), + ), + ), + ), + 'PrefixListIds' => array( + 'type' => 'array', + 'sentAs' => 'prefixListIds', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + 'sentAs' => 'prefixListId', + ), + ), + ), + ), + ), + ), + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeSnapshotAttributeResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'snapshotId', + ), + 'CreateVolumePermissions' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'createVolumePermission', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'UserId' => array( + 'type' => 'string', + 'sentAs' => 'userId', + ), + 'Group' => array( + 'type' => 'string', + 'sentAs' => 'group', + ), + ), + ), + ), + 'ProductCodes' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + ), + ), + 'DescribeSnapshotsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Snapshots' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'snapshotSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'StateMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'StartTime' => array( + 'type' => 'string', + 'sentAs' => 'startTime', + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'sentAs' => 'volumeSize', + ), + 'OwnerAlias' => array( + 'type' => 'string', + 'sentAs' => 'ownerAlias', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'sentAs' => 'kmsKeyId', + ), + 'DataEncryptionKeyId' => array( + 'type' => 'string', + 'sentAs' => 'dataEncryptionKeyId', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeSubnetsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Subnets' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'subnetSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'SubnetId' => array( + 'type' => 'string', + 'sentAs' => 'subnetId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'AvailableIpAddressCount' => array( + 'type' => 'numeric', + 'sentAs' => 'availableIpAddressCount', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'DefaultForAz' => array( + 'type' => 'boolean', + 'sentAs' => 'defaultForAz', + ), + 'MapPublicIpOnLaunch' => array( + 'type' => 'boolean', + 'sentAs' => 'mapPublicIpOnLaunch', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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( + 'type' => 'boolean', + 'sentAs' => 'value', + ), + ), + ), + 'ProductCodes' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + ), + ), + 'DescribeVolumesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Volumes' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'volumeSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'Size' => array( + 'type' => 'numeric', + 'sentAs' => 'size', + ), + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'CreateTime' => array( + 'type' => 'string', + 'sentAs' => 'createTime', + ), + 'Attachments' => array( + 'type' => 'array', + 'sentAs' => 'attachmentSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'Device' => array( + 'type' => 'string', + 'sentAs' => 'device', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'AttachTime' => array( + 'type' => 'string', + 'sentAs' => 'attachTime', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'VolumeType' => array( + 'type' => 'string', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'sentAs' => 'kmsKeyId', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + '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', + ), + ), + ), + '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( + 'type' => 'boolean', + 'sentAs' => 'value', + ), + ), + ), + 'EnableDnsHostnames' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'enableDnsHostnames', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + 'DescribeVpcsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Vpcs' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'vpcSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'DhcpOptionsId' => array( + 'type' => 'string', + 'sentAs' => 'dhcpOptionsId', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'InstanceTenancy' => array( + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpnConnectionId' => array( + 'type' => 'string', + 'sentAs' => 'vpnConnectionId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'CustomerGatewayConfiguration' => array( + 'type' => 'string', + 'sentAs' => 'customerGatewayConfiguration', + ), + 'Type' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + 'CustomerGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'customerGatewayId', + ), + 'VpnGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'vpnGatewayId', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpnGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'vpnGatewayId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Type' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'VpcAttachments' => array( + '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( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'GetConsoleOutputResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'instanceId', + ), + 'Timestamp' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'timestamp', + ), + 'Output' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'output', + ), + ), + ), + 'GetPasswordDataResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'instanceId', + ), + 'Timestamp' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'timestamp', + ), + 'PasswordData' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'passwordData', + ), + ), + ), + 'ImportKeyPairResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'KeyName' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'keyName', + ), + 'KeyFingerprint' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'keyFingerprint', + ), + ), + ), + 'ModifyReservedInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ReservedInstancesModificationId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'reservedInstancesModificationId', + ), + ), + ), + 'MonitorInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceMonitorings' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'instancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'Monitoring' => array( + 'type' => 'object', + 'sentAs' => 'monitoring', + 'properties' => array( + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + ), + ), + ), + ), + ), + ), + ), + 'PurchaseReservedInstancesOfferingResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ReservedInstancesId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'reservedInstancesId', + ), + ), + ), + 'RegisterImageResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'imageId', + ), + ), + ), + 'reservation' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ReservationId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'reservationId', + ), + 'OwnerId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'ownerId', + ), + 'RequesterId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'requesterId', + ), + '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', + ), + ), + ), + ), + 'Instances' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'instancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'ImageId' => array( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'State' => array( + 'type' => 'object', + 'sentAs' => 'instanceState', + 'properties' => array( + 'Code' => array( + 'type' => 'numeric', + 'sentAs' => 'code', + ), + 'Name' => array( + 'type' => 'string', + 'sentAs' => 'name', + ), + ), + ), + 'PrivateDnsName' => array( + 'type' => 'string', + 'sentAs' => 'privateDnsName', + ), + 'PublicDnsName' => array( + 'type' => 'string', + 'sentAs' => 'dnsName', + ), + 'StateTransitionReason' => array( + 'type' => 'string', + 'sentAs' => 'reason', + ), + 'KeyName' => array( + 'type' => 'string', + 'sentAs' => 'keyName', + ), + 'AmiLaunchIndex' => array( + 'type' => 'numeric', + 'sentAs' => 'amiLaunchIndex', + ), + 'ProductCodes' => array( + 'type' => 'array', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'LaunchTime' => array( + 'type' => 'string', + 'sentAs' => 'launchTime', + ), + 'Placement' => array( + 'type' => 'object', + 'sentAs' => 'placement', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + 'Tenancy' => array( + 'type' => 'string', + 'sentAs' => 'tenancy', + ), + 'HostId' => array( + 'type' => 'string', + 'sentAs' => 'hostId', + ), + 'Affinity' => array( + 'type' => 'string', + 'sentAs' => 'affinity', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + 'sentAs' => 'kernelId', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'sentAs' => 'ramdiskId', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'Monitoring' => array( + 'type' => 'object', + 'sentAs' => 'monitoring', + 'properties' => array( + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + ), + ), + 'SubnetId' => array( + 'type' => 'string', + 'sentAs' => 'subnetId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'PrivateIpAddress' => array( + 'type' => 'string', + 'sentAs' => 'privateIpAddress', + ), + 'PublicIpAddress' => array( + 'type' => 'string', + 'sentAs' => 'ipAddress', + ), + 'StateReason' => array( + 'type' => 'object', + 'sentAs' => 'stateReason', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + 'Architecture' => array( + 'type' => 'string', + 'sentAs' => 'architecture', + ), + 'RootDeviceType' => array( + 'type' => 'string', + 'sentAs' => 'rootDeviceType', + ), + 'RootDeviceName' => array( + 'type' => 'string', + 'sentAs' => 'rootDeviceName', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'AttachTime' => array( + 'type' => 'string', + 'sentAs' => 'attachTime', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + ), + ), + ), + ), + ), + 'VirtualizationType' => array( + 'type' => 'string', + 'sentAs' => 'virtualizationType', + ), + 'InstanceLifecycle' => array( + 'type' => 'string', + 'sentAs' => 'instanceLifecycle', + ), + 'SpotInstanceRequestId' => array( + 'type' => 'string', + 'sentAs' => 'spotInstanceRequestId', + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + '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', + ), + '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', + ), + 'SriovNetSupport' => array( + 'type' => 'string', + 'sentAs' => 'sriovNetSupport', + ), + ), + ), + ), + ), + ), + 'TerminateInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'TerminatingInstances' => array( + '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', + ), + ), + ), + ), + ), + ), + ), + ), + 'UnmonitorInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceMonitorings' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'instancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'Monitoring' => array( + 'type' => 'object', + 'sentAs' => 'monitoring', + 'properties' => array( + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + ), + ), + ), + ), + ), + ), + ), + 'CreateImageResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'imageId', + ), + ), + ), + 'StartInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'StartingInstances' => array( + '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', + ), + ), + ), + ), + ), + ), + ), + ), + 'StopInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'StoppingInstances' => array( + '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', + ), + ), + ), + ), + ), + ), + ), + ), + 'InstanceAttribute' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'instanceId', + ), + 'InstanceType' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'instanceType', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'KernelId' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'kernel', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'RamdiskId' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'ramdisk', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'UserData' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'userData', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'DisableApiTermination' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'disableApiTermination', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'sentAs' => 'value', + ), + ), + ), + 'InstanceInitiatedShutdownBehavior' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'instanceInitiatedShutdownBehavior', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'RootDeviceName' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'rootDeviceName', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'VolumeId' => array( + 'type' => 'string', + 'sentAs' => 'volumeId', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + 'AttachTime' => array( + 'type' => 'string', + 'sentAs' => 'attachTime', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + ), + ), + ), + ), + ), + 'ProductCodes' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'productCodes', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ProductCodeId' => array( + 'type' => 'string', + 'sentAs' => 'productCode', + ), + 'ProductCodeType' => array( + 'type' => 'string', + 'sentAs' => 'type', + ), + ), + ), + ), + 'EbsOptimized' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'ebsOptimized', + 'properties' => array( + 'Value' => array( + 'type' => 'boolean', + 'sentAs' => 'value', + ), + ), + ), + 'SriovNetSupport' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'sriovNetSupport', + 'properties' => array( + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'SourceDestCheck' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'sourceDestCheck', + 'properties' => array( + 'Value' => array( + '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', + ), + ), + ), + ), + ), + ), + 'RequestSpotInstancesResult' => 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( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'KeyName' => array( + '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( + 'type' => 'string', + 'sentAs' => 'userData', + ), + 'AddressingType' => array( + 'type' => 'string', + 'sentAs' => 'addressingType', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'Placement' => array( + 'type' => 'object', + 'sentAs' => 'placement', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + 'sentAs' => 'kernelId', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'sentAs' => 'ramdiskId', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + 'sentAs' => 'virtualName', + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'sentAs' => 'volumeSize', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + 'VolumeType' => array( + 'type' => 'string', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + 'sentAs' => 'noDevice', + ), + ), + ), + ), + 'MonitoringEnabled' => array( + 'type' => 'boolean', + 'sentAs' => 'monitoringEnabled', + ), + 'SubnetId' => array( + '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', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'sentAs' => 'associatePublicIpAddress', + ), + ), + ), + ), + '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', + ), + 'BlockDurationMinutes' => array( + 'type' => 'numeric', + 'sentAs' => 'blockDurationMinutes', + ), + 'ActualBlockHourlyPrice' => array( + 'type' => 'string', + 'sentAs' => 'actualBlockHourlyPrice', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'LaunchedAvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'launchedAvailabilityZone', + ), + ), + ), + ), + ), + ), + '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( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'KeyName' => array( + '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( + 'type' => 'string', + 'sentAs' => 'userData', + ), + 'AddressingType' => array( + 'type' => 'string', + 'sentAs' => 'addressingType', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'Placement' => array( + 'type' => 'object', + 'sentAs' => 'placement', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + 'sentAs' => 'kernelId', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'sentAs' => 'ramdiskId', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + 'sentAs' => 'virtualName', + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'sentAs' => 'volumeSize', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + 'VolumeType' => array( + 'type' => 'string', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + 'sentAs' => 'noDevice', + ), + ), + ), + ), + 'MonitoringEnabled' => array( + 'type' => 'boolean', + 'sentAs' => 'monitoringEnabled', + ), + 'SubnetId' => array( + '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', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'sentAs' => 'associatePublicIpAddress', + ), + ), + ), + ), + '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', + ), + 'BlockDurationMinutes' => array( + 'type' => 'numeric', + 'sentAs' => 'blockDurationMinutes', + ), + 'ActualBlockHourlyPrice' => array( + 'type' => 'string', + 'sentAs' => 'actualBlockHourlyPrice', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'LaunchedAvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'launchedAvailabilityZone', + ), + ), + ), + ), + ), + ), + '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', + ), + ), + ), + ), + ), + ), + '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( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'CreateSpotDatafeedSubscriptionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SpotDatafeedSubscription' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'spotDatafeedSubscription', + 'properties' => array( + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'Bucket' => array( + 'type' => 'string', + 'sentAs' => 'bucket', + ), + 'Prefix' => array( + 'type' => 'string', + 'sentAs' => 'prefix', + ), + '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', + ), + ), + ), + ), + ), + ), + ), + 'DescribeSpotDatafeedSubscriptionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SpotDatafeedSubscription' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'spotDatafeedSubscription', + 'properties' => array( + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'Bucket' => array( + 'type' => 'string', + 'sentAs' => 'bucket', + ), + 'Prefix' => array( + 'type' => 'string', + 'sentAs' => 'prefix', + ), + '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', + ), + ), + ), + ), + ), + ), + ), + 'DescribePlacementGroupsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'PlacementGroups' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'placementGroupSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + 'Strategy' => array( + 'type' => 'string', + 'sentAs' => 'strategy', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + ), + ), + ), + ), + ), + 'DescribeTagsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Tags' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'ResourceType' => array( + 'type' => 'string', + 'sentAs' => 'resourceType', + ), + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + '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', + ), + 'DestinationPrefixListId' => array( + 'type' => 'string', + 'sentAs' => 'destinationPrefixListId', + ), + 'GatewayId' => array( + 'type' => 'string', + 'sentAs' => 'gatewayId', + ), + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'InstanceOwnerId' => array( + 'type' => 'string', + 'sentAs' => 'instanceOwnerId', + ), + 'NetworkInterfaceId' => array( + 'type' => 'string', + 'sentAs' => 'networkInterfaceId', + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'sentAs' => 'vpcPeeringConnectionId', + ), + 'NatGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'natGatewayId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Origin' => array( + 'type' => 'string', + 'sentAs' => 'origin', + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + ), + ), + ), + ), + ), + ), + ), + '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', + ), + 'DestinationPrefixListId' => array( + 'type' => 'string', + 'sentAs' => 'destinationPrefixListId', + ), + 'GatewayId' => array( + 'type' => 'string', + 'sentAs' => 'gatewayId', + ), + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'InstanceOwnerId' => array( + 'type' => 'string', + 'sentAs' => 'instanceOwnerId', + ), + 'NetworkInterfaceId' => array( + 'type' => 'string', + 'sentAs' => 'networkInterfaceId', + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'sentAs' => 'vpcPeeringConnectionId', + ), + 'NatGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'natGatewayId', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'Origin' => array( + 'type' => 'string', + 'sentAs' => 'origin', + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'AssociateRouteTableResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AssociationId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'associationId', + ), + ), + ), + 'ReplaceRouteTableAssociationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NewAssociationId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'newAssociationId', + ), + ), + ), + 'CreateRouteResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + '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( + 'type' => 'numeric', + 'sentAs' => 'type', + ), + 'Code' => array( + 'type' => 'numeric', + 'sentAs' => 'code', + ), + ), + ), + 'PortRange' => array( + 'type' => 'object', + 'sentAs' => 'portRange', + 'properties' => array( + 'From' => array( + 'type' => 'numeric', + 'sentAs' => 'from', + ), + 'To' => array( + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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( + 'type' => 'numeric', + 'sentAs' => 'type', + ), + 'Code' => array( + 'type' => 'numeric', + 'sentAs' => 'code', + ), + ), + ), + 'PortRange' => array( + 'type' => 'object', + 'sentAs' => 'portRange', + 'properties' => array( + 'From' => array( + 'type' => 'numeric', + 'sentAs' => 'from', + ), + 'To' => array( + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'ReplaceNetworkAclAssociationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NewAssociationId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'newAssociationId', + ), + ), + ), + 'DescribeInstanceStatusResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceStatuses' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'instanceStatusSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'Events' => array( + 'type' => 'array', + 'sentAs' => 'eventsSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'NotBefore' => array( + 'type' => 'string', + 'sentAs' => 'notBefore', + ), + 'NotAfter' => array( + 'type' => 'string', + 'sentAs' => 'notAfter', + ), + ), + ), + ), + 'InstanceState' => array( + 'type' => 'object', + 'sentAs' => 'instanceState', + 'properties' => array( + 'Code' => array( + 'type' => 'numeric', + 'sentAs' => 'code', + ), + 'Name' => array( + '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( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + 'PublicDnsName' => array( + 'type' => 'string', + 'sentAs' => 'publicDnsName', + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + 'PublicDnsName' => array( + 'type' => 'string', + 'sentAs' => 'publicDnsName', + ), + 'IpOwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ipOwnerId', + ), + 'AllocationId' => array( + 'type' => 'string', + 'sentAs' => 'allocationId', + ), + 'AssociationId' => array( + 'type' => 'string', + 'sentAs' => 'associationId', + ), + ), + ), + ), + ), + ), + 'InterfaceType' => array( + 'type' => 'string', + 'sentAs' => 'interfaceType', + ), + ), + ), + ), + ), + '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', + ), + 'PublicDnsName' => array( + 'type' => 'string', + 'sentAs' => 'publicDnsName', + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + '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', + ), + 'PublicDnsName' => array( + 'type' => 'string', + 'sentAs' => 'publicDnsName', + ), + 'IpOwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ipOwnerId', + ), + 'AllocationId' => array( + 'type' => 'string', + 'sentAs' => 'allocationId', + ), + 'AssociationId' => array( + 'type' => 'string', + 'sentAs' => 'associationId', + ), + ), + ), + ), + ), + ), + 'InterfaceType' => array( + 'type' => 'string', + 'sentAs' => 'interfaceType', + ), + ), + ), + ), + ), + ), + 'AttachNetworkInterfaceResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AttachmentId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'attachmentId', + ), + ), + ), + '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( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + 'SourceDestCheck' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'sourceDestCheck', + 'properties' => array( + 'Value' => array( + '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', + ), + ), + ), + ), + ), + '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', + ), + ), + ), + ), + ), + ), + ), + ), + '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', + ), + ), + ), + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + ), + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + ), + ), + ), + ), + ), + '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', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + ), + ), + ), + ), + ), + 'AcceptVpcPeeringConnectionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VpcPeeringConnection' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'vpcPeeringConnection', + 'properties' => array( + 'AccepterVpcInfo' => array( + 'type' => 'object', + 'sentAs' => 'accepterVpcInfo', + 'properties' => array( + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + ), + ), + 'ExpirationTime' => array( + 'type' => 'string', + 'sentAs' => 'expirationTime', + ), + 'RequesterVpcInfo' => array( + 'type' => 'object', + 'sentAs' => 'requesterVpcInfo', + 'properties' => array( + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + ), + ), + 'Status' => array( + 'type' => 'object', + 'sentAs' => 'status', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'sentAs' => 'vpcPeeringConnectionId', + ), + ), + ), + ), + ), + 'CreateVpcPeeringConnectionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VpcPeeringConnection' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'vpcPeeringConnection', + 'properties' => array( + 'AccepterVpcInfo' => array( + 'type' => 'object', + 'sentAs' => 'accepterVpcInfo', + 'properties' => array( + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + ), + ), + 'ExpirationTime' => array( + 'type' => 'string', + 'sentAs' => 'expirationTime', + ), + 'RequesterVpcInfo' => array( + 'type' => 'object', + 'sentAs' => 'requesterVpcInfo', + 'properties' => array( + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + ), + ), + 'Status' => array( + 'type' => 'object', + 'sentAs' => 'status', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'sentAs' => 'vpcPeeringConnectionId', + ), + ), + ), + ), + ), + 'DeleteVpcPeeringConnectionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DescribeVpcPeeringConnectionsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VpcPeeringConnections' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'vpcPeeringConnectionSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'AccepterVpcInfo' => array( + 'type' => 'object', + 'sentAs' => 'accepterVpcInfo', + 'properties' => array( + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + ), + ), + 'ExpirationTime' => array( + 'type' => 'string', + 'sentAs' => 'expirationTime', + ), + 'RequesterVpcInfo' => array( + 'type' => 'object', + 'sentAs' => 'requesterVpcInfo', + 'properties' => array( + 'CidrBlock' => array( + 'type' => 'string', + 'sentAs' => 'cidrBlock', + ), + 'OwnerId' => array( + 'type' => 'string', + 'sentAs' => 'ownerId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + ), + ), + 'Status' => array( + 'type' => 'object', + 'sentAs' => 'status', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + 'VpcPeeringConnectionId' => array( + 'type' => 'string', + 'sentAs' => 'vpcPeeringConnectionId', + ), + ), + ), + ), + ), + ), + 'RejectVpcPeeringConnectionResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'EnableVpcClassicLinkResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DisableVpcClassicLinkResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'AttachClassicLinkVpcResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DetachClassicLinkVpcResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DescribeClassicLinkInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Instances' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'instancesSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + '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', + ), + ), + ), + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeVpcClassicLinkResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Vpcs' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'vpcSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'ClassicLinkEnabled' => array( + 'type' => 'boolean', + 'sentAs' => 'classicLinkEnabled', + ), + 'Tags' => array( + 'type' => 'array', + 'sentAs' => 'tagSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + 'sentAs' => 'key', + ), + 'Value' => array( + 'type' => 'string', + 'sentAs' => 'value', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'EnableVpcClassicLinkDnsSupportResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DisableVpcClassicLinkDnsSupportResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DescribeVpcClassicLinkDnsSupportResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Vpcs' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'vpcs', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'ClassicLinkDnsSupported' => array( + 'type' => 'boolean', + 'sentAs' => 'classicLinkDnsSupported', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'CancelImportTaskResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImportTaskId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'importTaskId', + ), + 'State' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'state', + ), + 'PreviousState' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'previousState', + ), + ), + ), + 'DescribeImportImageTasksResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImportImageTasks' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'importImageTaskSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ImportTaskId' => array( + 'type' => 'string', + 'sentAs' => 'importTaskId', + ), + 'Architecture' => array( + 'type' => 'string', + 'sentAs' => 'architecture', + ), + 'LicenseType' => array( + 'type' => 'string', + 'sentAs' => 'licenseType', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'Hypervisor' => array( + 'type' => 'string', + 'sentAs' => 'hypervisor', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'SnapshotDetails' => array( + 'type' => 'array', + 'sentAs' => 'snapshotDetailSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'DiskImageSize' => array( + 'type' => 'numeric', + 'sentAs' => 'diskImageSize', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'Format' => array( + 'type' => 'string', + 'sentAs' => 'format', + ), + 'Url' => array( + 'type' => 'string', + 'sentAs' => 'url', + ), + 'UserBucket' => array( + 'type' => 'object', + 'sentAs' => 'userBucket', + 'properties' => array( + 'S3Bucket' => array( + 'type' => 'string', + 'sentAs' => 's3Bucket', + ), + 'S3Key' => array( + 'type' => 'string', + 'sentAs' => 's3Key', + ), + ), + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + ), + ), + ), + 'ImageId' => array( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeImportSnapshotTasksResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImportSnapshotTasks' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'importSnapshotTaskSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ImportTaskId' => array( + 'type' => 'string', + 'sentAs' => 'importTaskId', + ), + 'SnapshotTaskDetail' => array( + 'type' => 'object', + 'sentAs' => 'snapshotTaskDetail', + 'properties' => array( + 'DiskImageSize' => array( + 'type' => 'numeric', + 'sentAs' => 'diskImageSize', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'Format' => array( + 'type' => 'string', + 'sentAs' => 'format', + ), + 'Url' => array( + 'type' => 'string', + 'sentAs' => 'url', + ), + 'UserBucket' => array( + 'type' => 'object', + 'sentAs' => 'userBucket', + 'properties' => array( + 'S3Bucket' => array( + 'type' => 'string', + 'sentAs' => 's3Bucket', + ), + 'S3Key' => array( + 'type' => 'string', + 'sentAs' => 's3Key', + ), + ), + ), + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + ), + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'ImportImageResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImportTaskId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'importTaskId', + ), + 'Architecture' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'architecture', + ), + 'LicenseType' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'licenseType', + ), + 'Platform' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'platform', + ), + 'Hypervisor' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'hypervisor', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'description', + ), + 'SnapshotDetails' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'snapshotDetailSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'DiskImageSize' => array( + 'type' => 'numeric', + 'sentAs' => 'diskImageSize', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'Format' => array( + 'type' => 'string', + 'sentAs' => 'format', + ), + 'Url' => array( + 'type' => 'string', + 'sentAs' => 'url', + ), + 'UserBucket' => array( + 'type' => 'object', + 'sentAs' => 'userBucket', + 'properties' => array( + 'S3Bucket' => array( + 'type' => 'string', + 'sentAs' => 's3Bucket', + ), + 'S3Key' => array( + 'type' => 'string', + 'sentAs' => 's3Key', + ), + ), + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + ), + ), + ), + 'ImageId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'imageId', + ), + 'Progress' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'progress', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'statusMessage', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'status', + ), + ), + ), + 'ImportSnapshotResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ImportTaskId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'importTaskId', + ), + 'SnapshotTaskDetail' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'snapshotTaskDetail', + 'properties' => array( + 'DiskImageSize' => array( + 'type' => 'numeric', + 'sentAs' => 'diskImageSize', + ), + 'Description' => array( + 'type' => 'string', + 'sentAs' => 'description', + ), + 'Format' => array( + 'type' => 'string', + 'sentAs' => 'format', + ), + 'Url' => array( + 'type' => 'string', + 'sentAs' => 'url', + ), + 'UserBucket' => array( + 'type' => 'object', + 'sentAs' => 'userBucket', + 'properties' => array( + 'S3Bucket' => array( + 'type' => 'string', + 'sentAs' => 's3Bucket', + ), + 'S3Key' => array( + 'type' => 'string', + 'sentAs' => 's3Key', + ), + ), + ), + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'Progress' => array( + 'type' => 'string', + 'sentAs' => 'progress', + ), + 'StatusMessage' => array( + 'type' => 'string', + 'sentAs' => 'statusMessage', + ), + 'Status' => array( + 'type' => 'string', + 'sentAs' => 'status', + ), + ), + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'description', + ), + ), + ), + 'CreateVpcEndpointResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VpcEndpoint' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'vpcEndpoint', + 'properties' => array( + 'VpcEndpointId' => array( + 'type' => 'string', + 'sentAs' => 'vpcEndpointId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'ServiceName' => array( + 'type' => 'string', + 'sentAs' => 'serviceName', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'PolicyDocument' => array( + 'type' => 'string', + 'sentAs' => 'policyDocument', + ), + 'RouteTableIds' => array( + 'type' => 'array', + 'sentAs' => 'routeTableIdSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + 'CreationTimestamp' => array( + 'type' => 'string', + 'sentAs' => 'creationTimestamp', + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'clientToken', + ), + ), + ), + 'DescribeVpcEndpointsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'VpcEndpoints' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'vpcEndpointSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpcEndpointId' => array( + 'type' => 'string', + 'sentAs' => 'vpcEndpointId', + ), + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'ServiceName' => array( + 'type' => 'string', + 'sentAs' => 'serviceName', + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'PolicyDocument' => array( + 'type' => 'string', + 'sentAs' => 'policyDocument', + ), + 'RouteTableIds' => array( + 'type' => 'array', + 'sentAs' => 'routeTableIdSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + 'CreationTimestamp' => array( + 'type' => 'string', + 'sentAs' => 'creationTimestamp', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DeleteVpcEndpointsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Unsuccessful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'unsuccessful', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'Error' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + ), + 'ModifyVpcEndpointResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'DescribeVpcEndpointServicesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ServiceNames' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'serviceNameSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribePrefixListsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'PrefixLists' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'prefixListSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'PrefixListId' => array( + 'type' => 'string', + 'sentAs' => 'prefixListId', + ), + 'PrefixListName' => array( + 'type' => 'string', + 'sentAs' => 'prefixListName', + ), + 'Cidrs' => array( + 'type' => 'array', + 'sentAs' => 'cidrSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'MoveAddressToVpcResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AllocationId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'allocationId', + ), + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'status', + ), + ), + ), + 'RestoreAddressToClassicResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Status' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'status', + ), + 'PublicIp' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'publicIp', + ), + ), + ), + 'DescribeMovingAddressesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'MovingAddressStatuses' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'movingAddressStatusSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'PublicIp' => array( + 'type' => 'string', + 'sentAs' => 'publicIp', + ), + 'MoveStatus' => array( + 'type' => 'string', + 'sentAs' => 'moveStatus', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeScheduledInstanceAvailabilityResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + 'ScheduledInstanceAvailabilitySet' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'scheduledInstanceAvailabilitySet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'NetworkPlatform' => array( + 'type' => 'string', + 'sentAs' => 'networkPlatform', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'PurchaseToken' => array( + 'type' => 'string', + 'sentAs' => 'purchaseToken', + ), + 'SlotDurationInHours' => array( + 'type' => 'numeric', + 'sentAs' => 'slotDurationInHours', + ), + 'Recurrence' => array( + 'type' => 'object', + 'sentAs' => 'recurrence', + 'properties' => array( + 'Frequency' => array( + 'type' => 'string', + 'sentAs' => 'frequency', + ), + 'Interval' => array( + 'type' => 'numeric', + 'sentAs' => 'interval', + ), + 'OccurrenceDaySet' => array( + 'type' => 'array', + 'sentAs' => 'occurrenceDaySet', + 'items' => array( + 'name' => 'item', + 'type' => 'numeric', + 'sentAs' => 'item', + ), + ), + 'OccurrenceRelativeToEnd' => array( + 'type' => 'boolean', + 'sentAs' => 'occurrenceRelativeToEnd', + ), + 'OccurrenceUnit' => array( + 'type' => 'string', + 'sentAs' => 'occurrenceUnit', + ), + ), + ), + 'FirstSlotStartTime' => array( + 'type' => 'string', + 'sentAs' => 'firstSlotStartTime', + ), + 'HourlyPrice' => array( + 'type' => 'string', + 'sentAs' => 'hourlyPrice', + ), + 'TotalScheduledInstanceHours' => array( + 'type' => 'numeric', + 'sentAs' => 'totalScheduledInstanceHours', + ), + 'AvailableInstanceCount' => array( + 'type' => 'numeric', + 'sentAs' => 'availableInstanceCount', + ), + 'MinTermDurationInDays' => array( + 'type' => 'numeric', + 'sentAs' => 'minTermDurationInDays', + ), + 'MaxTermDurationInDays' => array( + 'type' => 'numeric', + 'sentAs' => 'maxTermDurationInDays', + ), + ), + ), + ), + ), + ), + 'DescribeScheduledInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + 'ScheduledInstanceSet' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'scheduledInstanceSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ScheduledInstanceId' => array( + 'type' => 'string', + 'sentAs' => 'scheduledInstanceId', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'NetworkPlatform' => array( + 'type' => 'string', + 'sentAs' => 'networkPlatform', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'SlotDurationInHours' => array( + 'type' => 'numeric', + 'sentAs' => 'slotDurationInHours', + ), + 'Recurrence' => array( + 'type' => 'object', + 'sentAs' => 'recurrence', + 'properties' => array( + 'Frequency' => array( + 'type' => 'string', + 'sentAs' => 'frequency', + ), + 'Interval' => array( + 'type' => 'numeric', + 'sentAs' => 'interval', + ), + 'OccurrenceDaySet' => array( + 'type' => 'array', + 'sentAs' => 'occurrenceDaySet', + 'items' => array( + 'name' => 'item', + 'type' => 'numeric', + 'sentAs' => 'item', + ), + ), + 'OccurrenceRelativeToEnd' => array( + 'type' => 'boolean', + 'sentAs' => 'occurrenceRelativeToEnd', + ), + 'OccurrenceUnit' => array( + 'type' => 'string', + 'sentAs' => 'occurrenceUnit', + ), + ), + ), + 'PreviousSlotEndTime' => array( + 'type' => 'string', + 'sentAs' => 'previousSlotEndTime', + ), + 'NextSlotStartTime' => array( + 'type' => 'string', + 'sentAs' => 'nextSlotStartTime', + ), + 'HourlyPrice' => array( + 'type' => 'string', + 'sentAs' => 'hourlyPrice', + ), + 'TotalScheduledInstanceHours' => array( + 'type' => 'numeric', + 'sentAs' => 'totalScheduledInstanceHours', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + 'sentAs' => 'instanceCount', + ), + 'TermStartDate' => array( + 'type' => 'string', + 'sentAs' => 'termStartDate', + ), + 'TermEndDate' => array( + 'type' => 'string', + 'sentAs' => 'termEndDate', + ), + 'CreateDate' => array( + 'type' => 'string', + 'sentAs' => 'createDate', + ), + ), + ), + ), + ), + ), + 'PurchaseScheduledInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ScheduledInstanceSet' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'scheduledInstanceSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ScheduledInstanceId' => array( + 'type' => 'string', + 'sentAs' => 'scheduledInstanceId', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'Platform' => array( + 'type' => 'string', + 'sentAs' => 'platform', + ), + 'NetworkPlatform' => array( + 'type' => 'string', + 'sentAs' => 'networkPlatform', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'SlotDurationInHours' => array( + 'type' => 'numeric', + 'sentAs' => 'slotDurationInHours', + ), + 'Recurrence' => array( + 'type' => 'object', + 'sentAs' => 'recurrence', + 'properties' => array( + 'Frequency' => array( + 'type' => 'string', + 'sentAs' => 'frequency', + ), + 'Interval' => array( + 'type' => 'numeric', + 'sentAs' => 'interval', + ), + 'OccurrenceDaySet' => array( + 'type' => 'array', + 'sentAs' => 'occurrenceDaySet', + 'items' => array( + 'name' => 'item', + 'type' => 'numeric', + 'sentAs' => 'item', + ), + ), + 'OccurrenceRelativeToEnd' => array( + 'type' => 'boolean', + 'sentAs' => 'occurrenceRelativeToEnd', + ), + 'OccurrenceUnit' => array( + 'type' => 'string', + 'sentAs' => 'occurrenceUnit', + ), + ), + ), + 'PreviousSlotEndTime' => array( + 'type' => 'string', + 'sentAs' => 'previousSlotEndTime', + ), + 'NextSlotStartTime' => array( + 'type' => 'string', + 'sentAs' => 'nextSlotStartTime', + ), + 'HourlyPrice' => array( + 'type' => 'string', + 'sentAs' => 'hourlyPrice', + ), + 'TotalScheduledInstanceHours' => array( + 'type' => 'numeric', + 'sentAs' => 'totalScheduledInstanceHours', + ), + 'InstanceCount' => array( + 'type' => 'numeric', + 'sentAs' => 'instanceCount', + ), + 'TermStartDate' => array( + 'type' => 'string', + 'sentAs' => 'termStartDate', + ), + 'TermEndDate' => array( + 'type' => 'string', + 'sentAs' => 'termEndDate', + ), + 'CreateDate' => array( + 'type' => 'string', + 'sentAs' => 'createDate', + ), + ), + ), + ), + ), + ), + 'RunScheduledInstancesResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceIdSet' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'instanceIdSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + ), + ), + 'RequestSpotFleetResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SpotFleetRequestId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'spotFleetRequestId', + ), + ), + ), + 'DescribeSpotFleetRequestsResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SpotFleetRequestConfigs' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'spotFleetRequestConfigSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'SpotFleetRequestId' => array( + 'type' => 'string', + 'sentAs' => 'spotFleetRequestId', + ), + 'SpotFleetRequestState' => array( + 'type' => 'string', + 'sentAs' => 'spotFleetRequestState', + ), + 'SpotFleetRequestConfig' => array( + 'type' => 'object', + 'sentAs' => 'spotFleetRequestConfig', + 'properties' => array( + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + 'SpotPrice' => array( + 'type' => 'string', + 'sentAs' => 'spotPrice', + ), + 'TargetCapacity' => array( + 'type' => 'numeric', + 'sentAs' => 'targetCapacity', + ), + 'ValidFrom' => array( + 'type' => 'string', + 'sentAs' => 'validFrom', + ), + 'ValidUntil' => array( + 'type' => 'string', + 'sentAs' => 'validUntil', + ), + 'TerminateInstancesWithExpiration' => array( + 'type' => 'boolean', + 'sentAs' => 'terminateInstancesWithExpiration', + ), + 'IamFleetRole' => array( + 'type' => 'string', + 'sentAs' => 'iamFleetRole', + ), + 'LaunchSpecifications' => array( + 'type' => 'array', + 'sentAs' => 'launchSpecifications', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ImageId' => array( + 'type' => 'string', + 'sentAs' => 'imageId', + ), + 'KeyName' => array( + '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( + 'type' => 'string', + 'sentAs' => 'userData', + ), + 'AddressingType' => array( + 'type' => 'string', + 'sentAs' => 'addressingType', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'Placement' => array( + 'type' => 'object', + 'sentAs' => 'placement', + 'properties' => array( + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'GroupName' => array( + 'type' => 'string', + 'sentAs' => 'groupName', + ), + ), + ), + 'KernelId' => array( + 'type' => 'string', + 'sentAs' => 'kernelId', + ), + 'RamdiskId' => array( + 'type' => 'string', + 'sentAs' => 'ramdiskId', + ), + 'BlockDeviceMappings' => array( + 'type' => 'array', + 'sentAs' => 'blockDeviceMapping', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VirtualName' => array( + 'type' => 'string', + 'sentAs' => 'virtualName', + ), + 'DeviceName' => array( + 'type' => 'string', + 'sentAs' => 'deviceName', + ), + 'Ebs' => array( + 'type' => 'object', + 'sentAs' => 'ebs', + 'properties' => array( + 'SnapshotId' => array( + 'type' => 'string', + 'sentAs' => 'snapshotId', + ), + 'VolumeSize' => array( + 'type' => 'numeric', + 'sentAs' => 'volumeSize', + ), + 'DeleteOnTermination' => array( + 'type' => 'boolean', + 'sentAs' => 'deleteOnTermination', + ), + 'VolumeType' => array( + 'type' => 'string', + 'sentAs' => 'volumeType', + ), + 'Iops' => array( + 'type' => 'numeric', + 'sentAs' => 'iops', + ), + 'Encrypted' => array( + 'type' => 'boolean', + 'sentAs' => 'encrypted', + ), + ), + ), + 'NoDevice' => array( + 'type' => 'string', + 'sentAs' => 'noDevice', + ), + ), + ), + ), + 'Monitoring' => array( + 'type' => 'object', + 'sentAs' => 'monitoring', + 'properties' => array( + 'Enabled' => array( + 'type' => 'boolean', + 'sentAs' => 'enabled', + ), + ), + ), + 'SubnetId' => array( + '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', + ), + 'AssociatePublicIpAddress' => array( + 'type' => 'boolean', + 'sentAs' => 'associatePublicIpAddress', + ), + ), + ), + ), + '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', + ), + 'WeightedCapacity' => array( + 'type' => 'numeric', + 'sentAs' => 'weightedCapacity', + ), + 'SpotPrice' => array( + 'type' => 'string', + 'sentAs' => 'spotPrice', + ), + ), + ), + ), + 'ExcessCapacityTerminationPolicy' => array( + 'type' => 'string', + 'sentAs' => 'excessCapacityTerminationPolicy', + ), + 'AllocationStrategy' => array( + 'type' => 'string', + 'sentAs' => 'allocationStrategy', + ), + ), + ), + 'CreateTime' => array( + 'type' => 'string', + 'sentAs' => 'createTime', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DescribeSpotFleetInstancesResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SpotFleetRequestId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'spotFleetRequestId', + ), + 'ActiveInstances' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'activeInstanceSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'SpotInstanceRequestId' => array( + 'type' => 'string', + 'sentAs' => 'spotInstanceRequestId', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'CancelSpotFleetRequestsResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'UnsuccessfulFleetRequests' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'unsuccessfulFleetRequestSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'SpotFleetRequestId' => array( + 'type' => 'string', + 'sentAs' => 'spotFleetRequestId', + ), + 'Error' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + 'SuccessfulFleetRequests' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'successfulFleetRequestSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'SpotFleetRequestId' => array( + 'type' => 'string', + 'sentAs' => 'spotFleetRequestId', + ), + 'CurrentSpotFleetRequestState' => array( + 'type' => 'string', + 'sentAs' => 'currentSpotFleetRequestState', + ), + 'PreviousSpotFleetRequestState' => array( + 'type' => 'string', + 'sentAs' => 'previousSpotFleetRequestState', + ), + ), + ), + ), + ), + ), + 'DescribeSpotFleetRequestHistoryResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'SpotFleetRequestId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'spotFleetRequestId', + ), + 'StartTime' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'startTime', + ), + 'LastEvaluatedTime' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'lastEvaluatedTime', + ), + 'HistoryRecords' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'historyRecordSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'Timestamp' => array( + 'type' => 'string', + 'sentAs' => 'timestamp', + ), + 'EventType' => array( + 'type' => 'string', + 'sentAs' => 'eventType', + ), + 'EventInformation' => array( + 'type' => 'object', + 'sentAs' => 'eventInformation', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'EventSubType' => array( + 'type' => 'string', + 'sentAs' => 'eventSubType', + ), + 'EventDescription' => array( + 'type' => 'string', + 'sentAs' => 'eventDescription', + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'ModifySpotFleetRequestResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'CreateFlowLogsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'FlowLogIds' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'flowLogIdSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'clientToken', + ), + 'Unsuccessful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'unsuccessful', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'Error' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + ), + 'DeleteFlowLogsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Unsuccessful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'unsuccessful', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'Error' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeFlowLogsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'FlowLogs' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'flowLogSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'CreationTime' => array( + 'type' => 'string', + 'sentAs' => 'creationTime', + ), + 'FlowLogId' => array( + 'type' => 'string', + 'sentAs' => 'flowLogId', + ), + 'FlowLogStatus' => array( + 'type' => 'string', + 'sentAs' => 'flowLogStatus', + ), + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'TrafficType' => array( + 'type' => 'string', + 'sentAs' => 'trafficType', + ), + 'LogGroupName' => array( + 'type' => 'string', + 'sentAs' => 'logGroupName', + ), + 'DeliverLogsStatus' => array( + 'type' => 'string', + 'sentAs' => 'deliverLogsStatus', + ), + 'DeliverLogsErrorMessage' => array( + 'type' => 'string', + 'sentAs' => 'deliverLogsErrorMessage', + ), + 'DeliverLogsPermissionArn' => array( + 'type' => 'string', + 'sentAs' => 'deliverLogsPermissionArn', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'AllocateHostsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'HostIds' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'hostIdSet', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + ), + ), + 'ModifyInstancePlacementResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Return' => array( + 'type' => 'boolean', + 'location' => 'xml', + 'sentAs' => 'return', + ), + ), + ), + 'ModifyHostsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Successful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'successful', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + 'Unsuccessful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'unsuccessful', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'Error' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + ), + 'DescribeHostsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Hosts' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'hostSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'HostId' => array( + 'type' => 'string', + 'sentAs' => 'hostId', + ), + 'AutoPlacement' => array( + 'type' => 'string', + 'sentAs' => 'autoPlacement', + ), + 'HostReservationId' => array( + 'type' => 'string', + 'sentAs' => 'hostReservationId', + ), + 'ClientToken' => array( + 'type' => 'string', + 'sentAs' => 'clientToken', + ), + 'HostProperties' => array( + 'type' => 'object', + 'sentAs' => 'hostProperties', + 'properties' => array( + 'Sockets' => array( + 'type' => 'numeric', + 'sentAs' => 'sockets', + ), + 'Cores' => array( + 'type' => 'numeric', + 'sentAs' => 'cores', + ), + 'TotalVCpus' => array( + 'type' => 'numeric', + 'sentAs' => 'totalVCpus', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + ), + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'sentAs' => 'availabilityZone', + ), + 'Instances' => array( + 'type' => 'array', + 'sentAs' => 'instances', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + 'sentAs' => 'instanceId', + ), + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + ), + ), + ), + 'AvailableCapacity' => array( + 'type' => 'object', + 'sentAs' => 'availableCapacity', + 'properties' => array( + 'AvailableInstanceCapacity' => array( + 'type' => 'array', + 'sentAs' => 'availableInstanceCapacity', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'InstanceType' => array( + 'type' => 'string', + 'sentAs' => 'instanceType', + ), + 'AvailableCapacity' => array( + 'type' => 'numeric', + 'sentAs' => 'availableCapacity', + ), + 'TotalCapacity' => array( + 'type' => 'numeric', + 'sentAs' => 'totalCapacity', + ), + ), + ), + ), + 'AvailableVCpus' => array( + 'type' => 'numeric', + 'sentAs' => 'availableVCpus', + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'ReleaseHostsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Successful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'successful', + 'items' => array( + 'name' => 'item', + 'type' => 'string', + 'sentAs' => 'item', + ), + ), + 'Unsuccessful' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'unsuccessful', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'ResourceId' => array( + 'type' => 'string', + 'sentAs' => 'resourceId', + ), + 'Error' => array( + 'type' => 'object', + 'sentAs' => 'error', + 'properties' => array( + 'Code' => array( + 'type' => 'string', + 'sentAs' => 'code', + ), + 'Message' => array( + 'type' => 'string', + 'sentAs' => 'message', + ), + ), + ), + ), + ), + ), + ), + ), + 'CreateNatGatewayResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NatGateway' => array( + 'type' => 'object', + 'location' => 'xml', + 'sentAs' => 'natGateway', + 'properties' => array( + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'SubnetId' => array( + 'type' => 'string', + 'sentAs' => 'subnetId', + ), + 'NatGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'natGatewayId', + ), + 'CreateTime' => array( + 'type' => 'string', + 'sentAs' => 'createTime', + ), + 'DeleteTime' => array( + 'type' => 'string', + 'sentAs' => 'deleteTime', + ), + 'NatGatewayAddresses' => array( + 'type' => 'array', + 'sentAs' => 'natGatewayAddressSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'PublicIp' => array( + 'type' => 'string', + 'sentAs' => 'publicIp', + ), + 'AllocationId' => array( + 'type' => 'string', + 'sentAs' => 'allocationId', + ), + 'PrivateIp' => array( + 'type' => 'string', + 'sentAs' => 'privateIp', + ), + 'NetworkInterfaceId' => array( + 'type' => 'string', + 'sentAs' => 'networkInterfaceId', + ), + ), + ), + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'FailureCode' => array( + 'type' => 'string', + 'sentAs' => 'failureCode', + ), + 'FailureMessage' => array( + 'type' => 'string', + 'sentAs' => 'failureMessage', + ), + ), + ), + 'ClientToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'clientToken', + ), + ), + ), + 'DescribeNatGatewaysResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NatGateways' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'natGatewaySet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'VpcId' => array( + 'type' => 'string', + 'sentAs' => 'vpcId', + ), + 'SubnetId' => array( + 'type' => 'string', + 'sentAs' => 'subnetId', + ), + 'NatGatewayId' => array( + 'type' => 'string', + 'sentAs' => 'natGatewayId', + ), + 'CreateTime' => array( + 'type' => 'string', + 'sentAs' => 'createTime', + ), + 'DeleteTime' => array( + 'type' => 'string', + 'sentAs' => 'deleteTime', + ), + 'NatGatewayAddresses' => array( + 'type' => 'array', + 'sentAs' => 'natGatewayAddressSet', + 'items' => array( + 'name' => 'item', + 'type' => 'object', + 'sentAs' => 'item', + 'properties' => array( + 'PublicIp' => array( + 'type' => 'string', + 'sentAs' => 'publicIp', + ), + 'AllocationId' => array( + 'type' => 'string', + 'sentAs' => 'allocationId', + ), + 'PrivateIp' => array( + 'type' => 'string', + 'sentAs' => 'privateIp', + ), + 'NetworkInterfaceId' => array( + 'type' => 'string', + 'sentAs' => 'networkInterfaceId', + ), + ), + ), + ), + 'State' => array( + 'type' => 'string', + 'sentAs' => 'state', + ), + 'FailureCode' => array( + 'type' => 'string', + 'sentAs' => 'failureCode', + ), + 'FailureMessage' => array( + 'type' => 'string', + 'sentAs' => 'failureMessage', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'nextToken', + ), + ), + ), + 'DeleteNatGatewayResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NatGatewayId' => array( + 'type' => 'string', + 'location' => 'xml', + 'sentAs' => 'natGatewayId', + ), + ), + ), + ), + 'iterators' => 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( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'InstanceStatuses', + ), + 'DescribeInstances' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'Reservations', + ), + 'DescribeInternetGateways' => array( + 'result_key' => 'InternetGateways', + ), + 'DescribeKeyPairs' => array( + 'result_key' => 'KeyPairs', + ), + '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( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'ReservedInstancesOfferings', + ), + 'DescribeReservedInstancesModifications' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'result_key' => 'ReservedInstancesModifications', + ), + 'DescribeRouteTables' => array( + 'result_key' => 'RouteTables', + ), + 'DescribeSecurityGroups' => array( + 'result_key' => 'SecurityGroups', + ), + 'DescribeSnapshots' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'Snapshots', + ), + 'DescribeSpotInstanceRequests' => array( + 'result_key' => 'SpotInstanceRequests', + ), + 'DescribeSpotPriceHistory' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'SpotPriceHistory', + ), + 'DescribeSubnets' => array( + 'result_key' => 'Subnets', + ), + 'DescribeTags' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'Tags', + ), + 'DescribeVolumeStatus' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'VolumeStatuses', + ), + 'DescribeVolumes' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + '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/vendor/aws/Aws/Ecs/Resources/ecs-2014-11-13.php b/vendor/aws/Aws/Ecs/Resources/ecs-2014-11-13.php index c977e3f..8bc60c0 100644 --- a/vendor/aws/Aws/Ecs/Resources/ecs-2014-11-13.php +++ b/vendor/aws/Aws/Ecs/Resources/ecs-2014-11-13.php @@ -53,11 +53,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -136,11 +136,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -182,11 +182,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -240,11 +240,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -299,11 +299,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -345,11 +345,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -390,11 +390,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -440,11 +440,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -494,11 +494,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -540,11 +540,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -590,11 +590,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -639,11 +639,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), ), @@ -680,11 +680,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -729,11 +729,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -782,11 +782,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -835,11 +835,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -892,11 +892,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -961,11 +961,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -976,6 +976,10 @@ 'reason' => 'The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are region-specific.', 'class' => 'ClusterNotFoundException', ), + array( + 'reason' => 'The specified service could not be found. You can view your available services with ListServices. Amazon ECS services are cluster-specific and region-specific.', + 'class' => 'ServiceNotFoundException', + ), ), ), 'RegisterContainerInstance' => array( @@ -1019,6 +1023,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -1042,14 +1047,31 @@ 'type' => 'string', 'location' => 'json', ), + 'attributes' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'required' => true, + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), ), @@ -1193,6 +1215,113 @@ ), ), ), + 'hostname' => array( + 'type' => 'string', + ), + 'user' => array( + 'type' => 'string', + ), + 'workingDirectory' => array( + 'type' => 'string', + ), + 'disableNetworking' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'privileged' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'readonlyRootFilesystem' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'dnsServers' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dnsSearchDomains' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'extraHosts' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'HostEntry', + 'type' => 'object', + 'properties' => array( + 'hostname' => array( + 'required' => true, + 'type' => 'string', + ), + 'ipAddress' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + 'dockerSecurityOptions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dockerLabels' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + 'data' => array( + 'shape_name' => 'String', + ), + ), + ), + 'ulimits' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Ulimit', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'required' => true, + 'type' => 'string', + ), + 'softLimit' => array( + 'required' => true, + 'type' => 'numeric', + ), + 'hardLimit' => array( + 'required' => true, + 'type' => 'numeric', + ), + ), + ), + ), + 'logConfiguration' => array( + 'type' => 'object', + 'properties' => array( + 'logDriver' => array( + 'required' => true, + 'type' => 'string', + ), + 'options' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + 'data' => array( + 'shape_name' => 'String', + ), + ), + ), + ), + ), ), ), ), @@ -1220,11 +1349,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -1314,11 +1443,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -1417,11 +1546,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -1467,11 +1596,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -1554,11 +1683,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), ), @@ -1603,11 +1732,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), ), @@ -1645,11 +1774,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -1661,7 +1790,7 @@ 'class' => 'ClusterNotFoundException', ), array( - 'reason' => 'There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is in a transitional stage, such as PENDING or STAGING, the update process can get stuck in that state. However, when the agent reconnects, it will resume where it stopped previously.', + 'reason' => 'There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is in a transitional stage, such as PENDING or STAGING, the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.', 'class' => 'UpdateInProgressException', ), array( @@ -1715,11 +1844,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'These errors are usually caused by a server-side issue.', + 'reason' => 'These errors are usually caused by a server issue.', 'class' => 'ServerException', ), array( - 'reason' => 'These errors are usually caused by something the client did, such as use an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specify an identifier that is not valid.', + 'reason' => 'These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn\'t have permission to use the action or resource, or specifying an identifier that is not valid.', 'class' => 'ClientException', ), array( @@ -1735,7 +1864,7 @@ 'class' => 'ServiceNotFoundException', ), array( - 'reason' => 'The specified service is not active. You cannot update a service that is not active. If you have previously deleted a service, you can recreate it with CreateService.', + 'reason' => 'The specified service is not active. You cannot update a service that is not active. If you have previously deleted a service, you can re-create it with CreateService.', 'class' => 'ServiceNotActiveException', ), ), @@ -2059,6 +2188,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -2070,6 +2200,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -2089,6 +2220,21 @@ 'agentUpdateStatus' => array( 'type' => 'string', ), + 'attributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -2212,6 +2358,98 @@ ), ), ), + 'hostname' => array( + 'type' => 'string', + ), + 'user' => array( + 'type' => 'string', + ), + 'workingDirectory' => array( + 'type' => 'string', + ), + 'disableNetworking' => array( + 'type' => 'boolean', + ), + 'privileged' => array( + 'type' => 'boolean', + ), + 'readonlyRootFilesystem' => array( + 'type' => 'boolean', + ), + 'dnsServers' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dnsSearchDomains' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'extraHosts' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'HostEntry', + 'type' => 'object', + 'properties' => array( + 'hostname' => array( + 'type' => 'string', + ), + 'ipAddress' => array( + 'type' => 'string', + ), + ), + ), + ), + 'dockerSecurityOptions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dockerLabels' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + ), + ), + 'ulimits' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Ulimit', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'softLimit' => array( + 'type' => 'numeric', + ), + 'hardLimit' => array( + 'type' => 'numeric', + ), + ), + ), + ), + 'logConfiguration' => array( + 'type' => 'object', + 'properties' => array( + 'logDriver' => array( + 'type' => 'string', + ), + 'options' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -2244,6 +2482,21 @@ 'status' => array( 'type' => 'string', ), + 'requiresAttributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -2339,6 +2592,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -2350,6 +2604,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -2369,6 +2624,21 @@ 'agentUpdateStatus' => array( 'type' => 'string', ), + 'attributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -2637,6 +2907,98 @@ ), ), ), + 'hostname' => array( + 'type' => 'string', + ), + 'user' => array( + 'type' => 'string', + ), + 'workingDirectory' => array( + 'type' => 'string', + ), + 'disableNetworking' => array( + 'type' => 'boolean', + ), + 'privileged' => array( + 'type' => 'boolean', + ), + 'readonlyRootFilesystem' => array( + 'type' => 'boolean', + ), + 'dnsServers' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dnsSearchDomains' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'extraHosts' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'HostEntry', + 'type' => 'object', + 'properties' => array( + 'hostname' => array( + 'type' => 'string', + ), + 'ipAddress' => array( + 'type' => 'string', + ), + ), + ), + ), + 'dockerSecurityOptions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dockerLabels' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + ), + ), + 'ulimits' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Ulimit', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'softLimit' => array( + 'type' => 'numeric', + ), + 'hardLimit' => array( + 'type' => 'numeric', + ), + ), + ), + ), + 'logConfiguration' => array( + 'type' => 'object', + 'properties' => array( + 'logDriver' => array( + 'type' => 'string', + ), + 'options' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -2669,6 +3031,21 @@ 'status' => array( 'type' => 'string', ), + 'requiresAttributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -2970,6 +3347,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -2981,6 +3359,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -3000,6 +3379,21 @@ 'agentUpdateStatus' => array( 'type' => 'string', ), + 'attributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -3123,6 +3517,98 @@ ), ), ), + 'hostname' => array( + 'type' => 'string', + ), + 'user' => array( + 'type' => 'string', + ), + 'workingDirectory' => array( + 'type' => 'string', + ), + 'disableNetworking' => array( + 'type' => 'boolean', + ), + 'privileged' => array( + 'type' => 'boolean', + ), + 'readonlyRootFilesystem' => array( + 'type' => 'boolean', + ), + 'dnsServers' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dnsSearchDomains' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'extraHosts' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'HostEntry', + 'type' => 'object', + 'properties' => array( + 'hostname' => array( + 'type' => 'string', + ), + 'ipAddress' => array( + 'type' => 'string', + ), + ), + ), + ), + 'dockerSecurityOptions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'dockerLabels' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + ), + ), + 'ulimits' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Ulimit', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'softLimit' => array( + 'type' => 'numeric', + ), + 'hardLimit' => array( + 'type' => 'numeric', + ), + ), + ), + ), + 'logConfiguration' => array( + 'type' => 'object', + 'properties' => array( + 'logDriver' => array( + 'type' => 'string', + ), + 'options' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -3155,6 +3641,21 @@ 'status' => array( 'type' => 'string', ), + 'requiresAttributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), @@ -3614,6 +4115,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -3625,6 +4127,7 @@ 'type' => 'object', 'properties' => array( '' => array( + 'type' => 'object', ), ), ), @@ -3644,6 +4147,21 @@ 'agentUpdateStatus' => array( 'type' => 'string', ), + 'attributes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Attribute', + 'type' => 'object', + 'properties' => array( + 'name' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), ), diff --git a/vendor/aws/Aws/Efs/Resources/elasticfilesystem-2015-02-01.php b/vendor/aws/Aws/Efs/Resources/elasticfilesystem-2015-02-01.php index f91a233..30ebc3b 100644 --- a/vendor/aws/Aws/Efs/Resources/elasticfilesystem-2015-02-01.php +++ b/vendor/aws/Aws/Efs/Resources/elasticfilesystem-2015-02-01.php @@ -35,7 +35,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -162,12 +161,10 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -272,7 +269,6 @@ 'name' => 'TagKey', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), ), ), @@ -311,7 +307,6 @@ 'type' => 'string', 'location' => 'query', 'minLength' => 1, - 'maxLength' => 64, ), 'FileSystemId' => array( 'type' => 'string', diff --git a/vendor/aws/Aws/ElasticBeanstalk/Resources/elasticbeanstalk-2010-12-01.php b/vendor/aws/Aws/ElasticBeanstalk/Resources/elasticbeanstalk-2010-12-01.php index 2db7a0c..2772af2 100644 --- a/vendor/aws/Aws/ElasticBeanstalk/Resources/elasticbeanstalk-2010-12-01.php +++ b/vendor/aws/Aws/ElasticBeanstalk/Resources/elasticbeanstalk-2010-12-01.php @@ -91,7 +91,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), 'errorResponses' => array( @@ -123,7 +122,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 63, ), ), ), @@ -149,12 +147,10 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), ), 'errorResponses' => array( @@ -186,19 +182,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'VersionLabel' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), 'SourceBundle' => array( 'type' => 'object', @@ -206,11 +199,9 @@ 'properties' => array( 'S3Bucket' => array( 'type' => 'string', - 'maxLength' => 255, ), 'S3Key' => array( 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -261,19 +252,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'SolutionStackName' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 100, ), 'SourceConfiguration' => array( 'type' => 'object', @@ -282,12 +270,10 @@ 'ApplicationName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -298,7 +284,6 @@ 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), 'OptionSettings' => array( 'type' => 'array', @@ -311,7 +296,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -359,25 +343,21 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), 'CNAMEPrefix' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 63, ), 'Tier' => array( 'type' => 'object', @@ -405,12 +385,10 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Value' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -419,18 +397,15 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'SolutionStackName' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 100, ), 'OptionSettings' => array( 'type' => 'array', @@ -443,7 +418,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -468,7 +442,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -546,7 +519,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TerminateEnvByForce' => array( 'type' => 'boolean', @@ -583,14 +555,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'VersionLabel' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'DeleteSourceBundle' => array( 'type' => 'boolean', @@ -639,14 +609,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -678,14 +646,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), ), @@ -710,7 +676,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'VersionLabels' => array( 'type' => 'array', @@ -720,7 +685,6 @@ 'name' => 'VersionLabel', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -750,7 +714,6 @@ 'name' => 'ApplicationName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 100, ), ), ), @@ -776,24 +739,20 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'SolutionStackName' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 100, ), 'Options' => array( 'type' => 'array', @@ -806,7 +765,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -841,19 +799,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), ), @@ -878,7 +833,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'EnvironmentId' => array( 'type' => 'string', @@ -929,7 +883,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), 'errorResponses' => array( @@ -960,13 +913,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'VersionLabel' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentIds' => array( 'type' => 'array', @@ -985,7 +936,6 @@ 'name' => 'EnvironmentName', 'type' => 'string', 'minLength' => 4, - 'maxLength' => 23, ), ), 'IncludeDeleted' => array( @@ -1025,19 +975,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'VersionLabel' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentId' => array( 'type' => 'string', @@ -1047,7 +994,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'RequestId' => array( 'type' => 'string', @@ -1108,7 +1054,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'EnvironmentId' => array( 'type' => 'string', @@ -1127,7 +1072,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -1184,7 +1128,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), 'errorResponses' => array( @@ -1219,7 +1162,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'InfoType' => array( 'required' => true, @@ -1253,7 +1195,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), ), @@ -1282,7 +1223,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'InfoType' => array( 'required' => true, @@ -1316,7 +1256,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'DestinationEnvironmentId' => array( 'type' => 'string', @@ -1326,7 +1265,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), ), ), @@ -1355,7 +1293,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'TerminateResources' => array( 'type' => 'boolean', @@ -1392,12 +1329,10 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), ), ), @@ -1423,19 +1358,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'VersionLabel' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), ), ), @@ -1461,19 +1393,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), 'OptionSettings' => array( 'type' => 'array', @@ -1486,7 +1415,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -1511,7 +1439,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -1555,12 +1482,10 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 200, ), 'Tier' => array( 'type' => 'object', @@ -1581,18 +1506,15 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'SolutionStackName' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 100, ), 'OptionSettings' => array( 'type' => 'array', @@ -1605,7 +1527,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -1630,7 +1551,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', @@ -1671,19 +1591,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'TemplateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 100, ), 'EnvironmentName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 23, ), 'OptionSettings' => array( 'required' => true, @@ -1697,7 +1614,6 @@ 'ResourceName' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'Namespace' => array( 'type' => 'string', diff --git a/vendor/aws/Aws/ElasticLoadBalancing/Resources/elasticloadbalancing-2012-06-01.php b/vendor/aws/Aws/ElasticLoadBalancing/Resources/elasticloadbalancing-2012-06-01.php index 7ac0d14..53c9a43 100644 --- a/vendor/aws/Aws/ElasticLoadBalancing/Resources/elasticloadbalancing-2012-06-01.php +++ b/vendor/aws/Aws/ElasticLoadBalancing/Resources/elasticloadbalancing-2012-06-01.php @@ -116,11 +116,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -507,11 +505,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -1429,7 +1425,6 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), ), ), diff --git a/vendor/aws/Aws/ElasticTranscoder/Resources/elastictranscoder-2012-09-25.php b/vendor/aws/Aws/ElasticTranscoder/Resources/elastictranscoder-2012-09-25.php index e34a93f..87970d4 100644 --- a/vendor/aws/Aws/ElasticTranscoder/Resources/elastictranscoder-2012-09-25.php +++ b/vendor/aws/Aws/ElasticTranscoder/Resources/elastictranscoder-2012-09-25.php @@ -113,7 +113,6 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'FrameRate' => array( 'type' => 'string', @@ -144,7 +143,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -177,7 +175,6 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'ThumbnailPattern' => array( 'type' => 'string', @@ -196,7 +193,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -218,12 +214,10 @@ 'PresetWatermarkId' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 40, ), 'InputKey' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Encryption' => array( 'type' => 'object', @@ -239,7 +233,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -261,7 +254,6 @@ 'InputKey' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'MaxWidth' => array( 'type' => 'string', @@ -292,7 +284,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -337,12 +328,10 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Language' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'TimeOffset' => array( 'type' => 'string', @@ -350,7 +339,6 @@ 'Label' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 40, ), 'Encryption' => array( 'type' => 'object', @@ -366,7 +354,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -400,7 +387,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -423,7 +409,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -440,7 +425,6 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'ThumbnailPattern' => array( 'type' => 'string', @@ -459,7 +443,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -481,12 +464,10 @@ 'PresetWatermarkId' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 40, ), 'InputKey' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Encryption' => array( 'type' => 'object', @@ -502,7 +483,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -524,7 +504,6 @@ 'InputKey' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'MaxWidth' => array( 'type' => 'string', @@ -555,7 +534,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -600,12 +578,10 @@ 'Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Language' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'TimeOffset' => array( 'type' => 'string', @@ -613,7 +589,6 @@ 'Label' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 40, ), 'Encryption' => array( 'type' => 'object', @@ -629,7 +604,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -663,7 +637,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -686,7 +659,6 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), ), ), @@ -697,7 +669,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 255, ), 'Playlists' => array( 'type' => 'array', @@ -710,7 +681,6 @@ 'Name' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Format' => array( 'type' => 'string', @@ -722,7 +692,6 @@ 'name' => 'Key', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), 'HlsContentProtection' => array( @@ -739,11 +708,9 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LicenseAcquisitionUrl' => array( 'type' => 'string', - 'maxLength' => 512, ), 'KeyStoragePolicy' => array( 'type' => 'string', @@ -767,12 +734,10 @@ ), 'InitializationVector' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LicenseAcquisitionUrl' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 512, ), ), ), @@ -828,7 +793,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 40, ), 'InputBucket' => array( 'required' => true, @@ -847,7 +811,6 @@ 'AwsKmsKeyArn' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'Notifications' => array( 'type' => 'object', @@ -890,7 +853,6 @@ 'Grantee' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Access' => array( 'type' => 'array', @@ -928,7 +890,6 @@ 'Grantee' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Access' => array( 'type' => 'array', @@ -982,12 +943,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 40, ), 'Description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'Container' => array( 'required' => true, @@ -1006,7 +965,6 @@ 'additionalProperties' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, 'data' => array( 'shape_name' => 'CodecOption', ), @@ -1057,7 +1015,6 @@ 'Id' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 40, ), 'MaxWidth' => array( 'type' => 'string', @@ -1586,7 +1543,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 40, ), 'InputBucket' => array( 'type' => 'string', @@ -1599,7 +1555,6 @@ 'AwsKmsKeyArn' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'Notifications' => array( 'type' => 'object', @@ -1642,7 +1597,6 @@ 'Grantee' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Access' => array( 'type' => 'array', @@ -1680,7 +1634,6 @@ 'Grantee' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'Access' => array( 'type' => 'array', diff --git a/vendor/aws/Aws/Emr/Resources/emr-2009-03-31.php b/vendor/aws/Aws/Emr/Resources/emr-2009-03-31.php index 7933861..43efa1f 100644 --- a/vendor/aws/Aws/Emr/Resources/emr-2009-03-31.php +++ b/vendor/aws/Aws/Emr/Resources/emr-2009-03-31.php @@ -109,7 +109,6 @@ 'properties' => array( 'Name' => array( 'type' => 'string', - 'maxLength' => 256, ), 'Market' => array( 'type' => 'string', @@ -120,13 +119,11 @@ ), 'BidPrice' => array( 'type' => 'string', - 'maxLength' => 256, ), 'InstanceType' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'InstanceCount' => array( 'required' => true, @@ -139,7 +136,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -174,7 +170,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'Steps' => array( 'required' => true, @@ -187,7 +182,6 @@ 'Name' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), 'ActionOnFailure' => array( 'type' => 'string', @@ -204,11 +198,9 @@ 'properties' => array( 'Key' => array( 'type' => 'string', - 'maxLength' => 10280, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -216,18 +208,15 @@ 'Jar' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10280, ), 'MainClass' => array( 'type' => 'string', - 'maxLength' => 10280, ), 'Args' => array( 'type' => 'array', 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -381,7 +370,6 @@ 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), 'JobFlowStates' => array( @@ -684,7 +672,6 @@ 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), 'Marker' => array( @@ -734,7 +721,6 @@ 'InstanceGroupId' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), 'InstanceCount' => array( 'type' => 'numeric', @@ -829,22 +815,18 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'LogUri' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 10280, ), 'AdditionalInfo' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 10280, ), 'AmiVersion' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'Instances' => array( 'required' => true, @@ -854,12 +836,10 @@ 'MasterInstanceType' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'SlaveInstanceType' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'InstanceCount' => array( 'type' => 'numeric', @@ -872,7 +852,6 @@ 'properties' => array( 'Name' => array( 'type' => 'string', - 'maxLength' => 256, ), 'Market' => array( 'type' => 'string', @@ -883,13 +862,11 @@ ), 'BidPrice' => array( 'type' => 'string', - 'maxLength' => 256, ), 'InstanceType' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'InstanceCount' => array( 'required' => true, @@ -900,7 +877,6 @@ ), 'Ec2KeyName' => array( 'type' => 'string', - 'maxLength' => 256, ), 'Placement' => array( 'type' => 'object', @@ -908,7 +884,6 @@ 'AvailabilityZone' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -922,26 +897,21 @@ ), 'HadoopVersion' => array( 'type' => 'string', - 'maxLength' => 256, ), 'Ec2SubnetId' => array( 'type' => 'string', - 'maxLength' => 256, ), 'EmrManagedMasterSecurityGroup' => array( 'type' => 'string', - 'maxLength' => 256, ), 'EmrManagedSlaveSecurityGroup' => array( 'type' => 'string', - 'maxLength' => 256, ), 'AdditionalMasterSecurityGroups' => array( 'type' => 'array', 'items' => array( 'name' => 'XmlStringMaxLen256', 'type' => 'string', - 'maxLength' => 256, ), ), 'AdditionalSlaveSecurityGroups' => array( @@ -949,7 +919,6 @@ 'items' => array( 'name' => 'XmlStringMaxLen256', 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -964,7 +933,6 @@ 'Name' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), 'ActionOnFailure' => array( 'type' => 'string', @@ -981,11 +949,9 @@ 'properties' => array( 'Key' => array( 'type' => 'string', - 'maxLength' => 10280, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -993,18 +959,15 @@ 'Jar' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10280, ), 'MainClass' => array( 'type' => 'string', - 'maxLength' => 10280, ), 'Args' => array( 'type' => 'array', 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -1022,7 +985,6 @@ 'Name' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 256, ), 'ScriptBootstrapAction' => array( 'required' => true, @@ -1031,14 +993,12 @@ 'Path' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 10280, ), 'Args' => array( 'type' => 'array', 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -1052,7 +1012,6 @@ 'items' => array( 'name' => 'XmlStringMaxLen256', 'type' => 'string', - 'maxLength' => 256, ), ), 'NewSupportedProducts' => array( @@ -1064,14 +1023,12 @@ 'properties' => array( 'Name' => array( 'type' => 'string', - 'maxLength' => 256, ), 'Args' => array( 'type' => 'array', 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), ), @@ -1085,12 +1042,10 @@ 'JobFlowRole' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 10280, ), 'ServiceRole' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 10280, ), 'Tags' => array( 'type' => 'array', @@ -1144,7 +1099,6 @@ 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), 'TerminationProtected' => array( @@ -1189,7 +1143,6 @@ 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), 'VisibleToAllUsers' => array( @@ -1234,7 +1187,6 @@ 'items' => array( 'name' => 'XmlString', 'type' => 'string', - 'maxLength' => 10280, ), ), ), diff --git a/vendor/aws/Aws/Iam/IamClient.php b/vendor/aws/Aws/Iam/IamClient.php index c0eb371..1435013 100644 --- a/vendor/aws/Aws/Iam/IamClient.php +++ b/vendor/aws/Aws/Iam/IamClient.php @@ -74,6 +74,8 @@ * @method Model getAccountAuthorizationDetails(array $args = array()) {@command Iam GetAccountAuthorizationDetails} * @method Model getAccountPasswordPolicy(array $args = array()) {@command Iam GetAccountPasswordPolicy} * @method Model getAccountSummary(array $args = array()) {@command Iam GetAccountSummary} + * @method Model getContextKeysForCustomPolicy(array $args = array()) {@command Iam GetContextKeysForCustomPolicy} + * @method Model getContextKeysForPrincipalPolicy(array $args = array()) {@command Iam GetContextKeysForPrincipalPolicy} * @method Model getCredentialReport(array $args = array()) {@command Iam GetCredentialReport} * @method Model getGroup(array $args = array()) {@command Iam GetGroup} * @method Model getGroupPolicy(array $args = array()) {@command Iam GetGroupPolicy} @@ -121,6 +123,8 @@ * @method Model removeUserFromGroup(array $args = array()) {@command Iam RemoveUserFromGroup} * @method Model resyncMFADevice(array $args = array()) {@command Iam ResyncMFADevice} * @method Model setDefaultPolicyVersion(array $args = array()) {@command Iam SetDefaultPolicyVersion} + * @method Model simulateCustomPolicy(array $args = array()) {@command Iam SimulateCustomPolicy} + * @method Model simulatePrincipalPolicy(array $args = array()) {@command Iam SimulatePrincipalPolicy} * @method Model updateAccessKey(array $args = array()) {@command Iam UpdateAccessKey} * @method Model updateAccountPasswordPolicy(array $args = array()) {@command Iam UpdateAccountPasswordPolicy} * @method Model updateAssumeRolePolicy(array $args = array()) {@command Iam UpdateAssumeRolePolicy} diff --git a/vendor/aws/Aws/Iam/Resources/iam-2010-05-08.php b/vendor/aws/Aws/Iam/Resources/iam-2010-05-08.php index 68bb48c..5494505 100644 --- a/vendor/aws/Aws/Iam/Resources/iam-2010-05-08.php +++ b/vendor/aws/Aws/Iam/Resources/iam-2010-05-08.php @@ -99,14 +99,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'ClientID' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -150,14 +148,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'RoleName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -201,14 +197,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'UserName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -248,14 +242,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -299,14 +291,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -350,14 +340,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -401,14 +389,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'NewPassword' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -459,7 +445,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -499,7 +484,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 63, ), ), 'errorResponses' => array( @@ -538,14 +522,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'GroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -589,13 +571,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Path' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), ), 'errorResponses' => array( @@ -635,14 +615,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Password' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PasswordResetRequired' => array( 'type' => 'boolean', @@ -695,7 +673,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), 'ClientIDList' => array( 'type' => 'array', @@ -705,7 +682,6 @@ 'name' => 'clientIDType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), 'ThumbprintList' => array( @@ -717,7 +693,6 @@ 'name' => 'thumbprintType', 'type' => 'string', 'minLength' => 40, - 'maxLength' => 40, ), ), ), @@ -762,7 +737,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Path' => array( 'type' => 'string', @@ -773,12 +747,10 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), 'Description' => array( 'type' => 'string', 'location' => 'aws.query', - 'maxLength' => 1000, ), ), 'errorResponses' => array( @@ -826,14 +798,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'PolicyDocument' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), 'SetAsDefault' => array( 'type' => 'boolean', @@ -885,21 +855,18 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'RoleName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'AssumeRolePolicyDocument' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), ), 'errorResponses' => array( @@ -943,14 +910,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1000, - 'maxLength' => 10000000, ), 'Name' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -993,14 +958,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'UserName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -1043,7 +1006,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'VirtualMFADeviceName' => array( 'required' => true, @@ -1089,14 +1051,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'SerialNumber' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -1139,14 +1099,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'AccessKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 16, - 'maxLength' => 32, ), ), 'errorResponses' => array( @@ -1186,7 +1144,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 3, - 'maxLength' => 63, ), ), 'errorResponses' => array( @@ -1259,7 +1216,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1303,14 +1259,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1350,7 +1304,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1394,7 +1347,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -1438,7 +1390,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -1478,7 +1429,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -1526,7 +1476,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'VersionId' => array( 'required' => true, @@ -1579,7 +1528,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -1623,14 +1571,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1670,7 +1616,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -1714,14 +1659,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'SSHPublicKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1753,7 +1696,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1796,14 +1738,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'CertificateId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 24, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1843,7 +1783,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1887,14 +1826,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1934,7 +1871,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -1978,14 +1914,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -2029,14 +1963,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -2080,14 +2012,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -2131,28 +2061,24 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'SerialNumber' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, - 'maxLength' => 256, ), 'AuthenticationCode1' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, - 'maxLength' => 6, ), 'AuthenticationCode2' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, - 'maxLength' => 6, ), ), 'errorResponses' => array( @@ -2233,7 +2159,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 16, - 'maxLength' => 32, ), ), 'errorResponses' => array( @@ -2279,7 +2204,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), ), 'errorResponses' => array( @@ -2343,6 +2267,87 @@ ), ), ), + 'GetContextKeysForCustomPolicy' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'GetContextKeysForPolicyResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'GetContextKeysForCustomPolicy', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-05-08', + ), + 'PolicyInputList' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PolicyInputList.member', + 'items' => array( + 'name' => 'policyDocumentType', + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The request was rejected because an invalid or out-of-range value was supplied for an input parameter.', + 'class' => 'InvalidInputException', + ), + ), + ), + 'GetContextKeysForPrincipalPolicy' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'GetContextKeysForPolicyResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'GetContextKeysForPrincipalPolicy', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-05-08', + ), + 'PolicySourceArn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 20, + ), + 'PolicyInputList' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PolicyInputList.member', + 'items' => array( + 'name' => 'policyDocumentType', + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + '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 an invalid or out-of-range value was supplied for an input parameter.', + 'class' => 'InvalidInputException', + ), + ), + ), 'GetCredentialReport' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -2367,7 +2372,7 @@ 'class' => 'CredentialReportNotPresentException', ), array( - 'reason' => 'The request was rejected because the most recent credential report has expired. To generate a new credential report, use GenerateCredentialReport. For more information about credential report expiration, see Getting Credential Reports in the Using IAM guide.', + 'reason' => 'The request was rejected because the most recent credential report has expired. To generate a new credential report, use GenerateCredentialReport. For more information about credential report expiration, see Getting Credential Reports in the IAM User Guide.', 'class' => 'CredentialReportExpiredException', ), array( @@ -2402,13 +2407,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -2450,14 +2453,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -2493,7 +2494,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -2529,7 +2529,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -2565,7 +2564,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -2605,7 +2603,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -2645,7 +2642,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'VersionId' => array( 'required' => true, @@ -2690,7 +2686,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -2726,14 +2721,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -2769,7 +2762,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -2809,14 +2801,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'SSHPublicKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 128, ), 'Encoding' => array( 'required' => true, @@ -2857,7 +2847,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -2892,7 +2881,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -2928,14 +2916,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -2970,13 +2956,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3017,7 +3001,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3055,7 +3038,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PathPrefix' => array( 'type' => 'string', @@ -3065,7 +3047,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3111,7 +3092,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PathPrefix' => array( 'type' => 'string', @@ -3121,7 +3101,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3167,7 +3146,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PathPrefix' => array( 'type' => 'string', @@ -3177,7 +3155,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3223,7 +3200,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'EntityFilter' => array( 'type' => 'string', @@ -3233,13 +3209,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3285,13 +3259,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3332,13 +3304,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3376,13 +3346,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3423,13 +3391,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3467,13 +3433,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3514,13 +3478,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3599,7 +3561,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3637,13 +3598,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3689,13 +3648,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3736,13 +3693,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3804,13 +3759,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3847,13 +3800,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3890,13 +3841,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3938,13 +3887,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -3985,13 +3932,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'Marker' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -4032,7 +3977,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 320, ), 'MaxItems' => array( 'type' => 'numeric', @@ -4064,21 +4008,18 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyDocument' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), ), 'errorResponses' => array( @@ -4122,21 +4063,18 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyDocument' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), ), 'errorResponses' => array( @@ -4180,21 +4118,18 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PolicyDocument' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), ), 'errorResponses' => array( @@ -4238,14 +4173,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'ClientID' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -4285,14 +4218,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'RoleName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -4332,14 +4263,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'UserName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -4379,28 +4308,24 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'SerialNumber' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, - 'maxLength' => 256, ), 'AuthenticationCode1' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, - 'maxLength' => 6, ), 'AuthenticationCode2' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, - 'maxLength' => 6, ), ), 'errorResponses' => array( @@ -4444,7 +4369,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'VersionId' => array( 'required' => true, @@ -4471,6 +4395,251 @@ ), ), ), + 'SimulateCustomPolicy' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'SimulatePolicyResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'SimulateCustomPolicy', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-05-08', + ), + 'PolicyInputList' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PolicyInputList.member', + 'items' => array( + 'name' => 'policyDocumentType', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'ActionNames' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ActionNames.member', + 'items' => array( + 'name' => 'ActionNameType', + 'type' => 'string', + 'minLength' => 3, + ), + ), + 'ResourceArns' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceArns.member', + 'items' => array( + 'name' => 'ResourceNameType', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'ResourcePolicy' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ResourceOwner' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'CallerArn' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ContextEntries' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ContextEntries.member', + 'items' => array( + 'name' => 'ContextEntry', + 'type' => 'object', + 'properties' => array( + 'ContextKeyName' => array( + 'type' => 'string', + 'minLength' => 5, + ), + 'ContextKeyValues' => array( + 'type' => 'array', + 'sentAs' => 'ContextKeyValues.member', + 'items' => array( + 'name' => 'ContextKeyValueType', + 'type' => 'string', + ), + ), + 'ContextKeyType' => array( + 'type' => 'string', + ), + ), + ), + ), + 'ResourceHandlingOption' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + 'minimum' => 1, + 'maximum' => 1000, + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The request was rejected because an invalid or out-of-range value was supplied for an input parameter.', + 'class' => 'InvalidInputException', + ), + array( + 'reason' => 'The request failed because a provided policy could not be successfully evaluated. An additional detail message indicates the source of the failure.', + 'class' => 'PolicyEvaluationException', + ), + ), + ), + 'SimulatePrincipalPolicy' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'SimulatePolicyResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'SimulatePrincipalPolicy', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-05-08', + ), + 'PolicySourceArn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 20, + ), + 'PolicyInputList' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'PolicyInputList.member', + 'items' => array( + 'name' => 'policyDocumentType', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'ActionNames' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ActionNames.member', + 'items' => array( + 'name' => 'ActionNameType', + 'type' => 'string', + 'minLength' => 3, + ), + ), + 'ResourceArns' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ResourceArns.member', + 'items' => array( + 'name' => 'ResourceNameType', + 'type' => 'string', + 'minLength' => 1, + ), + ), + 'ResourcePolicy' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ResourceOwner' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'CallerArn' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'ContextEntries' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'ContextEntries.member', + 'items' => array( + 'name' => 'ContextEntry', + 'type' => 'object', + 'properties' => array( + 'ContextKeyName' => array( + 'type' => 'string', + 'minLength' => 5, + ), + 'ContextKeyValues' => array( + 'type' => 'array', + 'sentAs' => 'ContextKeyValues.member', + 'items' => array( + 'name' => 'ContextKeyValueType', + 'type' => 'string', + ), + ), + 'ContextKeyType' => array( + 'type' => 'string', + ), + ), + ), + ), + 'ResourceHandlingOption' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + 'minimum' => 1, + 'maximum' => 1000, + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'aws.query', + 'minLength' => 1, + ), + ), + '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 an invalid or out-of-range value was supplied for an input parameter.', + 'class' => 'InvalidInputException', + ), + array( + 'reason' => 'The request failed because a provided policy could not be successfully evaluated. An additional detail message indicates the source of the failure.', + 'class' => 'PolicyEvaluationException', + ), + ), + ), 'UpdateAccessKey' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -4492,14 +4661,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'AccessKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 16, - 'maxLength' => 32, ), 'Status' => array( 'required' => true, @@ -4629,14 +4796,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'PolicyDocument' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 131072, ), ), 'errorResponses' => array( @@ -4680,19 +4845,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'NewPath' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'NewGroupName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -4736,13 +4898,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Password' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'PasswordResetRequired' => array( 'type' => 'boolean', @@ -4795,7 +4955,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'ThumbprintList' => array( 'required' => true, @@ -4806,7 +4965,6 @@ 'name' => 'thumbprintType', 'type' => 'string', 'minLength' => 40, - 'maxLength' => 40, ), ), ), @@ -4847,14 +5005,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1000, - 'maxLength' => 10000000, ), 'SAMLProviderArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -4898,14 +5054,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'SSHPublicKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 128, ), 'Status' => array( 'required' => true, @@ -4942,19 +5096,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'NewPath' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'NewServerCertificateName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -4997,14 +5148,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'CertificateId' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 24, - 'maxLength' => 128, ), 'Status' => array( 'required' => true, @@ -5049,19 +5198,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'NewPath' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'NewUserName' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -5109,14 +5255,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'SSHPublicKeyBody' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), ), 'errorResponses' => array( @@ -5163,34 +5307,29 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 512, ), 'ServerCertificateName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'CertificateBody' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), 'PrivateKey' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), 'CertificateChain' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 2097152, ), ), 'errorResponses' => array( @@ -5237,14 +5376,12 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 128, ), 'CertificateBody' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 16384, ), ), 'errorResponses' => array( @@ -6068,6 +6205,21 @@ ), ), ), + 'GetContextKeysForPolicyResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ContextKeyNames' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'ContextKeyNameType', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + ), + ), 'GetCredentialReportResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -7459,6 +7611,206 @@ ), ), ), + 'SimulatePolicyResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'EvaluationResults' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'EvaluationResult', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'EvalActionName' => array( + 'type' => 'string', + ), + 'EvalResourceName' => array( + 'type' => 'string', + ), + 'EvalDecision' => array( + 'type' => 'string', + ), + 'MatchedStatements' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Statement', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'SourcePolicyId' => array( + 'type' => 'string', + ), + 'SourcePolicyType' => array( + 'type' => 'string', + ), + 'StartPosition' => array( + 'type' => 'object', + 'properties' => array( + 'Line' => array( + 'type' => 'numeric', + ), + 'Column' => array( + 'type' => 'numeric', + ), + ), + ), + 'EndPosition' => array( + 'type' => 'object', + 'properties' => array( + 'Line' => array( + 'type' => 'numeric', + ), + 'Column' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'MissingContextValues' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ContextKeyNameType', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'EvalDecisionDetails' => array( + 'type' => 'array', + 'filters' => array( + array( + 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', + 'args' => array( + '@value', + 'entry', + 'key', + 'value', + ), + ), + ), + 'items' => array( + 'name' => 'entry', + 'type' => 'object', + 'sentAs' => 'entry', + 'additionalProperties' => true, + 'properties' => array( + 'key' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + 'additionalProperties' => false, + ), + 'ResourceSpecificResults' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ResourceSpecificResult', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'EvalResourceName' => array( + 'type' => 'string', + ), + 'EvalResourceDecision' => array( + 'type' => 'string', + ), + 'MatchedStatements' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Statement', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'SourcePolicyId' => array( + 'type' => 'string', + ), + 'SourcePolicyType' => array( + 'type' => 'string', + ), + 'StartPosition' => array( + 'type' => 'object', + 'properties' => array( + 'Line' => array( + 'type' => 'numeric', + ), + 'Column' => array( + 'type' => 'numeric', + ), + ), + ), + 'EndPosition' => array( + 'type' => 'object', + 'properties' => array( + 'Line' => array( + 'type' => 'numeric', + ), + 'Column' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'MissingContextValues' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ContextKeyNameType', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'EvalDecisionDetails' => array( + 'type' => 'array', + 'filters' => array( + array( + 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap', + 'args' => array( + '@value', + 'entry', + 'key', + 'value', + ), + ), + ), + 'items' => array( + 'name' => 'entry', + 'type' => 'object', + 'sentAs' => 'entry', + 'additionalProperties' => true, + 'properties' => array( + 'key' => array( + 'type' => 'string', + ), + 'value' => array( + 'type' => 'string', + ), + ), + ), + 'additionalProperties' => false, + ), + ), + ), + ), + ), + ), + ), + 'IsTruncated' => array( + 'type' => 'boolean', + 'location' => 'xml', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), 'UpdateSAMLProviderResponse' => array( 'type' => 'object', 'additionalProperties' => true, diff --git a/vendor/aws/Aws/Kinesis/KinesisClient.php b/vendor/aws/Aws/Kinesis/KinesisClient.php index a836593..4902f0f 100644 --- a/vendor/aws/Aws/Kinesis/KinesisClient.php +++ b/vendor/aws/Aws/Kinesis/KinesisClient.php @@ -29,10 +29,12 @@ * * @method Model addTagsToStream(array $args = array()) {@command Kinesis AddTagsToStream} * @method Model createStream(array $args = array()) {@command Kinesis CreateStream} + * @method Model decreaseStreamRetentionPeriod(array $args = array()) {@command Kinesis DecreaseStreamRetentionPeriod} * @method Model deleteStream(array $args = array()) {@command Kinesis DeleteStream} * @method Model describeStream(array $args = array()) {@command Kinesis DescribeStream} * @method Model getRecords(array $args = array()) {@command Kinesis GetRecords} * @method Model getShardIterator(array $args = array()) {@command Kinesis GetShardIterator} + * @method Model increaseStreamRetentionPeriod(array $args = array()) {@command Kinesis IncreaseStreamRetentionPeriod} * @method Model listStreams(array $args = array()) {@command Kinesis ListStreams} * @method Model listTagsForStream(array $args = array()) {@command Kinesis ListTagsForStream} * @method Model mergeShards(array $args = array()) {@command Kinesis MergeShards} diff --git a/vendor/aws/Aws/Kinesis/Resources/kinesis-2013-12-02.php b/vendor/aws/Aws/Kinesis/Resources/kinesis-2013-12-02.php index 77bec27..cda3fb8 100644 --- a/vendor/aws/Aws/Kinesis/Resources/kinesis-2013-12-02.php +++ b/vendor/aws/Aws/Kinesis/Resources/kinesis-2013-12-02.php @@ -83,7 +83,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'Tags' => array( 'required' => true, @@ -91,7 +90,6 @@ 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', - 'maxLength' => 256, 'data' => array( 'shape_name' => 'TagKey', ), @@ -100,11 +98,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( - 'reason' => 'The resource is not available for this operation. For example, you attempted to split a shard but the stream is not in the ACTIVE state.', + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', 'class' => 'ResourceInUseException', ), array( @@ -143,18 +141,18 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'ShardCount' => array( 'required' => true, 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, + 'maximum' => 100000, ), ), 'errorResponses' => array( array( - 'reason' => 'The resource is not available for this operation. For example, you attempted to split a shard but the stream is not in the ACTIVE state.', + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', 'class' => 'ResourceInUseException', ), array( @@ -167,6 +165,60 @@ ), ), ), + 'DecreaseStreamRetentionPeriod' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'Kinesis_20131202.DecreaseStreamRetentionPeriod', + ), + 'StreamName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'RetentionPeriodHours' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 24, + 'maximum' => 168, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', + 'class' => 'ResourceInUseException', + ), + array( + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed (5).', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'A specified parameter exceeds its restrictions, is not supported, or can\'t be used. For more information, see the returned message.', + 'class' => 'InvalidArgumentException', + ), + ), + ), 'DeleteStream' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -193,12 +245,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -233,7 +284,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'Limit' => array( 'type' => 'numeric', @@ -245,12 +295,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -285,7 +334,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 512, ), 'Limit' => array( 'type' => 'numeric', @@ -296,7 +344,7 @@ ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -339,14 +387,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'ShardId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'ShardIteratorType' => array( 'required' => true, @@ -360,7 +406,7 @@ ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -373,6 +419,60 @@ ), ), ), + 'IncreaseStreamRetentionPeriod' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'Kinesis_20131202.IncreaseStreamRetentionPeriod', + ), + 'StreamName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'RetentionPeriodHours' => array( + 'required' => true, + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 24, + 'maximum' => 168, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', + 'class' => 'ResourceInUseException', + ), + array( + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed (5).', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'A specified parameter exceeds its restrictions, is not supported, or can\'t be used. For more information, see the returned message.', + 'class' => 'InvalidArgumentException', + ), + ), + ), 'ListStreams' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -404,7 +504,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -440,13 +539,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'ExclusiveStartTagKey' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'Limit' => array( 'type' => 'numeric', @@ -457,7 +554,7 @@ ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -496,30 +593,27 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'ShardToMerge' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'AdjacentShardToMerge' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( - 'reason' => 'The resource is not available for this operation. For example, you attempted to split a shard but the stream is not in the ACTIVE state.', + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', 'class' => 'ResourceInUseException', ), array( @@ -558,7 +652,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'Data' => array( 'required' => true, @@ -573,7 +666,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'ExplicitHashKey' => array( 'type' => 'string', @@ -586,7 +678,7 @@ ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -644,7 +736,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -654,12 +745,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( @@ -698,7 +788,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'TagKeys' => array( 'required' => true, @@ -710,17 +799,16 @@ 'name' => 'TagKey', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), ), ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( - 'reason' => 'The resource is not available for this operation. For example, you attempted to split a shard but the stream is not in the ACTIVE state.', + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', 'class' => 'ResourceInUseException', ), array( @@ -759,14 +847,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'ShardToSplit' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'NewStartingHashKey' => array( 'required' => true, @@ -776,11 +862,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.', + 'reason' => 'The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE state if the operation requires it.', 'class' => 'ResourceNotFoundException', ), array( - 'reason' => 'The resource is not available for this operation. For example, you attempted to split a shard but the stream is not in the ACTIVE state.', + 'reason' => 'The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE state.', 'class' => 'ResourceInUseException', ), array( @@ -859,6 +945,9 @@ 'HasMoreShards' => array( 'type' => 'boolean', ), + 'RetentionPeriodHours' => array( + 'type' => 'numeric', + ), ), ), ), @@ -877,6 +966,9 @@ 'SequenceNumber' => array( 'type' => 'string', ), + 'ApproximateArrivalTimestamp' => array( + 'type' => 'string', + ), 'Data' => array( 'type' => 'string', 'filters' => array( diff --git a/vendor/aws/Aws/Kms/KmsClient.php b/vendor/aws/Aws/Kms/KmsClient.php index 2c2ba9a..f88b74f 100644 --- a/vendor/aws/Aws/Kms/KmsClient.php +++ b/vendor/aws/Aws/Kms/KmsClient.php @@ -26,6 +26,7 @@ /** * Client to interact with AWS Key Management Service * + * @method Model cancelKeyDeletion(array $args = array()) {@command Kms CancelKeyDeletion} * @method Model createAlias(array $args = array()) {@command Kms CreateAlias} * @method Model createGrant(array $args = array()) {@command Kms CreateGrant} * @method Model createKey(array $args = array()) {@command Kms CreateKey} @@ -46,12 +47,18 @@ * @method Model listGrants(array $args = array()) {@command Kms ListGrants} * @method Model listKeyPolicies(array $args = array()) {@command Kms ListKeyPolicies} * @method Model listKeys(array $args = array()) {@command Kms ListKeys} + * @method Model listRetirableGrants(array $args = array()) {@command Kms ListRetirableGrants} * @method Model putKeyPolicy(array $args = array()) {@command Kms PutKeyPolicy} * @method Model reEncrypt(array $args = array()) {@command Kms ReEncrypt} * @method Model retireGrant(array $args = array()) {@command Kms RetireGrant} * @method Model revokeGrant(array $args = array()) {@command Kms RevokeGrant} + * @method Model scheduleKeyDeletion(array $args = array()) {@command Kms ScheduleKeyDeletion} * @method Model updateAlias(array $args = array()) {@command Kms UpdateAlias} * @method Model updateKeyDescription(array $args = array()) {@command Kms UpdateKeyDescription} + * @method ResourceIteratorInterface getListAliasesIterator(array $args = array()) The input array uses the parameters of the ListAliases operation + * @method ResourceIteratorInterface getListGrantsIterator(array $args = array()) The input array uses the parameters of the ListGrants operation + * @method ResourceIteratorInterface getListKeyPoliciesIterator(array $args = array()) The input array uses the parameters of the ListKeyPolicies operation + * @method ResourceIteratorInterface getListKeysIterator(array $args = array()) The input array uses the parameters of the ListKeys operation * * @link http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-kms.html User guide * @link http://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.Kms.KmsClient.html API docs diff --git a/vendor/aws/Aws/Kms/Resources/kms-2014-11-01.php b/vendor/aws/Aws/Kms/Resources/kms-2014-11-01.php index c73808b..bb1e169 100644 --- a/vendor/aws/Aws/Kms/Resources/kms-2014-11-01.php +++ b/vendor/aws/Aws/Kms/Resources/kms-2014-11-01.php @@ -25,6 +25,57 @@ 'signatureVersion' => 'v4', 'namespace' => 'Kms', 'operations' => array( + 'CancelKeyDeletion' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'CancelKeyDeletionResponse', + 'responseType' => 'model', + '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' => 'TrentService.CancelKeyDeletion', + ), + 'KeyId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The request was rejected because the specified entity or resource could not be found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'The request was rejected because a specified ARN was not valid.', + 'class' => 'InvalidArnException', + ), + array( + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', + 'class' => 'DependencyTimeoutException', + ), + array( + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', + 'class' => 'KMSInternalException', + ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), + ), + ), 'CreateAlias' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -51,19 +102,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'TargetKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -79,13 +128,17 @@ 'class' => 'InvalidAliasNameException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( - 'reason' => 'The request was rejected because a quota was exceeded.', + 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'CreateGrant' => array( @@ -114,20 +167,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'GranteePrincipal' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'RetiringPrincipal' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'Operations' => array( 'type' => 'array', @@ -169,9 +219,13 @@ 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8192, ), ), + 'Name' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), ), 'errorResponses' => array( array( @@ -179,11 +233,11 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -191,17 +245,21 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( - 'reason' => 'The request was rejected because a quota was exceeded.', + 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'CreateKey' => array( @@ -229,12 +287,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 131072, ), 'Description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8192, ), 'KeyUsage' => array( 'type' => 'string', @@ -247,7 +303,7 @@ 'class' => 'MalformedPolicyDocumentException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -259,11 +315,11 @@ 'class' => 'UnsupportedOperationException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( - 'reason' => 'The request was rejected because a quota was exceeded.', + 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), ), @@ -315,7 +371,6 @@ 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8192, ), ), ), @@ -325,7 +380,7 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( @@ -333,21 +388,25 @@ 'class' => 'InvalidCiphertextException', ), array( - 'reason' => 'The request was rejected because the key was disabled, not found, or otherwise not available.', + 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'DeleteAlias' => array( @@ -376,12 +435,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -389,9 +447,13 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'DescribeKey' => array( @@ -420,7 +482,16 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, + ), + 'GrantTokens' => array( + 'type' => 'array', + 'location' => 'json', + 'maxItems' => 10, + 'items' => array( + 'name' => 'GrantTokenType', + 'type' => 'string', + 'minLength' => 1, + ), ), ), 'errorResponses' => array( @@ -433,11 +504,11 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), @@ -468,7 +539,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -481,13 +551,17 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'DisableKeyRotation' => array( @@ -516,7 +590,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -525,7 +598,7 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( @@ -533,13 +606,17 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'EnableKey' => array( @@ -568,7 +645,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -581,17 +657,21 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( - 'reason' => 'The request was rejected because a quota was exceeded.', + 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'EnableKeyRotation' => array( @@ -620,7 +700,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -629,7 +708,7 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( @@ -637,13 +716,17 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'Encrypt' => array( @@ -672,7 +755,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'Plaintext' => array( 'required' => true, @@ -700,7 +782,6 @@ 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8192, ), ), ), @@ -710,15 +791,15 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( - 'reason' => 'The request was rejected because the key was disabled, not found, or otherwise not available.', + 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -726,13 +807,17 @@ 'class' => 'InvalidKeyUsageException', ), array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'GenerateDataKey' => array( @@ -761,7 +846,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'EncryptionContext' => array( 'type' => 'object', @@ -791,7 +875,6 @@ 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8192, ), ), ), @@ -801,15 +884,15 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( - 'reason' => 'The request was rejected because the key was disabled, not found, or otherwise not available.', + 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -817,13 +900,17 @@ 'class' => 'InvalidKeyUsageException', ), array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'GenerateDataKeyWithoutPlaintext' => array( @@ -852,7 +939,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'EncryptionContext' => array( 'type' => 'object', @@ -882,7 +968,6 @@ 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8192, ), ), ), @@ -892,15 +977,15 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( - 'reason' => 'The request was rejected because the key was disabled, not found, or otherwise not available.', + 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -908,13 +993,17 @@ 'class' => 'InvalidKeyUsageException', ), array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'GenerateRandom' => array( @@ -947,11 +1036,11 @@ ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), @@ -982,14 +1071,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1002,13 +1089,17 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'GetKeyRotationStatus' => array( @@ -1037,7 +1128,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -1050,13 +1140,17 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'ListAliases' => array( @@ -1090,12 +1184,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 320, ), ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -1103,7 +1196,7 @@ 'class' => 'InvalidMarkerException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), @@ -1129,13 +1222,6 @@ 'location' => 'header', 'default' => 'TrentService.ListGrants', ), - 'KeyId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'json', - 'minLength' => 1, - 'maxLength' => 256, - ), 'Limit' => array( 'type' => 'numeric', 'location' => 'json', @@ -1146,12 +1232,21 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 320, + ), + 'KeyId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, ), ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The request was rejected because the specified entity or resource could not be found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -1163,9 +1258,13 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'ListKeyPolicies' => array( @@ -1194,7 +1293,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'Limit' => array( 'type' => 'numeric', @@ -1206,7 +1304,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 320, ), ), 'errorResponses' => array( @@ -1219,13 +1316,17 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'ListKeys' => array( @@ -1259,16 +1360,77 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 320, ), ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', + 'class' => 'KMSInternalException', + ), + ), + ), + 'ListRetirableGrants' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ListGrantsResponse', + 'responseType' => 'model', + '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' => 'TrentService.ListRetirableGrants', + ), + 'Limit' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, + 'maximum' => 1000, + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'RetiringPrincipal' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', + 'class' => 'DependencyTimeoutException', + ), + array( + 'reason' => 'The request was rejected because the marker that specifies where pagination should next begin is not valid.', + 'class' => 'InvalidMarkerException', + ), + array( + 'reason' => 'The request was rejected because a specified ARN was not valid.', + 'class' => 'InvalidArnException', + ), + array( + 'reason' => 'The request was rejected because the specified entity or resource could not be found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), ), @@ -1299,21 +1461,18 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'PolicyName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), 'Policy' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 131072, ), ), 'errorResponses' => array( @@ -1330,7 +1489,7 @@ 'class' => 'MalformedPolicyDocumentException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -1342,13 +1501,17 @@ 'class' => 'UnsupportedOperationException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), array( - 'reason' => 'The request was rejected because a quota was exceeded.', + 'reason' => 'The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.', 'class' => 'LimitExceededException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'ReEncrypt' => array( @@ -1395,7 +1558,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'DestinationEncryptionContext' => array( 'type' => 'object', @@ -1415,7 +1577,6 @@ 'name' => 'GrantTokenType', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8192, ), ), ), @@ -1425,7 +1586,7 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'A request was rejected because the specified key was marked as disabled.', + 'reason' => 'The request was rejected because the specified key was marked as disabled.', 'class' => 'DisabledException', ), array( @@ -1433,11 +1594,11 @@ 'class' => 'InvalidCiphertextException', ), array( - 'reason' => 'The request was rejected because the key was disabled, not found, or otherwise not available.', + 'reason' => 'The request was rejected because the key was not available. The request can be retried.', 'class' => 'KeyUnavailableException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -1445,13 +1606,17 @@ 'class' => 'InvalidKeyUsageException', ), array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'RetireGrant' => array( @@ -1479,38 +1644,43 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 8192, ), 'KeyId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'GrantId' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( array( - 'reason' => 'A grant token provided as part of the request is invalid.', + 'reason' => 'The request was rejected because a grant token provided as part of the request is invalid.', 'class' => 'InvalidGrantTokenException', ), + array( + 'reason' => 'The request was rejected because the specified GrantId is not valid.', + 'class' => 'InvalidGrantIdException', + ), array( 'reason' => 'The request was rejected because the specified entity or resource could not be found.', 'class' => 'NotFoundException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'RevokeGrant' => array( @@ -1539,14 +1709,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'GrantId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 128, ), ), 'errorResponses' => array( @@ -1555,7 +1723,7 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -1563,9 +1731,74 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because the specified GrantId is not valid.', + 'class' => 'InvalidGrantIdException', + ), + array( + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), + ), + ), + 'ScheduleKeyDeletion' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ScheduleKeyDeletionResponse', + 'responseType' => 'model', + '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' => 'TrentService.ScheduleKeyDeletion', + ), + 'KeyId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'PendingWindowInDays' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, + 'maximum' => 365, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The request was rejected because the specified entity or resource could not be found.', + 'class' => 'NotFoundException', + ), + array( + 'reason' => 'The request was rejected because a specified ARN was not valid.', + 'class' => 'InvalidArnException', + ), + array( + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', + 'class' => 'DependencyTimeoutException', + ), + array( + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', + 'class' => 'KMSInternalException', + ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'UpdateAlias' => array( @@ -1594,19 +1827,17 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'TargetKeyId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( @@ -1614,9 +1845,13 @@ 'class' => 'NotFoundException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), 'UpdateKeyDescription' => array( @@ -1645,13 +1880,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'Description' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 8192, ), ), 'errorResponses' => array( @@ -1664,17 +1897,31 @@ 'class' => 'InvalidArnException', ), array( - 'reason' => 'The system timed out while trying to fulfill the request.', + 'reason' => 'The system timed out while trying to fulfill the request. The request can be retried.', 'class' => 'DependencyTimeoutException', ), array( - 'reason' => 'The request was rejected because an internal exception occurred. This error can be retried.', + 'reason' => 'The request was rejected because an internal exception occurred. The request can be retried.', 'class' => 'KMSInternalException', ), + array( + 'reason' => 'The request was rejected because the state of the specified resource is not valid for this request. For more information about how key state affects the use of a customer master key (CMK), go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.', + 'class' => 'KMSInvalidStateException', + ), ), ), ), 'models' => array( + 'CancelKeyDeletionResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'KeyId' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'EmptyOutput' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1722,6 +1969,12 @@ 'KeyUsage' => array( 'type' => 'string', ), + 'KeyState' => array( + 'type' => 'string', + ), + 'DeletionDate' => array( + 'type' => 'string', + ), ), ), ), @@ -1772,6 +2025,12 @@ 'KeyUsage' => array( 'type' => 'string', ), + 'KeyState' => array( + 'type' => 'string', + ), + 'DeletionDate' => array( + 'type' => 'string', + ), ), ), ), @@ -1911,9 +2170,18 @@ 'name' => 'GrantListEntry', 'type' => 'object', 'properties' => array( + 'KeyId' => array( + 'type' => 'string', + ), 'GrantId' => array( 'type' => 'string', ), + 'Name' => array( + 'type' => 'string', + ), + 'CreationDate' => array( + 'type' => 'string', + ), 'GranteePrincipal' => array( 'type' => 'string', ), @@ -2033,5 +2301,49 @@ ), ), ), + 'ScheduleKeyDeletionResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'KeyId' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'DeletionDate' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + ), + 'iterators' => array( + 'ListAliases' => array( + 'limit_key' => 'Limit', + 'input_token' => 'Marker', + 'output_token' => 'NextMarker', + 'more_results' => 'Truncated', + 'result_key' => 'Aliases', + ), + 'ListGrants' => array( + 'limit_key' => 'Limit', + 'input_token' => 'Marker', + 'output_token' => 'NextMarker', + 'more_results' => 'Truncated', + 'result_key' => 'Grants', + ), + 'ListKeyPolicies' => array( + 'limit_key' => 'Limit', + 'input_token' => 'Marker', + 'output_token' => 'NextMarker', + 'more_results' => 'Truncated', + 'result_key' => 'PolicyNames', + ), + 'ListKeys' => array( + 'limit_key' => 'Limit', + 'input_token' => 'Marker', + 'output_token' => 'NextMarker', + 'more_results' => 'Truncated', + 'result_key' => 'Keys', + ), ), ); diff --git a/vendor/aws/Aws/Lambda/LambdaClient.php b/vendor/aws/Aws/Lambda/LambdaClient.php index e71a0cd..edf73aa 100644 --- a/vendor/aws/Aws/Lambda/LambdaClient.php +++ b/vendor/aws/Aws/Lambda/LambdaClient.php @@ -28,19 +28,26 @@ * Client to interact with AWS Lambda * * @method Model addPermission(array $args = array()) {@command Lambda AddPermission} + * @method Model createAlias(array $args = array()) {@command Lambda CreateAlias} * @method Model createEventSourceMapping(array $args = array()) {@command Lambda CreateEventSourceMapping} * @method Model createFunction(array $args = array()) {@command Lambda CreateFunction} + * @method Model deleteAlias(array $args = array()) {@command Lambda DeleteAlias} * @method Model deleteEventSourceMapping(array $args = array()) {@command Lambda DeleteEventSourceMapping} * @method Model deleteFunction(array $args = array()) {@command Lambda DeleteFunction} + * @method Model getAlias(array $args = array()) {@command Lambda GetAlias} * @method Model getEventSourceMapping(array $args = array()) {@command Lambda GetEventSourceMapping} * @method Model getFunction(array $args = array()) {@command Lambda GetFunction} * @method Model getFunctionConfiguration(array $args = array()) {@command Lambda GetFunctionConfiguration} * @method Model getPolicy(array $args = array()) {@command Lambda GetPolicy} * @method Model invoke(array $args = array()) {@command Lambda Invoke} * @method Model invokeAsync(array $args = array()) {@command Lambda InvokeAsync} + * @method Model listAliases(array $args = array()) {@command Lambda ListAliases} * @method Model listEventSourceMappings(array $args = array()) {@command Lambda ListEventSourceMappings} * @method Model listFunctions(array $args = array()) {@command Lambda ListFunctions} + * @method Model listVersionsByFunction(array $args = array()) {@command Lambda ListVersionsByFunction} + * @method Model publishVersion(array $args = array()) {@command Lambda PublishVersion} * @method Model removePermission(array $args = array()) {@command Lambda RemovePermission} + * @method Model updateAlias(array $args = array()) {@command Lambda UpdateAlias} * @method Model updateEventSourceMapping(array $args = array()) {@command Lambda UpdateEventSourceMapping} * @method Model updateFunctionCode(array $args = array()) {@command Lambda UpdateFunctionCode} * @method Model updateFunctionConfiguration(array $args = array()) {@command Lambda UpdateFunctionConfiguration} diff --git a/vendor/aws/Aws/Lambda/Resources/lambda-2014-11-11.php b/vendor/aws/Aws/Lambda/Resources/lambda-2014-11-11.php index 84513e0..84f3ff3 100644 --- a/vendor/aws/Aws/Lambda/Resources/lambda-2014-11-11.php +++ b/vendor/aws/Aws/Lambda/Resources/lambda-2014-11-11.php @@ -39,7 +39,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'Role' => array( 'required' => true, @@ -84,7 +83,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -138,7 +136,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -164,7 +161,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -190,7 +186,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 64, ), 'InvokeArgs' => array( 'required' => true, @@ -232,7 +227,6 @@ 'type' => 'string', 'location' => 'query', 'minLength' => 1, - 'maxLength' => 64, ), 'Marker' => array( 'type' => 'string', @@ -325,7 +319,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 64, ), 'Role' => array( 'type' => 'string', @@ -338,7 +331,6 @@ 'Description' => array( 'type' => 'string', 'location' => 'query', - 'maxLength' => 256, ), 'Timeout' => array( 'type' => 'numeric', @@ -380,7 +372,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 64, ), 'FunctionZip' => array( 'required' => true, @@ -413,7 +404,6 @@ 'Description' => array( 'type' => 'string', 'location' => 'query', - 'maxLength' => 256, ), 'Timeout' => array( 'type' => 'numeric', diff --git a/vendor/aws/Aws/Lambda/Resources/lambda-2015-03-31.php b/vendor/aws/Aws/Lambda/Resources/lambda-2015-03-31.php index 399162d..882cc9b 100644 --- a/vendor/aws/Aws/Lambda/Resources/lambda-2015-03-31.php +++ b/vendor/aws/Aws/Lambda/Resources/lambda-2015-03-31.php @@ -24,7 +24,7 @@ 'operations' => array( 'AddPermission' => array( 'httpMethod' => 'POST', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD/policy', + 'uri' => '/2015-03-31/functions/{FunctionName}/policy', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'AddPermissionResponse', 'responseType' => 'model', @@ -34,14 +34,12 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, ), 'StatementId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'Action' => array( 'required' => true, @@ -61,6 +59,11 @@ 'type' => 'string', 'location' => 'json', ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, + ), ), 'errorResponses' => array( array( @@ -88,6 +91,58 @@ ), ), ), + 'CreateAlias' => array( + 'httpMethod' => 'POST', + 'uri' => '/2015-03-31/functions/{FunctionName}/aliases', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'AliasConfiguration', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'FunctionVersion' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'The resource already exists.', + 'class' => 'ResourceConflictException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), + ), + ), 'CreateEventSourceMapping' => array( 'httpMethod' => 'POST', 'uri' => '/2015-03-31/event-source-mappings/', @@ -105,7 +160,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 111, ), 'Enabled' => array( 'type' => 'boolean', @@ -154,7 +208,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 111, ), 'Runtime' => array( 'required' => true, @@ -170,24 +223,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 128, - ), - 'Description' => array( - 'type' => 'string', - 'location' => 'json', - 'maxLength' => 256, - ), - 'Timeout' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - 'maximum' => 60, - ), - 'MemorySize' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 128, - 'maximum' => 1536, ), 'Code' => array( 'required' => true, @@ -203,20 +238,37 @@ 'S3Bucket' => array( 'type' => 'string', 'minLength' => 3, - 'maxLength' => 63, ), 'S3Key' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), 'S3ObjectVersion' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 1024, ), ), ), + 'Description' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Timeout' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, + ), + 'MemorySize' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 128, + 'maximum' => 1536, + ), + 'Publish' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'json', + ), ), 'errorResponses' => array( array( @@ -239,10 +291,45 @@ 'class' => 'TooManyRequestsException', ), array( + 'reason' => 'You have exceeded your maximum total code size per account. Limits', 'class' => 'CodeStorageExceededException', ), ), ), + 'DeleteAlias' => array( + 'httpMethod' => 'DELETE', + 'uri' => '/2015-03-31/functions/{FunctionName}/aliases/{Name}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), + ), + ), 'DeleteEventSourceMapping' => array( 'httpMethod' => 'DELETE', 'uri' => '/2015-03-31/event-source-mappings/{UUID}', @@ -286,7 +373,11 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, + ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, ), ), 'errorResponses' => array( @@ -301,6 +392,52 @@ array( 'class' => 'TooManyRequestsException', ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'reason' => 'The resource already exists.', + 'class' => 'ResourceConflictException', + ), + ), + ), + 'GetAlias' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-03-31/functions/{FunctionName}/aliases/{Name}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'AliasConfiguration', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), ), ), 'GetEventSourceMapping' => array( @@ -336,7 +473,7 @@ ), 'GetFunction' => array( 'httpMethod' => 'GET', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD', + 'uri' => '/2015-03-31/functions/{FunctionName}', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'GetFunctionResponse', 'responseType' => 'model', @@ -346,7 +483,11 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, + ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, ), ), 'errorResponses' => array( @@ -361,11 +502,15 @@ array( 'class' => 'TooManyRequestsException', ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), ), ), 'GetFunctionConfiguration' => array( 'httpMethod' => 'GET', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD/configuration', + 'uri' => '/2015-03-31/functions/{FunctionName}/configuration', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'FunctionConfiguration', 'responseType' => 'model', @@ -375,7 +520,11 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, + ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, ), ), 'errorResponses' => array( @@ -390,11 +539,15 @@ array( 'class' => 'TooManyRequestsException', ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), ), ), 'GetPolicy' => array( 'httpMethod' => 'GET', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD/policy', + 'uri' => '/2015-03-31/functions/{FunctionName}/policy', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'GetPolicyResponse', 'responseType' => 'model', @@ -404,7 +557,11 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, + ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, ), ), 'errorResponses' => array( @@ -419,6 +576,10 @@ array( 'class' => 'TooManyRequestsException', ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), ), ), 'Invoke' => array( @@ -433,7 +594,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, ), 'InvocationType' => array( 'type' => 'string', @@ -457,6 +617,11 @@ ), 'location' => 'body', ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, + ), ), 'errorResponses' => array( array( @@ -472,14 +637,20 @@ 'class' => 'InvalidRequestContentException', ), array( + 'reason' => 'The request payload exceeded the Invoke request body JSON input limit. For more information, see Limits', 'class' => 'RequestTooLargeException', ), array( + 'reason' => 'The content type of the Invoke request body is not JSON.', 'class' => 'UnsupportedMediaTypeException', ), array( 'class' => 'TooManyRequestsException', ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), ), ), 'InvokeAsync' => array( @@ -494,7 +665,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, ), 'InvokeArgs' => array( 'required' => true, @@ -520,6 +690,53 @@ ), ), ), + 'ListAliases' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-03-31/functions/{FunctionName}/aliases', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListAliasesResponse', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'FunctionVersion' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'query', + 'minimum' => 1, + 'maximum' => 10000, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), + ), + ), 'ListEventSourceMappings' => array( 'httpMethod' => 'GET', 'uri' => '/2015-03-31/event-source-mappings/', @@ -535,7 +752,6 @@ 'type' => 'string', 'location' => 'query', 'minLength' => 1, - 'maxLength' => 111, ), 'Marker' => array( 'type' => 'string', @@ -594,9 +810,95 @@ ), ), ), + 'ListVersionsByFunction' => array( + 'httpMethod' => 'GET', + 'uri' => '/2015-03-31/functions/{FunctionName}/versions', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'ListVersionsByFunctionResponse', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'query', + ), + 'MaxItems' => array( + 'type' => 'numeric', + 'location' => 'query', + 'minimum' => 1, + 'maximum' => 10000, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), + ), + ), + 'PublishVersion' => array( + 'httpMethod' => 'POST', + 'uri' => '/2015-03-31/functions/{FunctionName}/versions', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'FunctionConfiguration', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'CodeSha256' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), + array( + 'reason' => 'You have exceeded your maximum total code size per account. Limits', + 'class' => 'CodeStorageExceededException', + ), + ), + ), 'RemovePermission' => array( 'httpMethod' => 'DELETE', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD/policy/{StatementId}', + 'uri' => '/2015-03-31/functions/{FunctionName}/policy/{StatementId}', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'EmptyOutput', 'responseType' => 'model', @@ -606,14 +908,17 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, ), 'StatementId' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 100, + ), + 'Qualifier' => array( + 'type' => 'string', + 'location' => 'query', + 'minLength' => 1, ), ), 'errorResponses' => array( @@ -625,6 +930,57 @@ 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', 'class' => 'ResourceNotFoundException', ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), + array( + 'class' => 'TooManyRequestsException', + ), + ), + ), + 'UpdateAlias' => array( + 'httpMethod' => 'PUT', + 'uri' => '/2015-03-31/functions/{FunctionName}/aliases/{Name}', + 'class' => 'Guzzle\\Service\\Command\\OperationCommand', + 'responseClass' => 'AliasConfiguration', + 'responseType' => 'model', + 'parameters' => array( + 'FunctionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + 'minLength' => 1, + ), + 'FunctionVersion' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The AWS Lambda service encountered an internal error.', + 'class' => 'ServiceException', + ), + array( + 'reason' => 'The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.', + 'class' => 'ResourceNotFoundException', + ), + array( + 'reason' => 'One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.', + 'class' => 'InvalidParameterValueException', + ), array( 'class' => 'TooManyRequestsException', ), @@ -646,7 +1002,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 111, ), 'Enabled' => array( 'type' => 'boolean', @@ -676,11 +1031,15 @@ array( 'class' => 'TooManyRequestsException', ), + array( + 'reason' => 'The resource already exists.', + 'class' => 'ResourceConflictException', + ), ), ), 'UpdateFunctionCode' => array( 'httpMethod' => 'PUT', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD/code', + 'uri' => '/2015-03-31/functions/{FunctionName}/code', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'FunctionConfiguration', 'responseType' => 'model', @@ -690,32 +1049,33 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, ), 'ZipFile' => array( 'type' => array( 'string', 'object', ), - 'location' => 'body' + 'location' => 'json', ), 'S3Bucket' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 63, ), 'S3Key' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'S3ObjectVersion' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, + ), + 'Publish' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'json', ), ), 'errorResponses' => array( @@ -735,13 +1095,14 @@ 'class' => 'TooManyRequestsException', ), array( + 'reason' => 'You have exceeded your maximum total code size per account. Limits', 'class' => 'CodeStorageExceededException', ), ), ), 'UpdateFunctionConfiguration' => array( 'httpMethod' => 'PUT', - 'uri' => '/2015-03-31/functions/{FunctionName}/versions/HEAD/configuration', + 'uri' => '/2015-03-31/functions/{FunctionName}/configuration', 'class' => 'Guzzle\\Service\\Command\\OperationCommand', 'responseClass' => 'FunctionConfiguration', 'responseType' => 'model', @@ -751,7 +1112,6 @@ 'type' => 'string', 'location' => 'uri', 'minLength' => 1, - 'maxLength' => 111, ), 'Role' => array( 'type' => 'string', @@ -760,18 +1120,15 @@ 'Handler' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 128, ), 'Description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'Timeout' => array( 'type' => 'numeric', 'location' => 'json', 'minimum' => 1, - 'maximum' => 60, ), 'MemorySize' => array( 'type' => 'numeric', @@ -810,6 +1167,28 @@ ), ), ), + 'AliasConfiguration' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AliasArn' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Name' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'FunctionVersion' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Description' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'EventSourceMappingConfiguration' => array( 'type' => 'object', 'additionalProperties' => true, @@ -892,6 +1271,14 @@ 'type' => 'string', 'location' => 'json', ), + 'CodeSha256' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Version' => array( + 'type' => 'string', + 'location' => 'json', + ), ), ), 'EmptyOutput' => array( @@ -936,6 +1323,12 @@ 'LastModified' => array( 'type' => 'string', ), + 'CodeSha256' => array( + 'type' => 'string', + ), + 'Version' => array( + 'type' => 'string', + ), ), ), 'Code' => array( @@ -999,6 +1392,38 @@ ), ), ), + 'ListAliasesResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Aliases' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'AliasConfiguration', + 'type' => 'object', + 'properties' => array( + 'AliasArn' => array( + 'type' => 'string', + ), + 'Name' => array( + 'type' => 'string', + ), + 'FunctionVersion' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), 'ListEventSourceMappingsResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1088,6 +1513,68 @@ 'LastModified' => array( 'type' => 'string', ), + 'CodeSha256' => array( + 'type' => 'string', + ), + 'Version' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ListVersionsByFunctionResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'NextMarker' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Versions' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'FunctionConfiguration', + 'type' => 'object', + 'properties' => array( + 'FunctionName' => array( + 'type' => 'string', + ), + 'FunctionArn' => array( + 'type' => 'string', + ), + 'Runtime' => array( + 'type' => 'string', + ), + 'Role' => array( + 'type' => 'string', + ), + 'Handler' => array( + 'type' => 'string', + ), + 'CodeSize' => array( + 'type' => 'numeric', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Timeout' => array( + 'type' => 'numeric', + ), + 'MemorySize' => array( + 'type' => 'numeric', + ), + 'LastModified' => array( + 'type' => 'string', + ), + 'CodeSha256' => array( + 'type' => 'string', + ), + 'Version' => array( + 'type' => 'string', + ), ), ), ), diff --git a/vendor/aws/Aws/MachineLearning/Resources/machinelearning-2014-12-12.php b/vendor/aws/Aws/MachineLearning/Resources/machinelearning-2014-12-12.php index b31d049..75c0517 100644 --- a/vendor/aws/Aws/MachineLearning/Resources/machinelearning-2014-12-12.php +++ b/vendor/aws/Aws/MachineLearning/Resources/machinelearning-2014-12-12.php @@ -36,32 +36,27 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'BatchPredictionName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'MLModelId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'BatchPredictionDataSourceId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'OutputUri' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -105,12 +100,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'DataSourceName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'RDSData' => array( 'required' => true, @@ -125,13 +118,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 63, ), 'DatabaseName' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -139,7 +130,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 16777216, ), 'DatabaseCredentials' => array( 'required' => true, @@ -149,49 +139,41 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Password' => array( 'required' => true, 'type' => 'string', 'minLength' => 8, - 'maxLength' => 128, ), ), ), 'S3StagingLocation' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), 'DataRearrangement' => array( 'type' => 'string', ), 'DataSchema' => array( 'type' => 'string', - 'maxLength' => 131071, ), 'DataSchemaUri' => array( 'type' => 'string', - 'maxLength' => 2048, ), 'ResourceRole' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'ServiceRole' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'SubnetId' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), 'SecurityGroupIds' => array( 'required' => true, @@ -200,7 +182,6 @@ 'name' => 'EDPSecurityGroupId', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 255, ), ), ), @@ -210,7 +191,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'ComputeStatistics' => array( 'type' => 'boolean', @@ -259,12 +239,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'DataSourceName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'DataSpec' => array( 'required' => true, @@ -279,13 +257,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'ClusterIdentifier' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 63, ), ), ), @@ -293,7 +269,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 16777216, ), 'DatabaseCredentials' => array( 'required' => true, @@ -303,31 +278,26 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Password' => array( 'required' => true, 'type' => 'string', 'minLength' => 8, - 'maxLength' => 64, ), ), ), 'S3StagingLocation' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), 'DataRearrangement' => array( 'type' => 'string', ), 'DataSchema' => array( 'type' => 'string', - 'maxLength' => 131071, ), 'DataSchemaUri' => array( 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -336,7 +306,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'ComputeStatistics' => array( 'type' => 'boolean', @@ -385,12 +354,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'DataSourceName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'DataSpec' => array( 'required' => true, @@ -400,18 +367,15 @@ 'DataLocationS3' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), 'DataRearrangement' => array( 'type' => 'string', ), 'DataSchema' => array( 'type' => 'string', - 'maxLength' => 131071, ), 'DataSchemaLocationS3' => array( 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -462,26 +426,22 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'EvaluationName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'MLModelId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'EvaluationDataSourceId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -525,12 +485,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'MLModelName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'MLModelType' => array( 'required' => true, @@ -552,17 +510,14 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'Recipe' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 131071, ), 'RecipeUri' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -606,7 +561,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -650,7 +604,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -694,7 +647,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -738,7 +690,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -782,7 +733,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -826,7 +776,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -872,37 +821,30 @@ 'EQ' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'NE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'Prefix' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'SortOrder' => array( 'type' => 'string', @@ -958,37 +900,30 @@ 'EQ' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'NE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'Prefix' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'SortOrder' => array( 'type' => 'string', @@ -1044,37 +979,30 @@ 'EQ' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'NE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'Prefix' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'SortOrder' => array( 'type' => 'string', @@ -1130,37 +1058,30 @@ 'EQ' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LT' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'GE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'LE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'NE' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'Prefix' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'SortOrder' => array( 'type' => 'string', @@ -1214,7 +1135,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -1258,7 +1178,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'Verbose' => array( 'type' => 'boolean', @@ -1307,7 +1226,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -1351,7 +1269,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'Verbose' => array( 'type' => 'boolean', @@ -1400,7 +1317,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'Record' => array( 'required' => true, @@ -1408,7 +1324,6 @@ 'location' => 'json', 'additionalProperties' => array( 'type' => 'string', - 'maxLength' => 1024, 'data' => array( 'shape_name' => 'VariableName', ), @@ -1418,7 +1333,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -1470,13 +1384,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'BatchPredictionName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1520,13 +1432,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'DataSourceName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1570,13 +1480,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'EvaluationName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), ), 'errorResponses' => array( @@ -1620,12 +1528,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'MLModelName' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'ScoreThreshold' => array( 'type' => 'numeric', diff --git a/vendor/aws/Aws/OpsWorks/OpsWorksClient.php b/vendor/aws/Aws/OpsWorks/OpsWorksClient.php index 74bdcf4..a8c496a 100644 --- a/vendor/aws/Aws/OpsWorks/OpsWorksClient.php +++ b/vendor/aws/Aws/OpsWorks/OpsWorksClient.php @@ -43,6 +43,7 @@ * @method Model deleteLayer(array $args = array()) {@command OpsWorks DeleteLayer} * @method Model deleteStack(array $args = array()) {@command OpsWorks DeleteStack} * @method Model deleteUserProfile(array $args = array()) {@command OpsWorks DeleteUserProfile} + * @method Model deregisterEcsCluster(array $args = array()) {@command OpsWorks DeregisterEcsCluster} * @method Model deregisterElasticIp(array $args = array()) {@command OpsWorks DeregisterElasticIp} * @method Model deregisterInstance(array $args = array()) {@command OpsWorks DeregisterInstance} * @method Model deregisterRdsDbInstance(array $args = array()) {@command OpsWorks DeregisterRdsDbInstance} @@ -51,6 +52,7 @@ * @method Model describeApps(array $args = array()) {@command OpsWorks DescribeApps} * @method Model describeCommands(array $args = array()) {@command OpsWorks DescribeCommands} * @method Model describeDeployments(array $args = array()) {@command OpsWorks DescribeDeployments} + * @method Model describeEcsClusters(array $args = array()) {@command OpsWorks DescribeEcsClusters} * @method Model describeElasticIps(array $args = array()) {@command OpsWorks DescribeElasticIps} * @method Model describeElasticLoadBalancers(array $args = array()) {@command OpsWorks DescribeElasticLoadBalancers} * @method Model describeInstances(array $args = array()) {@command OpsWorks DescribeInstances} @@ -72,6 +74,7 @@ * @method Model getHostnameSuggestion(array $args = array()) {@command OpsWorks GetHostnameSuggestion} * @method Model grantAccess(array $args = array()) {@command OpsWorks GrantAccess} * @method Model rebootInstance(array $args = array()) {@command OpsWorks RebootInstance} + * @method Model registerEcsCluster(array $args = array()) {@command OpsWorks RegisterEcsCluster} * @method Model registerElasticIp(array $args = array()) {@command OpsWorks RegisterElasticIp} * @method Model registerInstance(array $args = array()) {@command OpsWorks RegisterInstance} * @method Model registerRdsDbInstance(array $args = array()) {@command OpsWorks RegisterRdsDbInstance} @@ -97,6 +100,7 @@ * @method ResourceIteratorInterface getDescribeAppsIterator(array $args = array()) The input array uses the parameters of the DescribeApps operation * @method ResourceIteratorInterface getDescribeCommandsIterator(array $args = array()) The input array uses the parameters of the DescribeCommands operation * @method ResourceIteratorInterface getDescribeDeploymentsIterator(array $args = array()) The input array uses the parameters of the DescribeDeployments operation + * @method ResourceIteratorInterface getDescribeEcsClustersIterator(array $args = array()) The input array uses the parameters of the DescribeEcsClusters operation * @method ResourceIteratorInterface getDescribeElasticIpsIterator(array $args = array()) The input array uses the parameters of the DescribeElasticIps operation * @method ResourceIteratorInterface getDescribeElasticLoadBalancersIterator(array $args = array()) The input array uses the parameters of the DescribeElasticLoadBalancers operation * @method ResourceIteratorInterface getDescribeInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeInstances operation diff --git a/vendor/aws/Aws/OpsWorks/Resources/opsworks-2013-02-18.php b/vendor/aws/Aws/OpsWorks/Resources/opsworks-2013-02-18.php index d83d903..1a5ab60 100644 --- a/vendor/aws/Aws/OpsWorks/Resources/opsworks-2013-02-18.php +++ b/vendor/aws/Aws/OpsWorks/Resources/opsworks-2013-02-18.php @@ -822,6 +822,10 @@ 'type' => 'string', 'location' => 'json', ), + 'CustomJson' => array( + 'type' => 'string', + 'location' => 'json', + ), 'CustomSecurityGroupIds' => array( 'type' => 'array', 'location' => 'json', @@ -1366,6 +1370,44 @@ ), ), ), + 'DeregisterEcsCluster' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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.DeregisterEcsCluster', + ), + 'EcsClusterArn' => array( + 'required' => true, + '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', + ), + ), + ), 'DeregisterElasticIp' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -1710,6 +1752,59 @@ ), ), ), + 'DescribeEcsClusters' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeEcsClustersResult', + 'responseType' => 'model', + '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.DescribeEcsClusters', + ), + 'EcsClusterArns' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), + ), + 'StackId' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'MaxResults' => array( + 'type' => 'numeric', + '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', + ), + ), + ), 'DescribeElasticIps' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -2598,6 +2693,49 @@ ), ), ), + 'RegisterEcsCluster' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'RegisterEcsClusterResult', + 'responseType' => 'model', + '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.RegisterEcsCluster', + ), + 'EcsClusterArn' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'StackId' => array( + 'required' => true, + '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', + ), + ), + ), 'RegisterElasticIp' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -3644,6 +3782,10 @@ 'type' => 'string', 'location' => 'json', ), + 'CustomJson' => array( + 'type' => 'string', + 'location' => 'json', + ), 'CustomSecurityGroupIds' => array( 'type' => 'array', 'location' => 'json', @@ -4463,6 +4605,38 @@ ), ), ), + 'DescribeEcsClustersResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'EcsClusters' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'EcsCluster', + 'type' => 'object', + 'properties' => array( + 'EcsClusterArn' => array( + 'type' => 'string', + ), + 'EcsClusterName' => array( + 'type' => 'string', + ), + 'StackId' => array( + 'type' => 'string', + ), + 'RegisteredAt' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'DescribeElasticIpsResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -4622,6 +4796,12 @@ 'Ec2InstanceId' => array( 'type' => 'string', ), + 'EcsClusterArn' => array( + 'type' => 'string', + ), + 'EcsContainerInstanceArn' => array( + 'type' => 'string', + ), 'ElasticIp' => array( 'type' => 'string', ), @@ -4765,6 +4945,9 @@ 'CustomInstanceProfileArn' => array( 'type' => 'string', ), + 'CustomJson' => array( + 'type' => 'string', + ), 'CustomSecurityGroupIds' => array( 'type' => 'array', 'items' => array( @@ -5618,6 +5801,16 @@ ), ), ), + 'RegisterEcsClusterResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'EcsClusterArn' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'RegisterElasticIpResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -5659,6 +5852,12 @@ 'DescribeDeployments' => array( 'result_key' => 'Deployments', ), + 'DescribeEcsClusters' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'limit_key' => 'MaxResults', + 'result_key' => 'EcsClusters', + ), 'DescribeElasticIps' => array( 'result_key' => 'ElasticIps', ), diff --git a/vendor/aws/Aws/Rds/RdsClient.php b/vendor/aws/Aws/Rds/RdsClient.php index d61adac..758104e 100644 --- a/vendor/aws/Aws/Rds/RdsClient.php +++ b/vendor/aws/Aws/Rds/RdsClient.php @@ -30,9 +30,13 @@ * @method Model addTagsToResource(array $args = array()) {@command Rds AddTagsToResource} * @method Model applyPendingMaintenanceAction(array $args = array()) {@command Rds ApplyPendingMaintenanceAction} * @method Model authorizeDBSecurityGroupIngress(array $args = array()) {@command Rds AuthorizeDBSecurityGroupIngress} + * @method Model copyDBClusterSnapshot(array $args = array()) {@command Rds CopyDBClusterSnapshot} * @method Model copyDBParameterGroup(array $args = array()) {@command Rds CopyDBParameterGroup} * @method Model copyDBSnapshot(array $args = array()) {@command Rds CopyDBSnapshot} * @method Model copyOptionGroup(array $args = array()) {@command Rds CopyOptionGroup} + * @method Model createDBCluster(array $args = array()) {@command Rds CreateDBCluster} + * @method Model createDBClusterParameterGroup(array $args = array()) {@command Rds CreateDBClusterParameterGroup} + * @method Model createDBClusterSnapshot(array $args = array()) {@command Rds CreateDBClusterSnapshot} * @method Model createDBInstance(array $args = array()) {@command Rds CreateDBInstance} * @method Model createDBInstanceReadReplica(array $args = array()) {@command Rds CreateDBInstanceReadReplica} * @method Model createDBParameterGroup(array $args = array()) {@command Rds CreateDBParameterGroup} @@ -41,6 +45,9 @@ * @method Model createDBSubnetGroup(array $args = array()) {@command Rds CreateDBSubnetGroup} * @method Model createEventSubscription(array $args = array()) {@command Rds CreateEventSubscription} * @method Model createOptionGroup(array $args = array()) {@command Rds CreateOptionGroup} + * @method Model deleteDBCluster(array $args = array()) {@command Rds DeleteDBCluster} + * @method Model deleteDBClusterParameterGroup(array $args = array()) {@command Rds DeleteDBClusterParameterGroup} + * @method Model deleteDBClusterSnapshot(array $args = array()) {@command Rds DeleteDBClusterSnapshot} * @method Model deleteDBInstance(array $args = array()) {@command Rds DeleteDBInstance} * @method Model deleteDBParameterGroup(array $args = array()) {@command Rds DeleteDBParameterGroup} * @method Model deleteDBSecurityGroup(array $args = array()) {@command Rds DeleteDBSecurityGroup} @@ -50,6 +57,10 @@ * @method Model deleteOptionGroup(array $args = array()) {@command Rds DeleteOptionGroup} * @method Model describeAccountAttributes(array $args = array()) {@command Rds DescribeAccountAttributes} * @method Model describeCertificates(array $args = array()) {@command Rds DescribeCertificates} + * @method Model describeDBClusterParameterGroups(array $args = array()) {@command Rds DescribeDBClusterParameterGroups} + * @method Model describeDBClusterParameters(array $args = array()) {@command Rds DescribeDBClusterParameters} + * @method Model describeDBClusterSnapshots(array $args = array()) {@command Rds DescribeDBClusterSnapshots} + * @method Model describeDBClusters(array $args = array()) {@command Rds DescribeDBClusters} * @method Model describeDBEngineVersions(array $args = array()) {@command Rds DescribeDBEngineVersions} * @method Model describeDBInstances(array $args = array()) {@command Rds DescribeDBInstances} * @method Model describeDBLogFiles(array $args = array()) {@command Rds DescribeDBLogFiles} @@ -58,6 +69,7 @@ * @method Model describeDBSecurityGroups(array $args = array()) {@command Rds DescribeDBSecurityGroups} * @method Model describeDBSnapshots(array $args = array()) {@command Rds DescribeDBSnapshots} * @method Model describeDBSubnetGroups(array $args = array()) {@command Rds DescribeDBSubnetGroups} + * @method Model describeEngineDefaultClusterParameters(array $args = array()) {@command Rds DescribeEngineDefaultClusterParameters} * @method Model describeEngineDefaultParameters(array $args = array()) {@command Rds DescribeEngineDefaultParameters} * @method Model describeEventCategories(array $args = array()) {@command Rds DescribeEventCategories} * @method Model describeEventSubscriptions(array $args = array()) {@command Rds DescribeEventSubscriptions} @@ -69,7 +81,10 @@ * @method Model describeReservedDBInstances(array $args = array()) {@command Rds DescribeReservedDBInstances} * @method Model describeReservedDBInstancesOfferings(array $args = array()) {@command Rds DescribeReservedDBInstancesOfferings} * @method Model downloadDBLogFilePortion(array $args = array()) {@command Rds DownloadDBLogFilePortion} + * @method Model failoverDBCluster(array $args = array()) {@command Rds FailoverDBCluster} * @method Model listTagsForResource(array $args = array()) {@command Rds ListTagsForResource} + * @method Model modifyDBCluster(array $args = array()) {@command Rds ModifyDBCluster} + * @method Model modifyDBClusterParameterGroup(array $args = array()) {@command Rds ModifyDBClusterParameterGroup} * @method Model modifyDBInstance(array $args = array()) {@command Rds ModifyDBInstance} * @method Model modifyDBParameterGroup(array $args = array()) {@command Rds ModifyDBParameterGroup} * @method Model modifyDBSubnetGroup(array $args = array()) {@command Rds ModifyDBSubnetGroup} @@ -80,29 +95,16 @@ * @method Model rebootDBInstance(array $args = array()) {@command Rds RebootDBInstance} * @method Model removeSourceIdentifierFromSubscription(array $args = array()) {@command Rds RemoveSourceIdentifierFromSubscription} * @method Model removeTagsFromResource(array $args = array()) {@command Rds RemoveTagsFromResource} + * @method Model resetDBClusterParameterGroup(array $args = array()) {@command Rds ResetDBClusterParameterGroup} * @method Model resetDBParameterGroup(array $args = array()) {@command Rds ResetDBParameterGroup} + * @method Model restoreDBClusterFromSnapshot(array $args = array()) {@command Rds RestoreDBClusterFromSnapshot} + * @method Model restoreDBClusterToPointInTime(array $args = array()) {@command Rds RestoreDBClusterToPointInTime} * @method Model restoreDBInstanceFromDBSnapshot(array $args = array()) {@command Rds RestoreDBInstanceFromDBSnapshot} * @method Model restoreDBInstanceToPointInTime(array $args = array()) {@command Rds RestoreDBInstanceToPointInTime} * @method Model revokeDBSecurityGroupIngress(array $args = array()) {@command Rds RevokeDBSecurityGroupIngress} * @method waitUntilDBInstanceAvailable(array $input) The input array uses the parameters of the DescribeDBInstances operation and waiter specific settings * @method waitUntilDBInstanceDeleted(array $input) The input array uses the parameters of the DescribeDBInstances operation and waiter specific settings - * @method ResourceIteratorInterface getDescribeDBEngineVersionsIterator(array $args = array()) The input array uses the parameters of the DescribeDBEngineVersions operation - * @method ResourceIteratorInterface getDescribeDBInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeDBInstances operation - * @method ResourceIteratorInterface getDescribeDBLogFilesIterator(array $args = array()) The input array uses the parameters of the DescribeDBLogFiles operation - * @method ResourceIteratorInterface getDescribeDBParameterGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeDBParameterGroups operation - * @method ResourceIteratorInterface getDescribeDBParametersIterator(array $args = array()) The input array uses the parameters of the DescribeDBParameters operation - * @method ResourceIteratorInterface getDescribeDBSecurityGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeDBSecurityGroups operation - * @method ResourceIteratorInterface getDescribeDBSnapshotsIterator(array $args = array()) The input array uses the parameters of the DescribeDBSnapshots operation - * @method ResourceIteratorInterface getDescribeDBSubnetGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeDBSubnetGroups operation * @method ResourceIteratorInterface getDescribeEngineDefaultParametersIterator(array $args = array()) The input array uses the parameters of the DescribeEngineDefaultParameters operation - * @method ResourceIteratorInterface getDescribeEventSubscriptionsIterator(array $args = array()) The input array uses the parameters of the DescribeEventSubscriptions operation - * @method ResourceIteratorInterface getDescribeEventsIterator(array $args = array()) The input array uses the parameters of the DescribeEvents operation - * @method ResourceIteratorInterface getDescribeOptionGroupOptionsIterator(array $args = array()) The input array uses the parameters of the DescribeOptionGroupOptions operation - * @method ResourceIteratorInterface getDescribeOptionGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeOptionGroups operation - * @method ResourceIteratorInterface getDescribeOrderableDBInstanceOptionsIterator(array $args = array()) The input array uses the parameters of the DescribeOrderableDBInstanceOptions operation - * @method ResourceIteratorInterface getDescribeReservedDBInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeReservedDBInstances operation - * @method ResourceIteratorInterface getDescribeReservedDBInstancesOfferingsIterator(array $args = array()) The input array uses the parameters of the DescribeReservedDBInstancesOfferings operation - * @method ResourceIteratorInterface getListTagsForResourceIterator(array $args = array()) The input array uses the parameters of the ListTagsForResource operation * * @link http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-rds.html User guide * @link http://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.Rds.RdsClient.html API docs diff --git a/vendor/aws/Aws/Rds/Resources/rds-2014-10-31.php b/vendor/aws/Aws/Rds/Resources/rds-2014-10-31.php index de9bb44..a945e92 100644 --- a/vendor/aws/Aws/Rds/Resources/rds-2014-10-31.php +++ b/vendor/aws/Aws/Rds/Resources/rds-2014-10-31.php @@ -265,6 +265,66 @@ ), ), ), + 'CopyDBClusterSnapshot' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterSnapshotWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CopyDBClusterSnapshot', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'SourceDBClusterSnapshotIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'TargetDBClusterSnapshotIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'User already has a DB cluster snapshot with the given identifier.', + 'class' => 'DBClusterSnapshotAlreadyExistsException', + ), + array( + 'reason' => 'DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.', + 'class' => 'DBClusterSnapshotNotFoundException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', + ), + ), + ), 'CopyDBParameterGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -374,6 +434,11 @@ ), ), ), + 'CopyTags' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( array( @@ -459,66 +524,53 @@ ), ), ), - 'CreateDBInstance' => array( + 'CreateDBCluster' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', + 'responseClass' => 'DBClusterWrapper', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'CreateDBInstance', + 'default' => 'CreateDBCluster', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'DBName' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceIdentifier' => array( - 'required' => true, - 'type' => 'string', + 'AvailabilityZones' => array( + 'type' => 'array', 'location' => 'aws.query', + 'sentAs' => 'AvailabilityZones.member', + 'items' => array( + 'name' => 'AvailabilityZone', + 'type' => 'string', + ), ), - 'AllocatedStorage' => array( - 'required' => true, + 'BackupRetentionPeriod' => array( 'type' => 'numeric', 'location' => 'aws.query', ), - 'DBInstanceClass' => array( - 'required' => true, + 'CharacterSetName' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'Engine' => array( - 'required' => true, + 'DatabaseName' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'MasterUsername' => array( + 'DBClusterIdentifier' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'MasterUserPassword' => array( - 'required' => true, + 'DBClusterParameterGroupName' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'DBSecurityGroups' => array( - 'type' => 'array', - 'location' => 'aws.query', - 'sentAs' => 'DBSecurityGroups.member', - 'items' => array( - 'name' => 'DBSecurityGroupName', - 'type' => 'string', - ), - ), 'VpcSecurityGroupIds' => array( 'type' => 'array', 'location' => 'aws.query', @@ -528,27 +580,16 @@ 'type' => 'string', ), ), - 'AvailabilityZone' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), 'DBSubnetGroupName' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'PreferredMaintenanceWindow' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBParameterGroupName' => array( + 'Engine' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'BackupRetentionPeriod' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PreferredBackupWindow' => array( + 'EngineVersion' => array( 'type' => 'string', 'location' => 'aws.query', ), @@ -556,39 +597,26 @@ 'type' => 'numeric', 'location' => 'aws.query', ), - 'MultiAZ' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'EngineVersion' => array( + 'MasterUsername' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'AutoMinorVersionUpgrade' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'LicenseModel' => array( + 'MasterUserPassword' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'Iops' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), 'OptionGroupName' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'CharacterSetName' => array( + 'PreferredBackupWindow' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', + 'PreferredMaintenanceWindow' => array( + 'type' => 'string', 'location' => 'aws.query', ), 'Tags' => array( @@ -608,48 +636,19 @@ ), ), ), - 'StorageType' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TdeCredentialArn' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'TdeCredentialPassword' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'StorageEncrypted' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'aws.query', - ), - 'KmsKeyId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), ), 'errorResponses' => array( array( - 'reason' => 'User already has a DB instance with the given identifier.', - 'class' => 'DBInstanceAlreadyExistsException', - ), - array( - 'reason' => 'Specified DB instance class is not available in the specified Availability Zone.', - 'class' => 'InsufficientDBInstanceCapacityException', - ), - array( - 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', - 'class' => 'DBParameterGroupNotFoundException', + 'reason' => 'User already has a DB cluster with the given identifier.', + 'class' => 'DBClusterAlreadyExistsException', ), array( - 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.', - 'class' => 'DBSecurityGroupNotFoundException', + 'reason' => 'There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.', + 'class' => 'InsufficientStorageClusterCapacityException', ), array( - 'reason' => 'Request would result in user exceeding the allowed number of DB instances.', - 'class' => 'InstanceQuotaExceededException', + 'reason' => 'User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.', + 'class' => 'DBClusterQuotaExceededException', ), array( 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', @@ -659,95 +658,114 @@ 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', 'class' => 'DBSubnetGroupNotFoundException', ), - array( - 'reason' => 'Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.', - 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', - ), - array( - 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.', - 'class' => 'InvalidSubnetException', - ), array( 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.', 'class' => 'InvalidVPCNetworkStateException', ), array( - 'reason' => 'Provisioned IOPS not available in the specified Availability Zone.', - 'class' => 'ProvisionedIopsNotAvailableInAZException', - ), - array( - 'reason' => 'The specified option group could not be found.', - 'class' => 'OptionGroupNotFoundException', + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', ), array( - 'reason' => 'StorageType specified cannot be associated with the DB Instance.', - 'class' => 'StorageTypeNotSupportedException', + 'reason' => 'The DB subnet group cannot be deleted because it is in use.', + 'class' => 'InvalidDBSubnetGroupStateException', ), array( - 'reason' => 'Specified CIDRIP or EC2 security group is not authorized for the specified DB security group. RDS may not also be authorized via IAM to perform necessary actions on your behalf.', - 'class' => 'AuthorizationNotFoundException', + 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.', + 'class' => 'InvalidSubnetException', ), array( - 'reason' => 'Error accessing KMS key.', - 'class' => 'KMSKeyNotAccessibleException', + 'reason' => 'DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.', + 'class' => 'DBClusterParameterGroupNotFoundException', ), ), ), - 'CreateDBInstanceReadReplica' => array( + 'CreateDBClusterParameterGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', + 'responseClass' => 'DBClusterParameterGroupWrapper', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'CreateDBInstanceReadReplica', + 'default' => 'CreateDBClusterParameterGroup', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'DBInstanceIdentifier' => array( + 'DBClusterParameterGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'SourceDBInstanceIdentifier' => array( + 'DBParameterGroupFamily' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'DBInstanceClass' => array( + 'Description' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'AvailabilityZone' => array( - 'type' => 'string', + 'Tags' => array( + 'type' => 'array', 'location' => 'aws.query', + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), ), - 'Port' => array( - 'type' => 'numeric', - 'location' => 'aws.query', + ), + 'errorResponses' => array( + array( + 'reason' => 'Request would result in user exceeding the allowed number of DB parameter groups.', + 'class' => 'DBParameterGroupQuotaExceededException', ), - 'AutoMinorVersionUpgrade' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', + array( + 'reason' => 'A DB parameter group with the same name exists.', + 'class' => 'DBParameterGroupAlreadyExistsException', + ), + ), + ), + 'CreateDBClusterSnapshot' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterSnapshotWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, 'location' => 'aws.query', + 'default' => 'CreateDBClusterSnapshot', ), - 'Iops' => array( - 'type' => 'numeric', + 'Version' => array( + 'static' => true, 'location' => 'aws.query', + 'default' => '2014-10-31', ), - 'OptionGroupName' => array( + 'DBClusterSnapshotIdentifier' => array( + 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'PubliclyAccessible' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', + 'DBClusterIdentifier' => array( + 'required' => true, + 'type' => 'string', 'location' => 'aws.query', ), 'Tags' => array( @@ -767,14 +785,361 @@ ), ), ), - 'DBSubnetGroupName' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), + ), + 'errorResponses' => array( + array( + 'reason' => 'User already has a DB cluster snapshot with the given identifier.', + 'class' => 'DBClusterSnapshotAlreadyExistsException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', + ), + array( + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed number of DB snapshots.', + 'class' => 'SnapshotQuotaExceededException', + ), + ), + ), + 'CreateDBInstance' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBInstanceWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateDBInstance', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBInstanceIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AllocatedStorage' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'DBInstanceClass' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Engine' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MasterUsername' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MasterUserPassword' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBSecurityGroups' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'DBSecurityGroups.member', + 'items' => array( + 'name' => 'DBSecurityGroupName', + 'type' => 'string', + ), + ), + 'VpcSecurityGroupIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcSecurityGroupIds.member', + 'items' => array( + 'name' => 'VpcSecurityGroupId', + 'type' => 'string', + ), + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBSubnetGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PreferredMaintenanceWindow' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBParameterGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BackupRetentionPeriod' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'PreferredBackupWindow' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Port' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MultiAZ' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'EngineVersion' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AutoMinorVersionUpgrade' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'LicenseModel' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Iops' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'OptionGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'CharacterSetName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PubliclyAccessible' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), 'StorageType' => array( 'type' => 'string', 'location' => 'aws.query', ), + 'TdeCredentialArn' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'TdeCredentialPassword' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'StorageEncrypted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'KmsKeyId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'User already has a DB instance with the given identifier.', + 'class' => 'DBInstanceAlreadyExistsException', + ), + array( + 'reason' => 'Specified DB instance class is not available in the specified Availability Zone.', + 'class' => 'InsufficientDBInstanceCapacityException', + ), + array( + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', + ), + array( + 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.', + 'class' => 'DBSecurityGroupNotFoundException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed number of DB instances.', + 'class' => 'InstanceQuotaExceededException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', + 'class' => 'StorageQuotaExceededException', + ), + array( + 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', + 'class' => 'DBSubnetGroupNotFoundException', + ), + array( + 'reason' => 'Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.', + 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', + ), + array( + 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.', + 'class' => 'InvalidSubnetException', + ), + array( + 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.', + 'class' => 'InvalidVPCNetworkStateException', + ), + array( + 'reason' => 'Provisioned IOPS not available in the specified Availability Zone.', + 'class' => 'ProvisionedIopsNotAvailableInAZException', + ), + array( + 'reason' => 'The specified option group could not be found.', + 'class' => 'OptionGroupNotFoundException', + ), + array( + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', + ), + array( + 'reason' => 'StorageType specified cannot be associated with the DB Instance.', + 'class' => 'StorageTypeNotSupportedException', + ), + array( + 'reason' => 'Specified CIDRIP or EC2 security group is not authorized for the specified DB security group. RDS may not also be authorized via IAM to perform necessary actions on your behalf.', + 'class' => 'AuthorizationNotFoundException', + ), + array( + 'reason' => 'Error accessing KMS key.', + 'class' => 'KMSKeyNotAccessibleException', + ), + ), + ), + 'CreateDBInstanceReadReplica' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBInstanceWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateDBInstanceReadReplica', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBInstanceIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceDBInstanceIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBInstanceClass' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'AvailabilityZone' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Port' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'AutoMinorVersionUpgrade' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Iops' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'OptionGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PubliclyAccessible' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + 'DBSubnetGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'StorageType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( array( @@ -1257,29 +1622,140 @@ 'Tags' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Tags.member', - 'items' => array( - 'name' => 'Tag', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'Value' => array( - 'type' => 'string', - ), - ), - ), + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The option group you are trying to create already exists.', + 'class' => 'OptionGroupAlreadyExistsException', + ), + array( + 'reason' => 'The quota of 20 option groups was exceeded for this AWS account.', + 'class' => 'OptionGroupQuotaExceededException', + ), + ), + ), + 'DeleteDBCluster' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteDBCluster', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SkipFinalSnapshot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'FinalDBSnapshotIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', + ), + ), + ), + 'DeleteDBClusterParameterGroup' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteDBClusterParameterGroup', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterParameterGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The DB parameter group cannot be deleted because it is in use.', + 'class' => 'InvalidDBParameterGroupStateException', + ), + array( + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', + ), + ), + ), + 'DeleteDBClusterSnapshot' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterSnapshotWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteDBClusterSnapshot', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterSnapshotIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', ), ), 'errorResponses' => array( array( - 'reason' => 'The option group you are trying to create already exists.', - 'class' => 'OptionGroupAlreadyExistsException', + 'reason' => 'The supplied value is not a valid DB cluster snapshot state.', + 'class' => 'InvalidDBClusterSnapshotStateException', ), array( - 'reason' => 'The quota of 20 option groups was exceeded for this AWS account.', - 'class' => 'OptionGroupQuotaExceededException', + 'reason' => 'DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.', + 'class' => 'DBClusterSnapshotNotFoundException', ), ), ), @@ -1554,31 +2030,288 @@ 'location' => 'aws.query', 'default' => 'DescribeAccountAttributes', ), - 'Version' => array( - 'static' => true, + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + ), + ), + 'DescribeCertificates' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'CertificateMessage', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeCertificates', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'CertificateIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Values' => array( + 'required' => true, + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'CertificateIdentifier does not refer to an existing certificate.', + 'class' => 'CertificateNotFoundException', + ), + ), + ), + 'DescribeDBClusterParameterGroups' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterParameterGroupsMessage', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeDBClusterParameterGroups', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterParameterGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Values' => array( + 'required' => true, + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', + ), + ), + ), + 'DescribeDBClusterParameters' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterParameterGroupDetails', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeDBClusterParameters', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterParameterGroupName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Source' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Values' => array( + 'required' => true, + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', + ), + ), + ), + 'DescribeDBClusterSnapshots' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterSnapshotMessage', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeDBClusterSnapshots', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBClusterSnapshotIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SnapshotType' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Values' => array( + 'required' => true, + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Marker' => array( + 'type' => 'string', 'location' => 'aws.query', - 'default' => '2014-10-31', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.', + 'class' => 'DBClusterSnapshotNotFoundException', ), ), ), - 'DescribeCertificates' => array( + 'DescribeDBClusters' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'CertificateMessage', + 'responseClass' => 'DBClusterMessage', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DescribeCertificates', + 'default' => 'DescribeDBClusters', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'CertificateIdentifier' => array( + 'DBClusterIdentifier' => array( 'type' => 'string', 'location' => 'aws.query', ), @@ -1617,8 +2350,8 @@ ), 'errorResponses' => array( array( - 'reason' => 'CertificateIdentifier does not refer to an existing certificate.', - 'class' => 'CertificateNotFoundException', + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', ), ), ), @@ -2148,6 +2881,62 @@ ), ), ), + 'DescribeEngineDefaultClusterParameters' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EngineDefaultsWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeEngineDefaultClusterParameters', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBParameterGroupFamily' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Values' => array( + 'required' => true, + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + 'MaxRecords' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), 'DescribeEngineDefaultParameters' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -2864,60 +3653,286 @@ 'type' => 'string', 'location' => 'aws.query', ), - 'NumberOfLines' => array( - 'type' => 'numeric', - 'location' => 'aws.query', + 'NumberOfLines' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', + 'class' => 'DBInstanceNotFoundException', + ), + array( + 'reason' => 'LogFileName does not refer to an existing DB log file.', + 'class' => 'DBLogFileNotFoundException', + ), + ), + ), + 'FailoverDBCluster' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'FailoverDBCluster', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', + ), + ), + ), + 'ListTagsForResource' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'TagListMessage', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ListTagsForResource', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'ResourceName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Filters.member', + 'items' => array( + 'name' => 'Filter', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Values' => array( + 'required' => true, + 'type' => 'array', + 'sentAs' => 'Values.member', + 'items' => array( + 'name' => 'Value', + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', + 'class' => 'DBInstanceNotFoundException', + ), + array( + 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.', + 'class' => 'DBSnapshotNotFoundException', + ), + ), + ), + 'ModifyDBCluster' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBClusterWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ModifyDBCluster', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBClusterIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NewDBClusterIdentifier' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ApplyImmediately' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + 'BackupRetentionPeriod' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'DBClusterParameterGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcSecurityGroupIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcSecurityGroupIds.member', + 'items' => array( + 'name' => 'VpcSecurityGroupId', + 'type' => 'string', + ), + ), + 'Port' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'MasterUserPassword' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'OptionGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PreferredBackupWindow' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'PreferredMaintenanceWindow' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster state.', + 'class' => 'InvalidDBClusterStateException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', + 'class' => 'StorageQuotaExceededException', + ), + array( + 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', + 'class' => 'DBSubnetGroupNotFoundException', + ), + array( + 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.', + 'class' => 'InvalidVPCNetworkStateException', + ), + array( + 'reason' => 'The DB subnet group cannot be deleted because it is in use.', + 'class' => 'InvalidDBSubnetGroupStateException', + ), + array( + 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.', + 'class' => 'InvalidSubnetException', + ), + array( + 'reason' => 'DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.', + 'class' => 'DBClusterParameterGroupNotFoundException', + ), + array( + 'reason' => 'The state of the DB security group does not allow deletion.', + 'class' => 'InvalidDBSecurityGroupStateException', ), - ), - 'errorResponses' => array( array( - 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', - 'class' => 'DBInstanceNotFoundException', + 'reason' => 'The specified DB instance is not in the available state.', + 'class' => 'InvalidDBInstanceStateException', ), ), ), - 'ListTagsForResource' => array( + 'ModifyDBClusterParameterGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'TagListMessage', + 'responseClass' => 'DBClusterParameterGroupNameMessage', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'ListTagsForResource', + 'default' => 'ModifyDBClusterParameterGroup', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'ResourceName' => array( + 'DBClusterParameterGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'Filters' => array( + 'Parameters' => array( + 'required' => true, 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Filters.member', + 'sentAs' => 'Parameters.member', 'items' => array( - 'name' => 'Filter', + 'name' => 'Parameter', 'type' => 'object', 'properties' => array( - 'Name' => array( - 'required' => true, + 'ParameterName' => array( 'type' => 'string', ), - 'Values' => array( - 'required' => true, - 'type' => 'array', - 'sentAs' => 'Values.member', - 'items' => array( - 'name' => 'Value', - 'type' => 'string', - ), + 'ParameterValue' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Source' => array( + 'type' => 'string', + ), + 'ApplyType' => array( + 'type' => 'string', + ), + 'DataType' => array( + 'type' => 'string', + ), + 'AllowedValues' => array( + 'type' => 'string', + ), + 'IsModifiable' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'MinimumEngineVersion' => array( + 'type' => 'string', + ), + 'ApplyMethod' => array( + 'type' => 'string', ), ), ), @@ -2925,12 +3940,12 @@ ), 'errorResponses' => array( array( - 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', - 'class' => 'DBInstanceNotFoundException', + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', ), array( - 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.', - 'class' => 'DBSnapshotNotFoundException', + 'reason' => 'The DB parameter group cannot be deleted because it is in use.', + 'class' => 'InvalidDBParameterGroupStateException', ), ), ), @@ -3054,6 +4069,11 @@ 'type' => 'string', 'location' => 'aws.query', ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( array( @@ -3452,86 +4472,293 @@ 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', + 'responseClass' => 'DBInstanceWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'PromoteReadReplica', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBInstanceIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BackupRetentionPeriod' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'PreferredBackupWindow' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified DB instance is not in the available state.', + 'class' => 'InvalidDBInstanceStateException', + ), + array( + 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', + 'class' => 'DBInstanceNotFoundException', + ), + ), + ), + 'PurchaseReservedDBInstancesOffering' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ReservedDBInstanceWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'PurchaseReservedDBInstancesOffering', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'ReservedDBInstancesOfferingId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ReservedDBInstanceId' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DBInstanceCount' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Specified offering does not exist.', + 'class' => 'ReservedDBInstancesOfferingNotFoundException', + ), + array( + 'reason' => 'User already has a reservation with the given identifier.', + 'class' => 'ReservedDBInstanceAlreadyExistsException', + ), + array( + 'reason' => 'Request would exceed the user\'s DB Instance quota.', + 'class' => 'ReservedDBInstanceQuotaExceededException', + ), + ), + ), + 'RebootDBInstance' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DBInstanceWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RebootDBInstance', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'DBInstanceIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ForceFailover' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The specified DB instance is not in the available state.', + 'class' => 'InvalidDBInstanceStateException', + ), + array( + 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', + 'class' => 'DBInstanceNotFoundException', + ), + ), + ), + 'RemoveSourceIdentifierFromSubscription' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EventSubscriptionWrapper', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'RemoveSourceIdentifierFromSubscription', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2014-10-31', + ), + 'SubscriptionName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SourceIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'The subscription name does not exist.', + 'class' => 'SubscriptionNotFoundException', + ), + array( + 'reason' => 'The requested source could not be found.', + 'class' => 'SourceNotFoundException', + ), + ), + ), + 'RemoveTagsFromResource' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'PromoteReadReplica', + 'default' => 'RemoveTagsFromResource', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'DBInstanceIdentifier' => array( + 'ResourceName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'BackupRetentionPeriod' => array( - 'type' => 'numeric', - 'location' => 'aws.query', - ), - 'PreferredBackupWindow' => array( - 'type' => 'string', + 'TagKeys' => array( + 'required' => true, + 'type' => 'array', 'location' => 'aws.query', + 'sentAs' => 'TagKeys.member', + 'items' => array( + 'name' => 'String', + 'type' => 'string', + ), ), ), 'errorResponses' => array( - array( - 'reason' => 'The specified DB instance is not in the available state.', - 'class' => 'InvalidDBInstanceStateException', - ), array( 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', 'class' => 'DBInstanceNotFoundException', ), + array( + 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.', + 'class' => 'DBSnapshotNotFoundException', + ), ), ), - 'PurchaseReservedDBInstancesOffering' => array( + 'ResetDBClusterParameterGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'ReservedDBInstanceWrapper', + 'responseClass' => 'DBClusterParameterGroupNameMessage', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'PurchaseReservedDBInstancesOffering', + 'default' => 'ResetDBClusterParameterGroup', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'ReservedDBInstancesOfferingId' => array( + 'DBClusterParameterGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'ReservedDBInstanceId' => array( - 'type' => 'string', - 'location' => 'aws.query', - ), - 'DBInstanceCount' => array( - 'type' => 'numeric', + 'ResetAllParameters' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', 'location' => 'aws.query', ), - 'Tags' => array( + 'Parameters' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Tags.member', + 'sentAs' => 'Parameters.member', 'items' => array( - 'name' => 'Tag', + 'name' => 'Parameter', 'type' => 'object', 'properties' => array( - 'Key' => array( + 'ParameterName' => array( 'type' => 'string', ), - 'Value' => array( + 'ParameterValue' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Source' => array( + 'type' => 'string', + ), + 'ApplyType' => array( + 'type' => 'string', + ), + 'DataType' => array( + 'type' => 'string', + ), + 'AllowedValues' => array( + 'type' => 'string', + ), + 'IsModifiable' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'MinimumEngineVersion' => array( + 'type' => 'string', + ), + 'ApplyMethod' => array( 'type' => 'string', ), ), @@ -3540,205 +4767,325 @@ ), 'errorResponses' => array( array( - 'reason' => 'Specified offering does not exist.', - 'class' => 'ReservedDBInstancesOfferingNotFoundException', - ), - array( - 'reason' => 'User already has a reservation with the given identifier.', - 'class' => 'ReservedDBInstanceAlreadyExistsException', + 'reason' => 'The DB parameter group cannot be deleted because it is in use.', + 'class' => 'InvalidDBParameterGroupStateException', ), array( - 'reason' => 'Request would exceed the user\'s DB Instance quota.', - 'class' => 'ReservedDBInstanceQuotaExceededException', + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', ), ), ), - 'RebootDBInstance' => array( + 'ResetDBParameterGroup' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBInstanceWrapper', + 'responseClass' => 'DBParameterGroupNameMessage', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'RebootDBInstance', + 'default' => 'ResetDBParameterGroup', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'DBInstanceIdentifier' => array( + 'DBParameterGroupName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'ForceFailover' => array( + 'ResetAllParameters' => array( 'type' => 'boolean', 'format' => 'boolean-string', 'location' => 'aws.query', ), + 'Parameters' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Parameters.member', + 'items' => array( + 'name' => 'Parameter', + 'type' => 'object', + 'properties' => array( + 'ParameterName' => array( + 'type' => 'string', + ), + 'ParameterValue' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'Source' => array( + 'type' => 'string', + ), + 'ApplyType' => array( + 'type' => 'string', + ), + 'DataType' => array( + 'type' => 'string', + ), + 'AllowedValues' => array( + 'type' => 'string', + ), + 'IsModifiable' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'MinimumEngineVersion' => array( + 'type' => 'string', + ), + 'ApplyMethod' => array( + 'type' => 'string', + ), + ), + ), + ), ), 'errorResponses' => array( array( - 'reason' => 'The specified DB instance is not in the available state.', - 'class' => 'InvalidDBInstanceStateException', + 'reason' => 'The DB parameter group cannot be deleted because it is in use.', + 'class' => 'InvalidDBParameterGroupStateException', ), array( - 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', - 'class' => 'DBInstanceNotFoundException', + 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', + 'class' => 'DBParameterGroupNotFoundException', ), ), ), - 'RemoveSourceIdentifierFromSubscription' => array( + 'RestoreDBClusterFromSnapshot' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EventSubscriptionWrapper', + 'responseClass' => 'DBClusterWrapper', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'RemoveSourceIdentifierFromSubscription', + 'default' => 'RestoreDBClusterFromSnapshot', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'SubscriptionName' => array( + 'AvailabilityZones' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'AvailabilityZones.member', + 'items' => array( + 'name' => 'AvailabilityZone', + 'type' => 'string', + ), + ), + 'DBClusterIdentifier' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'SourceIdentifier' => array( + 'SnapshotIdentifier' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Engine' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), + 'EngineVersion' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Port' => array( + 'type' => 'numeric', + 'location' => 'aws.query', + ), + 'DBSubnetGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'DatabaseName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'OptionGroupName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'VpcSecurityGroupIds' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'VpcSecurityGroupIds.member', + 'items' => array( + 'name' => 'VpcSecurityGroupId', + 'type' => 'string', + ), + ), + 'Tags' => array( + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'Tags.member', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), ), 'errorResponses' => array( array( - 'reason' => 'The subscription name does not exist.', - 'class' => 'SubscriptionNotFoundException', + 'reason' => 'User already has a DB cluster with the given identifier.', + 'class' => 'DBClusterAlreadyExistsException', + ), + array( + 'reason' => 'User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.', + 'class' => 'DBClusterQuotaExceededException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', + 'class' => 'StorageQuotaExceededException', + ), + array( + 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', + 'class' => 'DBSubnetGroupNotFoundException', + ), + array( + 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.', + 'class' => 'DBSnapshotNotFoundException', + ), + array( + 'reason' => 'DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.', + 'class' => 'DBClusterSnapshotNotFoundException', + ), + array( + 'reason' => 'The DB cluster does not have enough capacity for the current operation.', + 'class' => 'InsufficientDBClusterCapacityException', + ), + array( + 'reason' => 'There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.', + 'class' => 'InsufficientStorageClusterCapacityException', + ), + array( + 'reason' => 'The state of the DB snapshot does not allow deletion.', + 'class' => 'InvalidDBSnapshotStateException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster snapshot state.', + 'class' => 'InvalidDBClusterSnapshotStateException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', + 'class' => 'StorageQuotaExceededException', + ), + array( + 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.', + 'class' => 'InvalidVPCNetworkStateException', + ), + array( + 'reason' => 'Cannot restore from vpc backup to non-vpc DB instance.', + 'class' => 'InvalidRestoreException', + ), + array( + 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', + 'class' => 'DBSubnetGroupNotFoundException', + ), + array( + 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.', + 'class' => 'InvalidSubnetException', ), array( - 'reason' => 'The requested source could not be found.', - 'class' => 'SourceNotFoundException', + 'reason' => 'The specified option group could not be found.', + 'class' => 'OptionGroupNotFoundException', ), ), ), - 'RemoveTagsFromResource' => array( + 'RestoreDBClusterToPointInTime' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DBClusterWrapper', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'RemoveTagsFromResource', + 'default' => 'RestoreDBClusterToPointInTime', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2014-10-31', ), - 'ResourceName' => array( + 'DBClusterIdentifier' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'TagKeys' => array( + 'SourceDBClusterIdentifier' => array( 'required' => true, - 'type' => 'array', + 'type' => 'string', 'location' => 'aws.query', - 'sentAs' => 'TagKeys.member', - 'items' => array( - 'name' => 'String', - 'type' => 'string', - ), ), - ), - 'errorResponses' => array( - array( - 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.', - 'class' => 'DBInstanceNotFoundException', + 'RestoreToTime' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + 'location' => 'aws.query', ), - array( - 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.', - 'class' => 'DBSnapshotNotFoundException', + 'UseLatestRestorableTime' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', ), - ), - ), - 'ResetDBParameterGroup' => array( - 'httpMethod' => 'POST', - 'uri' => '/', - 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'DBParameterGroupNameMessage', - 'responseType' => 'model', - 'parameters' => array( - 'Action' => array( - 'static' => true, + 'Port' => array( + 'type' => 'numeric', 'location' => 'aws.query', - 'default' => 'ResetDBParameterGroup', ), - 'Version' => array( - 'static' => true, + 'DBSubnetGroupName' => array( + 'type' => 'string', 'location' => 'aws.query', - 'default' => '2014-10-31', ), - 'DBParameterGroupName' => array( - 'required' => true, + 'OptionGroupName' => array( 'type' => 'string', 'location' => 'aws.query', ), - 'ResetAllParameters' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', + 'VpcSecurityGroupIds' => array( + 'type' => 'array', 'location' => 'aws.query', + 'sentAs' => 'VpcSecurityGroupIds.member', + 'items' => array( + 'name' => 'VpcSecurityGroupId', + 'type' => 'string', + ), ), - 'Parameters' => array( + 'Tags' => array( 'type' => 'array', 'location' => 'aws.query', - 'sentAs' => 'Parameters.member', + 'sentAs' => 'Tags.member', 'items' => array( - 'name' => 'Parameter', + 'name' => 'Tag', 'type' => 'object', 'properties' => array( - 'ParameterName' => array( - 'type' => 'string', - ), - 'ParameterValue' => array( - 'type' => 'string', - ), - 'Description' => array( - 'type' => 'string', - ), - 'Source' => array( - 'type' => 'string', - ), - 'ApplyType' => array( - 'type' => 'string', - ), - 'DataType' => array( - 'type' => 'string', - ), - 'AllowedValues' => array( - 'type' => 'string', - ), - 'IsModifiable' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - ), - 'MinimumEngineVersion' => array( + 'Key' => array( 'type' => 'string', ), - 'ApplyMethod' => array( + 'Value' => array( 'type' => 'string', ), ), @@ -3747,12 +5094,64 @@ ), 'errorResponses' => array( array( - 'reason' => 'The DB parameter group cannot be deleted because it is in use.', - 'class' => 'InvalidDBParameterGroupStateException', + 'reason' => 'User already has a DB cluster with the given identifier.', + 'class' => 'DBClusterAlreadyExistsException', ), array( - 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.', - 'class' => 'DBParameterGroupNotFoundException', + 'reason' => 'User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.', + 'class' => 'DBClusterQuotaExceededException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', + 'class' => 'StorageQuotaExceededException', + ), + array( + 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', + 'class' => 'DBSubnetGroupNotFoundException', + ), + array( + 'reason' => 'DBClusterIdentifier does not refer to an existing DB cluster.', + 'class' => 'DBClusterNotFoundException', + ), + array( + 'reason' => 'DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.', + 'class' => 'DBClusterSnapshotNotFoundException', + ), + array( + 'reason' => 'The DB cluster does not have enough capacity for the current operation.', + 'class' => 'InsufficientDBClusterCapacityException', + ), + array( + 'reason' => 'The state of the DB snapshot does not allow deletion.', + 'class' => 'InvalidDBSnapshotStateException', + ), + array( + 'reason' => 'The supplied value is not a valid DB cluster snapshot state.', + 'class' => 'InvalidDBClusterSnapshotStateException', + ), + array( + 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.', + 'class' => 'StorageQuotaExceededException', + ), + array( + 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.', + 'class' => 'InvalidVPCNetworkStateException', + ), + array( + 'reason' => 'Cannot restore from vpc backup to non-vpc DB instance.', + 'class' => 'InvalidRestoreException', + ), + array( + 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.', + 'class' => 'DBSubnetGroupNotFoundException', + ), + array( + 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.', + 'class' => 'InvalidSubnetException', + ), + array( + 'reason' => 'The specified option group could not be found.', + 'class' => 'OptionGroupNotFoundException', ), ), ), @@ -3863,6 +5262,11 @@ 'type' => 'string', 'location' => 'aws.query', ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), ), 'errorResponses' => array( array( @@ -3929,6 +5333,10 @@ 'reason' => 'Error accessing KMS key.', 'class' => 'KMSKeyNotAccessibleException', ), + array( + 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.', + 'class' => 'DBSecurityGroupNotFoundException', + ), ), ), 'RestoreDBInstanceToPointInTime' => array( @@ -4023,6 +5431,11 @@ 'type' => 'string', 'location' => 'aws.query', ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), 'Tags' => array( 'type' => 'array', 'location' => 'aws.query', @@ -4122,6 +5535,10 @@ 'reason' => 'Error accessing KMS key.', 'class' => 'KMSKeyNotAccessibleException', ), + array( + 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.', + 'class' => 'DBSecurityGroupNotFoundException', + ), ), ), 'RevokeDBSecurityGroupIngress' => array( @@ -4305,43 +5722,108 @@ 'VpcId' => array( 'type' => 'string', ), - 'EC2SecurityGroups' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'EC2SecurityGroup', - 'type' => 'object', - 'sentAs' => 'EC2SecurityGroup', - 'properties' => array( - 'Status' => array( - 'type' => 'string', - ), - 'EC2SecurityGroupName' => array( - 'type' => 'string', - ), - 'EC2SecurityGroupId' => array( - 'type' => 'string', - ), - 'EC2SecurityGroupOwnerId' => array( - 'type' => 'string', - ), - ), - ), + 'EC2SecurityGroups' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'EC2SecurityGroup', + 'type' => 'object', + 'sentAs' => 'EC2SecurityGroup', + 'properties' => array( + 'Status' => array( + 'type' => 'string', + ), + 'EC2SecurityGroupName' => array( + 'type' => 'string', + ), + 'EC2SecurityGroupId' => array( + 'type' => 'string', + ), + 'EC2SecurityGroupOwnerId' => array( + 'type' => 'string', + ), + ), + ), + ), + 'IPRanges' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'IPRange', + 'type' => 'object', + 'sentAs' => 'IPRange', + 'properties' => array( + 'Status' => array( + 'type' => 'string', + ), + 'CIDRIP' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'DBClusterSnapshotWrapper' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'DBClusterSnapshot' => array( + 'type' => 'object', + 'location' => 'xml', + 'data' => array( + 'wrapper' => true, + ), + 'properties' => array( + 'AvailabilityZones' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AvailabilityZone', + 'type' => 'string', + 'sentAs' => 'AvailabilityZone', + ), + ), + 'DBClusterSnapshotIdentifier' => array( + 'type' => 'string', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + ), + 'SnapshotCreateTime' => array( + 'type' => 'string', + ), + 'Engine' => array( + 'type' => 'string', + ), + 'AllocatedStorage' => array( + 'type' => 'numeric', + ), + 'Status' => array( + 'type' => 'string', + ), + 'Port' => array( + 'type' => 'numeric', + ), + 'VpcId' => array( + 'type' => 'string', + ), + 'ClusterCreateTime' => array( + 'type' => 'string', + ), + 'MasterUsername' => array( + 'type' => 'string', + ), + 'EngineVersion' => array( + 'type' => 'string', + ), + 'LicenseModel' => array( + 'type' => 'string', + ), + 'SnapshotType' => array( + 'type' => 'string', ), - 'IPRanges' => array( - 'type' => 'array', - 'items' => array( - 'name' => 'IPRange', - 'type' => 'object', - 'sentAs' => 'IPRange', - 'properties' => array( - 'Status' => array( - 'type' => 'string', - ), - 'CIDRIP' => array( - 'type' => 'string', - ), - ), - ), + 'PercentProgress' => array( + 'type' => 'numeric', ), ), ), @@ -4436,6 +5918,9 @@ 'SourceRegion' => array( 'type' => 'string', ), + 'SourceDBSnapshotIdentifier' => array( + 'type' => 'string', + ), 'StorageType' => array( 'type' => 'string', ), @@ -4579,6 +6064,161 @@ ), ), ), + 'DBClusterWrapper' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'DBCluster' => array( + 'type' => 'object', + 'location' => 'xml', + 'data' => array( + 'wrapper' => true, + ), + 'properties' => array( + 'AllocatedStorage' => array( + 'type' => 'numeric', + ), + 'AvailabilityZones' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AvailabilityZone', + 'type' => 'string', + 'sentAs' => 'AvailabilityZone', + ), + ), + 'BackupRetentionPeriod' => array( + 'type' => 'numeric', + ), + 'CharacterSetName' => array( + 'type' => 'string', + ), + 'DatabaseName' => array( + 'type' => 'string', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + ), + 'DBClusterParameterGroup' => array( + 'type' => 'string', + ), + 'DBSubnetGroup' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'PercentProgress' => array( + 'type' => 'string', + ), + 'EarliestRestorableTime' => array( + 'type' => 'string', + ), + 'Endpoint' => array( + 'type' => 'string', + ), + 'Engine' => array( + 'type' => 'string', + ), + 'EngineVersion' => array( + 'type' => 'string', + ), + 'LatestRestorableTime' => array( + 'type' => 'string', + ), + 'Port' => array( + 'type' => 'numeric', + ), + 'MasterUsername' => array( + 'type' => 'string', + ), + 'DBClusterOptionGroupMemberships' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'DBClusterOptionGroup', + 'type' => 'object', + 'sentAs' => 'DBClusterOptionGroup', + 'properties' => array( + 'DBClusterOptionGroupName' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PreferredBackupWindow' => array( + 'type' => 'string', + ), + 'PreferredMaintenanceWindow' => array( + 'type' => 'string', + ), + 'DBClusterMembers' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'DBClusterMember', + 'type' => 'object', + 'sentAs' => 'DBClusterMember', + 'properties' => array( + 'DBInstanceIdentifier' => array( + 'type' => 'string', + ), + 'IsClusterWriter' => array( + 'type' => 'boolean', + ), + 'DBClusterParameterGroupStatus' => array( + 'type' => 'string', + ), + ), + ), + ), + 'VpcSecurityGroups' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'VpcSecurityGroupMembership', + 'type' => 'object', + 'sentAs' => 'VpcSecurityGroupMembership', + 'properties' => array( + 'VpcSecurityGroupId' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + ), + ), + ), + 'HostedZoneId' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + 'DBClusterParameterGroupWrapper' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'DBClusterParameterGroup' => array( + 'type' => 'object', + 'location' => 'xml', + 'data' => array( + 'wrapper' => true, + ), + 'properties' => array( + 'DBClusterParameterGroupName' => array( + 'type' => 'string', + ), + 'DBParameterGroupFamily' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + ), + ), + ), + ), 'DBInstanceWrapper' => array( 'type' => 'object', 'additionalProperties' => true, @@ -4617,6 +6257,9 @@ 'Port' => array( 'type' => 'numeric', ), + 'HostedZoneId' => array( + 'type' => 'string', + ), ), ), 'AllocatedStorage' => array( @@ -4846,6 +6489,12 @@ 'TdeCredentialArn' => array( 'type' => 'string', ), + 'DbInstancePort' => array( + 'type' => 'numeric', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + ), 'StorageEncrypted' => array( 'type' => 'boolean', ), @@ -4858,6 +6507,9 @@ 'CACertificateIdentifier' => array( 'type' => 'string', ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + ), ), ), ), @@ -4913,66 +6565,355 @@ ), ), ), - 'AccountAttributesMessage' => array( + 'AccountAttributesMessage' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AccountQuotas' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'AccountQuota', + 'type' => 'object', + 'sentAs' => 'AccountQuota', + 'properties' => array( + 'AccountQuotaName' => array( + 'type' => 'string', + ), + 'Used' => array( + 'type' => 'numeric', + ), + 'Max' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'CertificateMessage' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Certificates' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'Certificate', + 'type' => 'object', + 'sentAs' => 'Certificate', + 'properties' => array( + 'CertificateIdentifier' => array( + 'type' => 'string', + ), + 'CertificateType' => array( + 'type' => 'string', + ), + 'Thumbprint' => array( + 'type' => 'string', + ), + 'ValidFrom' => array( + 'type' => 'string', + ), + 'ValidTill' => array( + 'type' => 'string', + ), + ), + ), + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), + 'DBClusterParameterGroupsMessage' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DBClusterParameterGroups' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'DBClusterParameterGroup', + 'type' => 'object', + 'sentAs' => 'DBClusterParameterGroup', + 'properties' => array( + 'DBClusterParameterGroupName' => array( + 'type' => 'string', + ), + 'DBParameterGroupFamily' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'DBClusterParameterGroupDetails' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'AccountQuotas' => array( + 'Parameters' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'AccountQuota', + 'name' => 'Parameter', 'type' => 'object', - 'sentAs' => 'AccountQuota', + 'sentAs' => 'Parameter', 'properties' => array( - 'AccountQuotaName' => array( + 'ParameterName' => array( 'type' => 'string', ), - 'Used' => array( - 'type' => 'numeric', + 'ParameterValue' => array( + 'type' => 'string', ), - 'Max' => array( - 'type' => 'numeric', + 'Description' => array( + 'type' => 'string', + ), + 'Source' => array( + 'type' => 'string', + ), + 'ApplyType' => array( + 'type' => 'string', + ), + 'DataType' => array( + 'type' => 'string', + ), + 'AllowedValues' => array( + 'type' => 'string', + ), + 'IsModifiable' => array( + 'type' => 'boolean', + ), + 'MinimumEngineVersion' => array( + 'type' => 'string', + ), + 'ApplyMethod' => array( + 'type' => 'string', ), ), ), ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), ), ), - 'CertificateMessage' => array( + 'DBClusterSnapshotMessage' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( - 'Certificates' => array( + 'Marker' => array( + 'type' => 'string', + 'location' => 'xml', + ), + 'DBClusterSnapshots' => array( 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'Certificate', + 'name' => 'DBClusterSnapshot', 'type' => 'object', - 'sentAs' => 'Certificate', + 'sentAs' => 'DBClusterSnapshot', 'properties' => array( - 'CertificateIdentifier' => array( + 'AvailabilityZones' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AvailabilityZone', + 'type' => 'string', + 'sentAs' => 'AvailabilityZone', + ), + ), + 'DBClusterSnapshotIdentifier' => array( 'type' => 'string', ), - 'CertificateType' => array( + 'DBClusterIdentifier' => array( 'type' => 'string', ), - 'Thumbprint' => array( + 'SnapshotCreateTime' => array( 'type' => 'string', ), - 'ValidFrom' => array( + 'Engine' => array( 'type' => 'string', ), - 'ValidTill' => array( + 'AllocatedStorage' => array( + 'type' => 'numeric', + ), + 'Status' => array( + 'type' => 'string', + ), + 'Port' => array( + 'type' => 'numeric', + ), + 'VpcId' => array( + 'type' => 'string', + ), + 'ClusterCreateTime' => array( + 'type' => 'string', + ), + 'MasterUsername' => array( + 'type' => 'string', + ), + 'EngineVersion' => array( + 'type' => 'string', + ), + 'LicenseModel' => array( 'type' => 'string', ), + 'SnapshotType' => array( + 'type' => 'string', + ), + 'PercentProgress' => array( + 'type' => 'numeric', + ), ), ), ), + ), + ), + 'DBClusterMessage' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( 'Marker' => array( 'type' => 'string', 'location' => 'xml', ), + 'DBClusters' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'DBCluster', + 'type' => 'object', + 'sentAs' => 'DBCluster', + 'properties' => array( + 'AllocatedStorage' => array( + 'type' => 'numeric', + ), + 'AvailabilityZones' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'AvailabilityZone', + 'type' => 'string', + 'sentAs' => 'AvailabilityZone', + ), + ), + 'BackupRetentionPeriod' => array( + 'type' => 'numeric', + ), + 'CharacterSetName' => array( + 'type' => 'string', + ), + 'DatabaseName' => array( + 'type' => 'string', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + ), + 'DBClusterParameterGroup' => array( + 'type' => 'string', + ), + 'DBSubnetGroup' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'PercentProgress' => array( + 'type' => 'string', + ), + 'EarliestRestorableTime' => array( + 'type' => 'string', + ), + 'Endpoint' => array( + 'type' => 'string', + ), + 'Engine' => array( + 'type' => 'string', + ), + 'EngineVersion' => array( + 'type' => 'string', + ), + 'LatestRestorableTime' => array( + 'type' => 'string', + ), + 'Port' => array( + 'type' => 'numeric', + ), + 'MasterUsername' => array( + 'type' => 'string', + ), + 'DBClusterOptionGroupMemberships' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'DBClusterOptionGroup', + 'type' => 'object', + 'sentAs' => 'DBClusterOptionGroup', + 'properties' => array( + 'DBClusterOptionGroupName' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PreferredBackupWindow' => array( + 'type' => 'string', + ), + 'PreferredMaintenanceWindow' => array( + 'type' => 'string', + ), + 'DBClusterMembers' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'DBClusterMember', + 'type' => 'object', + 'sentAs' => 'DBClusterMember', + 'properties' => array( + 'DBInstanceIdentifier' => array( + 'type' => 'string', + ), + 'IsClusterWriter' => array( + 'type' => 'boolean', + ), + 'DBClusterParameterGroupStatus' => array( + 'type' => 'string', + ), + ), + ), + ), + 'VpcSecurityGroups' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'VpcSecurityGroupMembership', + 'type' => 'object', + 'sentAs' => 'VpcSecurityGroupMembership', + 'properties' => array( + 'VpcSecurityGroupId' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + ), + ), + ), + 'HostedZoneId' => array( + 'type' => 'string', + ), + ), + ), + ), ), ), 'DBEngineVersionMessage' => array( @@ -5033,6 +6974,31 @@ ), ), ), + 'ValidUpgradeTarget' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'UpgradeTarget', + 'type' => 'object', + 'sentAs' => 'UpgradeTarget', + 'properties' => array( + 'Engine' => array( + 'type' => 'string', + ), + 'EngineVersion' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'AutoUpgrade' => array( + 'type' => 'boolean', + ), + 'IsMajorVersionUpgrade' => array( + 'type' => 'boolean', + ), + ), + ), + ), ), ), ), @@ -5081,6 +7047,9 @@ 'Port' => array( 'type' => 'numeric', ), + 'HostedZoneId' => array( + 'type' => 'string', + ), ), ), 'AllocatedStorage' => array( @@ -5310,6 +7279,12 @@ 'TdeCredentialArn' => array( 'type' => 'string', ), + 'DbInstancePort' => array( + 'type' => 'numeric', + ), + 'DBClusterIdentifier' => array( + 'type' => 'string', + ), 'StorageEncrypted' => array( 'type' => 'boolean', ), @@ -5322,6 +7297,9 @@ 'CACertificateIdentifier' => array( 'type' => 'string', ), + 'CopyTagsToSnapshot' => array( + 'type' => 'boolean', + ), ), ), ), @@ -5579,6 +7557,9 @@ 'SourceRegion' => array( 'type' => 'string', ), + 'SourceDBSnapshotIdentifier' => array( + 'type' => 'string', + ), 'StorageType' => array( 'type' => 'string', ), @@ -6355,6 +8336,16 @@ ), ), ), + 'DBClusterParameterGroupNameMessage' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'DBClusterParameterGroupName' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), 'DBParameterGroupNameMessage' => array( 'type' => 'object', 'additionalProperties' => true, diff --git a/vendor/aws/Aws/Route53/Resources/route53-2013-04-01.php b/vendor/aws/Aws/Route53/Resources/route53-2013-04-01.php index 7839a69..a037e58 100644 --- a/vendor/aws/Aws/Route53/Resources/route53-2013-04-01.php +++ b/vendor/aws/Aws/Route53/Resources/route53-2013-04-01.php @@ -85,7 +85,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, ), 'VPC' => array( 'required' => true, @@ -95,11 +94,9 @@ 'VPCRegion' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'VPCId' => array( 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -152,7 +149,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, 'filters' => array( 'Aws\\Route53\\Route53Client::cleanId', ), @@ -164,7 +160,6 @@ 'properties' => array( 'Comment' => array( 'type' => 'string', - 'maxLength' => 256, ), 'Changes' => array( 'required' => true, @@ -185,7 +180,6 @@ 'Name' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 1024, ), 'Type' => array( 'required' => true, @@ -194,7 +188,6 @@ 'SetIdentifier' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 128, ), 'Weight' => array( 'type' => 'numeric', @@ -203,7 +196,6 @@ 'Region' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'GeoLocation' => array( 'type' => 'object', @@ -211,17 +203,14 @@ 'ContinentCode' => array( 'type' => 'string', 'minLength' => 2, - 'maxLength' => 2, ), 'CountryCode' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 2, ), 'SubdivisionCode' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 3, ), ), ), @@ -242,7 +231,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 4000, ), ), ), @@ -253,12 +241,10 @@ 'HostedZoneId' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 32, ), 'DNSName' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 1024, ), 'EvaluateTargetHealth' => array( 'required' => true, @@ -269,7 +255,6 @@ ), 'HealthCheckId' => array( 'type' => 'string', - 'maxLength' => 64, ), ), ), @@ -329,7 +314,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), 'AddTags' => array( 'type' => 'array', @@ -342,11 +326,9 @@ 'properties' => array( 'Key' => array( 'type' => 'string', - 'maxLength' => 128, ), 'Value' => array( 'type' => 'string', - 'maxLength' => 256, ), ), ), @@ -359,7 +341,6 @@ 'items' => array( 'name' => 'Key', 'type' => 'string', - 'maxLength' => 128, ), ), ), @@ -404,7 +385,6 @@ 'type' => 'string', 'location' => 'xml', 'minLength' => 1, - 'maxLength' => 64, ), 'HealthCheckConfig' => array( 'required' => true, @@ -413,7 +393,6 @@ 'properties' => array( 'IPAddress' => array( 'type' => 'string', - 'maxLength' => 15, ), 'Port' => array( 'type' => 'numeric', @@ -426,15 +405,12 @@ ), 'ResourcePath' => array( 'type' => 'string', - 'maxLength' => 255, ), 'FullyQualifiedDomainName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'SearchString' => array( 'type' => 'string', - 'maxLength' => 255, ), 'RequestInterval' => array( 'type' => 'numeric', @@ -446,6 +422,26 @@ 'minimum' => 1, 'maximum' => 10, ), + 'MeasureLatency' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'Inverted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'HealthThreshold' => array( + 'type' => 'numeric', + 'maximum' => 256, + ), + 'ChildHealthChecks' => array( + 'type' => 'array', + 'maxItems' => 256, + 'items' => array( + 'name' => 'ChildHealthCheck', + 'type' => 'string', + ), + ), ), ), 'command.expects' => array( @@ -486,7 +482,6 @@ 'required' => true, 'type' => 'string', 'location' => 'xml', - 'maxLength' => 1024, ), 'VPC' => array( 'type' => 'object', @@ -495,11 +490,9 @@ 'VPCRegion' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'VPCId' => array( 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -508,7 +501,6 @@ 'type' => 'string', 'location' => 'xml', 'minLength' => 1, - 'maxLength' => 128, ), 'HostedZoneConfig' => array( 'type' => 'object', @@ -516,7 +508,6 @@ 'properties' => array( 'Comment' => array( 'type' => 'string', - 'maxLength' => 256, ), 'PrivateZone' => array( 'type' => 'boolean', @@ -527,7 +518,6 @@ 'DelegationSetId' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 32, ), 'command.expects' => array( 'static' => true, @@ -592,12 +582,10 @@ 'type' => 'string', 'location' => 'xml', 'minLength' => 1, - 'maxLength' => 128, ), 'HostedZoneId' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 32, ), 'command.expects' => array( 'static' => true, @@ -646,7 +634,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -675,7 +662,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, 'filters' => array( 'Aws\\Route53\\Route53Client::cleanId', ), @@ -714,7 +700,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, ), ), 'errorResponses' => array( @@ -755,7 +740,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, ), 'VPC' => array( 'required' => true, @@ -765,11 +749,9 @@ 'VPCRegion' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), 'VPCId' => array( 'type' => 'string', - 'maxLength' => 1024, ), ), ), @@ -815,7 +797,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, 'filters' => array( 'Aws\\Route53\\Route53Client::cleanId', ), @@ -860,21 +841,18 @@ 'location' => 'query', 'sentAs' => 'continentcode', 'minLength' => 2, - 'maxLength' => 2, ), 'CountryCode' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'countrycode', 'minLength' => 1, - 'maxLength' => 2, ), 'SubdivisionCode' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'subdivisioncode', 'minLength' => 1, - 'maxLength' => 3, ), 'command.expects' => array( 'static' => true, @@ -903,7 +881,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), 'command.expects' => array( 'static' => true, @@ -949,7 +926,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), 'command.expects' => array( 'static' => true, @@ -974,7 +950,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), 'command.expects' => array( 'static' => true, @@ -999,7 +974,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, 'filters' => array( 'Aws\\Route53\\Route53Client::cleanId', ), @@ -1049,7 +1023,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, ), 'command.expects' => array( 'static' => true, @@ -1083,21 +1056,18 @@ 'location' => 'query', 'sentAs' => 'startcontinentcode', 'minLength' => 2, - 'maxLength' => 2, ), 'StartCountryCode' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'startcountrycode', 'minLength' => 1, - 'maxLength' => 2, ), 'StartSubdivisionCode' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'startsubdivisioncode', 'minLength' => 1, - 'maxLength' => 3, ), 'MaxItems' => array( 'type' => 'string', @@ -1127,7 +1097,6 @@ 'type' => 'string', 'location' => 'query', 'sentAs' => 'marker', - 'maxLength' => 64, ), 'MaxItems' => array( 'type' => 'string', @@ -1161,7 +1130,6 @@ 'type' => 'string', 'location' => 'query', 'sentAs' => 'marker', - 'maxLength' => 64, ), 'MaxItems' => array( 'type' => 'string', @@ -1172,7 +1140,6 @@ 'type' => 'string', 'location' => 'query', 'sentAs' => 'delegationsetid', - 'maxLength' => 32, ), 'command.expects' => array( 'static' => true, @@ -1205,13 +1172,11 @@ 'type' => 'string', 'location' => 'query', 'sentAs' => 'dnsname', - 'maxLength' => 1024, ), 'HostedZoneId' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'hostedzoneid', - 'maxLength' => 32, ), 'MaxItems' => array( 'type' => 'string', @@ -1245,7 +1210,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, 'filters' => array( 'Aws\\Route53\\Route53Client::cleanId', ), @@ -1254,7 +1218,6 @@ 'type' => 'string', 'location' => 'query', 'sentAs' => 'name', - 'maxLength' => 1024, ), 'StartRecordType' => array( 'type' => 'string', @@ -1266,7 +1229,6 @@ 'location' => 'query', 'sentAs' => 'identifier', 'minLength' => 1, - 'maxLength' => 128, ), 'MaxItems' => array( 'type' => 'string', @@ -1299,7 +1261,6 @@ 'type' => 'string', 'location' => 'query', 'sentAs' => 'marker', - 'maxLength' => 64, ), 'MaxItems' => array( 'type' => 'string', @@ -1334,7 +1295,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), 'command.expects' => array( 'static' => true, @@ -1391,7 +1351,6 @@ 'items' => array( 'name' => 'ResourceId', 'type' => 'string', - 'maxLength' => 64, ), ), 'command.expects' => array( @@ -1439,7 +1398,6 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 64, ), 'HealthCheckVersion' => array( 'type' => 'numeric', @@ -1449,7 +1407,6 @@ 'IPAddress' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 15, ), 'Port' => array( 'type' => 'numeric', @@ -1460,17 +1417,14 @@ 'ResourcePath' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 255, ), 'FullyQualifiedDomainName' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 255, ), 'SearchString' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 255, ), 'FailureThreshold' => array( 'type' => 'numeric', @@ -1478,6 +1432,25 @@ 'minimum' => 1, 'maximum' => 10, ), + 'Inverted' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'xml', + ), + 'HealthThreshold' => array( + 'type' => 'numeric', + 'location' => 'xml', + 'maximum' => 256, + ), + 'ChildHealthChecks' => array( + 'type' => 'array', + 'location' => 'xml', + 'maxItems' => 256, + 'items' => array( + 'name' => 'ChildHealthCheck', + 'type' => 'string', + ), + ), 'command.expects' => array( 'static' => true, 'default' => 'application/xml', @@ -1516,12 +1489,10 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', - 'maxLength' => 32, ), 'Comment' => array( 'type' => 'string', 'location' => 'xml', - 'maxLength' => 256, ), 'command.expects' => array( 'static' => true, @@ -1647,6 +1618,23 @@ 'FailureThreshold' => array( 'type' => 'numeric', ), + 'MeasureLatency' => array( + 'type' => 'boolean', + ), + 'Inverted' => array( + 'type' => 'boolean', + ), + 'HealthThreshold' => array( + 'type' => 'numeric', + ), + 'ChildHealthChecks' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ChildHealthCheck', + 'type' => 'string', + 'sentAs' => 'ChildHealthCheck', + ), + ), ), ), 'HealthCheckVersion' => array( @@ -1903,9 +1891,8 @@ 'type' => 'array', 'location' => 'xml', 'items' => array( - 'name' => 'member', + 'name' => 'IPAddressCidr', 'type' => 'string', - 'sentAs' => 'member', ), ), 'RequestId' => array( @@ -1989,6 +1976,23 @@ 'FailureThreshold' => array( 'type' => 'numeric', ), + 'MeasureLatency' => array( + 'type' => 'boolean', + ), + 'Inverted' => array( + 'type' => 'boolean', + ), + 'HealthThreshold' => array( + 'type' => 'numeric', + ), + 'ChildHealthChecks' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ChildHealthCheck', + 'type' => 'string', + 'sentAs' => 'ChildHealthCheck', + ), + ), ), ), 'HealthCheckVersion' => array( @@ -2310,6 +2314,23 @@ 'FailureThreshold' => array( 'type' => 'numeric', ), + 'MeasureLatency' => array( + 'type' => 'boolean', + ), + 'Inverted' => array( + 'type' => 'boolean', + ), + 'HealthThreshold' => array( + 'type' => 'numeric', + ), + 'ChildHealthChecks' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ChildHealthCheck', + 'type' => 'string', + 'sentAs' => 'ChildHealthCheck', + ), + ), ), ), 'HealthCheckVersion' => array( @@ -2747,6 +2768,23 @@ 'FailureThreshold' => array( 'type' => 'numeric', ), + 'MeasureLatency' => array( + 'type' => 'boolean', + ), + 'Inverted' => array( + 'type' => 'boolean', + ), + 'HealthThreshold' => array( + 'type' => 'numeric', + ), + 'ChildHealthChecks' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ChildHealthCheck', + 'type' => 'string', + 'sentAs' => 'ChildHealthCheck', + ), + ), ), ), 'HealthCheckVersion' => array( diff --git a/vendor/aws/Aws/Route53Domains/Resources/route53domains-2014-05-15.php b/vendor/aws/Aws/Route53Domains/Resources/route53domains-2014-05-15.php index 8f59af7..3621466 100644 --- a/vendor/aws/Aws/Route53Domains/Resources/route53domains-2014-05-15.php +++ b/vendor/aws/Aws/Route53Domains/Resources/route53domains-2014-05-15.php @@ -56,12 +56,10 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'IdnLangCode' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 3, ), ), 'errorResponses' => array( @@ -100,7 +98,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'TagsToDelete' => array( 'required' => true, @@ -152,7 +149,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -191,7 +187,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -242,7 +237,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -281,7 +275,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -332,7 +325,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -371,7 +363,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -405,7 +396,6 @@ 'Marker' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 4096, ), 'MaxItems' => array( 'type' => 'numeric', @@ -444,7 +434,6 @@ 'Marker' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 4096, ), 'MaxItems' => array( 'type' => 'numeric', @@ -484,7 +473,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -527,12 +515,10 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'IdnLangCode' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 3, ), 'DurationInYears' => array( 'required' => true, @@ -553,53 +539,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -614,7 +589,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -628,53 +602,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -689,7 +652,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -703,53 +665,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -764,7 +715,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -839,7 +789,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -878,12 +827,10 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'IdnLangCode' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 3, ), 'DurationInYears' => array( 'required' => true, @@ -902,14 +849,12 @@ 'Name' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 255, ), 'GlueIps' => array( 'type' => 'array', 'items' => array( 'name' => 'GlueIp', 'type' => 'string', - 'maxLength' => 45, ), ), ), @@ -918,7 +863,6 @@ 'AuthCode' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'AutoRenew' => array( 'type' => 'boolean', @@ -932,53 +876,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -993,7 +926,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -1007,53 +939,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -1068,7 +989,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -1082,53 +1002,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -1143,7 +1052,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -1218,7 +1126,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'AdminContact' => array( 'type' => 'object', @@ -1226,53 +1133,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -1287,7 +1183,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -1300,53 +1195,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -1361,7 +1245,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -1374,53 +1257,42 @@ 'properties' => array( 'FirstName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'LastName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'ContactType' => array( 'type' => 'string', ), 'OrganizationName' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine1' => array( 'type' => 'string', - 'maxLength' => 255, ), 'AddressLine2' => array( 'type' => 'string', - 'maxLength' => 255, ), 'City' => array( 'type' => 'string', - 'maxLength' => 255, ), 'State' => array( 'type' => 'string', - 'maxLength' => 255, ), 'CountryCode' => array( 'type' => 'string', ), 'ZipCode' => array( 'type' => 'string', - 'maxLength' => 255, ), 'PhoneNumber' => array( 'type' => 'string', - 'maxLength' => 30, ), 'Email' => array( 'type' => 'string', - 'maxLength' => 254, ), 'Fax' => array( 'type' => 'string', - 'maxLength' => 30, ), 'ExtraParams' => array( 'type' => 'array', @@ -1435,7 +1307,6 @@ 'Value' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 2048, ), ), ), @@ -1491,7 +1362,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'AdminPrivacy' => array( 'type' => 'boolean', @@ -1557,7 +1427,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'FIAuthKey' => array( 'type' => 'string', @@ -1574,14 +1443,12 @@ 'Name' => array( 'required' => true, 'type' => 'string', - 'maxLength' => 255, ), 'GlueIps' => array( 'type' => 'array', 'items' => array( 'name' => 'GlueIp', 'type' => 'string', - 'maxLength' => 45, ), ), ), @@ -1636,7 +1503,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'maxLength' => 255, ), 'TagsToUpdate' => array( 'type' => 'array', diff --git a/vendor/aws/Aws/S3/Resources/s3-2006-03-01.php b/vendor/aws/Aws/S3/Resources/s3-2006-03-01.php index 6abdf54..381a410 100644 --- a/vendor/aws/Aws/S3/Resources/s3-2006-03-01.php +++ b/vendor/aws/Aws/S3/Resources/s3-2006-03-01.php @@ -99,6 +99,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -147,6 +148,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -308,6 +310,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -547,6 +550,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -730,6 +734,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -788,6 +793,7 @@ 'Key' => array( 'required' => true, 'type' => 'string', + 'minLength' => 1, ), 'VersionId' => array( 'type' => 'string', @@ -873,6 +879,24 @@ ), ), ), + 'GetBucketLifecycleConfiguration' => array( + 'httpMethod' => 'GET', + 'uri' => '/{Bucket}?lifecycle', + 'class' => 'Aws\\S3\\Command\\S3Command', + 'responseClass' => 'GetBucketLifecycleConfigurationOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Bucket' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'uri', + ), + 'command.expects' => array( + 'static' => true, + 'default' => 'application/xml', + ), + ), + ), 'GetBucketLocation' => array( 'httpMethod' => 'GET', 'uri' => '/{Bucket}?location', @@ -1100,6 +1124,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -1196,6 +1221,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -1239,6 +1265,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -1318,6 +1345,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -1538,6 +1566,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -1701,6 +1730,7 @@ 'location' => 'uri', ), 'CORSRules' => array( + 'required' => true, 'type' => 'array', 'location' => 'xml', 'data' => array( @@ -1723,6 +1753,7 @@ ), ), 'AllowedMethods' => array( + 'required' => true, 'type' => 'array', 'data' => array( 'xmlFlattened' => true, @@ -1734,6 +1765,7 @@ ), ), 'AllowedOrigins' => array( + 'required' => true, 'type' => 'array', 'data' => array( 'xmlFlattened' => true, @@ -1867,6 +1899,124 @@ ), ), ), + 'PutBucketLifecycleConfiguration' => array( + 'httpMethod' => 'PUT', + 'uri' => '/{Bucket}?lifecycle', + 'class' => 'Aws\\S3\\Command\\S3Command', + 'responseClass' => 'PutBucketLifecycleConfigurationOutput', + 'responseType' => 'model', + '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', + ), + 'Rules' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'xml', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'LifecycleRule', + 'type' => 'object', + 'sentAs' => 'Rule', + 'properties' => array( + 'Expiration' => array( + 'type' => 'object', + 'properties' => array( + 'Date' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time-http', + ), + 'Days' => array( + 'type' => 'numeric', + ), + ), + ), + 'ID' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'required' => true, + 'type' => 'string', + ), + 'Status' => array( + 'required' => true, + 'type' => 'string', + ), + 'Transitions' => array( + 'type' => 'array', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'Transition', + 'type' => 'object', + 'sentAs' => 'Transition', + 'properties' => array( + 'Date' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time-http', + ), + 'Days' => array( + 'type' => 'numeric', + ), + 'StorageClass' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NoncurrentVersionTransitions' => array( + 'type' => 'array', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'NoncurrentVersionTransition', + 'type' => 'object', + 'sentAs' => 'NoncurrentVersionTransition', + 'properties' => array( + 'NoncurrentDays' => array( + 'type' => 'numeric', + ), + 'StorageClass' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NoncurrentVersionExpiration' => array( + 'type' => 'object', + 'properties' => array( + 'NoncurrentDays' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + ), + ), 'PutBucketLogging' => array( 'httpMethod' => 'PUT', 'uri' => '/{Bucket}?logging', @@ -2094,6 +2244,36 @@ 'sentAs' => 'Event', ), ), + 'Filter' => array( + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'object', + 'sentAs' => 'S3Key', + 'properties' => array( + 'FilterRules' => array( + 'type' => 'array', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'FilterRule', + 'type' => 'object', + 'sentAs' => 'FilterRule', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), ), ), ), @@ -2128,6 +2308,36 @@ 'sentAs' => 'Event', ), ), + 'Filter' => array( + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'object', + 'sentAs' => 'S3Key', + 'properties' => array( + 'FilterRules' => array( + 'type' => 'array', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'FilterRule', + 'type' => 'object', + 'sentAs' => 'FilterRule', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), ), ), ), @@ -2162,6 +2372,36 @@ 'sentAs' => 'Event', ), ), + 'Filter' => array( + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'object', + 'sentAs' => 'S3Key', + 'properties' => array( + 'FilterRules' => array( + 'type' => 'array', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'FilterRule', + 'type' => 'object', + 'sentAs' => 'FilterRule', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), ), ), ), @@ -2254,6 +2494,9 @@ 'required' => true, 'type' => 'string', ), + 'StorageClass' => array( + 'type' => 'string', + ), ), ), ), @@ -2322,6 +2565,7 @@ 'Key' => array( 'required' => true, 'type' => 'string', + 'minLength' => 1, ), 'Value' => array( 'required' => true, @@ -2398,6 +2642,7 @@ 'Key' => array( 'required' => true, 'type' => 'string', + 'minLength' => 1, ), ), ), @@ -2572,6 +2817,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -2737,6 +2983,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -2783,6 +3030,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -2855,6 +3103,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -2871,6 +3120,11 @@ 'location' => 'query', 'sentAs' => 'uploadId', ), + 'ServerSideEncryption' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'x-amz-server-side-encryption', + ), 'SSECustomerAlgorithm' => array( 'type' => 'string', 'location' => 'header', @@ -2959,6 +3213,7 @@ 'required' => true, 'type' => 'string', 'location' => 'uri', + 'minLength' => 1, 'filters' => array( 'Aws\\S3\\S3Client::explodeKey', ), @@ -3106,6 +3361,11 @@ 'location' => 'header', 'sentAs' => 'x-amz-copy-source-version-id', ), + 'VersionId' => array( + 'type' => 'string', + 'location' => 'header', + 'sentAs' => 'x-amz-version-id', + ), 'ServerSideEncryption' => array( 'type' => 'string', 'location' => 'header', @@ -3577,6 +3837,102 @@ ), ), ), + 'GetBucketLifecycleConfigurationOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Rules' => array( + 'type' => 'array', + 'location' => 'xml', + 'sentAs' => 'Rule', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'LifecycleRule', + 'type' => 'object', + 'sentAs' => 'Rule', + 'properties' => array( + 'Expiration' => array( + 'type' => 'object', + 'properties' => array( + 'Date' => array( + 'type' => 'string', + ), + 'Days' => array( + 'type' => 'numeric', + ), + ), + ), + 'ID' => array( + 'type' => 'string', + ), + 'Prefix' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'Transitions' => array( + 'type' => 'array', + 'sentAs' => 'Transition', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'Transition', + 'type' => 'object', + 'sentAs' => 'Transition', + 'properties' => array( + 'Date' => array( + 'type' => 'string', + ), + 'Days' => array( + 'type' => 'numeric', + ), + 'StorageClass' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NoncurrentVersionTransitions' => array( + 'type' => 'array', + 'sentAs' => 'NoncurrentVersionTransition', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'NoncurrentVersionTransition', + 'type' => 'object', + 'sentAs' => 'NoncurrentVersionTransition', + 'properties' => array( + 'NoncurrentDays' => array( + 'type' => 'numeric', + ), + 'StorageClass' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NoncurrentVersionExpiration' => array( + 'type' => 'object', + 'properties' => array( + 'NoncurrentDays' => array( + 'type' => 'numeric', + ), + ), + ), + ), + ), + ), + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), 'GetBucketLocationOutput' => array( 'type' => 'object', 'additionalProperties' => true, @@ -3781,6 +4137,37 @@ 'sentAs' => 'Event', ), ), + 'Filter' => array( + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'object', + 'sentAs' => 'S3Key', + 'properties' => array( + 'FilterRules' => array( + 'type' => 'array', + 'sentAs' => 'FilterRule', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'FilterRule', + 'type' => 'object', + 'sentAs' => 'FilterRule', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), ), ), ), @@ -3815,6 +4202,37 @@ 'sentAs' => 'Event', ), ), + 'Filter' => array( + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'object', + 'sentAs' => 'S3Key', + 'properties' => array( + 'FilterRules' => array( + 'type' => 'array', + 'sentAs' => 'FilterRule', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'FilterRule', + 'type' => 'object', + 'sentAs' => 'FilterRule', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), ), ), ), @@ -3849,6 +4267,37 @@ 'sentAs' => 'Event', ), ), + 'Filter' => array( + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'object', + 'sentAs' => 'S3Key', + 'properties' => array( + 'FilterRules' => array( + 'type' => 'array', + 'sentAs' => 'FilterRule', + 'data' => array( + 'xmlFlattened' => true, + ), + 'items' => array( + 'name' => 'FilterRule', + 'type' => 'object', + 'sentAs' => 'FilterRule', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), ), ), ), @@ -3908,6 +4357,9 @@ 'Bucket' => array( 'type' => 'string', ), + 'StorageClass' => array( + 'type' => 'string', + ), ), ), ), @@ -4960,6 +5412,16 @@ ), ), ), + 'PutBucketLifecycleConfigurationOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RequestId' => array( + 'location' => 'header', + 'sentAs' => 'x-amz-request-id', + ), + ), + ), 'PutBucketLoggingOutput' => array( 'type' => 'object', 'additionalProperties' => true, diff --git a/vendor/aws/Aws/S3/S3Client.php b/vendor/aws/Aws/S3/S3Client.php index b67282a..c17dd6c 100644 --- a/vendor/aws/Aws/S3/S3Client.php +++ b/vendor/aws/Aws/S3/S3Client.php @@ -69,6 +69,7 @@ * @method Model getBucketAcl(array $args = array()) {@command S3 GetBucketAcl} * @method Model getBucketCors(array $args = array()) {@command S3 GetBucketCors} * @method Model getBucketLifecycle(array $args = array()) {@command S3 GetBucketLifecycle} + * @method Model getBucketLifecycleConfiguration(array $args = array()) {@command S3 GetBucketLifecycleConfiguration} * @method Model getBucketLocation(array $args = array()) {@command S3 GetBucketLocation} * @method Model getBucketLogging(array $args = array()) {@command S3 GetBucketLogging} * @method Model getBucketNotification(array $args = array()) {@command S3 GetBucketNotification} @@ -92,6 +93,7 @@ * @method Model putBucketAcl(array $args = array()) {@command S3 PutBucketAcl} * @method Model putBucketCors(array $args = array()) {@command S3 PutBucketCors} * @method Model putBucketLifecycle(array $args = array()) {@command S3 PutBucketLifecycle} + * @method Model putBucketLifecycleConfiguration(array $args = array()) {@command S3 PutBucketLifecycleConfiguration} * @method Model putBucketLogging(array $args = array()) {@command S3 PutBucketLogging} * @method Model putBucketNotification(array $args = array()) {@command S3 PutBucketNotification} * @method Model putBucketNotificationConfiguration(array $args = array()) {@command S3 PutBucketNotificationConfiguration} @@ -169,7 +171,8 @@ 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] = static::createBackoffPlugin($exceptionParser); + $retries = isset($config[Options::BACKOFF_RETRIES]) ? $config[Options::BACKOFF_RETRIES] : 3; + $config[Options::BACKOFF] = static::createBackoffPlugin($exceptionParser, $retries); } $config[Options::SIGNATURE] = $signature = static::createSignature($config); @@ -241,10 +244,10 @@ public static function factory($config = array()) * * @return BackoffPlugin */ - private static function createBackoffPlugin(S3ExceptionParser $exceptionParser) + private static function createBackoffPlugin(S3ExceptionParser $exceptionParser, $retries = 3) { return new BackoffPlugin( - new TruncatedBackoffStrategy(3, + new TruncatedBackoffStrategy($retries, new IncompleteMultipartUploadChecker( new CurlBackoffStrategy(null, new HttpBackoffStrategy(null, diff --git a/vendor/aws/Aws/Ses/Resources/ses-2010-12-01.php b/vendor/aws/Aws/Ses/Resources/ses-2010-12-01.php index da20259..bd34d58 100644 --- a/vendor/aws/Aws/Ses/Resources/ses-2010-12-01.php +++ b/vendor/aws/Aws/Ses/Resources/ses-2010-12-01.php @@ -41,6 +41,337 @@ ), ), 'operations' => array( + 'CloneReceiptRuleSet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CloneReceiptRuleSet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'OriginalRuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to a naming conflict.', + 'class' => 'AlreadyExistsException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.', + 'class' => 'LimitExceededException', + ), + ), + ), + 'CreateReceiptFilter' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateReceiptFilter', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'Filter' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'IpFilter' => array( + 'required' => true, + 'type' => 'object', + 'properties' => array( + 'Policy' => array( + 'required' => true, + 'type' => 'string', + ), + 'Cidr' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.', + 'class' => 'LimitExceededException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to a naming conflict.', + 'class' => 'AlreadyExistsException', + ), + ), + ), + 'CreateReceiptRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateReceiptRule', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'After' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Rule' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'TlsPolicy' => array( + 'type' => 'string', + ), + 'Recipients' => array( + 'type' => 'array', + 'sentAs' => 'Recipients.member', + 'items' => array( + 'name' => 'Recipient', + 'type' => 'string', + ), + ), + 'Actions' => array( + 'type' => 'array', + 'sentAs' => 'Actions.member', + 'items' => array( + 'name' => 'ReceiptAction', + 'type' => 'object', + 'properties' => array( + 'S3Action' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'BucketName' => array( + 'required' => true, + 'type' => 'string', + ), + 'ObjectKeyPrefix' => array( + 'type' => 'string', + ), + 'KmsKeyArn' => array( + 'type' => 'string', + ), + ), + ), + 'BounceAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'SmtpReplyCode' => array( + 'required' => true, + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'Message' => array( + 'required' => true, + 'type' => 'string', + ), + 'Sender' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'WorkmailAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'OrganizationArn' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'LambdaAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'FunctionArn' => array( + 'required' => true, + 'type' => 'string', + ), + 'InvocationType' => array( + 'type' => 'string', + ), + ), + ), + 'StopAction' => array( + 'type' => 'object', + 'properties' => array( + 'Scope' => array( + 'required' => true, + 'type' => 'string', + ), + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + 'AddHeaderAction' => array( + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'required' => true, + 'type' => 'string', + ), + 'HeaderValue' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'SNSAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ScanEnabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could not publish to the topic, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.', + 'class' => 'InvalidSnsTopicException', + ), + array( + 'reason' => 'Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.', + 'class' => 'InvalidS3ConfigurationException', + ), + array( + 'reason' => 'Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.', + 'class' => 'InvalidLambdaFunctionException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to a naming conflict.', + 'class' => 'AlreadyExistsException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule does not exist.', + 'class' => 'RuleDoesNotExistException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.', + 'class' => 'LimitExceededException', + ), + ), + ), + 'CreateReceiptRuleSet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'CreateReceiptRuleSet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that a resource could not be created due to a naming conflict.', + 'class' => 'AlreadyExistsException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.', + 'class' => 'LimitExceededException', + ), + ), + ), 'DeleteIdentity' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -92,34 +423,210 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), ), ), - 'DeleteVerifiedEmailAddress' => array( + 'DeleteReceiptFilter' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteReceiptFilter', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'FilterName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DeleteReceiptRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteReceiptRule', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + ), + ), + 'DeleteReceiptRuleSet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DeleteReceiptRuleSet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the delete operation could not be completed.', + 'class' => 'CannotDeleteException', + ), + ), + ), + 'DeleteVerifiedEmailAddress' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'DescribeActiveReceiptRuleSet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeActiveReceiptRuleSetResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeActiveReceiptRuleSet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + ), + ), + 'DescribeReceiptRule' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'DescribeReceiptRuleResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'DescribeReceiptRule', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule does not exist.', + 'class' => 'RuleDoesNotExistException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + ), + ), + 'DescribeReceiptRuleSet' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', - 'responseClass' => 'EmptyOutput', + 'responseClass' => 'DescribeReceiptRuleSetResponse', 'responseType' => 'model', - 'deprecated' => true, 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'DeleteVerifiedEmailAddress', + 'default' => 'DescribeReceiptRuleSet', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2010-12-01', ), - 'EmailAddress' => array( + 'RuleSetName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + ), ), 'GetIdentityDkimAttributes' => array( 'httpMethod' => 'POST', @@ -210,7 +717,6 @@ 'name' => 'PolicyName', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -337,6 +843,48 @@ ), ), ), + 'ListReceiptFilters' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ListReceiptFiltersResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ListReceiptFilters', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + ), + ), + 'ListReceiptRuleSets' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'ListReceiptRuleSetsResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ListReceiptRuleSets', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), 'ListVerifiedEmailAddresses' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -384,7 +932,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 64, ), 'Policy' => array( 'required' => true, @@ -400,6 +947,199 @@ ), ), ), + 'ReorderReceiptRuleSet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'ReorderReceiptRuleSet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'RuleNames' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'RuleNames.member', + 'items' => array( + 'name' => 'ReceiptRuleName', + 'type' => 'string', + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule does not exist.', + 'class' => 'RuleDoesNotExistException', + ), + ), + ), + 'SendBounce' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'SendBounceResponse', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'SendBounce', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'OriginalMessageId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'BounceSender' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'Explanation' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + 'MessageDsn' => array( + 'type' => 'object', + 'location' => 'aws.query', + 'properties' => array( + 'ReportingMta' => array( + 'required' => true, + 'type' => 'string', + ), + 'ArrivalDate' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'ExtensionFields' => array( + 'type' => 'array', + 'sentAs' => 'ExtensionFields.member', + 'items' => array( + 'name' => 'ExtensionField', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Value' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'BouncedRecipientInfoList' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'aws.query', + 'sentAs' => 'BouncedRecipientInfoList.member', + 'items' => array( + 'name' => 'BouncedRecipientInfo', + 'type' => 'object', + 'properties' => array( + 'Recipient' => array( + 'required' => true, + 'type' => 'string', + ), + 'RecipientArn' => array( + 'type' => 'string', + ), + 'BounceType' => array( + 'type' => 'string', + ), + 'RecipientDsnFields' => array( + 'type' => 'object', + 'properties' => array( + 'FinalRecipient' => array( + 'type' => 'string', + ), + 'Action' => array( + 'required' => true, + 'type' => 'string', + ), + 'RemoteMta' => array( + 'type' => 'string', + ), + 'Status' => array( + 'required' => true, + 'type' => 'string', + ), + 'DiagnosticCode' => array( + 'type' => 'string', + ), + 'LastAttemptDate' => array( + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'ExtensionFields' => array( + 'type' => 'array', + 'sentAs' => 'ExtensionFields.member', + 'items' => array( + 'name' => 'ExtensionField', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Value' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'BounceSenderArn' => array( + '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', + ), + ), + ), 'SendEmail' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -593,6 +1333,35 @@ ), ), ), + 'SetActiveReceiptRuleSet' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'SetActiveReceiptRuleSet', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + ), + ), 'SetIdentityDkimEnabled' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -640,20 +1409,96 @@ 'location' => 'aws.query', 'default' => '2010-12-01', ), - 'Identity' => array( + 'Identity' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'ForwardingEnabled' => array( + 'required' => true, + 'type' => 'boolean', + 'format' => 'boolean-string', + 'location' => 'aws.query', + ), + ), + ), + 'SetIdentityNotificationTopic' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'NotificationType' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'aws.query', + ), + 'SnsTopic' => array( + 'type' => 'string', + 'location' => 'aws.query', + ), + ), + ), + 'SetReceiptRulePosition' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\QueryCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + 'parameters' => array( + 'Action' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => 'SetReceiptRulePosition', + ), + 'Version' => array( + 'static' => true, + 'location' => 'aws.query', + 'default' => '2010-12-01', + ), + 'RuleSetName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'ForwardingEnabled' => array( + 'RuleName' => array( 'required' => true, - 'type' => 'boolean', - 'format' => 'boolean-string', + 'type' => 'string', + 'location' => 'aws.query', + ), + 'After' => array( + 'type' => 'string', 'location' => 'aws.query', ), ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule does not exist.', + 'class' => 'RuleDoesNotExistException', + ), + ), ), - 'SetIdentityNotificationTopic' => array( + 'UpdateReceiptRule' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', @@ -663,26 +1508,185 @@ 'Action' => array( 'static' => true, 'location' => 'aws.query', - 'default' => 'SetIdentityNotificationTopic', + 'default' => 'UpdateReceiptRule', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2010-12-01', ), - 'Identity' => array( + 'RuleSetName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', ), - 'NotificationType' => array( + 'Rule' => array( 'required' => true, - 'type' => 'string', + 'type' => 'object', 'location' => 'aws.query', + 'properties' => array( + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'TlsPolicy' => array( + 'type' => 'string', + ), + 'Recipients' => array( + 'type' => 'array', + 'sentAs' => 'Recipients.member', + 'items' => array( + 'name' => 'Recipient', + 'type' => 'string', + ), + ), + 'Actions' => array( + 'type' => 'array', + 'sentAs' => 'Actions.member', + 'items' => array( + 'name' => 'ReceiptAction', + 'type' => 'object', + 'properties' => array( + 'S3Action' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'BucketName' => array( + 'required' => true, + 'type' => 'string', + ), + 'ObjectKeyPrefix' => array( + 'type' => 'string', + ), + 'KmsKeyArn' => array( + 'type' => 'string', + ), + ), + ), + 'BounceAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'SmtpReplyCode' => array( + 'required' => true, + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'Message' => array( + 'required' => true, + 'type' => 'string', + ), + 'Sender' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'WorkmailAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'OrganizationArn' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'LambdaAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'FunctionArn' => array( + 'required' => true, + 'type' => 'string', + ), + 'InvocationType' => array( + 'type' => 'string', + ), + ), + ), + 'StopAction' => array( + 'type' => 'object', + 'properties' => array( + 'Scope' => array( + 'required' => true, + 'type' => 'string', + ), + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + 'AddHeaderAction' => array( + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'required' => true, + 'type' => 'string', + ), + 'HeaderValue' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + 'SNSAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'required' => true, + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ScanEnabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + ), ), - 'SnsTopic' => array( - 'type' => 'string', - 'location' => 'aws.query', + ), + 'errorResponses' => array( + array( + 'reason' => 'Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could not publish to the topic, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.', + 'class' => 'InvalidSnsTopicException', + ), + array( + 'reason' => 'Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.', + 'class' => 'InvalidS3ConfigurationException', + ), + array( + 'reason' => 'Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.', + 'class' => 'InvalidLambdaFunctionException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule set does not exist.', + 'class' => 'RuleSetDoesNotExistException', + ), + array( + 'reason' => 'Indicates that the provided receipt rule does not exist.', + 'class' => 'RuleDoesNotExistException', + ), + array( + 'reason' => 'Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.', + 'class' => 'LimitExceededException', ), ), ), @@ -789,6 +1793,442 @@ 'type' => 'object', 'additionalProperties' => true, ), + 'DescribeActiveReceiptRuleSetResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Metadata' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'CreatedTimestamp' => array( + 'type' => 'string', + ), + ), + ), + 'Rules' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'ReceiptRule', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'TlsPolicy' => array( + 'type' => 'string', + ), + 'Recipients' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Recipient', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'Actions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ReceiptAction', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'S3Action' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'BucketName' => array( + 'type' => 'string', + ), + 'ObjectKeyPrefix' => array( + 'type' => 'string', + ), + 'KmsKeyArn' => array( + 'type' => 'string', + ), + ), + ), + 'BounceAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'SmtpReplyCode' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'Message' => array( + 'type' => 'string', + ), + 'Sender' => array( + 'type' => 'string', + ), + ), + ), + 'WorkmailAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'OrganizationArn' => array( + 'type' => 'string', + ), + ), + ), + 'LambdaAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'FunctionArn' => array( + 'type' => 'string', + ), + 'InvocationType' => array( + 'type' => 'string', + ), + ), + ), + 'StopAction' => array( + 'type' => 'object', + 'properties' => array( + 'Scope' => array( + 'type' => 'string', + ), + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + 'AddHeaderAction' => array( + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + 'SNSAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ScanEnabled' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), + 'DescribeReceiptRuleResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Rule' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'TlsPolicy' => array( + 'type' => 'string', + ), + 'Recipients' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Recipient', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'Actions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ReceiptAction', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'S3Action' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'BucketName' => array( + 'type' => 'string', + ), + 'ObjectKeyPrefix' => array( + 'type' => 'string', + ), + 'KmsKeyArn' => array( + 'type' => 'string', + ), + ), + ), + 'BounceAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'SmtpReplyCode' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'Message' => array( + 'type' => 'string', + ), + 'Sender' => array( + 'type' => 'string', + ), + ), + ), + 'WorkmailAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'OrganizationArn' => array( + 'type' => 'string', + ), + ), + ), + 'LambdaAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'FunctionArn' => array( + 'type' => 'string', + ), + 'InvocationType' => array( + 'type' => 'string', + ), + ), + ), + 'StopAction' => array( + 'type' => 'object', + 'properties' => array( + 'Scope' => array( + 'type' => 'string', + ), + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + 'AddHeaderAction' => array( + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + 'SNSAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ScanEnabled' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + 'DescribeReceiptRuleSetResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Metadata' => array( + 'type' => 'object', + 'location' => 'xml', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'CreatedTimestamp' => array( + 'type' => 'string', + ), + ), + ), + 'Rules' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'ReceiptRule', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Enabled' => array( + 'type' => 'boolean', + ), + 'TlsPolicy' => array( + 'type' => 'string', + ), + 'Recipients' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Recipient', + 'type' => 'string', + 'sentAs' => 'member', + ), + ), + 'Actions' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ReceiptAction', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'S3Action' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'BucketName' => array( + 'type' => 'string', + ), + 'ObjectKeyPrefix' => array( + 'type' => 'string', + ), + 'KmsKeyArn' => array( + 'type' => 'string', + ), + ), + ), + 'BounceAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'SmtpReplyCode' => array( + 'type' => 'string', + ), + 'StatusCode' => array( + 'type' => 'string', + ), + 'Message' => array( + 'type' => 'string', + ), + 'Sender' => array( + 'type' => 'string', + ), + ), + ), + 'WorkmailAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'OrganizationArn' => array( + 'type' => 'string', + ), + ), + ), + 'LambdaAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + 'FunctionArn' => array( + 'type' => 'string', + ), + 'InvocationType' => array( + 'type' => 'string', + ), + ), + ), + 'StopAction' => array( + 'type' => 'object', + 'properties' => array( + 'Scope' => array( + 'type' => 'string', + ), + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + 'AddHeaderAction' => array( + 'type' => 'object', + 'properties' => array( + 'HeaderName' => array( + 'type' => 'string', + ), + 'HeaderValue' => array( + 'type' => 'string', + ), + ), + ), + 'SNSAction' => array( + 'type' => 'object', + 'properties' => array( + 'TopicArn' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + 'ScanEnabled' => array( + 'type' => 'boolean', + ), + ), + ), + ), + ), + ), 'GetIdentityDkimAttributesResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1055,6 +2495,64 @@ ), ), ), + 'ListReceiptFiltersResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Filters' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'ReceiptFilter', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'IpFilter' => array( + 'type' => 'object', + 'properties' => array( + 'Policy' => array( + 'type' => 'string', + ), + 'Cidr' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + ), + 'ListReceiptRuleSetsResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'RuleSets' => array( + 'type' => 'array', + 'location' => 'xml', + 'items' => array( + 'name' => 'ReceiptRuleSetMetadata', + 'type' => 'object', + 'sentAs' => 'member', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'CreatedTimestamp' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), 'ListVerifiedEmailAddressesResponse' => array( 'type' => 'object', 'additionalProperties' => true, @@ -1070,6 +2568,16 @@ ), ), ), + 'SendBounceResponse' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'MessageId' => array( + 'type' => 'string', + 'location' => 'xml', + ), + ), + ), 'SendEmailResponse' => array( 'type' => 'object', 'additionalProperties' => true, diff --git a/vendor/aws/Aws/Ses/SesClient.php b/vendor/aws/Aws/Ses/SesClient.php index a6a82f6..ccec99e 100644 --- a/vendor/aws/Aws/Ses/SesClient.php +++ b/vendor/aws/Aws/Ses/SesClient.php @@ -26,9 +26,19 @@ /** * Client to interact with Amazon Simple Email Service * + * @method Model cloneReceiptRuleSet(array $args = array()) {@command Ses CloneReceiptRuleSet} + * @method Model createReceiptFilter(array $args = array()) {@command Ses CreateReceiptFilter} + * @method Model createReceiptRule(array $args = array()) {@command Ses CreateReceiptRule} + * @method Model createReceiptRuleSet(array $args = array()) {@command Ses CreateReceiptRuleSet} * @method Model deleteIdentity(array $args = array()) {@command Ses DeleteIdentity} * @method Model deleteIdentityPolicy(array $args = array()) {@command Ses DeleteIdentityPolicy} + * @method Model deleteReceiptFilter(array $args = array()) {@command Ses DeleteReceiptFilter} + * @method Model deleteReceiptRule(array $args = array()) {@command Ses DeleteReceiptRule} + * @method Model deleteReceiptRuleSet(array $args = array()) {@command Ses DeleteReceiptRuleSet} * @method Model deleteVerifiedEmailAddress(array $args = array()) {@command Ses DeleteVerifiedEmailAddress} + * @method Model describeActiveReceiptRuleSet(array $args = array()) {@command Ses DescribeActiveReceiptRuleSet} + * @method Model describeReceiptRule(array $args = array()) {@command Ses DescribeReceiptRule} + * @method Model describeReceiptRuleSet(array $args = array()) {@command Ses DescribeReceiptRuleSet} * @method Model getIdentityDkimAttributes(array $args = array()) {@command Ses GetIdentityDkimAttributes} * @method Model getIdentityNotificationAttributes(array $args = array()) {@command Ses GetIdentityNotificationAttributes} * @method Model getIdentityPolicies(array $args = array()) {@command Ses GetIdentityPolicies} @@ -37,13 +47,20 @@ * @method Model getSendStatistics(array $args = array()) {@command Ses GetSendStatistics} * @method Model listIdentities(array $args = array()) {@command Ses ListIdentities} * @method Model listIdentityPolicies(array $args = array()) {@command Ses ListIdentityPolicies} + * @method Model listReceiptFilters(array $args = array()) {@command Ses ListReceiptFilters} + * @method Model listReceiptRuleSets(array $args = array()) {@command Ses ListReceiptRuleSets} * @method Model listVerifiedEmailAddresses(array $args = array()) {@command Ses ListVerifiedEmailAddresses} * @method Model putIdentityPolicy(array $args = array()) {@command Ses PutIdentityPolicy} + * @method Model reorderReceiptRuleSet(array $args = array()) {@command Ses ReorderReceiptRuleSet} + * @method Model sendBounce(array $args = array()) {@command Ses SendBounce} * @method Model sendEmail(array $args = array()) {@command Ses SendEmail} * @method Model sendRawEmail(array $args = array()) {@command Ses SendRawEmail} + * @method Model setActiveReceiptRuleSet(array $args = array()) {@command Ses SetActiveReceiptRuleSet} * @method Model setIdentityDkimEnabled(array $args = array()) {@command Ses SetIdentityDkimEnabled} * @method Model setIdentityFeedbackForwardingEnabled(array $args = array()) {@command Ses SetIdentityFeedbackForwardingEnabled} * @method Model setIdentityNotificationTopic(array $args = array()) {@command Ses SetIdentityNotificationTopic} + * @method Model setReceiptRulePosition(array $args = array()) {@command Ses SetReceiptRulePosition} + * @method Model updateReceiptRule(array $args = array()) {@command Ses UpdateReceiptRule} * @method Model verifyDomainDkim(array $args = array()) {@command Ses VerifyDomainDkim} * @method Model verifyDomainIdentity(array $args = array()) {@command Ses VerifyDomainIdentity} * @method Model verifyEmailAddress(array $args = array()) {@command Ses VerifyEmailAddress} diff --git a/vendor/aws/Aws/Sns/MessageValidator/MessageValidator.php b/vendor/aws/Aws/Sns/MessageValidator/MessageValidator.php index 113453e..3aeece5 100644 --- a/vendor/aws/Aws/Sns/MessageValidator/MessageValidator.php +++ b/vendor/aws/Aws/Sns/MessageValidator/MessageValidator.php @@ -34,12 +34,27 @@ class MessageValidator */ protected $client; + /** @var string */ + private $hostPattern; + + /** + * @var string A pattern that will match all regional SNS endpoints, e.g.: + * - sns..amazonaws.com (AWS) + * - sns.us-gov-west-1.amazonaws.com (AWS GovCloud) + * - sns.cn-north-1.amazonaws.com.cn (AWS China) + */ + private static $defaultHostPattern + = '/^sns\.[a-zA-Z0-9\-]{3,}\.amazonaws\.com(\.cn)?$/'; + /** * Constructs the Message Validator object and ensures that openssl is installed * + * @param Client|null $client + * @param string|null $hostPattern The host must match this regex pattern + * * @throws RequiredExtensionNotLoadedException If openssl is not installed */ - public function __construct(Client $client = null) + public function __construct(Client $client = null, $hostPattern = null) { if (!extension_loaded('openssl')) { //@codeCoverageIgnoreStart @@ -49,6 +64,7 @@ public function __construct(Client $client = null) } $this->client = $client ?: new Client(); + $this->hostPattern = $hostPattern ?: self::$defaultHostPattern; } /** @@ -83,12 +99,9 @@ public function validate(Message $message) private function validateUrl(Url $url) { - // The host must match the following pattern - $hostPattern = '/^sns\.[a-zA-Z0-9\-]{3,}\.amazonaws\.com(\.cn)?$/'; - if ($url->getScheme() !== 'https' || substr($url, -4) !== '.pem' || - !preg_match($hostPattern, $url->getHost()) + !preg_match($this->hostPattern, $url->getHost()) ) { throw new CertificateFromUnrecognizedSourceException(); } diff --git a/vendor/aws/Aws/Ssm/Resources/ssm-2014-11-06.php b/vendor/aws/Aws/Ssm/Resources/ssm-2014-11-06.php index a1a2d71..5fde854 100644 --- a/vendor/aws/Aws/Ssm/Resources/ssm-2014-11-06.php +++ b/vendor/aws/Aws/Ssm/Resources/ssm-2014-11-06.php @@ -25,6 +25,58 @@ 'signatureVersion' => 'v4', 'namespace' => 'Ssm', 'operations' => array( + 'CancelCommand' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'EmptyOutput', + 'responseType' => 'model', + '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' => 'AmazonSSM.CancelCommand', + ), + 'CommandId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 36, + ), + 'InstanceIds' => array( + 'type' => 'array', + 'location' => 'json', + 'minItems' => 1, + 'maxItems' => 50, + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + ), + 'errorResponses' => array( + array( + 'class' => 'InvalidCommandIdException', + ), + array( + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', + 'class' => 'InvalidInstanceIdException', + ), + array( + 'reason' => 'You cannot specify an instance ID in more than one association.', + 'class' => 'DuplicateInstanceIdException', + ), + ), + ), 'CreateAssociation' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -50,15 +102,25 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), 'InstanceId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 10, - 'maxLength' => 10, + ), + 'Parameters' => array( + 'type' => 'object', + 'location' => 'json', + 'additionalProperties' => array( + 'type' => 'array', + 'data' => array( + 'shape_name' => 'ParameterName', + ), + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), ), ), 'errorResponses' => array( @@ -75,13 +137,21 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), array( - 'reason' => 'You must specify the ID of a running instance.', + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', 'class' => 'InvalidInstanceIdException', ), + array( + 'reason' => 'The document does not support the platform type of the given instance ID(s).', + 'class' => 'UnsupportedPlatformTypeException', + ), + array( + 'reason' => 'You must specify values for all required parameters in the SSM document. You can only supply values to parameters defined in the SSM document.', + 'class' => 'InvalidParametersException', + ), ), ), 'CreateAssociationBatch' => array( @@ -115,13 +185,22 @@ 'properties' => array( 'Name' => array( 'type' => 'string', - 'minLength' => 3, - 'maxLength' => 64, ), 'InstanceId' => array( 'type' => 'string', - 'minLength' => 10, - 'maxLength' => 10, + ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'data' => array( + 'shape_name' => 'ParameterName', + ), + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), ), ), ), @@ -133,13 +212,17 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), array( - 'reason' => 'You must specify the ID of a running instance.', + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', 'class' => 'InvalidInstanceIdException', ), + array( + 'reason' => 'You must specify values for all required parameters in the SSM document. You can only supply values to parameters defined in the SSM document.', + 'class' => 'InvalidParametersException', + ), array( 'reason' => 'You cannot specify an instance ID in more than one association.', 'class' => 'DuplicateInstanceIdException', @@ -148,6 +231,10 @@ 'reason' => 'You can have at most 2,000 active associations.', 'class' => 'AssociationLimitExceededException', ), + array( + 'reason' => 'The document does not support the platform type of the given instance ID(s).', + 'class' => 'UnsupportedPlatformTypeException', + ), ), ), 'CreateDocument' => array( @@ -181,17 +268,15 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), ), 'errorResponses' => array( array( - 'reason' => 'The specified configuration document already exists.', + 'reason' => 'The specified SSM document already exists.', 'class' => 'DocumentAlreadyExistsException', ), array( - 'reason' => 'The size limit of a configuration document is 64 KB.', + 'reason' => 'The size limit of an SSM document is 64 KB.', 'class' => 'MaxDocumentSizeExceededException', ), array( @@ -199,11 +284,11 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The content for the configuration document is not valid.', + 'reason' => 'The content for the SSM document is not valid.', 'class' => 'InvalidDocumentContentException', ), array( - 'reason' => 'You can have at most 100 active configuration documents.', + 'reason' => 'You can have at most 100 active SSM documents.', 'class' => 'DocumentLimitExceededException', ), ), @@ -233,15 +318,11 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), 'InstanceId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 10, - 'maxLength' => 10, ), ), 'errorResponses' => array( @@ -254,11 +335,11 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), array( - 'reason' => 'You must specify the ID of a running instance.', + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', 'class' => 'InvalidInstanceIdException', ), array( @@ -292,8 +373,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -302,11 +381,11 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), array( - 'reason' => 'You must disassociate a configuration document from all instances before you can delete it.', + 'reason' => 'You must disassociate an SSM document from all instances before you can delete it.', 'class' => 'AssociatedInstancesException', ), ), @@ -336,15 +415,11 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), 'InstanceId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 10, - 'maxLength' => 10, ), ), 'errorResponses' => array( @@ -357,11 +432,11 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), array( - 'reason' => 'You must specify the ID of a running instance.', + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', 'class' => 'InvalidInstanceIdException', ), ), @@ -391,8 +466,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -401,11 +474,92 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), ), ), + 'DescribeInstanceInformation' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'DescribeInstanceInformationResult', + 'responseType' => 'model', + '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' => 'AmazonSSM.DescribeInstanceInformation', + ), + 'InstanceInformationFilterList' => array( + 'type' => 'array', + 'location' => 'json', + 'minItems' => 1, + 'items' => array( + 'name' => 'InstanceInformationFilter', + 'type' => 'object', + 'properties' => array( + 'key' => array( + 'required' => true, + 'type' => 'string', + ), + 'valueSet' => array( + 'required' => true, + 'type' => 'array', + 'minItems' => 1, + 'maxItems' => 100, + 'items' => array( + 'name' => 'InstanceInformationFilterValue', + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 5, + 'maximum' => 50, + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An error occurred on the server side.', + 'class' => 'InternalServerErrorException', + ), + array( + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', + 'class' => 'InvalidInstanceIdException', + ), + array( + 'reason' => 'The specified token is not valid.', + 'class' => 'InvalidNextTokenException', + ), + array( + 'reason' => 'The specified filter value is not valid.', + 'class' => 'InvalidInstanceInformationFilterValueException', + ), + array( + 'reason' => 'The specified key is not valid.', + 'class' => 'InvalidFilterKeyException', + ), + ), + ), 'GetDocument' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -431,8 +585,6 @@ 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -441,7 +593,7 @@ 'class' => 'InternalServerErrorException', ), array( - 'reason' => 'The configuration document is not valid.', + 'reason' => 'The specified document does not exist.', 'class' => 'InvalidDocumentException', ), ), @@ -510,11 +662,11 @@ ), ), ), - 'ListDocuments' => array( + 'ListCommandInvocations' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'ListDocumentsResult', + 'responseClass' => 'ListCommandInvocationsResult', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( @@ -529,14 +681,34 @@ 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', - 'default' => 'AmazonSSM.ListDocuments', + 'default' => 'AmazonSSM.ListCommandInvocations', ), - 'DocumentFilterList' => array( + 'CommandId' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 36, + ), + 'InstanceId' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, + 'maximum' => 50, + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Filters' => array( 'type' => 'array', 'location' => 'json', 'minItems' => 1, + 'maxItems' => 3, 'items' => array( - 'name' => 'DocumentFilter', + 'name' => 'CommandFilter', 'type' => 'object', 'properties' => array( 'key' => array( @@ -551,21 +723,23 @@ ), ), ), - 'MaxResults' => array( - 'type' => 'numeric', - 'location' => 'json', - 'minimum' => 1, - 'maximum' => 25, - ), - 'NextToken' => array( - 'type' => 'string', + 'Details' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', 'location' => 'json', ), ), 'errorResponses' => array( array( - 'reason' => 'An error occurred on the server side.', - 'class' => 'InternalServerErrorException', + 'class' => 'InvalidCommandIdException', + ), + array( + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', + 'class' => 'InvalidInstanceIdException', + ), + array( + 'reason' => 'The specified key is not valid.', + 'class' => 'InvalidFilterKeyException', ), array( 'reason' => 'The specified token is not valid.', @@ -573,11 +747,11 @@ ), ), ), - 'UpdateAssociationStatus' => array( + 'ListCommands' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\JsonCommand', - 'responseClass' => 'UpdateAssociationStatusResult', + 'responseClass' => 'ListCommandsResult', 'responseType' => 'model', 'parameters' => array( 'Content-Type' => array( @@ -592,101 +766,344 @@ 'X-Amz-Target' => array( 'static' => true, 'location' => 'header', - 'default' => 'AmazonSSM.UpdateAssociationStatus', + 'default' => 'AmazonSSM.ListCommands', ), - 'Name' => array( - 'required' => true, + 'CommandId' => array( 'type' => 'string', 'location' => 'json', - 'minLength' => 3, - 'maxLength' => 64, + 'minLength' => 36, ), 'InstanceId' => array( - 'required' => true, 'type' => 'string', 'location' => 'json', - 'minLength' => 10, - 'maxLength' => 10, ), - 'AssociationStatus' => array( - 'required' => true, - 'type' => 'object', + 'MaxResults' => array( + 'type' => 'numeric', 'location' => 'json', - 'properties' => array( - 'Date' => array( - 'required' => true, - 'type' => array( - 'object', - 'string', - 'integer', + 'minimum' => 1, + 'maximum' => 50, + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Filters' => array( + 'type' => 'array', + 'location' => 'json', + 'minItems' => 1, + 'maxItems' => 3, + 'items' => array( + 'name' => 'CommandFilter', + 'type' => 'object', + 'properties' => array( + 'key' => array( + 'required' => true, + 'type' => 'string', + ), + 'value' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, ), - 'format' => 'date-time', - ), - 'Name' => array( - 'required' => true, - 'type' => 'string', - ), - 'Message' => array( - 'required' => true, - 'type' => 'string', - 'maxLength' => 1024, - ), - 'AdditionalInfo' => array( - 'type' => 'string', - 'maxLength' => 1024, ), ), ), ), 'errorResponses' => array( array( - 'reason' => 'An error occurred on the server side.', - 'class' => 'InternalServerErrorException', + 'class' => 'InvalidCommandIdException', ), array( - 'reason' => 'You must specify the ID of a running instance.', + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', 'class' => 'InvalidInstanceIdException', ), array( - 'reason' => 'The configuration document is not valid.', - 'class' => 'InvalidDocumentException', - ), - array( - 'reason' => 'The specified association does not exist.', - 'class' => 'AssociationDoesNotExistException', - ), - array( - 'reason' => 'The updated status is the same as the current status.', - 'class' => 'StatusUnchangedException', + 'reason' => 'The specified key is not valid.', + 'class' => 'InvalidFilterKeyException', ), array( - 'reason' => 'There are concurrent updates for a resource that supports one update at a time.', - 'class' => 'TooManyUpdatesException', + 'reason' => 'The specified token is not valid.', + 'class' => 'InvalidNextTokenException', ), ), ), - ), - 'models' => array( - 'CreateAssociationResult' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'AssociationDescription' => array( - 'type' => 'object', - 'location' => 'json', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - ), - 'InstanceId' => array( - 'type' => 'string', - ), - 'Date' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'object', - 'properties' => array( + 'ListDocuments' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ListDocumentsResult', + 'responseType' => 'model', + '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' => 'AmazonSSM.ListDocuments', + ), + 'DocumentFilterList' => array( + 'type' => 'array', + 'location' => 'json', + 'minItems' => 1, + 'items' => array( + 'name' => 'DocumentFilter', + 'type' => 'object', + 'properties' => array( + 'key' => array( + 'required' => true, + 'type' => 'string', + ), + 'value' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + ), + 'MaxResults' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, + 'maximum' => 25, + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An error occurred on the server side.', + 'class' => 'InternalServerErrorException', + ), + array( + 'reason' => 'The specified token is not valid.', + 'class' => 'InvalidNextTokenException', + ), + array( + 'reason' => 'The specified key is not valid.', + 'class' => 'InvalidFilterKeyException', + ), + ), + ), + 'SendCommand' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'SendCommandResult', + 'responseType' => 'model', + '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' => 'AmazonSSM.SendCommand', + ), + 'InstanceIds' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'json', + 'minItems' => 1, + 'maxItems' => 50, + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'DocumentName' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'TimeoutSeconds' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 30, + 'maximum' => 2592000, + ), + 'Comment' => array( + 'type' => 'string', + 'location' => 'json', + ), + 'Parameters' => array( + 'type' => 'object', + 'location' => 'json', + 'additionalProperties' => array( + 'type' => 'array', + 'data' => array( + 'shape_name' => 'ParameterName', + ), + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), + 'OutputS3BucketName' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 3, + ), + 'OutputS3KeyPrefix' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'You cannot specify an instance ID in more than one association.', + 'class' => 'DuplicateInstanceIdException', + ), + array( + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', + 'class' => 'InvalidInstanceIdException', + ), + array( + 'reason' => 'The specified document does not exist.', + 'class' => 'InvalidDocumentException', + ), + array( + 'reason' => 'The S3 bucket does not exist.', + 'class' => 'InvalidOutputFolderException', + ), + array( + 'reason' => 'You must specify values for all required parameters in the SSM document. You can only supply values to parameters defined in the SSM document.', + 'class' => 'InvalidParametersException', + ), + array( + 'reason' => 'The document does not support the platform type of the given instance ID(s).', + 'class' => 'UnsupportedPlatformTypeException', + ), + ), + ), + 'UpdateAssociationStatus' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'UpdateAssociationStatusResult', + 'responseType' => 'model', + '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' => 'AmazonSSM.UpdateAssociationStatus', + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'InstanceId' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + ), + 'AssociationStatus' => array( + 'required' => true, + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'Date' => array( + 'required' => true, + 'type' => array( + 'object', + 'string', + 'integer', + ), + 'format' => 'date-time', + ), + 'Name' => array( + 'required' => true, + 'type' => 'string', + ), + 'Message' => array( + 'required' => true, + 'type' => 'string', + ), + 'AdditionalInfo' => array( + 'type' => 'string', + ), + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An error occurred on the server side.', + 'class' => 'InternalServerErrorException', + ), + array( + 'reason' => 'The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.', + 'class' => 'InvalidInstanceIdException', + ), + array( + 'reason' => 'The specified document does not exist.', + 'class' => 'InvalidDocumentException', + ), + array( + 'reason' => 'The specified association does not exist.', + 'class' => 'AssociationDoesNotExistException', + ), + array( + 'reason' => 'The updated status is the same as the current status.', + 'class' => 'StatusUnchangedException', + ), + array( + 'reason' => 'There are concurrent updates for a resource that supports one update at a time.', + 'class' => 'TooManyUpdatesException', + ), + ), + ), + ), + 'models' => array( + 'EmptyOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + ), + 'CreateAssociationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'AssociationDescription' => array( + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'InstanceId' => array( + 'type' => 'string', + ), + 'Date' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'object', + 'properties' => array( 'Date' => array( 'type' => 'string', ), @@ -701,6 +1118,16 @@ ), ), ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), ), ), ), @@ -743,6 +1170,16 @@ ), ), ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), ), ), ), @@ -763,6 +1200,16 @@ 'InstanceId' => array( 'type' => 'string', ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), ), ), 'Message' => array( @@ -796,14 +1243,43 @@ 'Status' => array( 'type' => 'string', ), + 'Description' => array( + 'type' => 'string', + ), + 'Parameters' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'DocumentParameter', + 'type' => 'object', + 'sentAs' => 'DocumentParameter', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Type' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'DefaultValue' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PlatformTypes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PlatformType', + 'type' => 'string', + 'sentAs' => 'PlatformType', + ), + ), ), ), ), ), - 'EmptyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), 'DescribeAssociationResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -838,6 +1314,16 @@ ), ), ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), ), ), ), @@ -862,10 +1348,88 @@ 'Status' => array( 'type' => 'string', ), + 'Description' => array( + 'type' => 'string', + ), + 'Parameters' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'DocumentParameter', + 'type' => 'object', + 'sentAs' => 'DocumentParameter', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Type' => array( + 'type' => 'string', + ), + 'Description' => array( + 'type' => 'string', + ), + 'DefaultValue' => array( + 'type' => 'string', + ), + ), + ), + ), + 'PlatformTypes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PlatformType', + 'type' => 'string', + 'sentAs' => 'PlatformType', + ), + ), ), ), ), ), + 'DescribeInstanceInformationResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'InstanceInformationList' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'InstanceInformation', + 'type' => 'object', + 'sentAs' => 'InstanceInformation', + 'properties' => array( + 'InstanceId' => array( + 'type' => 'string', + ), + 'PingStatus' => array( + 'type' => 'string', + ), + 'LastPingDateTime' => array( + 'type' => 'string', + ), + 'AgentVersion' => array( + 'type' => 'string', + ), + 'IsLatestVersion' => array( + 'type' => 'boolean', + ), + 'PlatformType' => array( + 'type' => 'string', + ), + 'PlatformName' => array( + 'type' => 'string', + ), + 'PlatformVersion' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'GetDocumentResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -907,6 +1471,141 @@ ), ), ), + 'ListCommandInvocationsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'CommandInvocations' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'CommandInvocation', + 'type' => 'object', + 'properties' => array( + 'CommandId' => array( + 'type' => 'string', + ), + 'InstanceId' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + 'DocumentName' => array( + 'type' => 'string', + ), + 'RequestedDateTime' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'TraceOutput' => array( + 'type' => 'string', + ), + 'CommandPlugins' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'CommandPlugin', + 'type' => 'object', + 'properties' => array( + 'Name' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'ResponseCode' => array( + 'type' => 'numeric', + ), + 'ResponseStartDateTime' => array( + 'type' => 'string', + ), + 'ResponseFinishDateTime' => array( + 'type' => 'string', + ), + 'Output' => array( + 'type' => 'string', + ), + 'OutputS3BucketName' => array( + 'type' => 'string', + ), + 'OutputS3KeyPrefix' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), + 'ListCommandsResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Commands' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Command', + 'type' => 'object', + 'properties' => array( + 'CommandId' => array( + 'type' => 'string', + ), + 'DocumentName' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + 'ExpiresAfter' => array( + 'type' => 'string', + ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), + 'InstanceIds' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'RequestedDateTime' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'OutputS3BucketName' => array( + 'type' => 'string', + ), + 'OutputS3KeyPrefix' => array( + 'type' => 'string', + ), + ), + ), + ), + 'NextToken' => array( + 'type' => 'string', + 'location' => 'json', + ), + ), + ), 'ListDocumentsResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -922,6 +1621,14 @@ 'Name' => array( 'type' => 'string', ), + 'PlatformTypes' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'PlatformType', + 'type' => 'string', + 'sentAs' => 'PlatformType', + ), + ), ), ), ), @@ -931,6 +1638,59 @@ ), ), ), + 'SendCommandResult' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'Command' => array( + 'type' => 'object', + 'location' => 'json', + 'properties' => array( + 'CommandId' => array( + 'type' => 'string', + ), + 'DocumentName' => array( + 'type' => 'string', + ), + 'Comment' => array( + 'type' => 'string', + ), + 'ExpiresAfter' => array( + 'type' => 'string', + ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), + 'InstanceIds' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'InstanceId', + 'type' => 'string', + ), + ), + 'RequestedDateTime' => array( + 'type' => 'string', + ), + 'Status' => array( + 'type' => 'string', + ), + 'OutputS3BucketName' => array( + 'type' => 'string', + ), + 'OutputS3KeyPrefix' => array( + 'type' => 'string', + ), + ), + ), + ), + ), 'UpdateAssociationStatusResult' => array( 'type' => 'object', 'additionalProperties' => true, @@ -965,6 +1725,16 @@ ), ), ), + 'Parameters' => array( + 'type' => 'object', + 'additionalProperties' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'ParameterValue', + 'type' => 'string', + ), + ), + ), ), ), ), diff --git a/vendor/aws/Aws/Ssm/SsmClient.php b/vendor/aws/Aws/Ssm/SsmClient.php index 7661810..438f336 100644 --- a/vendor/aws/Aws/Ssm/SsmClient.php +++ b/vendor/aws/Aws/Ssm/SsmClient.php @@ -26,6 +26,7 @@ /** * Client to interact with Amazon Simple Systems Management Service * + * @method Model cancelCommand(array $args = array()) {@command Ssm CancelCommand} * @method Model createAssociation(array $args = array()) {@command Ssm CreateAssociation} * @method Model createAssociationBatch(array $args = array()) {@command Ssm CreateAssociationBatch} * @method Model createDocument(array $args = array()) {@command Ssm CreateDocument} @@ -33,9 +34,13 @@ * @method Model deleteDocument(array $args = array()) {@command Ssm DeleteDocument} * @method Model describeAssociation(array $args = array()) {@command Ssm DescribeAssociation} * @method Model describeDocument(array $args = array()) {@command Ssm DescribeDocument} + * @method Model describeInstanceInformation(array $args = array()) {@command Ssm DescribeInstanceInformation} * @method Model getDocument(array $args = array()) {@command Ssm GetDocument} * @method Model listAssociations(array $args = array()) {@command Ssm ListAssociations} + * @method Model listCommandInvocations(array $args = array()) {@command Ssm ListCommandInvocations} + * @method Model listCommands(array $args = array()) {@command Ssm ListCommands} * @method Model listDocuments(array $args = array()) {@command Ssm ListDocuments} + * @method Model sendCommand(array $args = array()) {@command Ssm SendCommand} * @method Model updateAssociationStatus(array $args = array()) {@command Ssm UpdateAssociationStatus} * * @link http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-ssm.html User guide diff --git a/vendor/aws/Aws/StorageGateway/Resources/storagegateway-2013-06-30.php b/vendor/aws/Aws/StorageGateway/Resources/storagegateway-2013-06-30.php index cd95d44..000c6ee 100644 --- a/vendor/aws/Aws/StorageGateway/Resources/storagegateway-2013-06-30.php +++ b/vendor/aws/Aws/StorageGateway/Resources/storagegateway-2013-06-30.php @@ -97,46 +97,39 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 50, ), 'GatewayName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 2, - 'maxLength' => 255, ), 'GatewayTimezone' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 10, ), 'GatewayRegion' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 25, ), 'GatewayType' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 2, - 'maxLength' => 20, ), 'TapeDriveType' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 2, - 'maxLength' => 50, ), 'MediumChangerType' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 2, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -176,7 +169,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'DiskIds' => array( 'required' => true, @@ -186,7 +178,65 @@ 'name' => 'DiskId', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 300, + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information.', + 'class' => 'InvalidGatewayRequestException', + ), + array( + 'reason' => 'An internal server error has occurred during the request. See the error and message fields for more information.', + 'class' => 'InternalServerErrorException', + ), + ), + ), + 'AddTagsToResource' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'AddTagsToResourceOutput', + 'responseType' => 'model', + '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_20130630.AddTagsToResource', + ), + 'ResourceARN' => array( + 'required' => true, + 'type' => 'string', + 'location' => 'json', + 'minLength' => 50, + ), + 'Tags' => array( + 'required' => true, + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'required' => true, + 'type' => 'string', + 'minLength' => 1, + ), + 'Value' => array( + 'required' => true, + 'type' => 'string', + ), + ), ), ), ), @@ -227,7 +277,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'DiskIds' => array( 'required' => true, @@ -237,7 +286,6 @@ 'name' => 'DiskId', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 300, ), ), ), @@ -278,7 +326,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'DiskIds' => array( 'required' => true, @@ -288,7 +335,6 @@ 'name' => 'DiskId', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 300, ), ), ), @@ -329,14 +375,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'TapeARN' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -376,14 +420,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'TapeARN' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -423,7 +465,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'VolumeSizeInBytes' => array( 'required' => true, @@ -439,7 +480,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 200, ), 'NetworkInterfaceId' => array( 'required' => true, @@ -451,7 +491,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 5, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -491,14 +530,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'SnapshotDescription' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -538,14 +575,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'SnapshotDescription' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -585,14 +620,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'DiskId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 300, ), 'SnapshotId' => array( 'type' => 'string', @@ -609,7 +642,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 200, ), 'NetworkInterfaceId' => array( 'required' => true, @@ -654,7 +686,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'TapeSizeInBytes' => array( 'required' => true, @@ -666,7 +697,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 5, - 'maxLength' => 100, ), 'NumTapesToCreate' => array( 'required' => true, @@ -680,7 +710,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 4, ), ), 'errorResponses' => array( @@ -720,14 +749,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'BandwidthType' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 25, ), ), 'errorResponses' => array( @@ -767,14 +794,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 800, ), 'InitiatorName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -814,7 +839,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -854,7 +878,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -894,14 +917,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'TapeARN' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -941,7 +962,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -981,7 +1001,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1021,7 +1040,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1061,7 +1079,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1104,7 +1121,6 @@ 'name' => 'VolumeARN', 'type' => 'string', 'minLength' => 50, - 'maxLength' => 500, ), ), ), @@ -1145,7 +1161,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 800, ), ), 'errorResponses' => array( @@ -1185,7 +1200,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1225,7 +1239,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1265,7 +1278,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1308,7 +1320,6 @@ 'name' => 'VolumeARN', 'type' => 'string', 'minLength' => 50, - 'maxLength' => 500, ), ), ), @@ -1351,14 +1362,12 @@ 'name' => 'TapeARN', 'type' => 'string', 'minLength' => 50, - 'maxLength' => 500, ), ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1000, ), 'Limit' => array( 'type' => 'numeric', @@ -1403,13 +1412,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1000, ), 'Limit' => array( 'type' => 'numeric', @@ -1454,7 +1461,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'TapeARNs' => array( 'type' => 'array', @@ -1463,14 +1469,12 @@ 'name' => 'TapeARN', 'type' => 'string', 'minLength' => 50, - 'maxLength' => 500, ), ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1000, ), 'Limit' => array( 'type' => 'numeric', @@ -1515,7 +1519,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1555,7 +1558,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'VTLDeviceARNs' => array( 'type' => 'array', @@ -1564,14 +1566,12 @@ 'name' => 'VTLDeviceARN', 'type' => 'string', 'minLength' => 50, - 'maxLength' => 500, ), ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1000, ), 'Limit' => array( 'type' => 'numeric', @@ -1616,7 +1616,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1656,7 +1655,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1695,7 +1693,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1000, ), 'Limit' => array( 'type' => 'numeric', @@ -1740,7 +1737,54 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information.', + 'class' => 'InvalidGatewayRequestException', + ), + array( + 'reason' => 'An internal server error has occurred during the request. See the error and message fields for more information.', + 'class' => 'InternalServerErrorException', + ), + ), + ), + 'ListTagsForResource' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'ListTagsForResourceOutput', + 'responseType' => 'model', + '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_20130630.ListTagsForResource', + ), + 'ResourceARN' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 50, + ), + 'Marker' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 1, + ), + 'Limit' => array( + 'type' => 'numeric', + 'location' => 'json', + 'minimum' => 1, ), ), 'errorResponses' => array( @@ -1780,7 +1824,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1820,7 +1863,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1860,13 +1902,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'Marker' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1000, ), 'Limit' => array( 'type' => 'numeric', @@ -1885,6 +1925,53 @@ ), ), ), + 'RemoveTagsFromResource' => array( + 'httpMethod' => 'POST', + 'uri' => '/', + 'class' => 'Aws\\Common\\Command\\JsonCommand', + 'responseClass' => 'RemoveTagsFromResourceOutput', + 'responseType' => 'model', + '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_20130630.RemoveTagsFromResource', + ), + 'ResourceARN' => array( + 'type' => 'string', + 'location' => 'json', + 'minLength' => 50, + ), + 'TagKeys' => array( + 'type' => 'array', + 'location' => 'json', + 'items' => array( + 'name' => 'TagKey', + 'type' => 'string', + 'minLength' => 1, + ), + ), + ), + 'errorResponses' => array( + array( + 'reason' => 'An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information.', + 'class' => 'InvalidGatewayRequestException', + ), + array( + 'reason' => 'An internal server error has occurred during the request. See the error and message fields for more information.', + 'class' => 'InternalServerErrorException', + ), + ), + ), 'ResetCache' => array( 'httpMethod' => 'POST', 'uri' => '/', @@ -1911,7 +1998,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1951,14 +2037,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'GatewayARN' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -1998,14 +2082,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'GatewayARN' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -2045,7 +2127,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -2085,7 +2166,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -2125,7 +2205,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'AverageUploadRateLimitInBitsPerSec' => array( 'type' => 'numeric', @@ -2175,27 +2254,23 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 800, ), 'SecretToAuthenticateInitiator' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), 'InitiatorName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 255, ), 'SecretToAuthenticateTarget' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 100, ), ), 'errorResponses' => array( @@ -2235,19 +2310,16 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'GatewayName' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 2, - 'maxLength' => 255, ), 'GatewayTimezone' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 3, - 'maxLength' => 10, ), ), 'errorResponses' => array( @@ -2287,7 +2359,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), ), 'errorResponses' => array( @@ -2327,7 +2398,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'HourOfDay' => array( 'required' => true, @@ -2385,7 +2455,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'StartAt' => array( 'required' => true, @@ -2404,7 +2473,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 255, ), ), 'errorResponses' => array( @@ -2444,14 +2512,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 50, - 'maxLength' => 500, ), 'DeviceType' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 2, - 'maxLength' => 50, ), ), 'errorResponses' => array( @@ -2473,7 +2539,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2483,7 +2548,15 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', + ), + ), + ), + 'AddTagsToResourceOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ResourceARN' => array( + 'type' => 'string', ), ), ), @@ -2493,7 +2566,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2503,7 +2575,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2513,7 +2584,6 @@ 'properties' => array( 'TapeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2523,7 +2593,6 @@ 'properties' => array( 'TapeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2533,11 +2602,9 @@ 'properties' => array( 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), 'TargetARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2547,11 +2614,9 @@ 'properties' => array( 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), 'SnapshotId' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2561,15 +2626,12 @@ 'properties' => array( 'SnapshotId' => array( 'type' => 'string', - 'location' => 'json', ), 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), 'VolumeRecoveryPointTime' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2579,15 +2641,12 @@ 'properties' => array( 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), 'VolumeSizeInBytes' => array( 'type' => 'numeric', - 'location' => 'json', ), 'TargetARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2597,7 +2656,6 @@ 'properties' => array( 'TapeARNs' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'TapeARN', 'type' => 'string', @@ -2611,7 +2669,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2621,11 +2678,9 @@ 'properties' => array( 'TargetARN' => array( 'type' => 'string', - 'location' => 'json', ), 'InitiatorName' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2635,7 +2690,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2645,7 +2699,6 @@ 'properties' => array( 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2655,7 +2708,6 @@ 'properties' => array( 'TapeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2665,7 +2717,6 @@ 'properties' => array( 'TapeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2675,7 +2726,6 @@ 'properties' => array( 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2685,15 +2735,12 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'AverageUploadRateLimitInBitsPerSec' => array( 'type' => 'numeric', - 'location' => 'json', ), 'AverageDownloadRateLimitInBitsPerSec' => array( 'type' => 'numeric', - 'location' => 'json', ), ), ), @@ -2703,11 +2750,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'DiskIds' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'DiskId', 'type' => 'string', @@ -2715,23 +2760,18 @@ ), 'CacheAllocatedInBytes' => array( 'type' => 'numeric', - 'location' => 'json', ), 'CacheUsedPercentage' => array( 'type' => 'numeric', - 'location' => 'json', ), 'CacheDirtyPercentage' => array( 'type' => 'numeric', - 'location' => 'json', ), 'CacheHitPercentage' => array( 'type' => 'numeric', - 'location' => 'json', ), 'CacheMissPercentage' => array( 'type' => 'numeric', - 'location' => 'json', ), ), ), @@ -2741,7 +2781,6 @@ 'properties' => array( 'CachediSCSIVolumes' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'CachediSCSIVolume', 'type' => 'object', @@ -2798,7 +2837,6 @@ 'properties' => array( 'ChapCredentials' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'ChapInfo', 'type' => 'object', @@ -2826,23 +2864,21 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'GatewayId' => array( 'type' => 'string', - 'location' => 'json', + ), + 'GatewayName' => array( + 'type' => 'string', ), 'GatewayTimezone' => array( 'type' => 'string', - 'location' => 'json', ), 'GatewayState' => array( 'type' => 'string', - 'location' => 'json', ), 'GatewayNetworkInterfaces' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'NetworkInterface', 'type' => 'object', @@ -2861,15 +2897,12 @@ ), 'GatewayType' => array( 'type' => 'string', - 'location' => 'json', ), 'NextUpdateAvailabilityDate' => array( 'type' => 'string', - 'location' => 'json', ), 'LastSoftwareUpdate' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -2879,23 +2912,18 @@ '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', ), ), ), @@ -2905,23 +2933,18 @@ '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', ), ), ), @@ -2931,7 +2954,6 @@ 'properties' => array( 'StorediSCSIVolumes' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'StorediSCSIVolume', 'type' => 'object', @@ -2994,7 +3016,6 @@ 'properties' => array( 'TapeArchives' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'TapeArchive', 'type' => 'object', @@ -3022,7 +3043,6 @@ ), 'Marker' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3032,11 +3052,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'TapeRecoveryPointInfos' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'TapeRecoveryPointInfo', 'type' => 'object', @@ -3058,7 +3076,6 @@ ), 'Marker' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3068,7 +3085,6 @@ 'properties' => array( 'Tapes' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'Tape', 'type' => 'object', @@ -3096,7 +3112,6 @@ ), 'Marker' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3106,11 +3121,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'DiskIds' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'DiskId', 'type' => 'string', @@ -3118,11 +3131,9 @@ ), 'UploadBufferUsedInBytes' => array( 'type' => 'numeric', - 'location' => 'json', ), 'UploadBufferAllocatedInBytes' => array( 'type' => 'numeric', - 'location' => 'json', ), ), ), @@ -3132,11 +3143,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'VTLDevices' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'VTLDevice', 'type' => 'object', @@ -3175,7 +3184,6 @@ ), 'Marker' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3185,11 +3193,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'DiskIds' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'DiskId', 'type' => 'string', @@ -3197,11 +3203,9 @@ ), 'WorkingStorageUsedInBytes' => array( 'type' => 'numeric', - 'location' => 'json', ), 'WorkingStorageAllocatedInBytes' => array( 'type' => 'numeric', - 'location' => 'json', ), ), ), @@ -3211,7 +3215,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3221,7 +3224,6 @@ 'properties' => array( 'Gateways' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'GatewayInfo', 'type' => 'object', @@ -3235,12 +3237,14 @@ 'GatewayOperationalState' => array( 'type' => 'string', ), + 'GatewayName' => array( + 'type' => 'string', + ), ), ), ), 'Marker' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3250,11 +3254,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'Disks' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'Disk', 'type' => 'object', @@ -3285,13 +3287,39 @@ ), ), ), + 'ListTagsForResourceOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ResourceARN' => array( + 'type' => 'string', + ), + 'Marker' => array( + 'type' => 'string', + ), + 'Tags' => array( + 'type' => 'array', + 'items' => array( + 'name' => 'Tag', + 'type' => 'object', + 'properties' => array( + 'Key' => array( + 'type' => 'string', + ), + 'Value' => array( + 'type' => 'string', + ), + ), + ), + ), + ), + ), 'ListVolumeInitiatorsOutput' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Initiators' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'Initiator', 'type' => 'string', @@ -3305,11 +3333,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), 'VolumeRecoveryPointInfos' => array( 'type' => 'array', - 'location' => 'json', 'items' => array( 'name' => 'VolumeRecoveryPointInfo', 'type' => 'object', @@ -3337,15 +3363,12 @@ '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', @@ -3361,13 +3384,21 @@ ), ), ), + 'RemoveTagsFromResourceOutput' => array( + 'type' => 'object', + 'additionalProperties' => true, + 'properties' => array( + 'ResourceARN' => array( + 'type' => 'string', + ), + ), + ), 'ResetCacheOutput' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3377,7 +3408,6 @@ 'properties' => array( 'TapeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3387,7 +3417,6 @@ 'properties' => array( 'TapeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3397,7 +3426,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3407,7 +3435,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3417,7 +3444,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3427,11 +3453,9 @@ 'properties' => array( 'TargetARN' => array( 'type' => 'string', - 'location' => 'json', ), 'InitiatorName' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3441,7 +3465,9 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', + ), + 'GatewayName' => array( + 'type' => 'string', ), ), ), @@ -3451,7 +3477,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3461,7 +3486,6 @@ 'properties' => array( 'GatewayARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3471,7 +3495,6 @@ 'properties' => array( 'VolumeARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), @@ -3481,7 +3504,6 @@ 'properties' => array( 'VTLDeviceARN' => array( 'type' => 'string', - 'location' => 'json', ), ), ), diff --git a/vendor/aws/Aws/StorageGateway/StorageGatewayClient.php b/vendor/aws/Aws/StorageGateway/StorageGatewayClient.php index 475f046..c4a60f1 100644 --- a/vendor/aws/Aws/StorageGateway/StorageGatewayClient.php +++ b/vendor/aws/Aws/StorageGateway/StorageGatewayClient.php @@ -29,6 +29,7 @@ * * @method Model activateGateway(array $args = array()) {@command StorageGateway ActivateGateway} * @method Model addCache(array $args = array()) {@command StorageGateway AddCache} + * @method Model addTagsToResource(array $args = array()) {@command StorageGateway AddTagsToResource} * @method Model addUploadBuffer(array $args = array()) {@command StorageGateway AddUploadBuffer} * @method Model addWorkingStorage(array $args = array()) {@command StorageGateway AddWorkingStorage} * @method Model cancelArchival(array $args = array()) {@command StorageGateway CancelArchival} @@ -62,9 +63,11 @@ * @method Model disableGateway(array $args = array()) {@command StorageGateway DisableGateway} * @method Model listGateways(array $args = array()) {@command StorageGateway ListGateways} * @method Model listLocalDisks(array $args = array()) {@command StorageGateway ListLocalDisks} + * @method Model listTagsForResource(array $args = array()) {@command StorageGateway ListTagsForResource} * @method Model listVolumeInitiators(array $args = array()) {@command StorageGateway ListVolumeInitiators} * @method Model listVolumeRecoveryPoints(array $args = array()) {@command StorageGateway ListVolumeRecoveryPoints} * @method Model listVolumes(array $args = array()) {@command StorageGateway ListVolumes} + * @method Model removeTagsFromResource(array $args = array()) {@command StorageGateway RemoveTagsFromResource} * @method Model resetCache(array $args = array()) {@command StorageGateway ResetCache} * @method Model retrieveTapeArchive(array $args = array()) {@command StorageGateway RetrieveTapeArchive} * @method Model retrieveTapeRecoveryPoint(array $args = array()) {@command StorageGateway RetrieveTapeRecoveryPoint} diff --git a/vendor/aws/Aws/Sts/Resources/sts-2011-06-15.php b/vendor/aws/Aws/Sts/Resources/sts-2011-06-15.php index 96c89c5..b987bb2 100644 --- a/vendor/aws/Aws/Sts/Resources/sts-2011-06-15.php +++ b/vendor/aws/Aws/Sts/Resources/sts-2011-06-15.php @@ -99,20 +99,17 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'RoleSessionName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, - 'maxLength' => 32, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 2048, ), 'DurationSeconds' => array( 'type' => 'numeric', @@ -124,19 +121,16 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, - 'maxLength' => 96, ), 'SerialNumber' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, - 'maxLength' => 256, ), 'TokenCode' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, - 'maxLength' => 6, ), ), 'errorResponses' => array( @@ -172,33 +166,29 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'PrincipalArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'SAMLAssertion' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 50000, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 2048, ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, - 'maximum' => 129600, + 'maximum' => 3600, ), ), 'errorResponses' => array( @@ -246,39 +236,34 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, - 'maxLength' => 2048, ), 'RoleSessionName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, - 'maxLength' => 32, ), 'WebIdentityToken' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 2048, ), 'ProviderId' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, - 'maxLength' => 2048, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 2048, ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, - 'maximum' => 129600, + 'maximum' => 3600, ), ), 'errorResponses' => array( @@ -330,7 +315,6 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 10240, ), ), 'errorResponses' => array( @@ -362,13 +346,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, - 'maxLength' => 32, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, - 'maxLength' => 2048, ), 'DurationSeconds' => array( 'type' => 'numeric', @@ -415,13 +397,11 @@ 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, - 'maxLength' => 256, ), 'TokenCode' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, - 'maxLength' => 6, ), ), ), diff --git a/vendor/aws/Aws/Support/Resources/support-2013-04-15.php b/vendor/aws/Aws/Support/Resources/support-2013-04-15.php index 4431f61..fbef1d0 100644 --- a/vendor/aws/Aws/Support/Resources/support-2013-04-15.php +++ b/vendor/aws/Aws/Support/Resources/support-2013-04-15.php @@ -130,7 +130,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 8000, ), 'ccEmailAddresses' => array( 'type' => 'array', @@ -208,7 +207,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 8000, ), 'ccEmailAddresses' => array( 'type' => 'array', diff --git a/vendor/aws/Aws/Swf/Resources/swf-2012-01-25.php b/vendor/aws/Aws/Swf/Resources/swf-2012-01-25.php index bed73df..43c08ea 100644 --- a/vendor/aws/Aws/Swf/Resources/swf-2012-01-25.php +++ b/vendor/aws/Aws/Swf/Resources/swf-2012-01-25.php @@ -104,7 +104,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'startTimeFilter' => array( 'type' => 'object', @@ -160,7 +159,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -172,11 +170,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'type' => 'string', - 'maxLength' => 64, ), ), ), @@ -188,7 +184,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -240,7 +235,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'startTimeFilter' => array( 'required' => true, @@ -274,11 +268,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'type' => 'string', - 'maxLength' => 64, ), ), ), @@ -290,7 +282,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -302,7 +293,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -344,7 +334,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'taskList' => array( 'required' => true, @@ -355,7 +344,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -397,7 +385,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'taskList' => array( 'required' => true, @@ -408,7 +395,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -450,7 +436,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'activityType' => array( 'required' => true, @@ -461,13 +446,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -513,7 +496,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -557,7 +539,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowType' => array( 'required' => true, @@ -568,13 +549,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -620,7 +599,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'activityType' => array( 'required' => true, @@ -631,13 +609,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -679,7 +655,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -719,7 +694,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'execution' => array( 'required' => true, @@ -730,13 +704,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'runId' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -778,7 +750,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowType' => array( 'required' => true, @@ -789,13 +760,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -837,7 +806,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'execution' => array( 'required' => true, @@ -848,20 +816,17 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'runId' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'maximumPageSize' => array( 'type' => 'numeric', @@ -911,13 +876,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'name' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'registrationStatus' => array( 'required' => true, @@ -927,7 +890,6 @@ 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'maximumPageSize' => array( 'type' => 'numeric', @@ -977,7 +939,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'startTimeFilter' => array( 'type' => 'object', @@ -1033,7 +994,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -1055,11 +1015,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'type' => 'string', - 'maxLength' => 64, ), ), ), @@ -1071,14 +1029,12 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'maximumPageSize' => array( 'type' => 'numeric', @@ -1126,7 +1082,6 @@ 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'registrationStatus' => array( 'required' => true, @@ -1177,7 +1132,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'startTimeFilter' => array( 'required' => true, @@ -1211,11 +1165,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'type' => 'string', - 'maxLength' => 64, ), ), ), @@ -1227,14 +1179,12 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'maximumPageSize' => array( 'type' => 'numeric', @@ -1254,7 +1204,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -1296,13 +1245,11 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'name' => array( 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'registrationStatus' => array( 'required' => true, @@ -1312,7 +1259,6 @@ 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'maximumPageSize' => array( 'type' => 'numeric', @@ -1362,7 +1308,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'taskList' => array( 'required' => true, @@ -1373,14 +1318,12 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'identity' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), ), 'errorResponses' => array( @@ -1424,7 +1367,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'taskList' => array( 'required' => true, @@ -1435,19 +1377,16 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'identity' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'nextPageToken' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), 'maximumPageSize' => array( 'type' => 'numeric', @@ -1501,12 +1440,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'details' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 2048, ), ), 'errorResponses' => array( @@ -1546,36 +1483,30 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'name' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'defaultTaskStartToCloseTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'defaultTaskHeartbeatTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'defaultTaskList' => array( 'type' => 'object', @@ -1585,24 +1516,20 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'defaultTaskPriority' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 11, ), 'defaultTaskScheduleToStartTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'defaultTaskScheduleToCloseTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), ), 'errorResponses' => array( @@ -1650,19 +1577,16 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'workflowExecutionRetentionPeriodInDays' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 8, ), ), 'errorResponses' => array( @@ -1706,36 +1630,30 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'name' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 64, ), 'description' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 1024, ), 'defaultTaskStartToCloseTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'defaultExecutionStartToCloseTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'defaultTaskList' => array( 'type' => 'object', @@ -1745,14 +1663,12 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'defaultTaskPriority' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 11, ), 'defaultChildPolicy' => array( 'type' => 'string', @@ -1804,19 +1720,16 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'runId' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 64, ), ), 'errorResponses' => array( @@ -1856,12 +1769,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'details' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), ), 'errorResponses' => array( @@ -1901,12 +1812,10 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'result' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), ), 'errorResponses' => array( @@ -1946,17 +1855,14 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'reason' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'details' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), ), 'errorResponses' => array( @@ -1996,7 +1902,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 1024, ), 'decisions' => array( 'type' => 'array', @@ -2020,13 +1925,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -2034,19 +1937,15 @@ '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', @@ -2055,25 +1954,20 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'taskPriority' => array( 'type' => 'string', - 'maxLength' => 11, ), 'scheduleToStartTimeout' => array( 'type' => 'string', - 'maxLength' => 8, ), 'startToCloseTimeout' => array( 'type' => 'string', - 'maxLength' => 8, ), 'heartbeatTimeout' => array( 'type' => 'string', - 'maxLength' => 8, ), ), ), @@ -2084,7 +1978,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -2093,7 +1986,6 @@ 'properties' => array( 'result' => array( 'type' => 'string', - 'maxLength' => 32768, ), ), ), @@ -2102,11 +1994,9 @@ 'properties' => array( 'reason' => array( 'type' => 'string', - 'maxLength' => 256, ), 'details' => array( 'type' => 'string', - 'maxLength' => 32768, ), ), ), @@ -2115,7 +2005,6 @@ 'properties' => array( 'details' => array( 'type' => 'string', - 'maxLength' => 32768, ), ), ), @@ -2124,11 +2013,9 @@ 'properties' => array( 'input' => array( 'type' => 'string', - 'maxLength' => 32768, ), 'executionStartToCloseTimeout' => array( 'type' => 'string', - 'maxLength' => 8, ), 'taskList' => array( 'type' => 'object', @@ -2137,17 +2024,14 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'taskPriority' => array( 'type' => 'string', - 'maxLength' => 11, ), 'taskStartToCloseTimeout' => array( 'type' => 'string', - 'maxLength' => 8, ), 'childPolicy' => array( 'type' => 'string', @@ -2159,13 +2043,11 @@ 'name' => 'Tag', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), 'workflowTypeVersion' => array( 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -2176,11 +2058,9 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'details' => array( 'type' => 'string', - 'maxLength' => 32768, ), ), ), @@ -2191,17 +2071,14 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'control' => array( 'type' => 'string', - 'maxLength' => 32768, ), 'startToFireTimeout' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 8, ), ), ), @@ -2212,7 +2089,6 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -2223,25 +2099,20 @@ '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, ), ), ), @@ -2252,15 +2123,12 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'runId' => array( 'type' => 'string', - 'maxLength' => 64, ), 'control' => array( 'type' => 'string', - 'maxLength' => 32768, ), ), ), @@ -2275,13 +2143,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -2289,19 +2155,15 @@ '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', @@ -2310,17 +2172,14 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'taskPriority' => array( 'type' => 'string', - 'maxLength' => 11, ), 'taskStartToCloseTimeout' => array( 'type' => 'string', - 'maxLength' => 8, ), 'childPolicy' => array( 'type' => 'string', @@ -2332,7 +2191,6 @@ 'name' => 'Tag', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), @@ -2343,7 +2201,6 @@ 'executionContext' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), ), 'errorResponses' => array( @@ -2383,31 +2240,26 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'runId' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 64, ), 'signalName' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'input' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), ), 'errorResponses' => array( @@ -2447,14 +2299,12 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowType' => array( 'required' => true, @@ -2465,13 +2315,11 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), 'version' => array( 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 64, ), ), ), @@ -2483,24 +2331,20 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), ), 'taskPriority' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 11, ), 'input' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), 'executionStartToCloseTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'tagList' => array( 'type' => 'array', @@ -2510,13 +2354,11 @@ 'name' => 'Tag', 'type' => 'string', 'minLength' => 1, - 'maxLength' => 256, ), ), 'taskStartToCloseTimeout' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 8, ), 'childPolicy' => array( 'type' => 'string', @@ -2575,29 +2417,24 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'workflowId' => array( 'required' => true, 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 256, ), 'runId' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 64, ), 'reason' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 256, ), 'details' => array( 'type' => 'string', 'location' => 'json', - 'maxLength' => 32768, ), 'childPolicy' => array( 'type' => 'string', diff --git a/vendor/aws/Aws/WorkSpaces/Resources/workspaces-2015-04-08.php b/vendor/aws/Aws/WorkSpaces/Resources/workspaces-2015-04-08.php index 0379e0e..8120c65 100644 --- a/vendor/aws/Aws/WorkSpaces/Resources/workspaces-2015-04-08.php +++ b/vendor/aws/Aws/WorkSpaces/Resources/workspaces-2015-04-08.php @@ -1,4 +1,18 @@ '2015-04-08', @@ -49,12 +63,22 @@ 'required' => true, 'type' => 'string', 'minLength' => 1, - 'maxLength' => 63, ), 'BundleId' => array( 'required' => true, 'type' => 'string', ), + 'VolumeEncryptionKey' => array( + 'type' => 'string', + ), + 'UserVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), + 'RootVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + 'format' => 'boolean-string', + ), ), ), ), @@ -105,7 +129,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 63, ), ), 'errorResponses' => array( @@ -150,7 +173,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 63, ), ), 'errorResponses' => array( @@ -199,7 +221,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 63, ), 'BundleId' => array( 'type' => 'string', @@ -215,7 +236,6 @@ 'type' => 'string', 'location' => 'json', 'minLength' => 1, - 'maxLength' => 63, ), ), 'errorResponses' => array( @@ -374,6 +394,15 @@ 'BundleId' => array( 'type' => 'string', ), + 'VolumeEncryptionKey' => array( + 'type' => 'string', + ), + 'UserVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + ), + 'RootVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + ), ), ), 'ErrorCode' => array( @@ -419,6 +448,18 @@ 'ErrorCode' => array( 'type' => 'string', ), + 'ComputerName' => array( + 'type' => 'string', + ), + 'VolumeEncryptionKey' => array( + 'type' => 'string', + ), + 'UserVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + ), + 'RootVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + ), ), ), ), @@ -591,6 +632,18 @@ 'ErrorCode' => array( 'type' => 'string', ), + 'ComputerName' => array( + 'type' => 'string', + ), + 'VolumeEncryptionKey' => array( + 'type' => 'string', + ), + 'UserVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + ), + 'RootVolumeEncryptionEnabled' => array( + 'type' => 'boolean', + ), ), ), ), @@ -676,4 +729,22 @@ ), ), ), + 'iterators' => array( + 'DescribeWorkspaceBundles' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'result_key' => 'Bundles', + ), + 'DescribeWorkspaceDirectories' => array( + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'result_key' => 'Directories', + ), + 'DescribeWorkspaces' => array( + 'limit_key' => 'Limit', + 'input_token' => 'NextToken', + 'output_token' => 'NextToken', + 'result_key' => 'Workspaces', + ), + ), ); diff --git a/vendor/aws/Aws/WorkSpaces/WorkSpacesClient.php b/vendor/aws/Aws/WorkSpaces/WorkSpacesClient.php index b14d3dd..768af6e 100644 --- a/vendor/aws/Aws/WorkSpaces/WorkSpacesClient.php +++ b/vendor/aws/Aws/WorkSpaces/WorkSpacesClient.php @@ -19,6 +19,9 @@ * @method Model rebootWorkspaces(array $args = array()) {@command WorkSpaces RebootWorkspaces} * @method Model rebuildWorkspaces(array $args = array()) {@command WorkSpaces RebuildWorkspaces} * @method Model terminateWorkspaces(array $args = array()) {@command WorkSpaces TerminateWorkspaces} + * @method ResourceIteratorInterface getDescribeWorkspaceBundlesIterator(array $args = array()) The input array uses the parameters of the DescribeWorkspaceBundles operation + * @method ResourceIteratorInterface getDescribeWorkspaceDirectoriesIterator(array $args = array()) The input array uses the parameters of the DescribeWorkspaceDirectories operation + * @method ResourceIteratorInterface getDescribeWorkspacesIterator(array $args = array()) The input array uses the parameters of the DescribeWorkspaces operation * * @link http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-workspaces.html User guide * @link http://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.WorkSpaces.WorkSpacesClient.html API docs diff --git a/vendor/aws/CHANGELOG.md b/vendor/aws/CHANGELOG.md index d3528f4..30b5dff 100644 --- a/vendor/aws/CHANGELOG.md +++ b/vendor/aws/CHANGELOG.md @@ -1,6 +1,130 @@ # CHANGELOG +## 2.8.31 - 2016-07-25 + +* `Add configurable backoff retries` + +## 2.8.30 - 2016-05-03 + +* `Aws\Lambda` - Fixed bug in `UpdateFunctionCode`. + +## 2.8.29 - 2016-04-11 + +* `Aws\Lambda` - Fixed bug in `UpdateFunctionCode`. + +## 2.8.28 - 2016-04-05 + +* `Aws\Common` - Fixed a race condition caused by credentials expiring and being + refreshed after a request signature had been partially calculated. + +## 2.8.27 - 2016-01-29 + +* Remove all 'maxLength' constraints from models. This validation will be + handled server-side. + +## 2.8.26 - 2016-01-29 + +* `Aws\Ssm` - Added support for long EC2 instance IDs. + +## 2.8.25 - 2016-01-25 + +* `Aws\AutoScaling` - Added support for setting and describing instance + protection status. +* `Aws\CloudFront` - Added support using AWS ACM certificates with CloudFront + distributions. +* `Aws\CloudFront` - Added support for new origin security features. +* `Aws\CloudFront` - Added support for GZip compression. +* `Aws\Ec2` - Added support for EC2 dedicated hosts. +* `Aws\Ec2` - Added support for scheduled instances. +* `Aws\Ec2` - Added support for DNS resolution of public hostnames to private IP + addresses when queried over ClassicLink. Additionally, private hosted zones + associated with your VPC can now be accessed from a linked EC2-Classic + instance. +* `Aws\Ec2` - Added support for managed NATs. +* `Aws\Ec2` - Added support for specifying encryption on CopyImage commands. + +## 2.8.24 - 2015-11-16 + +* `Aws\DeviceFarm` - Added support for managing projects, device pools, runs, + and uploads. +* `Aws\DynamoDb` - Fixed bug where properly opening sessions might return false + on HHVM. +* `Aws\DynamoDb` - Fixed bug where calling `session_regenerate_id` without + changing session data would prevent data from being carried over from the + previous session ID. +* `Aws\Sts` - Added support for 64-character role session names. + +## 2.8.23 - 2015-11-02 + +* `Aws\AutoScaling` - Added support for EBS encryption. +* `Aws\Iam` - Added support for resource-based policy simulations. +* `Aws\Iam` - Added support for service-aware policy simulation. +* `Aws\Ssm` - Added support for EC2 Run Command, a new EC2 feature that enables + you to securely and remotely manage the configuration of your Amazon EC2 + Windows instances. + +## 2.8.22 - 2015-10-15 + +* `Aws\CloudFormation` - Added support for specifying affected resource types + in `CreateStack` and `UpdateStack` operations. +* `Aws\CloudFormation` - Added support for the `DescribeAccountLimits` API. +* `Aws\CloudFront` - Added support for WebACL identifiers and related + operations. +* `Aws\Cloudtrail` - Added support for log file integrity validation, log + encryption with AWS KMS–Managed Keys (SSE-KMS), and trail tagging. +* `Aws\CloudWatchLogs` - Added support for export task operations. +* `Aws\ConfigService` - Added support for config rules, evaluation strategies, + and compliance querying. +* `Aws\Ec2` - Added support for spot blocks. +* `Aws\Ecs` - Added support for more Docker options hostname, Docker labels, + working directory, networking disabled, privileged execution, read-only root + filesystem, DNS servers, DNS search domains, ulimits, log configuration, extra + hosts (hosts to add to /etc/hosts), and security options (for MLS systems like + SELinux). +* `Aws\Lambda` - Added support for function versioning. +* `Aws\Kinesis` - Added support for increasing and decreasing stream retention + periods. +* `Aws\Kms` - Added support for scheduling and cancelling key deletions and + listing retirable grants. +* `Aws\S3` - Added support for specifying server side encryption on an when + uploading a part of a multipart upload. +* `Aws\Ses` - Added support for inbound email APIs. +* `Aws\Workspaces` - Added support for storage volume encryption with AWS KMS. + +## 2.8.21 - 2015-09-16 + +* `Aws\Ec2` - Added support for the "diversified" SpotFleet allocation strategy. +* `Aws\Ec2` - Added support for reading `StateMessage` and `DataEncryptionKeyId` + from a `DescribeSnapshots` response. +* `Aws\Iam` - Added support for new policy simulation APIs. +* `Aws\Kinesis` - Added support for timestamped GetRecords call. +* `Aws\MachineLearning` - Fixed invalid validation constraint on `Predict` + operation. +* `Aws\OpsWorks` - Added support for operations on ECS clusters. +* `Aws\Route53` - Added support for calculated and latency health checks. +* `Aws\S3` - Added support for new `STANDARD_IA` storage class. +* `Aws\S3` - Added support for specifying storage class in cross-region + replication configuration. +* `Aws\StorageGateway` - Added support for tagging and untagging resources. + +## 2.8.20 - 2015-09-03 + +* `Aws\CodePipeline` - Added support for using encryption keys with artifact + stores. +* `Aws\ConfigService` - Added support for the `ListDiscoveredResources` + operation and new resource types. +* `Aws\Ec2` - Added support for using instance weights with the + `RequestSpotFleet` API. +* `Aws\Sns` - Added support for configurable SigningCertURL host patterns. +* `Aws\StorageGateway` - Added support for tagging and untagging resources. +* Fixed issue with loading the phar from opcache. + +## 2.8.19 - 2015-08-20 + +* `Aws\S3` - Added support for event notification filters. + ## 2.8.18 - 2015-08-12 + * `Aws\ElasticBeanstalk` - Added support for enhanced health reporting. * `Aws\Glacier` - Fixed an issue where content bodies that equaled false (e.g., '0') would not be uploaded. @@ -39,7 +163,7 @@ ## 2.8.13 - 2015-07-09 * `Aws\AutoScaling` - Added support for step policies. -* `Aws\CodeCommit` - Added support for AWS CodeCommit, a secure, highly +* `Aws\CodeCommit` - Added support for AWS CodeCommit, a secure, highly scalable, managed source control service that hosts private Git repositories. * `Aws\CodePipeline` - Added support for AWS CodePipeline, a continuous delivery service that enables you to model, visualize, and automate the steps required @@ -55,15 +179,15 @@ ## 2.8.11 - 2015-06-24 * `Aws\CloudFront` - Added support for configurable `MaxTTL` and `DefaultTTL`. -* `Aws\ConfigService` - Added support for recording changes for specific +* `Aws\ConfigService` - Added support for recording changes for specific resource types. -* `Aws\Ecs` - Added support for sorting, deregistering, and overriding +* `Aws\Ecs` - Added support for sorting, deregistering, and overriding environment variables for task definitions. -* `Aws\Glacier` - Added support for the `AddTagsToVault`, `ListTagsForVault`, +* `Aws\Glacier` - Added support for the `AddTagsToVault`, `ListTagsForVault`, and `RemoveTagsFromVault` API operations. -* `Aws\OpwWorks` - Added support for specifying agent versions to be used on +* `Aws\OpwWorks` - Added support for specifying agent versions to be used on instances. -* `Aws\Redshift` - Added support for the `CreateSnapshotCopyGrant`, +* `Aws\Redshift` - Added support for the `CreateSnapshotCopyGrant`, `DescribeSnapshotCopyGrants`, and `DeleteSnapshotCopyGrant` API operations. * Fixed empty list serialization for Elastic Load Balancing and CloudFormation operations. @@ -154,11 +278,11 @@ for details about any changes you may need to make to your code for this upgrade * `Aws\WorkSpaces` - Added support for the Amazon WorkSpaces service. * `Aws\Ecs` - Added support for the ECS service scheduler operations. * `Aws\S3` - Added support for the `getBucketNotificationConfiguration` and - `putBucketNotificationConfiguration` operations to the `S3Client` to replace + `putBucketNotificationConfiguration` operations to the `S3Client` to replace the, now deprecated, `getBucketNotification` and `putBucketNotification` operations. * [BC] `Aws\Lambda` - Added support for the new AWS Lambda API, which has been - changed based on customer feedback during Lambda's preview period. + changed based on customer feedback during Lambda's preview period. * `Aws\Common` - Deprecated "facades". They will not be present in Version 3 of the SDK. * `Aws\Common` - Added `getAwsErrorCode`, `getAwsErrorType` and `getAwsRequestId` diff --git a/vendor/aws/Doctrine/Common/Cache/ApcCache.php b/vendor/aws/Doctrine/Common/Cache/ApcCache.php index abd5e71..7c617f3 100644 --- a/vendor/aws/Doctrine/Common/Cache/ApcCache.php +++ b/vendor/aws/Doctrine/Common/Cache/ApcCache.php @@ -22,13 +22,14 @@ /** * APC cache provider. * - * @link www.doctrine-project.org - * @since 2.0 - * @author Benjamin Eberlei - * @author Guilherme Blanco - * @author Jonathan Wage - * @author Roman Borschel - * @author David Abdemoulaie + * @link www.doctrine-project.org + * @deprecated since version 1.6, use ApcuCache instead + * @since 2.0 + * @author Benjamin Eberlei + * @author Guilherme Blanco + * @author Jonathan Wage + * @author Roman Borschel + * @author David Abdemoulaie */ class ApcCache extends CacheProvider { @@ -53,7 +54,7 @@ protected function doContains($id) */ protected function doSave($id, $data, $lifeTime = 0) { - return (bool) apc_store($id, $data, (int) $lifeTime); + return apc_store($id, $data, $lifeTime); } /** @@ -61,7 +62,8 @@ protected function doSave($id, $data, $lifeTime = 0) */ protected function doDelete($id) { - return apc_delete($id); + // apc_delete returns false if the id does not exist + return apc_delete($id) || ! apc_exists($id); } /** @@ -80,6 +82,16 @@ protected function doFetchMultiple(array $keys) return apc_fetch($keys); } + /** + * {@inheritdoc} + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + $result = apc_store($keysAndValues, null, $lifetime); + + return empty($result); + } + /** * {@inheritdoc} */ diff --git a/vendor/aws/Doctrine/Common/Cache/ApcuCache.php b/vendor/aws/Doctrine/Common/Cache/ApcuCache.php new file mode 100644 index 0000000..d86e1be --- /dev/null +++ b/vendor/aws/Doctrine/Common/Cache/ApcuCache.php @@ -0,0 +1,106 @@ +. + */ + +namespace Doctrine\Common\Cache; + +/** + * APCu cache provider. + * + * @link www.doctrine-project.org + * @since 1.6 + * @author Kévin Dunglas + */ +class ApcuCache extends CacheProvider +{ + /** + * {@inheritdoc} + */ + protected function doFetch($id) + { + return apcu_fetch($id); + } + + /** + * {@inheritdoc} + */ + protected function doContains($id) + { + return apcu_exists($id); + } + + /** + * {@inheritdoc} + */ + protected function doSave($id, $data, $lifeTime = 0) + { + return apcu_store($id, $data, $lifeTime); + } + + /** + * {@inheritdoc} + */ + protected function doDelete($id) + { + // apcu_delete returns false if the id does not exist + return apcu_delete($id) || ! apcu_exists($id); + } + + /** + * {@inheritdoc} + */ + protected function doFlush() + { + return apcu_clear_cache(); + } + + /** + * {@inheritdoc} + */ + protected function doFetchMultiple(array $keys) + { + return apcu_fetch($keys); + } + + /** + * {@inheritdoc} + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + $result = apcu_store($keysAndValues, null, $lifetime); + + return empty($result); + } + + /** + * {@inheritdoc} + */ + protected function doGetStats() + { + $info = apcu_cache_info(true); + $sma = apcu_sma_info(); + + return array( + Cache::STATS_HITS => $info['num_hits'], + Cache::STATS_MISSES => $info['num_misses'], + Cache::STATS_UPTIME => $info['start_time'], + Cache::STATS_MEMORY_USAGE => $info['mem_size'], + Cache::STATS_MEMORY_AVAILABLE => $sma['avail_mem'], + ); + } +} diff --git a/vendor/aws/Doctrine/Common/Cache/ArrayCache.php b/vendor/aws/Doctrine/Common/Cache/ArrayCache.php index 31a0729..6610cc2 100644 --- a/vendor/aws/Doctrine/Common/Cache/ArrayCache.php +++ b/vendor/aws/Doctrine/Common/Cache/ArrayCache.php @@ -33,16 +33,47 @@ class ArrayCache extends CacheProvider { /** - * @var array $data + * @var array[] $data each element being a tuple of [$data, $expiration], where the expiration is int|bool */ - private $data = array(); + private $data = []; + + /** + * @var int + */ + private $hitsCount = 0; + + /** + * @var int + */ + private $missesCount = 0; + + /** + * @var int + */ + private $upTime; + + /** + * {@inheritdoc} + */ + public function __construct() + { + $this->upTime = time(); + } /** * {@inheritdoc} */ protected function doFetch($id) { - return $this->doContains($id) ? $this->data[$id] : false; + if (! $this->doContains($id)) { + $this->missesCount += 1; + + return false; + } + + $this->hitsCount += 1; + + return $this->data[$id][0]; } /** @@ -50,8 +81,19 @@ protected function doFetch($id) */ protected function doContains($id) { - // isset() is required for performance optimizations, to avoid unnecessary function calls to array_key_exists. - return isset($this->data[$id]) || array_key_exists($id, $this->data); + if (! isset($this->data[$id])) { + return false; + } + + $expiration = $this->data[$id][1]; + + if ($expiration && $expiration < time()) { + $this->doDelete($id); + + return false; + } + + return true; } /** @@ -59,7 +101,7 @@ protected function doContains($id) */ protected function doSave($id, $data, $lifeTime = 0) { - $this->data[$id] = $data; + $this->data[$id] = [$data, $lifeTime ? time() + $lifeTime : false]; return true; } @@ -79,7 +121,7 @@ protected function doDelete($id) */ protected function doFlush() { - $this->data = array(); + $this->data = []; return true; } @@ -89,6 +131,12 @@ protected function doFlush() */ protected function doGetStats() { - return null; + return [ + Cache::STATS_HITS => $this->hitsCount, + Cache::STATS_MISSES => $this->missesCount, + Cache::STATS_UPTIME => $this->upTime, + Cache::STATS_MEMORY_USAGE => null, + Cache::STATS_MEMORY_AVAILABLE => null, + ]; } } diff --git a/vendor/aws/Doctrine/Common/Cache/Cache.php b/vendor/aws/Doctrine/Common/Cache/Cache.php index 205a123..89fe323 100644 --- a/vendor/aws/Doctrine/Common/Cache/Cache.php +++ b/vendor/aws/Doctrine/Common/Cache/Cache.php @@ -59,19 +59,22 @@ public function fetch($id); * * @param string $id The cache id of the entry to check for. * - * @return boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise. + * @return bool TRUE if a cache entry exists for the given cache id, FALSE otherwise. */ public function contains($id); /** * Puts data into the cache. * + * If a cache entry with the given id already exists, its data will be replaced. + * * @param string $id The cache id. * @param mixed $data The cache entry/data. - * @param int $lifeTime The cache lifetime. - * If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime). + * @param int $lifeTime The lifetime in number of seconds for this cache entry. + * If zero (the default), the entry never expires (although it may be deleted from the cache + * to make place for other entries). * - * @return boolean TRUE if the entry was successfully stored in the cache, FALSE otherwise. + * @return bool TRUE if the entry was successfully stored in the cache, FALSE otherwise. */ public function save($id, $data, $lifeTime = 0); @@ -80,7 +83,8 @@ public function save($id, $data, $lifeTime = 0); * * @param string $id The cache id. * - * @return boolean TRUE if the cache entry was successfully deleted, FALSE otherwise. + * @return bool TRUE if the cache entry was successfully deleted, FALSE otherwise. + * Deleting a non-existing entry is considered successful. */ public function delete($id); diff --git a/vendor/aws/Doctrine/Common/Cache/CacheProvider.php b/vendor/aws/Doctrine/Common/Cache/CacheProvider.php index e911f61..9f57923 100644 --- a/vendor/aws/Doctrine/Common/Cache/CacheProvider.php +++ b/vendor/aws/Doctrine/Common/Cache/CacheProvider.php @@ -29,7 +29,7 @@ * @author Roman Borschel * @author Fabio B. Silva */ -abstract class CacheProvider implements Cache, FlushableCache, ClearableCache, MultiGetCache +abstract class CacheProvider implements Cache, FlushableCache, ClearableCache, MultiGetCache, MultiPutCache { const DOCTRINE_NAMESPACE_CACHEKEY = 'DoctrineNamespaceCacheKey[%s]'; @@ -83,6 +83,10 @@ public function fetch($id) */ public function fetchMultiple(array $keys) { + if (empty($keys)) { + return array(); + } + // note: the array_combine() is in place to keep an association between our $keys and the $namespacedKeys $namespacedKeys = array_combine($keys, array_map(array($this, 'getNamespacedId'), $keys)); $items = $this->doFetchMultiple($namespacedKeys); @@ -91,7 +95,7 @@ public function fetchMultiple(array $keys) // no internal array function supports this sort of mapping: needs to be iterative // this filters and combines keys in one pass foreach ($namespacedKeys as $requestedKey => $namespacedKey) { - if (isset($items[$namespacedKey])) { + if (isset($items[$namespacedKey]) || array_key_exists($namespacedKey, $items)) { $foundItems[$requestedKey] = $items[$namespacedKey]; } } @@ -99,6 +103,19 @@ public function fetchMultiple(array $keys) return $foundItems; } + /** + * {@inheritdoc} + */ + public function saveMultiple(array $keysAndValues, $lifetime = 0) + { + $namespacedKeysAndValues = array(); + foreach ($keysAndValues as $key => $value) { + $namespacedKeysAndValues[$this->getNamespacedId($key)] = $value; + } + + return $this->doSaveMultiple($namespacedKeysAndValues, $lifetime); + } + /** * {@inheritdoc} */ @@ -147,9 +164,13 @@ public function deleteAll() $namespaceCacheKey = $this->getNamespaceCacheKey(); $namespaceVersion = $this->getNamespaceVersion() + 1; - $this->namespaceVersion = $namespaceVersion; + if ($this->doSave($namespaceCacheKey, $namespaceVersion)) { + $this->namespaceVersion = $namespaceVersion; + + return true; + } - return $this->doSave($namespaceCacheKey, $namespaceVersion); + return false; } /** @@ -188,15 +209,7 @@ private function getNamespaceVersion() } $namespaceCacheKey = $this->getNamespaceCacheKey(); - $namespaceVersion = $this->doFetch($namespaceCacheKey); - - if (false === $namespaceVersion) { - $namespaceVersion = 1; - - $this->doSave($namespaceCacheKey, $namespaceVersion); - } - - $this->namespaceVersion = $namespaceVersion; + $this->namespaceVersion = $this->doFetch($namespaceCacheKey) ?: 1; return $this->namespaceVersion; } @@ -211,8 +224,8 @@ protected function doFetchMultiple(array $keys) { $returnValues = array(); - foreach ($keys as $index => $key) { - if (false !== ($item = $this->doFetch($key))) { + foreach ($keys as $key) { + if (false !== ($item = $this->doFetch($key)) || $this->doContains($key)) { $returnValues[$key] = $item; } } @@ -225,7 +238,7 @@ protected function doFetchMultiple(array $keys) * * @param string $id The id of the cache entry to fetch. * - * @return string|boolean The cached data or FALSE, if no cache entry exists for the given id. + * @return mixed|false The cached data or FALSE, if no cache entry exists for the given id. */ abstract protected function doFetch($id); @@ -234,10 +247,32 @@ abstract protected function doFetch($id); * * @param string $id The cache id of the entry to check for. * - * @return boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise. + * @return bool TRUE if a cache entry exists for the given cache id, FALSE otherwise. */ abstract protected function doContains($id); + /** + * Default implementation of doSaveMultiple. Each driver that supports multi-put should override it. + * + * @param array $keysAndValues Array of keys and values to save in cache + * @param int $lifetime The lifetime. If != 0, sets a specific lifetime for these + * cache entries (0 => infinite lifeTime). + * + * @return bool TRUE if the operation was successful, FALSE if it wasn't. + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + $success = true; + + foreach ($keysAndValues as $key => $value) { + if (!$this->doSave($key, $value, $lifetime)) { + $success = false; + } + } + + return $success; + } + /** * Puts data into the cache. * @@ -246,7 +281,7 @@ abstract protected function doContains($id); * @param int $lifeTime The lifetime. If != 0, sets a specific lifetime for this * cache entry (0 => infinite lifeTime). * - * @return boolean TRUE if the entry was successfully stored in the cache, FALSE otherwise. + * @return bool TRUE if the entry was successfully stored in the cache, FALSE otherwise. */ abstract protected function doSave($id, $data, $lifeTime = 0); @@ -255,14 +290,14 @@ abstract protected function doSave($id, $data, $lifeTime = 0); * * @param string $id The cache id. * - * @return boolean TRUE if the cache entry was successfully deleted, FALSE otherwise. + * @return bool TRUE if the cache entry was successfully deleted, FALSE otherwise. */ abstract protected function doDelete($id); /** * Flushes all cache entries. * - * @return boolean TRUE if the cache entries were successfully flushed, FALSE otherwise. + * @return bool TRUE if the cache entries were successfully flushed, FALSE otherwise. */ abstract protected function doFlush(); diff --git a/vendor/aws/Doctrine/Common/Cache/ClearableCache.php b/vendor/aws/Doctrine/Common/Cache/ClearableCache.php index f8b0161..3a91eaf 100644 --- a/vendor/aws/Doctrine/Common/Cache/ClearableCache.php +++ b/vendor/aws/Doctrine/Common/Cache/ClearableCache.php @@ -22,6 +22,9 @@ /** * Interface for cache that can be flushed. * + * Intended to be used for partial clearing of a cache namespace. For a more + * global "flushing", see {@see FlushableCache}. + * * @link www.doctrine-project.org * @since 1.4 * @author Adirelle @@ -29,9 +32,9 @@ interface ClearableCache { /** - * Deletes all cache entries. + * Deletes all cache entries in the current cache namespace. * - * @return boolean TRUE if the cache entries were successfully deleted, FALSE otherwise. + * @return bool TRUE if the cache entries were successfully deleted, FALSE otherwise. */ public function deleteAll(); } diff --git a/vendor/aws/Doctrine/Common/Cache/FileCache.php b/vendor/aws/Doctrine/Common/Cache/FileCache.php index 243c28c..b2e0427 100644 --- a/vendor/aws/Doctrine/Common/Cache/FileCache.php +++ b/vendor/aws/Doctrine/Common/Cache/FileCache.php @@ -24,6 +24,7 @@ * * @since 2.3 * @author Fabio B. Silva + * @author Tobias Schultze */ abstract class FileCache extends CacheProvider { @@ -42,17 +43,24 @@ abstract class FileCache extends CacheProvider private $extension; /** - * @var string[] regular expressions for replacing disallowed characters in file name + * @var int */ - private $disallowedCharacterPatterns = array( - '/\-/', // replaced to disambiguate original `-` and `-` derived from replacements - '/[^a-zA-Z0-9\-_\[\]]/' // also excludes non-ascii chars (not supported, depending on FS) - ); + private $umask; /** - * @var string[] replacements for disallowed file characters + * @var int */ - private $replacementCharacters = array('__', '-'); + private $directoryStringLength; + + /** + * @var int + */ + private $extensionStringLength; + + /** + * @var bool + */ + private $isRunningOnWindows; /** * Constructor. @@ -62,9 +70,18 @@ abstract class FileCache extends CacheProvider * * @throws \InvalidArgumentException */ - public function __construct($directory, $extension = '') + public function __construct($directory, $extension = '', $umask = 0002) { - if ( ! is_dir($directory) && ! @mkdir($directory, 0777, true)) { + // YES, this needs to be *before* createPathIfNeeded() + if ( ! is_int($umask)) { + throw new \InvalidArgumentException(sprintf( + 'The umask parameter is required to be integer, was: %s', + gettype($umask) + )); + } + $this->umask = $umask; + + if ( ! $this->createPathIfNeeded($directory)) { throw new \InvalidArgumentException(sprintf( 'The directory "%s" does not exist and could not be created.', $directory @@ -78,8 +95,13 @@ public function __construct($directory, $extension = '') )); } + // YES, this needs to be *after* createPathIfNeeded() $this->directory = realpath($directory); $this->extension = (string) $extension; + + $this->directoryStringLength = strlen($this->directory); + $this->extensionStringLength = strlen($this->extension); + $this->isRunningOnWindows = defined('PHP_WINDOWS_VERSION_BUILD'); } /** @@ -95,7 +117,7 @@ public function getDirectory() /** * Gets the cache file extension. * - * @return string|null + * @return string */ public function getExtension() { @@ -109,11 +131,29 @@ public function getExtension() */ protected function getFilename($id) { + $hash = hash('sha256', $id); + + // This ensures that the filename is unique and that there are no invalid chars in it. + if ( + '' === $id + || ((strlen($id) * 2 + $this->extensionStringLength) > 255) + || ($this->isRunningOnWindows && ($this->directoryStringLength + 4 + strlen($id) * 2 + $this->extensionStringLength) > 258) + ) { + // Most filesystems have a limit of 255 chars for each path component. On Windows the the whole path is limited + // to 260 chars (including terminating null char). Using long UNC ("\\?\" prefix) does not work with the PHP API. + // And there is a bug in PHP (https://bugs.php.net/bug.php?id=70943) with path lengths of 259. + // So if the id in hex representation would surpass the limit, we use the hash instead. The prefix prevents + // collisions between the hash and bin2hex. + $filename = '_' . $hash; + } else { + $filename = bin2hex($id); + } + return $this->directory . DIRECTORY_SEPARATOR - . implode(str_split(hash('sha256', $id), 2), DIRECTORY_SEPARATOR) + . substr($hash, 0, 2) . DIRECTORY_SEPARATOR - . preg_replace($this->disallowedCharacterPatterns, $this->replacementCharacters, $id) + . $filename . $this->extension; } @@ -122,7 +162,9 @@ protected function getFilename($id) */ protected function doDelete($id) { - return @unlink($this->getFilename($id)); + $filename = $this->getFilename($id); + + return @unlink($filename) || ! file_exists($filename); } /** @@ -131,7 +173,16 @@ protected function doDelete($id) protected function doFlush() { foreach ($this->getIterator() as $name => $file) { - @unlink($name); + if ($file->isDir()) { + // Remove the intermediate directories which have been created to balance the tree. It only takes effect + // if the directory is empty. If several caches share the same directory but with different file extensions, + // the other ones are not removed. + @rmdir($name); + } elseif ($this->isFilenameEndingWithExtension($name)) { + // If an extension is set, only remove files which end with the given extension. + // If no extension is set, we have no other choice than removing everything. + @unlink($name); + } } return true; @@ -143,8 +194,10 @@ protected function doFlush() protected function doGetStats() { $usage = 0; - foreach ($this->getIterator() as $file) { - $usage += $file->getSize(); + foreach ($this->getIterator() as $name => $file) { + if (! $file->isDir() && $this->isFilenameEndingWithExtension($name)) { + $usage += $file->getSize(); + } } $free = disk_free_space($this->directory); @@ -167,7 +220,7 @@ protected function doGetStats() private function createPathIfNeeded($path) { if ( ! is_dir($path)) { - if (false === @mkdir($path, 0777, true) && !is_dir($path)) { + if (false === @mkdir($path, 0777 & (~$this->umask), true) && !is_dir($path)) { return false; } } @@ -196,11 +249,10 @@ protected function writeFile($filename, $content) } $tmpFile = tempnam($filepath, 'swap'); + @chmod($tmpFile, 0666 & (~$this->umask)); if (file_put_contents($tmpFile, $content) !== false) { if (@rename($tmpFile, $filename)) { - @chmod($filename, 0666 & ~umask()); - return true; } @@ -215,9 +267,20 @@ protected function writeFile($filename, $content) */ private function getIterator() { - return new \RegexIterator( - new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->directory)), - '/^.+' . preg_quote($this->extension, '/') . '$/i' + return new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator($this->directory, \FilesystemIterator::SKIP_DOTS), + \RecursiveIteratorIterator::CHILD_FIRST ); } + + /** + * @param string $name The filename + * + * @return bool + */ + private function isFilenameEndingWithExtension($name) + { + return '' === $this->extension + || strrpos($name, $this->extension) === (strlen($name) - $this->extensionStringLength); + } } diff --git a/vendor/aws/Doctrine/Common/Cache/FilesystemCache.php b/vendor/aws/Doctrine/Common/Cache/FilesystemCache.php index 6b44aa0..d988294 100644 --- a/vendor/aws/Doctrine/Common/Cache/FilesystemCache.php +++ b/vendor/aws/Doctrine/Common/Cache/FilesystemCache.php @@ -32,9 +32,9 @@ class FilesystemCache extends FileCache /** * {@inheritdoc} */ - public function __construct($directory, $extension = self::EXTENSION) + public function __construct($directory, $extension = self::EXTENSION, $umask = 0002) { - parent::__construct($directory, $extension); + parent::__construct($directory, $extension, $umask); } /** @@ -53,7 +53,7 @@ protected function doFetch($id) $resource = fopen($filename, "r"); if (false !== ($line = fgets($resource))) { - $lifetime = (integer) $line; + $lifetime = (int) $line; } if ($lifetime !== 0 && $lifetime < time()) { @@ -86,7 +86,7 @@ protected function doContains($id) $resource = fopen($filename, "r"); if (false !== ($line = fgets($resource))) { - $lifetime = (integer) $line; + $lifetime = (int) $line; } fclose($resource); diff --git a/vendor/aws/Doctrine/Common/Cache/FlushableCache.php b/vendor/aws/Doctrine/Common/Cache/FlushableCache.php index 817cee7..4311d4f 100644 --- a/vendor/aws/Doctrine/Common/Cache/FlushableCache.php +++ b/vendor/aws/Doctrine/Common/Cache/FlushableCache.php @@ -29,9 +29,9 @@ interface FlushableCache { /** - * Flushes all cache entries. + * Flushes all cache entries, globally. * - * @return boolean TRUE if the cache entries were successfully flushed, FALSE otherwise. + * @return bool TRUE if the cache entries were successfully flushed, FALSE otherwise. */ public function flushAll(); } diff --git a/vendor/aws/Doctrine/Common/Cache/MemcacheCache.php b/vendor/aws/Doctrine/Common/Cache/MemcacheCache.php index c5098fd..8afaeea 100644 --- a/vendor/aws/Doctrine/Common/Cache/MemcacheCache.php +++ b/vendor/aws/Doctrine/Common/Cache/MemcacheCache.php @@ -97,7 +97,8 @@ protected function doSave($id, $data, $lifeTime = 0) */ protected function doDelete($id) { - return $this->memcache->delete($id); + // Memcache::delete() returns false if entry does not exist + return $this->memcache->delete($id) || ! $this->doContains($id); } /** diff --git a/vendor/aws/Doctrine/Common/Cache/MemcachedCache.php b/vendor/aws/Doctrine/Common/Cache/MemcachedCache.php index 040c26c..408e452 100644 --- a/vendor/aws/Doctrine/Common/Cache/MemcachedCache.php +++ b/vendor/aws/Doctrine/Common/Cache/MemcachedCache.php @@ -77,12 +77,25 @@ protected function doFetchMultiple(array $keys) return $this->memcached->getMulti($keys); } + /** + * {@inheritdoc} + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + if ($lifetime > 30 * 24 * 3600) { + $lifetime = time() + $lifetime; + } + + return $this->memcached->setMulti($keysAndValues, null, $lifetime); + } + /** * {@inheritdoc} */ protected function doContains($id) { - return (false !== $this->memcached->get($id)); + return false !== $this->memcached->get($id) + || $this->memcached->getResultCode() !== Memcached::RES_NOTFOUND; } /** @@ -101,7 +114,8 @@ protected function doSave($id, $data, $lifeTime = 0) */ protected function doDelete($id) { - return $this->memcached->delete($id); + return $this->memcached->delete($id) + || $this->memcached->getResultCode() === Memcached::RES_NOTFOUND; } /** diff --git a/vendor/aws/Doctrine/Common/Cache/MongoDBCache.php b/vendor/aws/Doctrine/Common/Cache/MongoDBCache.php index 0c7ac0a..75fe0ca 100644 --- a/vendor/aws/Doctrine/Common/Cache/MongoDBCache.php +++ b/vendor/aws/Doctrine/Common/Cache/MongoDBCache.php @@ -21,6 +21,7 @@ use MongoBinData; use MongoCollection; +use MongoCursorException; use MongoDate; /** @@ -41,7 +42,7 @@ class MongoDBCache extends CacheProvider * cache entry should expire. * * With MongoDB 2.2+, entries can be automatically deleted by MongoDB by - * indexing this field wit the "expireAfterSeconds" option equal to zero. + * indexing this field with the "expireAfterSeconds" option equal to zero. * This will direct MongoDB to regularly query for and delete any entries * whose date is older than the current time. Entries without a date value * in this field will be ignored. @@ -119,14 +120,18 @@ protected function doContains($id) */ protected function doSave($id, $data, $lifeTime = 0) { - $result = $this->collection->update( - array('_id' => $id), - array('$set' => array( - self::EXPIRATION_FIELD => ($lifeTime > 0 ? new MongoDate(time() + $lifeTime) : null), - self::DATA_FIELD => new MongoBinData(serialize($data), MongoBinData::BYTE_ARRAY), - )), - array('upsert' => true, 'multiple' => false) - ); + try { + $result = $this->collection->update( + array('_id' => $id), + array('$set' => array( + self::EXPIRATION_FIELD => ($lifeTime > 0 ? new MongoDate(time() + $lifeTime) : null), + self::DATA_FIELD => new MongoBinData(serialize($data), MongoBinData::BYTE_ARRAY), + )), + array('upsert' => true, 'multiple' => false) + ); + } catch (MongoCursorException $e) { + return false; + } return isset($result['ok']) ? $result['ok'] == 1 : true; } @@ -138,7 +143,7 @@ protected function doDelete($id) { $result = $this->collection->remove(array('_id' => $id)); - return isset($result['n']) ? $result['n'] == 1 : true; + return isset($result['ok']) ? $result['ok'] == 1 : true; } /** @@ -170,8 +175,8 @@ protected function doGetStats() return array( Cache::STATS_HITS => null, Cache::STATS_MISSES => null, - Cache::STATS_UPTIME => (isset($serverStatus['uptime']) ? (integer) $serverStatus['uptime'] : null), - Cache::STATS_MEMORY_USAGE => (isset($collStats['size']) ? (integer) $collStats['size'] : null), + Cache::STATS_UPTIME => (isset($serverStatus['uptime']) ? (int) $serverStatus['uptime'] : null), + Cache::STATS_MEMORY_USAGE => (isset($collStats['size']) ? (int) $collStats['size'] : null), Cache::STATS_MEMORY_AVAILABLE => null, ); } @@ -180,7 +185,8 @@ protected function doGetStats() * Check if the document is expired. * * @param array $document - * @return boolean + * + * @return bool */ private function isExpired(array $document) { diff --git a/vendor/aws/Doctrine/Common/Cache/MultiPutCache.php b/vendor/aws/Doctrine/Common/Cache/MultiPutCache.php new file mode 100644 index 0000000..bf87ea9 --- /dev/null +++ b/vendor/aws/Doctrine/Common/Cache/MultiPutCache.php @@ -0,0 +1,41 @@ +. + */ + +namespace Doctrine\Common\Cache; + +/** + * Interface for cache drivers that allows to put many items at once. + * + * @link www.doctrine-project.org + * @since 1.6 + * @author Daniel Gorgan + */ +interface MultiPutCache +{ + /** + * Returns a boolean value indicating if the operation succeeded. + * + * @param array $keysAndValues Array of keys and values to save in cache + * @param int $lifetime The lifetime. If != 0, sets a specific lifetime for these + * cache entries (0 => infinite lifeTime). + * + * @return bool TRUE if the operation was successful, FALSE if it wasn't. + */ + function saveMultiple(array $keysAndValues, $lifetime = 0); +} diff --git a/vendor/aws/Doctrine/Common/Cache/PhpFileCache.php b/vendor/aws/Doctrine/Common/Cache/PhpFileCache.php index 12dda5a..5e75196 100644 --- a/vendor/aws/Doctrine/Common/Cache/PhpFileCache.php +++ b/vendor/aws/Doctrine/Common/Cache/PhpFileCache.php @@ -32,9 +32,9 @@ class PhpFileCache extends FileCache /** * {@inheritdoc} */ - public function __construct($directory, $extension = self::EXTENSION) + public function __construct($directory, $extension = self::EXTENSION, $umask = 0002) { - parent::__construct($directory, $extension); + parent::__construct($directory, $extension, $umask); } /** diff --git a/vendor/aws/Doctrine/Common/Cache/PredisCache.php b/vendor/aws/Doctrine/Common/Cache/PredisCache.php index 887f1ba..980e266 100644 --- a/vendor/aws/Doctrine/Common/Cache/PredisCache.php +++ b/vendor/aws/Doctrine/Common/Cache/PredisCache.php @@ -2,7 +2,7 @@ namespace Doctrine\Common\Cache; -use Predis\Client; +use Predis\ClientInterface; /** * Predis cache provider. @@ -12,16 +12,16 @@ class PredisCache extends CacheProvider { /** - * @var Client + * @var ClientInterface */ private $client; /** - * @param Client $client + * @param ClientInterface $client * * @return void */ - public function __construct(Client $client) + public function __construct(ClientInterface $client) { $this->client = $client; } @@ -36,7 +36,7 @@ protected function doFetch($id) return false; } - return $result; + return unserialize($result); } /** @@ -46,8 +46,37 @@ protected function doFetchMultiple(array $keys) { $fetchedItems = call_user_func_array(array($this->client, 'mget'), $keys); - return array_filter(array_combine($keys, $fetchedItems)); + return array_map('unserialize', array_filter(array_combine($keys, $fetchedItems))); } + + /** + * {@inheritdoc} + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + if ($lifetime) { + $success = true; + + // Keys have lifetime, use SETEX for each of them + foreach ($keysAndValues as $key => $value) { + $response = $this->client->setex($key, $lifetime, serialize($value)); + + if ((string) $response != 'OK') { + $success = false; + } + } + + return $success; + } + + // No lifetime, use MSET + $response = $this->client->mset(array_map(function ($value) { + return serialize($value); + }, $keysAndValues)); + + return (string) $response == 'OK'; + } + /** * {@inheritdoc} */ @@ -61,6 +90,7 @@ protected function doContains($id) */ protected function doSave($id, $data, $lifeTime = 0) { + $data = serialize($data); if ($lifeTime > 0) { $response = $this->client->setex($id, $lifeTime, $data); } else { @@ -75,7 +105,7 @@ protected function doSave($id, $data, $lifeTime = 0) */ protected function doDelete($id) { - return $this->client->del($id) > 0; + return $this->client->del($id) >= 0; } /** @@ -96,8 +126,8 @@ protected function doGetStats() $info = $this->client->info(); return array( - Cache::STATS_HITS => false, - Cache::STATS_MISSES => false, + Cache::STATS_HITS => $info['Stats']['keyspace_hits'], + Cache::STATS_MISSES => $info['Stats']['keyspace_misses'], Cache::STATS_UPTIME => $info['Server']['uptime_in_seconds'], Cache::STATS_MEMORY_USAGE => $info['Memory']['used_memory'], Cache::STATS_MEMORY_AVAILABLE => false diff --git a/vendor/aws/Doctrine/Common/Cache/RedisCache.php b/vendor/aws/Doctrine/Common/Cache/RedisCache.php index bffa022..a4f0e6e 100644 --- a/vendor/aws/Doctrine/Common/Cache/RedisCache.php +++ b/vendor/aws/Doctrine/Common/Cache/RedisCache.php @@ -71,15 +71,40 @@ protected function doFetch($id) */ protected function doFetchMultiple(array $keys) { - $returnValues = array(); - $fetchedItems = $this->redis->mget($keys); - foreach ($keys as $key) { - if (isset($fetchedItems[$key])) { - $returnValues[$key] = $fetchedItems[$key]; + $fetchedItems = array_combine($keys, $this->redis->mget($keys)); + + // Redis mget returns false for keys that do not exist. So we need to filter those out unless it's the real data. + $foundItems = array(); + + foreach ($fetchedItems as $key => $value) { + if (false !== $value || $this->redis->exists($key)) { + $foundItems[$key] = $value; } } - return $returnValues; + return $foundItems; + } + + /** + * {@inheritdoc} + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + if ($lifetime) { + $success = true; + + // Keys have lifetime, use SETEX for each of them + foreach ($keysAndValues as $key => $value) { + if (!$this->redis->setex($key, $lifetime, $value)) { + $success = false; + } + } + + return $success; + } + + // No lifetime, use MSET + return (bool) $this->redis->mset($keysAndValues); } /** @@ -107,7 +132,7 @@ protected function doSave($id, $data, $lifeTime = 0) */ protected function doDelete($id) { - return $this->redis->delete($id) > 0; + return $this->redis->delete($id) >= 0; } /** @@ -125,8 +150,8 @@ protected function doGetStats() { $info = $this->redis->info(); return array( - Cache::STATS_HITS => false, - Cache::STATS_MISSES => false, + Cache::STATS_HITS => $info['keyspace_hits'], + Cache::STATS_MISSES => $info['keyspace_misses'], Cache::STATS_UPTIME => $info['uptime_in_seconds'], Cache::STATS_MEMORY_USAGE => $info['used_memory'], Cache::STATS_MEMORY_AVAILABLE => false diff --git a/vendor/aws/Doctrine/Common/Cache/RiakCache.php b/vendor/aws/Doctrine/Common/Cache/RiakCache.php index 8bb6b4b..0baa3f2 100644 --- a/vendor/aws/Doctrine/Common/Cache/RiakCache.php +++ b/vendor/aws/Doctrine/Common/Cache/RiakCache.php @@ -202,7 +202,7 @@ protected function doGetStats() * * @param \Riak\Object $object * - * @return boolean + * @return bool */ private function isExpired(Object $object) { diff --git a/vendor/aws/Doctrine/Common/Cache/SQLite3Cache.php b/vendor/aws/Doctrine/Common/Cache/SQLite3Cache.php index b12978c..0bf6e4d 100644 --- a/vendor/aws/Doctrine/Common/Cache/SQLite3Cache.php +++ b/vendor/aws/Doctrine/Common/Cache/SQLite3Cache.php @@ -98,7 +98,7 @@ protected function doFetch($id) */ protected function doContains($id) { - return (boolean) $this->findById($id, false); + return null !== $this->findById($id, false); } /** @@ -157,7 +157,7 @@ protected function doGetStats() * Find a single row by ID. * * @param mixed $id - * @param boolean $includeData + * @param bool $includeData * * @return array|null */ @@ -208,7 +208,8 @@ private function getFields() * Check if the item is expired. * * @param array $item - * @return boolean + * + * @return bool */ private function isExpired(array $item) { diff --git a/vendor/aws/Doctrine/Common/Cache/Version.php b/vendor/aws/Doctrine/Common/Cache/Version.php index d742fa0..eff259a 100644 --- a/vendor/aws/Doctrine/Common/Cache/Version.php +++ b/vendor/aws/Doctrine/Common/Cache/Version.php @@ -21,5 +21,5 @@ class Version { - const VERSION = '1.4.0-DEV'; + const VERSION = '1.6.0'; } diff --git a/vendor/aws/Doctrine/Common/Cache/WinCacheCache.php b/vendor/aws/Doctrine/Common/Cache/WinCacheCache.php index ae32772..8a250b2 100644 --- a/vendor/aws/Doctrine/Common/Cache/WinCacheCache.php +++ b/vendor/aws/Doctrine/Common/Cache/WinCacheCache.php @@ -53,7 +53,7 @@ protected function doContains($id) */ protected function doSave($id, $data, $lifeTime = 0) { - return (bool) wincache_ucache_set($id, $data, (int) $lifeTime); + return wincache_ucache_set($id, $data, $lifeTime); } /** @@ -72,6 +72,24 @@ protected function doFlush() return wincache_ucache_clear(); } + /** + * {@inheritdoc} + */ + protected function doFetchMultiple(array $keys) + { + return wincache_ucache_get($keys); + } + + /** + * {@inheritdoc} + */ + protected function doSaveMultiple(array $keysAndValues, $lifetime = 0) + { + $result = wincache_ucache_set($keysAndValues, null, $lifetime); + + return empty($result); + } + /** * {@inheritdoc} */ diff --git a/vendor/aws/Monolog/ErrorHandler.php b/vendor/aws/Monolog/ErrorHandler.php index 2a1c2c5..715b93a 100644 --- a/vendor/aws/Monolog/ErrorHandler.php +++ b/vendor/aws/Monolog/ErrorHandler.php @@ -149,7 +149,7 @@ public function handleError($code, $message, $file = '', $line = 0, $context = a // fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries if (!$this->hasFatalErrorHandler || !in_array($code, self::$fatalErrors, true)) { $level = isset($this->errorLevelMap[$code]) ? $this->errorLevelMap[$code] : LogLevel::CRITICAL; - $this->logger->log($level, self::codeToString($code).': '.$message, array('code' => $code, 'message' => $message, 'file' => $file, 'line' => $line)); + $this->logger->log($level, self::codeToString($code).': '.$message, array('code' => $code, 'message' => $message, 'file' => $file, 'line' => $line, 'context' => $context)); } if ($this->previousErrorHandler === true) { @@ -174,9 +174,11 @@ public function handleFatalError() array('code' => $lastError['type'], 'message' => $lastError['message'], 'file' => $lastError['file'], 'line' => $lastError['line']) ); - foreach ($this->logger->getHandlers() as $handler) { - if ($handler instanceof AbstractHandler) { - $handler->close(); + if ($this->logger instanceof Logger) { + foreach ($this->logger->getHandlers() as $handler) { + if ($handler instanceof AbstractHandler) { + $handler->close(); + } } } } diff --git a/vendor/aws/Monolog/Formatter/ChromePHPFormatter.php b/vendor/aws/Monolog/Formatter/ChromePHPFormatter.php index 56d3e27..9beda1e 100644 --- a/vendor/aws/Monolog/Formatter/ChromePHPFormatter.php +++ b/vendor/aws/Monolog/Formatter/ChromePHPFormatter.php @@ -41,10 +41,9 @@ public function format(array $record) { // Retrieve the line and file if set and remove them from the formatted extra $backtrace = 'unknown'; - if (isset($record['extra']['file']) && isset($record['extra']['line'])) { + if (isset($record['extra']['file'], $record['extra']['line'])) { $backtrace = $record['extra']['file'].' : '.$record['extra']['line']; - unset($record['extra']['file']); - unset($record['extra']['line']); + unset($record['extra']['file'], $record['extra']['line']); } $message = array('message' => $record['message']); diff --git a/vendor/aws/Monolog/Formatter/ElasticaFormatter.php b/vendor/aws/Monolog/Formatter/ElasticaFormatter.php index b0b0cf0..4c556cf 100644 --- a/vendor/aws/Monolog/Formatter/ElasticaFormatter.php +++ b/vendor/aws/Monolog/Formatter/ElasticaFormatter.php @@ -36,7 +36,9 @@ class ElasticaFormatter extends NormalizerFormatter */ public function __construct($index, $type) { - parent::__construct(\DateTime::ISO8601); + // elasticsearch requires a ISO 8601 format date with optional millisecond precision. + parent::__construct('Y-m-d\TH:i:s.uP'); + $this->index = $index; $this->type = $type; } diff --git a/vendor/aws/Monolog/Formatter/FluentdFormatter.php b/vendor/aws/Monolog/Formatter/FluentdFormatter.php new file mode 100644 index 0000000..02632bb --- /dev/null +++ b/vendor/aws/Monolog/Formatter/FluentdFormatter.php @@ -0,0 +1,85 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Formatter; + +/** + * Class FluentdFormatter + * + * Serializes a log message to Fluentd unix socket protocol + * + * Fluentd config: + * + * + * type unix + * path /var/run/td-agent/td-agent.sock + * + * + * Monolog setup: + * + * $logger = new Monolog\Logger('fluent.tag'); + * $fluentHandler = new Monolog\Handler\SocketHandler('unix:///var/run/td-agent/td-agent.sock'); + * $fluentHandler->setFormatter(new Monolog\Formatter\FluentdFormatter()); + * $logger->pushHandler($fluentHandler); + * + * @author Andrius Putna + */ +class FluentdFormatter implements FormatterInterface +{ + /** + * @var bool $levelTag should message level be a part of the fluentd tag + */ + protected $levelTag = false; + + public function __construct($levelTag = false) + { + if (!function_exists('json_encode')) { + throw new \RuntimeException('PHP\'s json extension is required to use Monolog\'s FluentdUnixFormatter'); + } + + $this->levelTag = (bool) $levelTag; + } + + public function isUsingLevelsInTag() + { + return $this->levelTag; + } + + public function format(array $record) + { + $tag = $record['channel']; + if ($this->levelTag) { + $tag .= '.' . strtolower($record['level_name']); + } + + $message = array( + 'message' => $record['message'], + 'extra' => $record['extra'], + ); + + if (!$this->levelTag) { + $message['level'] = $record['level']; + $message['level_name'] = $record['level_name']; + } + + return json_encode(array($tag, $record['datetime']->getTimestamp(), $message)); + } + + public function formatBatch(array $records) + { + $message = ''; + foreach ($records as $record) { + $message .= $this->format($record); + } + + return $message; + } +} diff --git a/vendor/aws/Monolog/Formatter/GelfMessageFormatter.php b/vendor/aws/Monolog/Formatter/GelfMessageFormatter.php index 1e43175..64e7665 100644 --- a/vendor/aws/Monolog/Formatter/GelfMessageFormatter.php +++ b/vendor/aws/Monolog/Formatter/GelfMessageFormatter.php @@ -22,6 +22,8 @@ */ class GelfMessageFormatter extends NormalizerFormatter { + const MAX_LENGTH = 32766; + /** * @var string the name of the system for the Gelf log message */ @@ -79,24 +81,48 @@ public function format(array $record) ->setHost($this->systemName) ->setLevel($this->logLevels[$record['level']]); + // start count with message length + system name length + 200 for padding / metadata + $len = 200 + strlen((string) $record['message']) + strlen($this->systemName); + + if ($len > self::MAX_LENGTH) { + $message->setShortMessage(substr($record['message'], 0, self::MAX_LENGTH - 200)); + + return $message; + } + if (isset($record['channel'])) { $message->setFacility($record['channel']); + $len += strlen($record['channel']); } if (isset($record['extra']['line'])) { $message->setLine($record['extra']['line']); + $len += 10; unset($record['extra']['line']); } if (isset($record['extra']['file'])) { $message->setFile($record['extra']['file']); + $len += strlen($record['extra']['file']); unset($record['extra']['file']); } foreach ($record['extra'] as $key => $val) { - $message->setAdditional($this->extraPrefix . $key, is_scalar($val) ? $val : $this->toJson($val)); + $val = is_scalar($val) || null === $val ? $val : $this->toJson($val); + $len += strlen($this->extraPrefix . $key . $val); + if ($len > self::MAX_LENGTH) { + $message->setAdditional($this->extraPrefix . $key, substr($val, 0, self::MAX_LENGTH - $len)); + break; + } + $message->setAdditional($this->extraPrefix . $key, $val); } foreach ($record['context'] as $key => $val) { - $message->setAdditional($this->contextPrefix . $key, is_scalar($val) ? $val : $this->toJson($val)); + $val = is_scalar($val) || null === $val ? $val : $this->toJson($val); + $len += strlen($this->contextPrefix . $key . $val); + if ($len > self::MAX_LENGTH) { + $message->setAdditional($this->contextPrefix . $key, substr($val, 0, self::MAX_LENGTH - $len)); + break; + } + $message->setAdditional($this->contextPrefix . $key, $val); } if (null === $message->getFile() && isset($record['context']['exception']['file'])) { diff --git a/vendor/aws/Monolog/Formatter/HtmlFormatter.php b/vendor/aws/Monolog/Formatter/HtmlFormatter.php index 255d288..3eec95f 100644 --- a/vendor/aws/Monolog/Formatter/HtmlFormatter.php +++ b/vendor/aws/Monolog/Formatter/HtmlFormatter.php @@ -24,7 +24,7 @@ class HtmlFormatter extends NormalizerFormatter /** * Translates Monolog log levels to html color priorities. */ - private $logLevels = array( + protected $logLevels = array( Logger::DEBUG => '#cccccc', Logger::INFO => '#468847', Logger::NOTICE => '#3a87ad', @@ -51,7 +51,7 @@ public function __construct($dateFormat = null) * @param bool $escapeTd false if td content must not be html escaped * @return string */ - private function addRow($th, $td = ' ', $escapeTd = true) + protected function addRow($th, $td = ' ', $escapeTd = true) { $th = htmlspecialchars($th, ENT_NOQUOTES, 'UTF-8'); if ($escapeTd) { @@ -64,16 +64,17 @@ private function addRow($th, $td = ' ', $escapeTd = true) /** * Create a HTML h1 tag * - * @param string $title Text to be in the h1 - * @param integer $level Error level + * @param string $title Text to be in the h1 + * @param int $level Error level * @return string */ - private function addTitle($title, $level) + protected function addTitle($title, $level) { $title = htmlspecialchars($title, ENT_NOQUOTES, 'UTF-8'); return '

'.$title.'

'; } + /** * Formats a log record. * diff --git a/vendor/aws/Monolog/Formatter/JsonFormatter.php b/vendor/aws/Monolog/Formatter/JsonFormatter.php index e5a1d2c..a985e2a 100644 --- a/vendor/aws/Monolog/Formatter/JsonFormatter.php +++ b/vendor/aws/Monolog/Formatter/JsonFormatter.php @@ -11,6 +11,8 @@ namespace Monolog\Formatter; +use Exception; + /** * Encodes whatever record data is passed to it as json * @@ -18,13 +20,17 @@ * * @author Jordi Boggiano */ -class JsonFormatter implements FormatterInterface +class JsonFormatter extends NormalizerFormatter { const BATCH_MODE_JSON = 1; const BATCH_MODE_NEWLINES = 2; protected $batchMode; protected $appendNewline; + /** + * @var bool + */ + protected $includeStacktraces = false; /** * @param int $batchMode @@ -64,7 +70,7 @@ public function isAppendingNewlines() */ public function format(array $record) { - return json_encode($record) . ($this->appendNewline ? "\n" : ''); + return $this->toJson($this->normalize($record), true) . ($this->appendNewline ? "\n" : ''); } /** @@ -82,6 +88,14 @@ public function formatBatch(array $records) } } + /** + * @param bool $include + */ + public function includeStacktraces($include = true) + { + $this->includeStacktraces = $include; + } + /** * Return a JSON-encoded array of records. * @@ -90,7 +104,7 @@ public function formatBatch(array $records) */ protected function formatBatchJson(array $records) { - return json_encode($records); + return $this->toJson($this->normalize($records), true); } /** @@ -113,4 +127,79 @@ protected function formatBatchNewlines(array $records) return implode("\n", $records); } + + /** + * Normalizes given $data. + * + * @param mixed $data + * + * @return mixed + */ + protected function normalize($data) + { + if (is_array($data) || $data instanceof \Traversable) { + $normalized = array(); + + $count = 1; + foreach ($data as $key => $value) { + if ($count++ >= 1000) { + $normalized['...'] = 'Over 1000 items, aborting normalization'; + break; + } + $normalized[$key] = $this->normalize($value); + } + + return $normalized; + } + + if ($data instanceof Exception) { + return $this->normalizeException($data); + } + + return $data; + } + + /** + * Normalizes given exception with or without its own stack trace based on + * `includeStacktraces` property. + * + * @param Exception|Throwable $e + * + * @return array + */ + protected function normalizeException($e) + { + // TODO 2.0 only check for Throwable + if (!$e instanceof Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e)); + } + + $data = array( + 'class' => get_class($e), + 'message' => $e->getMessage(), + 'code' => $e->getCode(), + 'file' => $e->getFile().':'.$e->getLine(), + ); + + if ($this->includeStacktraces) { + $trace = $e->getTrace(); + foreach ($trace as $frame) { + if (isset($frame['file'])) { + $data['trace'][] = $frame['file'].':'.$frame['line']; + } elseif (isset($frame['function']) && $frame['function'] === '{closure}') { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $frame['function']; + } else { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $this->normalize($frame); + } + } + } + + if ($previous = $e->getPrevious()) { + $data['previous'] = $this->normalizeException($previous); + } + + return $data; + } } diff --git a/vendor/aws/Monolog/Formatter/LineFormatter.php b/vendor/aws/Monolog/Formatter/LineFormatter.php index 388e226..0e62aa3 100644 --- a/vendor/aws/Monolog/Formatter/LineFormatter.php +++ b/vendor/aws/Monolog/Formatter/LineFormatter.php @@ -11,8 +11,6 @@ namespace Monolog\Formatter; -use Exception; - /** * Formats incoming records into a one-line string * @@ -78,6 +76,13 @@ public function format(array $record) } } + foreach ($vars['context'] as $var => $val) { + if (false !== strpos($output, '%context.'.$var.'%')) { + $output = str_replace('%context.'.$var.'%', $this->stringify($val), $output); + unset($vars['context'][$var]); + } + } + if ($this->ignoreEmptyContextAndExtra) { if (empty($vars['context'])) { unset($vars['context']); @@ -114,8 +119,13 @@ public function stringify($value) return $this->replaceNewlines($this->convertToString($value)); } - protected function normalizeException(Exception $e) + protected function normalizeException($e) { + // TODO 2.0 only check for Throwable + if (!$e instanceof \Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e)); + } + $previousText = ''; if ($previous = $e->getPrevious()) { do { diff --git a/vendor/aws/Monolog/Formatter/LogglyFormatter.php b/vendor/aws/Monolog/Formatter/LogglyFormatter.php index f02bceb..401859b 100644 --- a/vendor/aws/Monolog/Formatter/LogglyFormatter.php +++ b/vendor/aws/Monolog/Formatter/LogglyFormatter.php @@ -22,7 +22,7 @@ class LogglyFormatter extends JsonFormatter * Overrides the default batch mode to new lines for compatibility with the * Loggly bulk API. * - * @param integer $batchMode + * @param int $batchMode */ public function __construct($batchMode = self::BATCH_MODE_NEWLINES, $appendNewline = false) { diff --git a/vendor/aws/Monolog/Formatter/LogstashFormatter.php b/vendor/aws/Monolog/Formatter/LogstashFormatter.php index 7a7b3b3..8f83bec 100644 --- a/vendor/aws/Monolog/Formatter/LogstashFormatter.php +++ b/vendor/aws/Monolog/Formatter/LogstashFormatter.php @@ -45,7 +45,7 @@ class LogstashFormatter extends NormalizerFormatter protected $contextPrefix; /** - * @var integer logstash format version to use + * @var int logstash format version to use */ protected $version; @@ -54,6 +54,7 @@ class LogstashFormatter extends NormalizerFormatter * @param string $systemName the system/machine name, used as the "source" field of logstash, defaults to the hostname of the machine * @param string $extraPrefix prefix for extra keys inside logstash "fields" * @param string $contextPrefix prefix for context keys inside logstash "fields", defaults to ctxt_ + * @param int $version the logstash format version to use, defaults to 0 */ public function __construct($applicationName, $systemName = null, $extraPrefix = null, $contextPrefix = 'ctxt_', $version = self::V0) { @@ -91,7 +92,7 @@ protected function formatV0(array $record) $message = array( '@timestamp' => $record['datetime'], '@source' => $this->systemName, - '@fields' => array() + '@fields' => array(), ); if (isset($record['message'])) { $message['@message'] = $record['message']; diff --git a/vendor/aws/Monolog/Formatter/NormalizerFormatter.php b/vendor/aws/Monolog/Formatter/NormalizerFormatter.php index 6b5ef5f..9a4d5d2 100644 --- a/vendor/aws/Monolog/Formatter/NormalizerFormatter.php +++ b/vendor/aws/Monolog/Formatter/NormalizerFormatter.php @@ -90,13 +90,14 @@ protected function normalize($data) } if (is_object($data)) { - if ($data instanceof Exception) { + // TODO 2.0 only check for Throwable + if ($data instanceof Exception || (PHP_VERSION_ID > 70000 && $data instanceof \Throwable)) { return $this->normalizeException($data); } // non-serializable objects that implement __toString stringified if (method_exists($data, '__toString') && !$data instanceof \JsonSerializable) { - $value = (string) $data; + $value = $data->__toString(); } else { // the rest is json-serialized in some way $value = $this->toJson($data, true); @@ -106,14 +107,19 @@ protected function normalize($data) } if (is_resource($data)) { - return '[resource]'; + return sprintf('[resource] (%s)', get_resource_type($data)); } return '[unknown('.gettype($data).')]'; } - protected function normalizeException(Exception $e) + protected function normalizeException($e) { + // TODO 2.0 only check for Throwable + if (!$e instanceof Exception && !$e instanceof \Throwable) { + throw new \InvalidArgumentException('Exception/Throwable expected, got '.gettype($e).' / '.get_class($e)); + } + $data = array( 'class' => get_class($e), 'message' => $e->getMessage(), @@ -125,6 +131,9 @@ protected function normalizeException(Exception $e) foreach ($trace as $frame) { if (isset($frame['file'])) { $data['trace'][] = $frame['file'].':'.$frame['line']; + } elseif (isset($frame['function']) && $frame['function'] === '{closure}') { + // We should again normalize the frames, because it might contain invalid items + $data['trace'][] = $frame['function']; } else { // We should again normalize the frames, because it might contain invalid items $data['trace'][] = $this->toJson($this->normalize($frame), true); @@ -138,23 +147,72 @@ protected function normalizeException(Exception $e) return $data; } + /** + * Return the JSON representation of a value + * + * @param mixed $data + * @param bool $ignoreErrors + * @throws \RuntimeException if encoding fails and errors are not ignored + * @return string + */ protected function toJson($data, $ignoreErrors = false) { // suppress json_encode errors since it's twitchy with some inputs if ($ignoreErrors) { - if (version_compare(PHP_VERSION, '5.4.0', '>=')) { - return @json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); - } + return @$this->jsonEncode($data); + } - return @json_encode($data); + $json = $this->jsonEncode($data); + + if ($json === false) { + $json = $this->handleJsonError(json_last_error(), $data); } + return $json; + } + + /** + * @param mixed $data + * @return string JSON encoded data or null on failure + */ + private function jsonEncode($data) + { if (version_compare(PHP_VERSION, '5.4.0', '>=')) { - $json = json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + } + + return json_encode($data); + } + + /** + * Handle a json_encode failure. + * + * If the failure is due to invalid string encoding, try to clean the + * input and encode again. If the second encoding attempt fails, the + * inital error is not encoding related or the input can't be cleaned then + * raise a descriptive exception. + * + * @param int $code return code of json_last_error function + * @param mixed $data data that was meant to be encoded + * @throws \RuntimeException if failure can't be corrected + * @return string JSON encoded data after error correction + */ + private function handleJsonError($code, $data) + { + if ($code !== JSON_ERROR_UTF8) { + $this->throwEncodeError($code, $data); + } + + if (is_string($data)) { + $this->detectAndCleanUtf8($data); + } elseif (is_array($data)) { + array_walk_recursive($data, array($this, 'detectAndCleanUtf8')); } else { - $json = json_encode($data); + $this->throwEncodeError($code, $data); } + $json = $this->jsonEncode($data); + if ($json === false) { $this->throwEncodeError(json_last_error(), $data); } @@ -165,8 +223,8 @@ protected function toJson($data, $ignoreErrors = false) /** * Throws an exception according to a given code with a customized message * - * @param int $code return code of json_last_error function - * @param mixed $data data that was meant to be encoded + * @param int $code return code of json_last_error function + * @param mixed $data data that was meant to be encoded * @throws \RuntimeException */ private function throwEncodeError($code, $data) @@ -190,4 +248,36 @@ private function throwEncodeError($code, $data) throw new \RuntimeException('JSON encoding failed: '.$msg.'. Encoding: '.var_export($data, true)); } + + /** + * Detect invalid UTF-8 string characters and convert to valid UTF-8. + * + * Valid UTF-8 input will be left unmodified, but strings containing + * invalid UTF-8 codepoints will be reencoded as UTF-8 with an assumed + * original encoding of ISO-8859-15. This conversion may result in + * incorrect output if the actual encoding was not ISO-8859-15, but it + * will be clean UTF-8 output and will not rely on expensive and fragile + * detection algorithms. + * + * Function converts the input in place in the passed variable so that it + * can be used as a callback for array_walk_recursive. + * + * @param mixed &$data Input to check and convert if needed + * @private + */ + public function detectAndCleanUtf8(&$data) + { + if (is_string($data) && !preg_match('//u', $data)) { + $data = preg_replace_callback( + '/[\x80-\xFF]+/', + function ($m) { return utf8_encode($m[0]); }, + $data + ); + $data = str_replace( + array('¤', '¦', '¨', '´', '¸', '¼', '½', '¾'), + array('€', 'Š', 'š', 'Ž', 'ž', 'Œ', 'œ', 'Ÿ'), + $data + ); + } + } } diff --git a/vendor/aws/Monolog/Handler/AbstractHandler.php b/vendor/aws/Monolog/Handler/AbstractHandler.php index 69ede49..758a425 100644 --- a/vendor/aws/Monolog/Handler/AbstractHandler.php +++ b/vendor/aws/Monolog/Handler/AbstractHandler.php @@ -32,7 +32,7 @@ abstract class AbstractHandler implements HandlerInterface protected $processors = array(); /** - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($level = Logger::DEBUG, $bubble = true) @@ -118,7 +118,7 @@ public function getFormatter() /** * Sets minimum logging level at which this handler will be triggered. * - * @param integer $level + * @param int|string $level Level or level name * @return self */ public function setLevel($level) @@ -131,7 +131,7 @@ public function setLevel($level) /** * Gets minimum logging level at which this handler will be triggered. * - * @return integer + * @return int */ public function getLevel() { @@ -169,6 +169,8 @@ public function __destruct() $this->close(); } catch (\Exception $e) { // do nothing + } catch (\Throwable $e) { + // do nothing } } diff --git a/vendor/aws/Monolog/Handler/AbstractSyslogHandler.php b/vendor/aws/Monolog/Handler/AbstractSyslogHandler.php index 3eb83bd..e2b2832 100644 --- a/vendor/aws/Monolog/Handler/AbstractSyslogHandler.php +++ b/vendor/aws/Monolog/Handler/AbstractSyslogHandler.php @@ -54,7 +54,7 @@ abstract class AbstractSyslogHandler extends AbstractProcessingHandler /** * @param mixed $facility - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($facility = LOG_USER, $level = Logger::DEBUG, $bubble = true) @@ -70,6 +70,15 @@ public function __construct($facility = LOG_USER, $level = Logger::DEBUG, $bubbl $this->facilities['local5'] = LOG_LOCAL5; $this->facilities['local6'] = LOG_LOCAL6; $this->facilities['local7'] = LOG_LOCAL7; + } else { + $this->facilities['local0'] = 128; // LOG_LOCAL0 + $this->facilities['local1'] = 136; // LOG_LOCAL1 + $this->facilities['local2'] = 144; // LOG_LOCAL2 + $this->facilities['local3'] = 152; // LOG_LOCAL3 + $this->facilities['local4'] = 160; // LOG_LOCAL4 + $this->facilities['local5'] = 168; // LOG_LOCAL5 + $this->facilities['local6'] = 176; // LOG_LOCAL6 + $this->facilities['local7'] = 184; // LOG_LOCAL7 } // convert textual description of facility to syslog constant diff --git a/vendor/aws/Monolog/Handler/AmqpHandler.php b/vendor/aws/Monolog/Handler/AmqpHandler.php index a28ba02..95a91fc 100644 --- a/vendor/aws/Monolog/Handler/AmqpHandler.php +++ b/vendor/aws/Monolog/Handler/AmqpHandler.php @@ -55,39 +55,89 @@ public function __construct($exchange, $exchangeName = 'log', $level = Logger::D protected function write(array $record) { $data = $record["formatted"]; - - $routingKey = sprintf( - '%s.%s', - // TODO 2.0 remove substr call - substr($record['level_name'], 0, 4), - $record['channel'] - ); + $routingKey = $this->getRoutingKey($record); if ($this->exchange instanceof AMQPExchange) { $this->exchange->publish( $data, - strtolower($routingKey), + $routingKey, 0, array( 'delivery_mode' => 2, - 'Content-type' => 'application/json' + 'content_type' => 'application/json', ) ); } else { $this->exchange->basic_publish( - new AMQPMessage( - (string) $data, - array( - 'delivery_mode' => 2, - 'content_type' => 'application/json' - ) - ), + $this->createAmqpMessage($data), $this->exchangeName, - strtolower($routingKey) + $routingKey ); } } + /** + * {@inheritDoc} + */ + public function handleBatch(array $records) + { + if ($this->exchange instanceof AMQPExchange) { + parent::handleBatch($records); + + return; + } + + foreach ($records as $record) { + if (!$this->isHandling($record)) { + continue; + } + + $record = $this->processRecord($record); + $data = $this->getFormatter()->format($record); + + $this->exchange->batch_basic_publish( + $this->createAmqpMessage($data), + $this->exchangeName, + $this->getRoutingKey($record) + ); + } + + $this->exchange->publish_batch(); + } + + /** + * Gets the routing key for the AMQP exchange + * + * @param array $record + * @return string + */ + private function getRoutingKey(array $record) + { + $routingKey = sprintf( + '%s.%s', + // TODO 2.0 remove substr call + substr($record['level_name'], 0, 4), + $record['channel'] + ); + + return strtolower($routingKey); + } + + /** + * @param string $data + * @return AMQPMessage + */ + private function createAmqpMessage($data) + { + return new AMQPMessage( + (string) $data, + array( + 'delivery_mode' => 2, + 'content_type' => 'application/json', + ) + ); + } + /** * {@inheritDoc} */ diff --git a/vendor/aws/Monolog/Handler/BrowserConsoleHandler.php b/vendor/aws/Monolog/Handler/BrowserConsoleHandler.php index a409952..b3a21bd 100644 --- a/vendor/aws/Monolog/Handler/BrowserConsoleHandler.php +++ b/vendor/aws/Monolog/Handler/BrowserConsoleHandler.php @@ -31,7 +31,6 @@ class BrowserConsoleHandler extends AbstractProcessingHandler * Example of formatted string: * * You can do [[blue text]]{color: blue} or [[green background]]{background-color: green; color: white} - * */ protected function getDefaultFormatter() { @@ -47,9 +46,9 @@ protected function write(array $record) self::$records[] = $record; // Register shutdown handler if not already done - if (PHP_SAPI !== 'cli' && !self::$initialized) { + if (!self::$initialized) { self::$initialized = true; - register_shutdown_function(array('Monolog\Handler\BrowserConsoleHandler', 'send')); + $this->registerShutdownFunction(); } } @@ -59,26 +58,16 @@ protected function write(array $record) */ public static function send() { - $htmlTags = true; - // Check content type - foreach (headers_list() as $header) { - if (stripos($header, 'content-type:') === 0) { - // This handler only works with HTML and javascript outputs - // text/javascript is obsolete in favour of application/javascript, but still used - if (stripos($header, 'application/javascript') !== false || stripos($header, 'text/javascript') !== false) { - $htmlTags = false; - } elseif (stripos($header, 'text/html') === false) { - return; - } - break; - } + $format = self::getResponseFormat(); + if ($format === 'unknown') { + return; } if (count(self::$records)) { - if ($htmlTags) { - echo ''; - } else { - echo self::generateScript(); + if ($format === 'html') { + self::writeOutput(''); + } elseif ($format === 'js') { + self::writeOutput(self::generateScript()); } self::reset(); } @@ -92,6 +81,55 @@ public static function reset() self::$records = array(); } + /** + * Wrapper for register_shutdown_function to allow overriding + */ + protected function registerShutdownFunction() + { + if (PHP_SAPI !== 'cli') { + register_shutdown_function(array('Monolog\Handler\BrowserConsoleHandler', 'send')); + } + } + + /** + * Wrapper for echo to allow overriding + * + * @param string $str + */ + protected static function writeOutput($str) + { + echo $str; + } + + /** + * Checks the format of the response + * + * If Content-Type is set to application/javascript or text/javascript -> js + * If Content-Type is set to text/html, or is unset -> html + * If Content-Type is anything else -> unknown + * + * @return string One of 'js', 'html' or 'unknown' + */ + protected static function getResponseFormat() + { + // Check content type + foreach (headers_list() as $header) { + if (stripos($header, 'content-type:') === 0) { + // This handler only works with HTML and javascript outputs + // text/javascript is obsolete in favour of application/javascript, but still used + if (stripos($header, 'application/javascript') !== false || stripos($header, 'text/javascript') !== false) { + return 'js'; + } + if (stripos($header, 'text/html') === false) { + return 'unknown'; + } + break; + } + } + + return 'html'; + } + private static function generateScript() { $script = array(); diff --git a/vendor/aws/Monolog/Handler/BufferHandler.php b/vendor/aws/Monolog/Handler/BufferHandler.php index 6d8136f..72f8953 100644 --- a/vendor/aws/Monolog/Handler/BufferHandler.php +++ b/vendor/aws/Monolog/Handler/BufferHandler.php @@ -32,8 +32,8 @@ class BufferHandler extends AbstractHandler /** * @param HandlerInterface $handler Handler. - * @param integer $bufferLimit How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $bufferLimit How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not * @param Boolean $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded */ diff --git a/vendor/aws/Monolog/Handler/ChromePHPHandler.php b/vendor/aws/Monolog/Handler/ChromePHPHandler.php index b3f2963..b00fa84 100644 --- a/vendor/aws/Monolog/Handler/ChromePHPHandler.php +++ b/vendor/aws/Monolog/Handler/ChromePHPHandler.php @@ -17,6 +17,8 @@ /** * Handler sending logs to the ChromePHP extension (http://www.chromephp.com/) * + * This also works out of the box with Firefox 43+ + * * @author Christophe Coevoet */ class ChromePHPHandler extends AbstractProcessingHandler @@ -30,6 +32,11 @@ class ChromePHPHandler extends AbstractProcessingHandler * Header name */ const HEADER_NAME = 'X-ChromeLogger-Data'; + + /** + * Regular expression to detect supported browsers (matches any Chrome, or Firefox 43+) + */ + const USER_AGENT_REGEX = '{\b(?:Chrome/\d+(?:\.\d+)*|Firefox/(?:4[3-9]|[5-9]\d|\d{3,})(?:\.\d)*)\b}'; protected static $initialized = false; @@ -51,7 +58,7 @@ class ChromePHPHandler extends AbstractProcessingHandler protected static $sendHeaders = true; /** - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($level = Logger::DEBUG, $bubble = true) @@ -175,7 +182,7 @@ protected function headersAccepted() return false; } - return preg_match('{\bChrome/\d+[\.\d+]*\b}', $_SERVER['HTTP_USER_AGENT']); + return preg_match(self::USER_AGENT_REGEX, $_SERVER['HTTP_USER_AGENT']); } /** diff --git a/vendor/aws/Monolog/Handler/CouchDBHandler.php b/vendor/aws/Monolog/Handler/CouchDBHandler.php index b3687c3..cc98697 100644 --- a/vendor/aws/Monolog/Handler/CouchDBHandler.php +++ b/vendor/aws/Monolog/Handler/CouchDBHandler.php @@ -54,7 +54,7 @@ protected function write(array $record) 'ignore_errors' => true, 'max_redirects' => 0, 'header' => 'Content-type: application/json', - ) + ), )); if (false === @file_get_contents($url, null, $context)) { diff --git a/vendor/aws/Monolog/Handler/CubeHandler.php b/vendor/aws/Monolog/Handler/CubeHandler.php index e7dd854..96b3ca0 100644 --- a/vendor/aws/Monolog/Handler/CubeHandler.php +++ b/vendor/aws/Monolog/Handler/CubeHandler.php @@ -21,37 +21,37 @@ */ class CubeHandler extends AbstractProcessingHandler { - private $udpConnection = null; - private $httpConnection = null; - private $scheme = null; - private $host = null; - private $port = null; + private $udpConnection; + private $httpConnection; + private $scheme; + private $host; + private $port; private $acceptedSchemes = array('http', 'udp'); /** * Create a Cube handler * * @throws \UnexpectedValueException when given url is not a valid url. - * A valid url must consists of three parts : protocol://host:port - * Only valid protocol used by Cube are http and udp + * A valid url must consist of three parts : protocol://host:port + * Only valid protocols used by Cube are http and udp */ public function __construct($url, $level = Logger::DEBUG, $bubble = true) { - $urlInfos = parse_url($url); + $urlInfo = parse_url($url); - if (!isset($urlInfos['scheme']) || !isset($urlInfos['host']) || !isset($urlInfos['port'])) { + if (!isset($urlInfo['scheme'], $urlInfo['host'], $urlInfo['port'])) { throw new \UnexpectedValueException('URL "'.$url.'" is not valid'); } - if (!in_array($urlInfos['scheme'], $this->acceptedSchemes)) { + if (!in_array($urlInfo['scheme'], $this->acceptedSchemes)) { throw new \UnexpectedValueException( - 'Invalid protocol (' . $urlInfos['scheme'] . ').' + 'Invalid protocol (' . $urlInfo['scheme'] . ').' . ' Valid options are ' . implode(', ', $this->acceptedSchemes)); } - $this->scheme = $urlInfos['scheme']; - $this->host = $urlInfos['host']; - $this->port = $urlInfos['port']; + $this->scheme = $urlInfo['scheme']; + $this->host = $urlInfo['host']; + $this->port = $urlInfo['port']; parent::__construct($level, $bubble); } @@ -59,7 +59,8 @@ public function __construct($url, $level = Logger::DEBUG, $bubble = true) /** * Establish a connection to an UDP socket * - * @throws \LogicException when unable to connect to the socket + * @throws \LogicException when unable to connect to the socket + * @throws MissingExtensionException when there is no socket extension */ protected function connectUdp() { @@ -79,6 +80,7 @@ protected function connectUdp() /** * Establish a connection to a http server + * @throws \LogicException when no curl extension */ protected function connectHttp() { @@ -140,10 +142,10 @@ private function writeHttp($data) curl_setopt($this->httpConnection, CURLOPT_POSTFIELDS, '['.$data.']'); curl_setopt($this->httpConnection, CURLOPT_HTTPHEADER, array( - 'Content-Type: application/json', - 'Content-Length: ' . strlen('['.$data.']')) - ); + 'Content-Type: application/json', + 'Content-Length: ' . strlen('['.$data.']'), + )); - Curl\Util::execute($ch, 5, false); + Curl\Util::execute($this->httpConnection, 5, false); } } diff --git a/vendor/aws/Monolog/Handler/Curl/Util.php b/vendor/aws/Monolog/Handler/Curl/Util.php index d71f0c6..48d30b3 100644 --- a/vendor/aws/Monolog/Handler/Curl/Util.php +++ b/vendor/aws/Monolog/Handler/Curl/Util.php @@ -26,20 +26,18 @@ class Util /** * Executes a CURL request with optional retries and exception on failure * - * @param resource $ch curl handler + * @param resource $ch curl handler * @throws \RuntimeException */ public static function execute($ch, $retries = 5, $closeAfterDone = true) { while ($retries--) { if (curl_exec($ch) === false) { - $curlErrno = curl_errno($ch); - + if (false === in_array($curlErrno, self::$retriableErrorCodes, true) || !$retries) { - $curlError = curl_error($ch); - + if ($closeAfterDone) { curl_close($ch); } diff --git a/vendor/aws/Monolog/Handler/DeduplicationHandler.php b/vendor/aws/Monolog/Handler/DeduplicationHandler.php new file mode 100644 index 0000000..7778c22 --- /dev/null +++ b/vendor/aws/Monolog/Handler/DeduplicationHandler.php @@ -0,0 +1,169 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Logger; + +/** + * Simple handler wrapper that deduplicates log records across multiple requests + * + * It also includes the BufferHandler functionality and will buffer + * all messages until the end of the request or flush() is called. + * + * This works by storing all log records' messages above $deduplicationLevel + * to the file specified by $deduplicationStore. When further logs come in at the end of the + * request (or when flush() is called), all those above $deduplicationLevel are checked + * against the existing stored logs. If they match and the timestamps in the stored log is + * not older than $time seconds, the new log record is discarded. If no log record is new, the + * whole data set is discarded. + * + * This is mainly useful in combination with Mail handlers or things like Slack or HipChat handlers + * that send messages to people, to avoid spamming with the same message over and over in case of + * a major component failure like a database server being down which makes all requests fail in the + * same way. + * + * @author Jordi Boggiano + */ +class DeduplicationHandler extends BufferHandler +{ + /** + * @var string + */ + protected $deduplicationStore; + + /** + * @var int + */ + protected $deduplicationLevel; + + /** + * @var int + */ + protected $time; + + /** + * @var bool + */ + private $gc = false; + + /** + * @param HandlerInterface $handler Handler. + * @param string $deduplicationStore The file/path where the deduplication log should be kept + * @param int $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes + * @param int $time The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + */ + public function __construct(HandlerInterface $handler, $deduplicationStore = null, $deduplicationLevel = Logger::ERROR, $time = 60, $bubble = true) + { + parent::__construct($handler, 0, Logger::DEBUG, $bubble, false); + + $this->deduplicationStore = $deduplicationStore === null ? sys_get_temp_dir() . '/monolog-dedup-' . substr(md5(__FILE__), 0, 20) .'.log' : $deduplicationStore; + $this->deduplicationLevel = Logger::toMonologLevel($deduplicationLevel); + $this->time = $time; + } + + public function flush() + { + if ($this->bufferSize === 0) { + return; + } + + $passthru = null; + + foreach ($this->buffer as $record) { + if ($record['level'] >= $this->deduplicationLevel) { + + $passthru = $passthru || !$this->isDuplicate($record); + if ($passthru) { + $this->appendRecord($record); + } + } + } + + // default of null is valid as well as if no record matches duplicationLevel we just pass through + if ($passthru === true || $passthru === null) { + $this->handler->handleBatch($this->buffer); + } + + $this->clear(); + + if ($this->gc) { + $this->collectLogs(); + } + } + + private function isDuplicate(array $record) + { + if (!file_exists($this->deduplicationStore)) { + return false; + } + + $store = file($this->deduplicationStore, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); + if (!is_array($store)) { + return false; + } + + $yesterday = time() - 86400; + $timestampValidity = $record['datetime']->getTimestamp() - $this->time; + $expectedMessage = preg_replace('{[\r\n].*}', '', $record['message']); + + for ($i = count($store) - 1; $i >= 0; $i--) { + list($timestamp, $level, $message) = explode(':', $store[$i], 3); + + if ($level === $record['level_name'] && $message === $expectedMessage && $timestamp > $timestampValidity) { + return true; + } + + if ($timestamp < $yesterday) { + $this->gc = true; + } + } + + return false; + } + + private function collectLogs() + { + if (!file_exists($this->deduplicationStore)) { + return false; + } + + $handle = fopen($this->deduplicationStore, 'rw+'); + flock($handle, LOCK_EX); + $validLogs = array(); + + $timestampValidity = time() - $this->time; + + while (!feof($handle)) { + $log = fgets($handle); + if (substr($log, 0, 10) >= $timestampValidity) { + $validLogs[] = $log; + } + } + + ftruncate($handle, 0); + rewind($handle); + foreach ($validLogs as $log) { + fwrite($handle, $log); + } + + flock($handle, LOCK_UN); + fclose($handle); + + $this->gc = false; + } + + private function appendRecord(array $record) + { + file_put_contents($this->deduplicationStore, $record['datetime']->getTimestamp() . ':' . $record['level_name'] . ':' . preg_replace('{[\r\n].*}', '', $record['message']) . "\n", FILE_APPEND); + } +} diff --git a/vendor/aws/Monolog/Handler/DynamoDbHandler.php b/vendor/aws/Monolog/Handler/DynamoDbHandler.php index e7f843c..7b20830 100644 --- a/vendor/aws/Monolog/Handler/DynamoDbHandler.php +++ b/vendor/aws/Monolog/Handler/DynamoDbHandler.php @@ -39,8 +39,8 @@ class DynamoDbHandler extends AbstractProcessingHandler /** * @param DynamoDbClient $client * @param string $table - * @param integer $level - * @param boolean $bubble + * @param int $level + * @param bool $bubble */ public function __construct(DynamoDbClient $client, $table, $level = Logger::DEBUG, $bubble = true) { @@ -64,7 +64,7 @@ protected function write(array $record) $this->client->putItem(array( 'TableName' => $this->table, - 'Item' => $formatted + 'Item' => $formatted, )); } diff --git a/vendor/aws/Monolog/Handler/ElasticSearchHandler.php b/vendor/aws/Monolog/Handler/ElasticSearchHandler.php index 96e5d57..8196740 100644 --- a/vendor/aws/Monolog/Handler/ElasticSearchHandler.php +++ b/vendor/aws/Monolog/Handler/ElasticSearchHandler.php @@ -48,7 +48,7 @@ class ElasticSearchHandler extends AbstractProcessingHandler /** * @param Client $client Elastica Client object * @param array $options Handler configuration - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct(Client $client, array $options = array(), $level = Logger::DEBUG, $bubble = true) diff --git a/vendor/aws/Monolog/Handler/ErrorLogHandler.php b/vendor/aws/Monolog/Handler/ErrorLogHandler.php index d1e1ee6..1447a58 100644 --- a/vendor/aws/Monolog/Handler/ErrorLogHandler.php +++ b/vendor/aws/Monolog/Handler/ErrorLogHandler.php @@ -28,8 +28,8 @@ class ErrorLogHandler extends AbstractProcessingHandler protected $expandNewlines; /** - * @param integer $messageType Says where the error should go. - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $messageType Says where the error should go. + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not * @param Boolean $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries */ diff --git a/vendor/aws/Monolog/Handler/FilterHandler.php b/vendor/aws/Monolog/Handler/FilterHandler.php index dad8227..2a0f7fd 100644 --- a/vendor/aws/Monolog/Handler/FilterHandler.php +++ b/vendor/aws/Monolog/Handler/FilterHandler.php @@ -31,7 +31,7 @@ class FilterHandler extends AbstractHandler protected $handler; /** - * Minimum level for logs that are passes to handler + * Minimum level for logs that are passed to handler * * @var int[] */ @@ -70,8 +70,8 @@ public function getAcceptedLevels() } /** - * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided - * @param int $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array + * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided + * @param int|string $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array */ public function setAcceptedLevels($minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY) { diff --git a/vendor/aws/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php b/vendor/aws/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php index e3b403f..2a2a64d 100644 --- a/vendor/aws/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php +++ b/vendor/aws/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php @@ -2,12 +2,12 @@ /* * This file is part of the Monolog package. -* -* (c) Jordi Boggiano -* -* For the full copyright and license information, please view the LICENSE -* file that was distributed with this source code. -*/ + * + * (c) Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Monolog\Handler\FingersCrossed; diff --git a/vendor/aws/Monolog/Handler/FingersCrossedHandler.php b/vendor/aws/Monolog/Handler/FingersCrossedHandler.php index 30a85dd..d1dcaac 100644 --- a/vendor/aws/Monolog/Handler/FingersCrossedHandler.php +++ b/vendor/aws/Monolog/Handler/FingersCrossedHandler.php @@ -79,6 +79,26 @@ public function isHandling(array $record) return true; } + /** + * Manually activate this logger regardless of the activation strategy + */ + public function activate() + { + if ($this->stopBuffering) { + $this->buffering = false; + } + if (!$this->handler instanceof HandlerInterface) { + $record = end($this->buffer) ?: null; + + $this->handler = call_user_func($this->handler, $record, $this); + if (!$this->handler instanceof HandlerInterface) { + throw new \RuntimeException("The factory callable should return a HandlerInterface"); + } + } + $this->handler->handleBatch($this->buffer); + $this->buffer = array(); + } + /** * {@inheritdoc} */ @@ -96,17 +116,7 @@ public function handle(array $record) array_shift($this->buffer); } if ($this->activationStrategy->isHandlerActivated($record)) { - if ($this->stopBuffering) { - $this->buffering = false; - } - if (!$this->handler instanceof HandlerInterface) { - $this->handler = call_user_func($this->handler, $record, $this); - if (!$this->handler instanceof HandlerInterface) { - throw new \RuntimeException("The factory callable should return a HandlerInterface"); - } - } - $this->handler->handleBatch($this->buffer); - $this->buffer = array(); + $this->activate(); } } else { $this->handler->handle($record); diff --git a/vendor/aws/Monolog/Handler/FleepHookHandler.php b/vendor/aws/Monolog/Handler/FleepHookHandler.php index 388692c..c43c013 100644 --- a/vendor/aws/Monolog/Handler/FleepHookHandler.php +++ b/vendor/aws/Monolog/Handler/FleepHookHandler.php @@ -118,7 +118,7 @@ private function buildHeader($content) private function buildContent($record) { $dataArray = array( - 'message' => $record['formatted'] + 'message' => $record['formatted'], ); return http_build_query($dataArray); diff --git a/vendor/aws/Monolog/Handler/GelfHandler.php b/vendor/aws/Monolog/Handler/GelfHandler.php index 28c7b55..d3847d8 100644 --- a/vendor/aws/Monolog/Handler/GelfHandler.php +++ b/vendor/aws/Monolog/Handler/GelfHandler.php @@ -33,15 +33,15 @@ class GelfHandler extends AbstractProcessingHandler /** * @param PublisherInterface|IMessagePublisher|Publisher $publisher a publisher object - * @param integer $level The minimum logging level at which this handler will be triggered - * @param boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($publisher, $level = Logger::DEBUG, $bubble = true) { parent::__construct($level, $bubble); if (!$publisher instanceof Publisher && !$publisher instanceof IMessagePublisher && !$publisher instanceof PublisherInterface) { - throw new InvalidArgumentException("Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance"); + throw new InvalidArgumentException('Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance'); } $this->publisher = $publisher; diff --git a/vendor/aws/Monolog/Handler/GroupHandler.php b/vendor/aws/Monolog/Handler/GroupHandler.php index 99384d3..663f5a9 100644 --- a/vendor/aws/Monolog/Handler/GroupHandler.php +++ b/vendor/aws/Monolog/Handler/GroupHandler.php @@ -11,6 +11,8 @@ namespace Monolog\Handler; +use Monolog\Formatter\FormatterInterface; + /** * Forwards records to multiple handlers * @@ -73,8 +75,30 @@ public function handle(array $record) */ public function handleBatch(array $records) { + if ($this->processors) { + $processed = array(); + foreach ($records as $record) { + foreach ($this->processors as $processor) { + $processed[] = call_user_func($processor, $record); + } + } + $records = $processed; + } + foreach ($this->handlers as $handler) { $handler->handleBatch($records); } } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + foreach ($this->handlers as $handler) { + $handler->setFormatter($formatter); + } + + return $this; + } } diff --git a/vendor/aws/Monolog/Handler/HandlerWrapper.php b/vendor/aws/Monolog/Handler/HandlerWrapper.php new file mode 100644 index 0000000..56bc270 --- /dev/null +++ b/vendor/aws/Monolog/Handler/HandlerWrapper.php @@ -0,0 +1,106 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Monolog\Handler; + +use Monolog\Formatter\FormatterInterface; + +/** + * This simple wrapper class can be used to extend handlers functionality. + * + * Example: A filtering handle. Inherit from this class, override isHandling() like this + * + * public function isHandling(array $record) + * { + * if ($record meets certain conditions) { + * return false; + * } + * return $this->handler->isHandling($record); + * } + * + * @author Alexey Karapetov + */ +class HandlerWrapper implements HandlerInterface +{ + /** + * @var HandlerInterface + */ + protected $handler; + + /** + * HandlerWrapper constructor. + * @param HandlerInterface $handler + */ + public function __construct(HandlerInterface $handler) + { + $this->handler = $handler; + } + + /** + * {@inheritdoc} + */ + public function isHandling(array $record) + { + return $this->handler->isHandling($record); + } + + /** + * {@inheritdoc} + */ + public function handle(array $record) + { + return $this->handler->handle($record); + } + + /** + * {@inheritdoc} + */ + public function handleBatch(array $records) + { + return $this->handler->handleBatch($records); + } + + /** + * {@inheritdoc} + */ + public function pushProcessor($callback) + { + $this->handler->pushProcessor($callback); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function popProcessor() + { + return $this->handler->popProcessor(); + } + + /** + * {@inheritdoc} + */ + public function setFormatter(FormatterInterface $formatter) + { + $this->handler->setFormatter($formatter); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getFormatter() + { + return $this->handler->getFormatter(); + } +} diff --git a/vendor/aws/Monolog/Handler/HipChatHandler.php b/vendor/aws/Monolog/Handler/HipChatHandler.php index 34d3437..73049f3 100644 --- a/vendor/aws/Monolog/Handler/HipChatHandler.php +++ b/vendor/aws/Monolog/Handler/HipChatHandler.php @@ -84,16 +84,16 @@ class HipChatHandler extends SocketHandler private $version; /** - * @param string $token HipChat API Token - * @param string $room The room that should be alerted of the message (Id or Name) - * @param string $name Name used in the "from" field. Not used for v2 - * @param bool $notify Trigger a notification in clients or not - * @param int $level The minimum logging level at which this handler will be triggered - * @param bool $bubble Whether the messages that are handled can bubble up the stack or not - * @param bool $useSSL Whether to connect via SSL. - * @param string $format The format of the messages (default to text, can be set to html if you have html in the messages) - * @param string $host The HipChat server hostname. - * @param string $version The HipChat API version (default HipChatHandler::API_V1) + * @param string $token HipChat API Token + * @param string $room The room that should be alerted of the message (Id or Name) + * @param string $name Name used in the "from" field. + * @param bool $notify Trigger a notification in clients or not + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param bool $useSSL Whether to connect via SSL. + * @param string $format The format of the messages (default to text, can be set to html if you have html in the messages) + * @param string $host The HipChat server hostname. + * @param string $version The HipChat API version (default HipChatHandler::API_V1) */ public function __construct($token, $room, $name = 'Monolog', $notify = false, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $format = 'text', $host = 'api.hipchat.com', $version = self::API_V1) { @@ -143,10 +143,23 @@ private function buildContent($record) 'color' => $this->getAlertColor($record['level']), ); + if (!$this->validateStringLength($dataArray['message'], static::MAXIMUM_MESSAGE_LENGTH)) { + if (function_exists('mb_substr')) { + $dataArray['message'] = mb_substr($dataArray['message'], 0, static::MAXIMUM_MESSAGE_LENGTH).' [truncated]'; + } else { + $dataArray['message'] = substr($dataArray['message'], 0, static::MAXIMUM_MESSAGE_LENGTH).' [truncated]'; + } + } + // if we are using the legacy API then we need to send some additional information if ($this->version == self::API_V1) { $dataArray['room_id'] = $this->room; - $dataArray['from'] = $this->name; + } + + // append the sender name if it is set + // always append it if we use the v1 api (it is required in v1) + if ($this->version == self::API_V1 || $this->name !== null) { + $dataArray['from'] = (string) $this->name; } return http_build_query($dataArray); @@ -179,7 +192,7 @@ private function buildHeader($content) /** * Assigns a color to each level of log records. * - * @param integer $level + * @param int $level * @return string */ protected function getAlertColor($level) @@ -303,7 +316,7 @@ private function combineRecords($records) array( 'level' => $level, 'level_name' => $levelName, - 'datetime' => $datetime + 'datetime' => $datetime, ) ); } diff --git a/vendor/aws/Monolog/Handler/IFTTTHandler.php b/vendor/aws/Monolog/Handler/IFTTTHandler.php index bc11705..d60a3c8 100644 --- a/vendor/aws/Monolog/Handler/IFTTTHandler.php +++ b/vendor/aws/Monolog/Handler/IFTTTHandler.php @@ -30,10 +30,10 @@ class IFTTTHandler extends AbstractProcessingHandler private $secretKey; /** - * @param string $eventName The name of the IFTTT Maker event that should be triggered - * @param string $secretKey A valid IFTTT secret key - * @param integer $level The minimum logging level at which this handler will be triggered - * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param string $eventName The name of the IFTTT Maker event that should be triggered + * @param string $secretKey A valid IFTTT secret key + * @param int $level The minimum logging level at which this handler will be triggered + * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($eventName, $secretKey, $level = Logger::ERROR, $bubble = true) { @@ -51,7 +51,7 @@ public function write(array $record) $postData = array( "value1" => $record["channel"], "value2" => $record["level_name"], - "value3" => $record["message"] + "value3" => $record["message"], ); $postString = json_encode($postData); @@ -61,7 +61,7 @@ public function write(array $record) curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postString); curl_setopt($ch, CURLOPT_HTTPHEADER, array( - "Content-Type: application/json" + "Content-Type: application/json", )); Curl\Util::execute($ch); diff --git a/vendor/aws/Monolog/Handler/LogEntriesHandler.php b/vendor/aws/Monolog/Handler/LogEntriesHandler.php index bd56230..494c605 100644 --- a/vendor/aws/Monolog/Handler/LogEntriesHandler.php +++ b/vendor/aws/Monolog/Handler/LogEntriesHandler.php @@ -24,10 +24,10 @@ class LogEntriesHandler extends SocketHandler protected $logToken; /** - * @param string $token Log token supplied by LogEntries - * @param boolean $useSSL Whether or not SSL encryption should be used. - * @param int $level The minimum logging level to trigger this handler - * @param boolean $bubble Whether or not messages that are handled should bubble up the stack. + * @param string $token Log token supplied by LogEntries + * @param bool $useSSL Whether or not SSL encryption should be used. + * @param int $level The minimum logging level to trigger this handler + * @param bool $bubble Whether or not messages that are handled should bubble up the stack. * * @throws MissingExtensionException If SSL encryption is set to true and OpenSSL is missing */ diff --git a/vendor/aws/Monolog/Handler/MailHandler.php b/vendor/aws/Monolog/Handler/MailHandler.php index 50ed638..9e23283 100644 --- a/vendor/aws/Monolog/Handler/MailHandler.php +++ b/vendor/aws/Monolog/Handler/MailHandler.php @@ -52,4 +52,16 @@ protected function write(array $record) { $this->send((string) $record['formatted'], array($record)); } + + protected function getHighestRecord(array $records) + { + $highestRecord = null; + foreach ($records as $record) { + if ($highestRecord === null || $highestRecord['level'] < $record['level']) { + $highestRecord = $record; + } + } + + return $highestRecord; + } } diff --git a/vendor/aws/Monolog/Handler/MandrillHandler.php b/vendor/aws/Monolog/Handler/MandrillHandler.php index 5c6b52f..ab95924 100644 --- a/vendor/aws/Monolog/Handler/MandrillHandler.php +++ b/vendor/aws/Monolog/Handler/MandrillHandler.php @@ -20,13 +20,13 @@ */ class MandrillHandler extends MailHandler { - protected $client; protected $message; + protected $apiKey; /** * @param string $apiKey A valid Mandrill API key * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($apiKey, $message, $level = Logger::ERROR, $bubble = true) diff --git a/vendor/aws/Monolog/Handler/MongoDBHandler.php b/vendor/aws/Monolog/Handler/MongoDBHandler.php index 6c431f2..56fe755 100644 --- a/vendor/aws/Monolog/Handler/MongoDBHandler.php +++ b/vendor/aws/Monolog/Handler/MongoDBHandler.php @@ -31,8 +31,8 @@ class MongoDBHandler extends AbstractProcessingHandler public function __construct($mongo, $database, $collection, $level = Logger::DEBUG, $bubble = true) { - if (!($mongo instanceof \MongoClient || $mongo instanceof \Mongo)) { - throw new \InvalidArgumentException('MongoClient or Mongo instance required'); + if (!($mongo instanceof \MongoClient || $mongo instanceof \Mongo || $mongo instanceof \MongoDB\Client)) { + throw new \InvalidArgumentException('MongoClient, Mongo or MongoDB\Client instance required'); } $this->mongoCollection = $mongo->selectCollection($database, $collection); @@ -42,7 +42,11 @@ public function __construct($mongo, $database, $collection, $level = Logger::DEB protected function write(array $record) { - $this->mongoCollection->save($record["formatted"]); + if ($this->mongoCollection instanceof \MongoDB\Collection) { + $this->mongoCollection->insertOne($record["formatted"]); + } else { + $this->mongoCollection->save($record["formatted"]); + } } /** diff --git a/vendor/aws/Monolog/Handler/NativeMailerHandler.php b/vendor/aws/Monolog/Handler/NativeMailerHandler.php index 5118a0e..d7807fd 100644 --- a/vendor/aws/Monolog/Handler/NativeMailerHandler.php +++ b/vendor/aws/Monolog/Handler/NativeMailerHandler.php @@ -12,6 +12,7 @@ namespace Monolog\Handler; use Monolog\Logger; +use Monolog\Formatter\LineFormatter; /** * NativeMailerHandler uses the mail() function to send the emails @@ -47,7 +48,7 @@ class NativeMailerHandler extends MailHandler /** * The wordwrap length for the message - * @var integer + * @var int */ protected $maxColumnWidth; @@ -67,8 +68,8 @@ class NativeMailerHandler extends MailHandler * @param string|array $to The receiver of the mail * @param string $subject The subject of the mail * @param string $from The sender of the mail - * @param integer $level The minimum logging level at which this handler will be triggered - * @param boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not * @param int $maxColumnWidth The maximum column width that the message lines will have */ public function __construct($to, $subject, $from, $level = Logger::ERROR, $bubble = true, $maxColumnWidth = 70) @@ -101,7 +102,7 @@ public function addHeader($headers) /** * Add parameters to the message * - * @param string|array $parameters Custom added parameters + * @param string|array $parameters Custom added parameters * @return self */ public function addParameter($parameters) @@ -122,8 +123,16 @@ protected function send($content, array $records) if ($this->getContentType() == 'text/html' && false === strpos($headers, 'MIME-Version:')) { $headers .= 'MIME-Version: 1.0' . "\r\n"; } + + $subject = $this->subject; + if ($records) { + $subjectFormatter = new LineFormatter($this->subject); + $subject = $subjectFormatter->format($this->getHighestRecord($records)); + } + + $parameters = implode(' ', $this->parameters); foreach ($this->to as $to) { - mail($to, $this->subject, $content, $headers, implode(' ', $this->parameters)); + mail($to, $subject, $content, $headers, $parameters); } } diff --git a/vendor/aws/Monolog/Handler/NewRelicHandler.php b/vendor/aws/Monolog/Handler/NewRelicHandler.php index 8cb4ab3..6718e9e 100644 --- a/vendor/aws/Monolog/Handler/NewRelicHandler.php +++ b/vendor/aws/Monolog/Handler/NewRelicHandler.php @@ -41,16 +41,16 @@ class NewRelicHandler extends AbstractProcessingHandler * Some context and extra data is passed into the handler as arrays of values. Do we send them as is * (useful if we are using the API), or explode them for display on the NewRelic RPM website? * - * @var boolean + * @var bool */ protected $explodeArrays; /** * {@inheritDoc} * - * @param string $appName - * @param boolean $explodeArrays - * @param string $transactionName + * @param string $appName + * @param bool $explodeArrays + * @param string $transactionName */ public function __construct( $level = Logger::ERROR, @@ -91,23 +91,27 @@ protected function write(array $record) newrelic_notice_error($record['message']); } - foreach ($record['formatted']['context'] as $key => $parameter) { - if (is_array($parameter) && $this->explodeArrays) { - foreach ($parameter as $paramKey => $paramValue) { - $this->setNewRelicParameter('context_' . $key . '_' . $paramKey, $paramValue); + if (isset($record['formatted']['context']) && is_array($record['formatted']['context'])) { + foreach ($record['formatted']['context'] as $key => $parameter) { + if (is_array($parameter) && $this->explodeArrays) { + foreach ($parameter as $paramKey => $paramValue) { + $this->setNewRelicParameter('context_' . $key . '_' . $paramKey, $paramValue); + } + } else { + $this->setNewRelicParameter('context_' . $key, $parameter); } - } else { - $this->setNewRelicParameter('context_' . $key, $parameter); } } - foreach ($record['formatted']['extra'] as $key => $parameter) { - if (is_array($parameter) && $this->explodeArrays) { - foreach ($parameter as $paramKey => $paramValue) { - $this->setNewRelicParameter('extra_' . $key . '_' . $paramKey, $paramValue); + if (isset($record['formatted']['extra']) && is_array($record['formatted']['extra'])) { + foreach ($record['formatted']['extra'] as $key => $parameter) { + if (is_array($parameter) && $this->explodeArrays) { + foreach ($parameter as $paramKey => $paramValue) { + $this->setNewRelicParameter('extra_' . $key . '_' . $paramKey, $paramValue); + } + } else { + $this->setNewRelicParameter('extra_' . $key, $parameter); } - } else { - $this->setNewRelicParameter('extra_' . $key, $parameter); } } } diff --git a/vendor/aws/Monolog/Handler/NullHandler.php b/vendor/aws/Monolog/Handler/NullHandler.php index 3754e45..4b84588 100644 --- a/vendor/aws/Monolog/Handler/NullHandler.php +++ b/vendor/aws/Monolog/Handler/NullHandler.php @@ -24,7 +24,7 @@ class NullHandler extends AbstractHandler { /** - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered */ public function __construct($level = Logger::DEBUG) { diff --git a/vendor/aws/Monolog/Handler/PHPConsoleHandler.php b/vendor/aws/Monolog/Handler/PHPConsoleHandler.php index 2b7e353..1f2076a 100644 --- a/vendor/aws/Monolog/Handler/PHPConsoleHandler.php +++ b/vendor/aws/Monolog/Handler/PHPConsoleHandler.php @@ -66,10 +66,10 @@ class PHPConsoleHandler extends AbstractProcessingHandler private $connector; /** - * @param array $options See \Monolog\Handler\PHPConsoleHandler::$options for more details - * @param Connector|null $connector Instance of \PhpConsole\Connector class (optional) - * @param int $level - * @param bool $bubble + * @param array $options See \Monolog\Handler\PHPConsoleHandler::$options for more details + * @param Connector|null $connector Instance of \PhpConsole\Connector class (optional) + * @param int $level + * @param bool $bubble * @throws Exception */ public function __construct(array $options = array(), Connector $connector = null, $level = Logger::DEBUG, $bubble = true) diff --git a/vendor/aws/Monolog/Handler/PushoverHandler.php b/vendor/aws/Monolog/Handler/PushoverHandler.php index 9917b64..bba7200 100644 --- a/vendor/aws/Monolog/Handler/PushoverHandler.php +++ b/vendor/aws/Monolog/Handler/PushoverHandler.php @@ -68,16 +68,16 @@ class PushoverHandler extends SocketHandler * @param string $token Pushover api token * @param string|array $users Pushover user id or array of ids the message will be sent to * @param string $title Title sent to the Pushover API - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not * @param Boolean $useSSL Whether to connect via SSL. Required when pushing messages to users that are not * the pushover.net app owner. OpenSSL is required for this option. - * @param integer $highPriorityLevel The minimum logging level at which this handler will start + * @param int $highPriorityLevel The minimum logging level at which this handler will start * sending "high priority" requests to the Pushover API - * @param integer $emergencyLevel The minimum logging level at which this handler will start + * @param int $emergencyLevel The minimum logging level at which this handler will start * sending "emergency" requests to the Pushover API - * @param integer $retry The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user. - * @param integer $expire The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds). + * @param int $retry The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user. + * @param int $expire The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds). */ public function __construct($token, $users, $title = null, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $highPriorityLevel = Logger::CRITICAL, $emergencyLevel = Logger::EMERGENCY, $retry = 30, $expire = 25200) { @@ -115,7 +115,7 @@ private function buildContent($record) 'user' => $this->user, 'message' => $message, 'title' => $this->title, - 'timestamp' => $timestamp + 'timestamp' => $timestamp, ); if (isset($record['level']) && $record['level'] >= $this->emergencyLevel) { @@ -176,7 +176,7 @@ public function setEmergencyLevel($value) /** * Use the formatted message? - * @param boolean $value + * @param bool $value */ public function useFormattedMessage($value) { diff --git a/vendor/aws/Monolog/Handler/RavenHandler.php b/vendor/aws/Monolog/Handler/RavenHandler.php index c37dbf3..9075827 100644 --- a/vendor/aws/Monolog/Handler/RavenHandler.php +++ b/vendor/aws/Monolog/Handler/RavenHandler.php @@ -38,6 +38,12 @@ class RavenHandler extends AbstractProcessingHandler Logger::EMERGENCY => Raven_Client::FATAL, ); + /** + * @var string should represent the current version of the calling + * software. Can be any string (git commit, version number) + */ + private $release; + /** * @var Raven_Client the client object that sends the message to the server */ @@ -50,7 +56,7 @@ class RavenHandler extends AbstractProcessingHandler /** * @param Raven_Client $ravenClient - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, $bubble = true) @@ -139,12 +145,24 @@ protected function write(array $record) $options['tags'] = array_merge($options['tags'], $record['context']['tags']); unset($record['context']['tags']); } + if (!empty($record['context']['fingerprint'])) { + $options['fingerprint'] = $record['context']['fingerprint']; + unset($record['context']['fingerprint']); + } if (!empty($record['context']['logger'])) { $options['logger'] = $record['context']['logger']; unset($record['context']['logger']); } else { $options['logger'] = $record['channel']; } + foreach ($this->getExtraParameters() as $key) { + foreach (array('extra', 'context') as $source) { + if (!empty($record[$source][$key])) { + $options[$key] = $record[$source][$key]; + unset($record[$source][$key]); + } + } + } if (!empty($record['context'])) { $options['extra']['context'] = $record['context']; if (!empty($record['context']['user'])) { @@ -157,6 +175,10 @@ protected function write(array $record) $options['extra']['extra'] = $record['extra']; } + if (!empty($this->release) && !isset($options['release'])) { + $options['release'] = $this->release; + } + if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Exception) { $options['extra']['message'] = $record['formatted']; $this->ravenClient->captureException($record['context']['exception'], $options); @@ -186,4 +208,24 @@ protected function getDefaultBatchFormatter() { return new LineFormatter(); } + + /** + * Gets extra parameters supported by Raven that can be found in "extra" and "context" + * + * @return array + */ + protected function getExtraParameters() + { + return array('checksum', 'release'); + } + + /** + * @param string $value + */ + public function setRelease($value) + { + $this->release = $value; + + return $this; + } } diff --git a/vendor/aws/Monolog/Handler/RedisHandler.php b/vendor/aws/Monolog/Handler/RedisHandler.php index 157e2f9..590f996 100644 --- a/vendor/aws/Monolog/Handler/RedisHandler.php +++ b/vendor/aws/Monolog/Handler/RedisHandler.php @@ -34,9 +34,9 @@ class RedisHandler extends AbstractProcessingHandler /** * @param \Predis\Client|\Redis $redis The redis instance * @param string $key The key name to push records to - * @param integer $level The minimum logging level at which this handler will be triggered - * @param boolean $bubble Whether the messages that are handled can bubble up the stack or not - * @param integer $capSize Number of entries to limit list size to + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $capSize Number of entries to limit list size to */ public function __construct($redis, $key, $level = Logger::DEBUG, $bubble = true, $capSize = false) { @@ -67,7 +67,7 @@ protected function write(array $record) * Write and cap the collection * Writes the record to the redis list and caps its * - * @param array $record associative record array + * @param array $record associative record array * @return void */ protected function writeCapped(array $record) @@ -76,7 +76,7 @@ protected function writeCapped(array $record) $this->redisClient->multi() ->rpush($this->redisKey, $record["formatted"]) ->ltrim($this->redisKey, -$this->capSize, -1) - ->execute(); + ->exec(); } else { $redisKey = $this->redisKey; $capSize = $this->capSize; diff --git a/vendor/aws/Monolog/Handler/RollbarHandler.php b/vendor/aws/Monolog/Handler/RollbarHandler.php index 42b7360..e11d464 100644 --- a/vendor/aws/Monolog/Handler/RollbarHandler.php +++ b/vendor/aws/Monolog/Handler/RollbarHandler.php @@ -18,6 +18,9 @@ /** * Sends errors to Rollbar * + * If the context data contains a `payload` key, that is used as an array + * of payload options to RollbarNotifier's report_message/report_exception methods. + * * @author Paul Statezny */ class RollbarHandler extends AbstractProcessingHandler @@ -38,8 +41,8 @@ class RollbarHandler extends AbstractProcessingHandler /** * @param RollbarNotifier $rollbarNotifier RollbarNotifier object constructed with valid token - * @param integer $level The minimum logging level at which this handler will be triggered - * @param boolean $bubble Whether the messages that are handled can bubble up the stack or not + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct(RollbarNotifier $rollbarNotifier, $level = Logger::ERROR, $bubble = true) { @@ -54,7 +57,17 @@ public function __construct(RollbarNotifier $rollbarNotifier, $level = Logger::E protected function write(array $record) { if (isset($record['context']['exception']) && $record['context']['exception'] instanceof Exception) { - $this->rollbarNotifier->report_exception($record['context']['exception']); + $context = $record['context']; + $exception = $context['exception']; + unset($context['exception']); + + $payload = array(); + if (isset($context['payload'])) { + $payload = $context['payload']; + unset($context['payload']); + } + + $this->rollbarNotifier->report_exception($exception, $context, $payload); } else { $extraData = array( 'level' => $record['level'], @@ -62,10 +75,18 @@ protected function write(array $record) 'datetime' => $record['datetime']->format('U'), ); + $context = $record['context']; + $payload = array(); + if (isset($context['payload'])) { + $payload = $context['payload']; + unset($context['payload']); + } + $this->rollbarNotifier->report_message( $record['message'], $record['level_name'], - array_merge($record['context'], $record['extra'], $extraData) + array_merge($record['context'], $record['extra'], $extraData), + $payload ); } diff --git a/vendor/aws/Monolog/Handler/RotatingFileHandler.php b/vendor/aws/Monolog/Handler/RotatingFileHandler.php index 0a20377..cd93805 100644 --- a/vendor/aws/Monolog/Handler/RotatingFileHandler.php +++ b/vendor/aws/Monolog/Handler/RotatingFileHandler.php @@ -24,6 +24,10 @@ */ class RotatingFileHandler extends StreamHandler { + const FILE_PER_DAY = 'Y-m-d'; + const FILE_PER_MONTH = 'Y-m'; + const FILE_PER_YEAR = 'Y'; + protected $filename; protected $maxFiles; protected $mustRotate; @@ -33,8 +37,8 @@ class RotatingFileHandler extends StreamHandler /** * @param string $filename - * @param integer $maxFiles The maximal amount of files to keep (0 means unlimited) - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $maxFiles The maximal amount of files to keep (0 means unlimited) + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write) * @param Boolean $useLocking Try to lock log file before doing any writes @@ -64,6 +68,20 @@ public function close() public function setFilenameFormat($filenameFormat, $dateFormat) { + if (!in_array($dateFormat, array(self::FILE_PER_DAY, self::FILE_PER_MONTH, self::FILE_PER_YEAR))) { + trigger_error( + 'Invalid date format - format should be one of '. + 'RotatingFileHandler::FILE_PER_DAY, RotatingFileHandler::FILE_PER_MONTH '. + 'or RotatingFileHandler::FILE_PER_YEAR.', + E_USER_DEPRECATED + ); + } + if (substr_count($filenameFormat, '{date}') === 0) { + trigger_error( + 'Invalid filename format - format should contain at least `{date}`, because otherwise rotating is impossible.', + E_USER_DEPRECATED + ); + } $this->filenameFormat = $filenameFormat; $this->dateFormat = $dateFormat; $this->url = $this->getTimedFilename(); @@ -115,7 +133,11 @@ protected function rotate() foreach (array_slice($logFiles, $this->maxFiles) as $file) { if (is_writable($file)) { + // suppress errors here as unlink() might fail if two processes + // are cleaning up/rotating at the same time + set_error_handler(function ($errno, $errstr, $errfile, $errline) {}); unlink($file); + restore_error_handler(); } } diff --git a/vendor/aws/Monolog/Handler/SlackHandler.php b/vendor/aws/Monolog/Handler/SlackHandler.php index 643b003..ac2af02 100644 --- a/vendor/aws/Monolog/Handler/SlackHandler.php +++ b/vendor/aws/Monolog/Handler/SlackHandler.php @@ -70,15 +70,16 @@ class SlackHandler extends SocketHandler private $lineFormatter; /** - * @param string $token Slack API token - * @param string $channel Slack channel (encoded ID or name) - * @param string $username Name of a bot - * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise) - * @param string|null $iconEmoji The emoji name to use (or null) - * @param int $level The minimum logging level at which this handler will be triggered - * @param bool $bubble Whether the messages that are handled can bubble up the stack or not - * @param bool $useShortAttachment Whether the the context/extra messages added to Slack as attachments are in a short style - * @param bool $includeContextAndExtra Whether the attachment should include context and extra data + * @param string $token Slack API token + * @param string $channel Slack channel (encoded ID or name) + * @param string $username Name of a bot + * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise) + * @param string|null $iconEmoji The emoji name to use (or null) + * @param int $level The minimum logging level at which this handler will be triggered + * @param bool $bubble Whether the messages that are handled can bubble up the stack or not + * @param bool $useShortAttachment Whether the the context/extra messages added to Slack as attachments are in a short style + * @param bool $includeContextAndExtra Whether the attachment should include context and extra data + * @throws MissingExtensionException If no OpenSSL PHP extension configured */ public function __construct($token, $channel, $username = 'Monolog', $useAttachment = true, $iconEmoji = null, $level = Logger::CRITICAL, $bubble = true, $useShortAttachment = false, $includeContextAndExtra = false) { @@ -95,7 +96,8 @@ public function __construct($token, $channel, $username = 'Monolog', $useAttachm $this->useAttachment = $useAttachment; $this->useShortAttachment = $useShortAttachment; $this->includeContextAndExtra = $includeContextAndExtra; - if ($this->includeContextAndExtra) { + + if ($this->includeContextAndExtra && $this->useShortAttachment) { $this->lineFormatter = new LineFormatter; } } @@ -139,35 +141,26 @@ protected function prepareContentData($record) 'channel' => $this->channel, 'username' => $this->username, 'text' => '', - 'attachments' => array() + 'attachments' => array(), ); if ($this->useAttachment) { $attachment = array( 'fallback' => $record['message'], - 'color' => $this->getAttachmentColor($record['level']) + 'color' => $this->getAttachmentColor($record['level']), + 'fields' => array(), ); if ($this->useShortAttachment) { - $attachment['fields'] = array( - array( - 'title' => $record['level_name'], - 'value' => $record['message'], - 'short' => false - ) - ); + $attachment['title'] = $record['level_name']; + $attachment['text'] = $record['message']; } else { - $attachment['fields'] = array( - array( - 'title' => 'Message', - 'value' => $record['message'], - 'short' => false - ), - array( - 'title' => 'Level', - 'value' => $record['level_name'], - 'short' => true - ) + $attachment['title'] = 'Message'; + $attachment['text'] = $record['message']; + $attachment['fields'][] = array( + 'title' => 'Level', + 'value' => $record['level_name'], + 'short' => true, ); } @@ -177,7 +170,7 @@ protected function prepareContentData($record) $attachment['fields'][] = array( 'title' => "Extra", 'value' => $this->stringify($record['extra']), - 'short' => $this->useShortAttachment + 'short' => $this->useShortAttachment, ); } else { // Add all extra fields as individual fields in attachment @@ -185,7 +178,7 @@ protected function prepareContentData($record) $attachment['fields'][] = array( 'title' => $var, 'value' => $val, - 'short' => $this->useShortAttachment + 'short' => $this->useShortAttachment, ); } } @@ -196,7 +189,7 @@ protected function prepareContentData($record) $attachment['fields'][] = array( 'title' => "Context", 'value' => $this->stringify($record['context']), - 'short' => $this->useShortAttachment + 'short' => $this->useShortAttachment, ); } else { // Add all context fields as individual fields in attachment @@ -204,7 +197,7 @@ protected function prepareContentData($record) $attachment['fields'][] = array( 'title' => $var, 'value' => $val, - 'short' => $this->useShortAttachment + 'short' => $this->useShortAttachment, ); } } @@ -248,6 +241,10 @@ private function buildHeader($content) protected function write(array $record) { parent::write($record); + $res = $this->getResource(); + if (is_resource($res)) { + @fread($res, 2048); + } $this->closeSocket(); } @@ -275,8 +272,7 @@ protected function getAttachmentColor($level) /** * Stringifies an array of key/value pairs to be used in attachment fields * - * @param array $fields - * @access protected + * @param array $fields * @return string */ protected function stringify($fields) diff --git a/vendor/aws/Monolog/Handler/SocketHandler.php b/vendor/aws/Monolog/Handler/SocketHandler.php index a3e7252..7a61bf4 100644 --- a/vendor/aws/Monolog/Handler/SocketHandler.php +++ b/vendor/aws/Monolog/Handler/SocketHandler.php @@ -25,13 +25,16 @@ class SocketHandler extends AbstractProcessingHandler private $connectionTimeout; private $resource; private $timeout = 0; + private $writingTimeout = 10; + private $lastSentBytes = null; private $persistent = false; private $errno; private $errstr; + private $lastWritingAt; /** * @param string $connectionString Socket connection string - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($connectionString, $level = Logger::DEBUG, $bubble = true) @@ -80,7 +83,7 @@ public function closeSocket() /** * Set socket connection to nbe persistent. It only has effect before the connection is initiated. * - * @param boolean $persistent + * @param bool $persistent */ public function setPersistent($persistent) { @@ -113,6 +116,17 @@ public function setTimeout($seconds) $this->timeout = (float) $seconds; } + /** + * Set writing timeout. Only has effect during connection in the writing cycle. + * + * @param float $seconds 0 for no timeout + */ + public function setWritingTimeout($seconds) + { + $this->validateTimeout($seconds); + $this->writingTimeout = (float) $seconds; + } + /** * Get current connection string * @@ -126,7 +140,7 @@ public function getConnectionString() /** * Get persistent setting * - * @return boolean + * @return bool */ public function isPersistent() { @@ -153,12 +167,22 @@ public function getTimeout() return $this->timeout; } + /** + * Get current local writing timeout + * + * @return float + */ + public function getWritingTimeout() + { + return $this->writingTimeout; + } + /** * Check to see if the socket is currently available. * * UDP might appear to be connected but might fail when writing. See http://php.net/fsockopen for details. * - * @return boolean + * @return bool */ public function isConnected() { @@ -232,6 +256,14 @@ protected function generateDataStream($record) return (string) $record['formatted']; } + /** + * @return resource|null + */ + protected function getResource() + { + return $this->resource; + } + private function connect() { $this->createSocketResource(); @@ -262,6 +294,7 @@ private function writeToSocket($data) { $length = strlen($data); $sent = 0; + $this->lastSentBytes = $sent; while ($this->isConnected() && $sent < $length) { if (0 == $sent) { $chunk = $this->fwrite($data); @@ -276,9 +309,38 @@ private function writeToSocket($data) if ($socketInfo['timed_out']) { throw new \RuntimeException("Write timed-out"); } + + if ($this->writingIsTimedOut($sent)) { + throw new \RuntimeException("Write timed-out, no data sent for `{$this->writingTimeout}` seconds, probably we got disconnected (sent $sent of $length)"); + } } if (!$this->isConnected() && $sent < $length) { throw new \RuntimeException("End-of-file reached, probably we got disconnected (sent $sent of $length)"); } } + + private function writingIsTimedOut($sent) + { + $writingTimeout = (int) floor($this->writingTimeout); + if (0 === $writingTimeout) { + return false; + } + + if ($sent !== $this->lastSentBytes) { + $this->lastWritingAt = time(); + $this->lastSentBytes = $sent; + + return false; + } else { + usleep(100); + } + + if ((time() - $this->lastWritingAt) >= $writingTimeout) { + $this->closeSocket(); + + return true; + } + + return false; + } } diff --git a/vendor/aws/Monolog/Handler/StreamHandler.php b/vendor/aws/Monolog/Handler/StreamHandler.php index 28b9b11..b084f1a 100644 --- a/vendor/aws/Monolog/Handler/StreamHandler.php +++ b/vendor/aws/Monolog/Handler/StreamHandler.php @@ -31,7 +31,7 @@ class StreamHandler extends AbstractProcessingHandler /** * @param resource|string $stream - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write) * @param Boolean $useLocking Try to lock log file before doing any writes @@ -59,19 +59,39 @@ public function __construct($stream, $level = Logger::DEBUG, $bubble = true, $fi */ public function close() { - if (is_resource($this->stream)) { + if ($this->url && is_resource($this->stream)) { fclose($this->stream); } $this->stream = null; } + /** + * Return the currently active stream if it is open + * + * @return resource|null + */ + public function getStream() + { + return $this->stream; + } + + /** + * Return the stream URL if it was configured with a URL and not an active resource + * + * @return string|null + */ + public function getUrl() + { + return $this->url; + } + /** * {@inheritdoc} */ protected function write(array $record) { if (!is_resource($this->stream)) { - if (!$this->url) { + if (null === $this->url || '' === $this->url) { throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().'); } $this->createDir(); diff --git a/vendor/aws/Monolog/Handler/SwiftMailerHandler.php b/vendor/aws/Monolog/Handler/SwiftMailerHandler.php index c724bb2..aba1396 100644 --- a/vendor/aws/Monolog/Handler/SwiftMailerHandler.php +++ b/vendor/aws/Monolog/Handler/SwiftMailerHandler.php @@ -12,6 +12,7 @@ namespace Monolog\Handler; use Monolog\Logger; +use Monolog\Formatter\LineFormatter; /** * SwiftMailerHandler uses Swift_Mailer to send the emails @@ -26,7 +27,7 @@ class SwiftMailerHandler extends MailHandler /** * @param \Swift_Mailer $mailer The mailer to use * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct(\Swift_Mailer $mailer, $message, $level = Logger::ERROR, $bubble = true) @@ -48,8 +49,8 @@ protected function send($content, array $records) /** * Creates instance of Swift_Message to be sent * - * @param string $content formatted email body to be sent - * @param array $records Log records that formed the content + * @param string $content formatted email body to be sent + * @param array $records Log records that formed the content * @return \Swift_Message */ protected function buildMessage($content, array $records) @@ -57,6 +58,7 @@ protected function buildMessage($content, array $records) $message = null; if ($this->messageTemplate instanceof \Swift_Message) { $message = clone $this->messageTemplate; + $message->generateId(); } elseif (is_callable($this->messageTemplate)) { $message = call_user_func($this->messageTemplate, $content, $records); } @@ -65,6 +67,11 @@ protected function buildMessage($content, array $records) throw new \InvalidArgumentException('Could not resolve message as instance of Swift_Message or a callable returning it'); } + if ($records) { + $subjectFormatter = new LineFormatter($message->getSubject()); + $message->setSubject($subjectFormatter->format($this->getHighestRecord($records))); + } + $message->setBody($content); $message->setDate(time()); diff --git a/vendor/aws/Monolog/Handler/SyslogHandler.php b/vendor/aws/Monolog/Handler/SyslogHandler.php index 47c73e1..376bc3b 100644 --- a/vendor/aws/Monolog/Handler/SyslogHandler.php +++ b/vendor/aws/Monolog/Handler/SyslogHandler.php @@ -34,7 +34,7 @@ class SyslogHandler extends AbstractSyslogHandler /** * @param string $ident * @param mixed $facility - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not * @param int $logopts Option flags for the openlog() call, defaults to LOG_PID */ diff --git a/vendor/aws/Monolog/Handler/SyslogUdp/UdpSocket.php b/vendor/aws/Monolog/Handler/SyslogUdp/UdpSocket.php index 41d1975..3bff085 100644 --- a/vendor/aws/Monolog/Handler/SyslogUdp/UdpSocket.php +++ b/vendor/aws/Monolog/Handler/SyslogUdp/UdpSocket.php @@ -15,6 +15,10 @@ class UdpSocket { const DATAGRAM_MAX_LENGTH = 65023; + protected $ip; + protected $port; + protected $socket; + public function __construct($ip, $port = 514) { $this->ip = $ip; diff --git a/vendor/aws/Monolog/Handler/SyslogUdpHandler.php b/vendor/aws/Monolog/Handler/SyslogUdpHandler.php index aa047c0..b175cc3 100644 --- a/vendor/aws/Monolog/Handler/SyslogUdpHandler.php +++ b/vendor/aws/Monolog/Handler/SyslogUdpHandler.php @@ -21,11 +21,13 @@ */ class SyslogUdpHandler extends AbstractSyslogHandler { + protected $socket; + /** * @param string $host * @param int $port * @param mixed $facility - * @param integer $level The minimum logging level at which this handler will be triggered + * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($host, $port = 514, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true) diff --git a/vendor/aws/Monolog/Handler/TestHandler.php b/vendor/aws/Monolog/Handler/TestHandler.php index e24fa9e..458020b 100644 --- a/vendor/aws/Monolog/Handler/TestHandler.php +++ b/vendor/aws/Monolog/Handler/TestHandler.php @@ -18,50 +18,50 @@ * * @author Jordi Boggiano * - * @method boolean hasEmergency($record) - * @method boolean hasAlert($record) - * @method boolean hasCritical($record) - * @method boolean hasError($record) - * @method boolean hasWarning($record) - * @method boolean hasNotice($record) - * @method boolean hasInfo($record) - * @method boolean hasDebug($record) + * @method bool hasEmergency($record) + * @method bool hasAlert($record) + * @method bool hasCritical($record) + * @method bool hasError($record) + * @method bool hasWarning($record) + * @method bool hasNotice($record) + * @method bool hasInfo($record) + * @method bool hasDebug($record) * - * @method boolean hasEmergencyRecords() - * @method boolean hasAlertRecords() - * @method boolean hasCriticalRecords() - * @method boolean hasErrorRecords() - * @method boolean hasWarningRecords() - * @method boolean hasNoticeRecords() - * @method boolean hasInfoRecords() - * @method boolean hasDebugRecords() + * @method bool hasEmergencyRecords() + * @method bool hasAlertRecords() + * @method bool hasCriticalRecords() + * @method bool hasErrorRecords() + * @method bool hasWarningRecords() + * @method bool hasNoticeRecords() + * @method bool hasInfoRecords() + * @method bool hasDebugRecords() * - * @method boolean hasEmergencyThatContains($message) - * @method boolean hasAlertThatContains($message) - * @method boolean hasCriticalThatContains($message) - * @method boolean hasErrorThatContains($message) - * @method boolean hasWarningThatContains($message) - * @method boolean hasNoticeThatContains($message) - * @method boolean hasInfoThatContains($message) - * @method boolean hasDebugThatContains($message) + * @method bool hasEmergencyThatContains($message) + * @method bool hasAlertThatContains($message) + * @method bool hasCriticalThatContains($message) + * @method bool hasErrorThatContains($message) + * @method bool hasWarningThatContains($message) + * @method bool hasNoticeThatContains($message) + * @method bool hasInfoThatContains($message) + * @method bool hasDebugThatContains($message) * - * @method boolean hasEmergencyThatMatches($message) - * @method boolean hasAlertThatMatches($message) - * @method boolean hasCriticalThatMatches($message) - * @method boolean hasErrorThatMatches($message) - * @method boolean hasWarningThatMatches($message) - * @method boolean hasNoticeThatMatches($message) - * @method boolean hasInfoThatMatches($message) - * @method boolean hasDebugThatMatches($message) + * @method bool hasEmergencyThatMatches($message) + * @method bool hasAlertThatMatches($message) + * @method bool hasCriticalThatMatches($message) + * @method bool hasErrorThatMatches($message) + * @method bool hasWarningThatMatches($message) + * @method bool hasNoticeThatMatches($message) + * @method bool hasInfoThatMatches($message) + * @method bool hasDebugThatMatches($message) * - * @method boolean hasEmergencyThatPasses($message) - * @method boolean hasAlertThatPasses($message) - * @method boolean hasCriticalThatPasses($message) - * @method boolean hasErrorThatPasses($message) - * @method boolean hasWarningThatPasses($message) - * @method boolean hasNoticeThatPasses($message) - * @method boolean hasInfoThatPasses($message) - * @method boolean hasDebugThatPasses($message) + * @method bool hasEmergencyThatPasses($message) + * @method bool hasAlertThatPasses($message) + * @method bool hasCriticalThatPasses($message) + * @method bool hasErrorThatPasses($message) + * @method bool hasWarningThatPasses($message) + * @method bool hasNoticeThatPasses($message) + * @method bool hasInfoThatPasses($message) + * @method bool hasDebugThatPasses($message) */ class TestHandler extends AbstractProcessingHandler { @@ -73,6 +73,12 @@ public function getRecords() return $this->records; } + public function clear() + { + $this->records = array(); + $this->recordsByLevel = array(); + } + protected function hasRecordRecords($level) { return isset($this->recordsByLevel[$level]); diff --git a/vendor/aws/Monolog/Handler/WhatFailureGroupHandler.php b/vendor/aws/Monolog/Handler/WhatFailureGroupHandler.php index 05a8817..2732ba3 100644 --- a/vendor/aws/Monolog/Handler/WhatFailureGroupHandler.php +++ b/vendor/aws/Monolog/Handler/WhatFailureGroupHandler.php @@ -35,6 +35,8 @@ public function handle(array $record) $handler->handle($record); } catch (\Exception $e) { // What failure? + } catch (\Throwable $e) { + // What failure? } } @@ -51,6 +53,8 @@ public function handleBatch(array $records) $handler->handleBatch($records); } catch (\Exception $e) { // What failure? + } catch (\Throwable $e) { + // What failure? } } } diff --git a/vendor/aws/Monolog/Logger.php b/vendor/aws/Monolog/Logger.php index d31a098..2fbc02c 100644 --- a/vendor/aws/Monolog/Logger.php +++ b/vendor/aws/Monolog/Logger.php @@ -92,14 +92,14 @@ class Logger implements LoggerInterface * @var array $levels Logging levels */ protected static $levels = array( - 100 => 'DEBUG', - 200 => 'INFO', - 250 => 'NOTICE', - 300 => 'WARNING', - 400 => 'ERROR', - 500 => 'CRITICAL', - 550 => 'ALERT', - 600 => 'EMERGENCY', + self::DEBUG => 'DEBUG', + self::INFO => 'INFO', + self::NOTICE => 'NOTICE', + self::WARNING => 'WARNING', + self::ERROR => 'ERROR', + self::CRITICAL => 'CRITICAL', + self::ALERT => 'ALERT', + self::EMERGENCY => 'EMERGENCY', ); /** @@ -128,6 +128,11 @@ class Logger implements LoggerInterface */ protected $processors; + /** + * @var bool + */ + protected $microsecondTimestamps = true; + /** * @param string $name The logging channel * @param HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. @@ -148,10 +153,23 @@ public function getName() return $this->name; } + /** + * Return a new cloned instance with the name changed + * + * @return static + */ + public function withName($name) + { + $new = clone $this; + $new->name = $name; + + return $new; + } + /** * Pushes a handler on to the stack. * - * @param HandlerInterface $handler + * @param HandlerInterface $handler * @return $this */ public function pushHandler(HandlerInterface $handler) @@ -180,7 +198,7 @@ public function popHandler() * * If a map is passed, keys will be ignored. * - * @param HandlerInterface[] $handlers + * @param HandlerInterface[] $handlers * @return $this */ public function setHandlers(array $handlers) @@ -204,7 +222,7 @@ public function getHandlers() /** * Adds a processor on to the stack. * - * @param callable $callback + * @param callable $callback * @return $this */ public function pushProcessor($callback) @@ -239,10 +257,28 @@ public function getProcessors() return $this->processors; } + /** + * Control the use of microsecond resolution timestamps in the 'datetime' + * member of new records. + * + * Generating microsecond resolution timestamps by calling + * microtime(true), formatting the result via sprintf() and then parsing + * the resulting string via \DateTime::createFromFormat() can incur + * a measurable runtime overhead vs simple usage of DateTime to capture + * a second resolution timestamp in systems which generate a large number + * of log events. + * + * @param bool $micro True to use microtime() to create timestamps + */ + public function useMicrosecondTimestamps($micro) + { + $this->microsecondTimestamps = (bool) $micro; + } + /** * Adds a log record. * - * @param integer $level The logging level + * @param int $level The logging level * @param string $message The log message * @param array $context The log context * @return Boolean Whether the record has been processed @@ -257,11 +293,14 @@ public function addRecord($level, $message, array $context = array()) // check if any handler will handle this message so we can return early and save cycles $handlerKey = null; - foreach ($this->handlers as $key => $handler) { + reset($this->handlers); + while ($handler = current($this->handlers)) { if ($handler->isHandling(array('level' => $level))) { - $handlerKey = $key; + $handlerKey = key($this->handlers); break; } + + next($this->handlers); } if (null === $handlerKey) { @@ -272,22 +311,33 @@ public function addRecord($level, $message, array $context = array()) static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC'); } + if ($this->microsecondTimestamps) { + $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone); + } else { + $ts = new \DateTime(null, static::$timezone); + } + $ts->setTimezone(static::$timezone); + $record = array( 'message' => (string) $message, 'context' => $context, 'level' => $level, 'level_name' => $levelName, 'channel' => $this->name, - 'datetime' => \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone)->setTimezone(static::$timezone), + 'datetime' => $ts, 'extra' => array(), ); foreach ($this->processors as $processor) { $record = call_user_func($processor, $record); } - while (isset($this->handlers[$handlerKey]) && - false === $this->handlers[$handlerKey]->handle($record)) { - $handlerKey++; + + while ($handler = current($this->handlers)) { + if (true === $handler->handle($record)) { + break; + } + + next($this->handlers); } return true; @@ -402,7 +452,7 @@ public static function getLevels() /** * Gets the name of the logging level. * - * @param integer $level + * @param int $level * @return string */ public static function getLevelName($level) @@ -432,7 +482,7 @@ public static function toMonologLevel($level) /** * Checks whether the Logger has a handler that listens on the given level * - * @param integer $level + * @param int $level * @return Boolean */ public function isHandling($level) diff --git a/vendor/aws/Monolog/Processor/IntrospectionProcessor.php b/vendor/aws/Monolog/Processor/IntrospectionProcessor.php index afc9be9..2691630 100644 --- a/vendor/aws/Monolog/Processor/IntrospectionProcessor.php +++ b/vendor/aws/Monolog/Processor/IntrospectionProcessor.php @@ -30,15 +30,18 @@ class IntrospectionProcessor private $skipClassesPartials; + private $skipStackFramesCount; + private $skipFunctions = array( 'call_user_func', 'call_user_func_array', ); - public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array()) + public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0) { $this->level = Logger::toMonologLevel($level); $this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials); + $this->skipStackFramesCount = $skipStackFramesCount; } /** @@ -52,7 +55,7 @@ public function __invoke(array $record) return $record; } - $trace = debug_backtrace(); + $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); // skip first since it's always the current method array_shift($trace); @@ -61,7 +64,7 @@ public function __invoke(array $record) $i = 0; - while (isset($trace[$i]['class']) || in_array($trace[$i]['function'], $this->skipFunctions)) { + while ($this->isTraceClassOrSkippedFunction($trace, $i)) { if (isset($trace[$i]['class'])) { foreach ($this->skipClassesPartials as $part) { if (strpos($trace[$i]['class'], $part) !== false) { @@ -77,6 +80,8 @@ public function __invoke(array $record) break; } + $i += $this->skipStackFramesCount; + // we should have the call source now $record['extra'] = array_merge( $record['extra'], @@ -90,4 +95,13 @@ public function __invoke(array $record) return $record; } + + private function isTraceClassOrSkippedFunction(array $trace, $index) + { + if (!isset($trace[$index])) { + return false; + } + + return isset($trace[$index]['class']) || in_array($trace[$index]['function'], $this->skipFunctions); + } } diff --git a/vendor/aws/Monolog/Processor/MemoryProcessor.php b/vendor/aws/Monolog/Processor/MemoryProcessor.php index eb802c0..85f9dc5e 100644 --- a/vendor/aws/Monolog/Processor/MemoryProcessor.php +++ b/vendor/aws/Monolog/Processor/MemoryProcessor.php @@ -19,18 +19,18 @@ abstract class MemoryProcessor { /** - * @var boolean If true, get the real size of memory allocated from system. Else, only the memory used by emalloc() is reported. + * @var bool If true, get the real size of memory allocated from system. Else, only the memory used by emalloc() is reported. */ protected $realUsage; /** - * @var boolean If true, then format memory size to human readable string (MB, KB, B depending on size) + * @var bool If true, then format memory size to human readable string (MB, KB, B depending on size) */ protected $useFormatting; /** - * @param boolean $realUsage Set this to true to get the real size of memory allocated from system. - * @param boolean $useFormatting If true, then format memory size to human readable string (MB, KB, B depending on size) + * @param bool $realUsage Set this to true to get the real size of memory allocated from system. + * @param bool $useFormatting If true, then format memory size to human readable string (MB, KB, B depending on size) */ public function __construct($realUsage = true, $useFormatting = true) { diff --git a/vendor/aws/Monolog/Processor/UidProcessor.php b/vendor/aws/Monolog/Processor/UidProcessor.php index 80270d0..812707c 100644 --- a/vendor/aws/Monolog/Processor/UidProcessor.php +++ b/vendor/aws/Monolog/Processor/UidProcessor.php @@ -35,4 +35,12 @@ public function __invoke(array $record) return $record; } + + /** + * @return string + */ + public function getUid() + { + return $this->uid; + } } diff --git a/vendor/aws/Monolog/Processor/WebProcessor.php b/vendor/aws/Monolog/Processor/WebProcessor.php index 21f22a6..ea1d897 100644 --- a/vendor/aws/Monolog/Processor/WebProcessor.php +++ b/vendor/aws/Monolog/Processor/WebProcessor.php @@ -24,6 +24,10 @@ class WebProcessor protected $serverData; /** + * Default fields + * + * Array is structured as [key in record.extra => key in $serverData] + * * @var array */ protected $extraFields = array( @@ -36,7 +40,7 @@ class WebProcessor /** * @param array|\ArrayAccess $serverData Array or object w/ ArrayAccess that provides access to the $_SERVER data - * @param array|null $extraFields Extra field names to be added (all available by default) + * @param array|null $extraFields Field names and the related key inside $serverData to be added. If not provided it defaults to: url, ip, http_method, server, referrer */ public function __construct($serverData = null, array $extraFields = null) { @@ -49,10 +53,14 @@ public function __construct($serverData = null, array $extraFields = null) } if (null !== $extraFields) { - foreach (array_keys($this->extraFields) as $fieldName) { - if (!in_array($fieldName, $extraFields)) { - unset($this->extraFields[$fieldName]); + if (isset($extraFields[0])) { + foreach (array_keys($this->extraFields) as $fieldName) { + if (!in_array($fieldName, $extraFields)) { + unset($this->extraFields[$fieldName]); + } } + } else { + $this->extraFields = $extraFields; } } } diff --git a/vendor/aws/Monolog/Registry.php b/vendor/aws/Monolog/Registry.php index a33cb7c..159b751 100644 --- a/vendor/aws/Monolog/Registry.php +++ b/vendor/aws/Monolog/Registry.php @@ -49,7 +49,7 @@ class Registry * * @param Logger $logger Instance of the logging channel * @param string|null $name Name of the logging channel ($logger->getName() by default) - * @param boolean $overwrite Overwrite instance in the registry if the given name already exists? + * @param bool $overwrite Overwrite instance in the registry if the given name already exists? * @throws \InvalidArgumentException If $overwrite set to false and named Logger instance already exists */ public static function addLogger(Logger $logger, $name = null, $overwrite = false) @@ -107,8 +107,8 @@ public static function clear() * Gets Logger instance from the registry * * @param string $name Name of the requested Logger instance - * @return Logger Requested instance of Logger * @throws \InvalidArgumentException If named Logger instance is not in the registry + * @return Logger Requested instance of Logger */ public static function getInstance($name) { @@ -124,8 +124,8 @@ public static function getInstance($name) * * @param string $name Name of the requested Logger instance * @param array $arguments Arguments passed to static method call - * @return Logger Requested instance of Logger * @throws \InvalidArgumentException If named Logger instance is not in the registry + * @return Logger Requested instance of Logger */ public static function __callStatic($name, $arguments) { diff --git a/vendor/aws/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php b/vendor/aws/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php index 76f0e38..6a02e9f 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php @@ -100,7 +100,7 @@ public function removeListener($eventName, $listener) } /** - * @see EventDispatcherInterface::hasListeners() + * {@inheritdoc} */ public function hasListeners($eventName = null) { @@ -116,7 +116,7 @@ public function hasListeners($eventName = null) } /** - * @see EventDispatcherInterface::getListeners() + * {@inheritdoc} */ public function getListeners($eventName = null) { @@ -131,6 +131,16 @@ public function getListeners($eventName = null) return parent::getListeners($eventName); } + /** + * {@inheritdoc} + */ + public function getListenerPriority($eventName, $listener) + { + $this->lazyLoad($eventName); + + return parent::getListenerPriority($eventName, $listener); + } + /** * Adds a service as event subscriber. * @@ -152,21 +162,6 @@ public function addSubscriberService($serviceId, $class) } } - /** - * {@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; diff --git a/vendor/aws/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php b/vendor/aws/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php index 7653ccf..9b460f5 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php @@ -99,6 +99,18 @@ public function getListeners($eventName = null) return $this->dispatcher->getListeners($eventName); } + /** + * {@inheritdoc} + */ + public function getListenerPriority($eventName, $listener) + { + if (!method_exists($this->dispatcher, 'getListenerPriority')) { + return 0; + } + + return $this->dispatcher->getListenerPriority($eventName, $listener); + } + /** * {@inheritdoc} */ @@ -116,6 +128,10 @@ public function dispatch($eventName, Event $event = null) $event = new Event(); } + if (null !== $this->logger && $event->isPropagationStopped()) { + $this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName)); + } + $this->preProcess($eventName); $this->preDispatch($eventName, $event); @@ -186,6 +202,8 @@ public function getNotCalledListeners() } } + uasort($notCalled, array($this, 'sortListenersByPriority')); + return $notCalled; } @@ -225,12 +243,12 @@ protected function postDispatch($eventName, Event $event) private function preProcess($eventName) { foreach ($this->dispatcher->getListeners($eventName) as $listener) { - $this->dispatcher->removeListener($eventName, $listener); $info = $this->getListenerInfo($listener, $eventName); $name = isset($info['class']) ? $info['class'] : $info['type']; $wrappedListener = new WrappedListener($listener, $name, $this->stopwatch, $this); $this->wrappedListeners[$eventName][] = $wrappedListener; - $this->dispatcher->addListener($eventName, $wrappedListener); + $this->dispatcher->removeListener($eventName, $listener); + $this->dispatcher->addListener($eventName, $wrappedListener, $info['priority']); } } @@ -243,8 +261,9 @@ private function postProcess($eventName) continue; } // Unwrap listener + $priority = $this->getListenerPriority($eventName, $listener); $this->dispatcher->removeListener($eventName, $listener); - $this->dispatcher->addListener($eventName, $listener->getWrappedListener()); + $this->dispatcher->addListener($eventName, $listener->getWrappedListener(), $priority); $info = $this->getListenerInfo($listener->getWrappedListener(), $eventName); if ($listener->wasCalled()) { @@ -285,6 +304,7 @@ private function getListenerInfo($listener, $eventName) { $info = array( 'event' => $eventName, + 'priority' => $this->getListenerPriority($eventName, $listener), ); if ($listener instanceof \Closure) { $info += array( @@ -332,4 +352,25 @@ private function getListenerInfo($listener, $eventName) return $info; } + + private function sortListenersByPriority($a, $b) + { + if (is_int($a['priority']) && !is_int($b['priority'])) { + return 1; + } + + if (!is_int($a['priority']) && is_int($b['priority'])) { + return -1; + } + + if ($a['priority'] === $b['priority']) { + return 0; + } + + if ($a['priority'] > $b['priority']) { + return -1; + } + + return 1; + } } diff --git a/vendor/aws/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php b/vendor/aws/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php index 7e74a37..ebfe435 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php @@ -98,9 +98,8 @@ public function process(ContainerBuilder $container) // We must assume that the class value has been correctly filled, even if the service is created by a factory $class = $container->getParameterBag()->resolveValue($def->getClass()); - $refClass = new \ReflectionClass($class); $interface = 'Symfony\Component\EventDispatcher\EventSubscriberInterface'; - if (!$refClass->implementsInterface($interface)) { + if (!is_subclass_of($class, $interface)) { throw new \InvalidArgumentException(sprintf('Service "%s" must implement interface "%s".', $id, $interface)); } diff --git a/vendor/aws/Symfony/Component/EventDispatcher/Event.php b/vendor/aws/Symfony/Component/EventDispatcher/Event.php index 048bf0a..956f726 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/Event.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/Event.php @@ -24,8 +24,6 @@ * @author Jonathan Wage * @author Roman Borschel * @author Bernhard Schussek - * - * @api */ class Event { @@ -49,9 +47,7 @@ class Event * * @see Event::stopPropagation() * - * @return bool Whether propagation was already stopped for this event. - * - * @api + * @return bool Whether propagation was already stopped for this event */ public function isPropagationStopped() { @@ -64,8 +60,6 @@ public function isPropagationStopped() * 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() { @@ -78,8 +72,6 @@ public function stopPropagation() * @param EventDispatcherInterface $dispatcher * * @deprecated since version 2.4, to be removed in 3.0. The event dispatcher is passed to the listener call. - * - * @api */ public function setDispatcher(EventDispatcherInterface $dispatcher) { @@ -92,8 +84,6 @@ public function setDispatcher(EventDispatcherInterface $dispatcher) * @return EventDispatcherInterface * * @deprecated since version 2.4, to be removed in 3.0. The event dispatcher is passed to the listener call. - * - * @api */ public function getDispatcher() { @@ -108,8 +98,6 @@ public function getDispatcher() * @return string * * @deprecated since version 2.4, to be removed in 3.0. The event name is passed to the listener call. - * - * @api */ public function getName() { @@ -121,11 +109,9 @@ public function getName() /** * Sets the event's name property. * - * @param string $name The event name. + * @param string $name The event name * * @deprecated since version 2.4, to be removed in 3.0. The event name is passed to the listener call. - * - * @api */ public function setName($name) { diff --git a/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcher.php b/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcher.php index 46c1110..f19ba1d 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcher.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcher.php @@ -24,8 +24,6 @@ * @author Fabien Potencier * @author Jordi Boggiano * @author Jordan Alliot - * - * @api */ class EventDispatcher implements EventDispatcherInterface { @@ -33,9 +31,7 @@ class EventDispatcher implements EventDispatcherInterface private $sorted = array(); /** - * @see EventDispatcherInterface::dispatch() - * - * @api + * {@inheritdoc} */ public function dispatch($eventName, Event $event = null) { @@ -46,21 +42,23 @@ public function dispatch($eventName, Event $event = null) $event->setDispatcher($this); $event->setName($eventName); - if (!isset($this->listeners[$eventName])) { - return $event; + if ($listeners = $this->getListeners($eventName)) { + $this->doDispatch($listeners, $eventName, $event); } - $this->doDispatch($this->getListeners($eventName), $eventName, $event); - return $event; } /** - * @see EventDispatcherInterface::getListeners() + * {@inheritdoc} */ public function getListeners($eventName = null) { if (null !== $eventName) { + if (!isset($this->listeners[$eventName])) { + return array(); + } + if (!isset($this->sorted[$eventName])) { $this->sortListeners($eventName); } @@ -78,7 +76,30 @@ public function getListeners($eventName = null) } /** - * @see EventDispatcherInterface::hasListeners() + * Gets the listener priority for a specific event. + * + * Returns null if the event or the listener does not exist. + * + * @param string $eventName The name of the event + * @param callable $listener The listener + * + * @return int|null The event listener priority + */ + public function getListenerPriority($eventName, $listener) + { + if (!isset($this->listeners[$eventName])) { + return; + } + + foreach ($this->listeners[$eventName] as $priority => $listeners) { + if (false !== ($key = array_search($listener, $listeners, true))) { + return $priority; + } + } + } + + /** + * {@inheritdoc} */ public function hasListeners($eventName = null) { @@ -86,9 +107,7 @@ public function hasListeners($eventName = null) } /** - * @see EventDispatcherInterface::addListener() - * - * @api + * {@inheritdoc} */ public function addListener($eventName, $listener, $priority = 0) { @@ -97,7 +116,7 @@ public function addListener($eventName, $listener, $priority = 0) } /** - * @see EventDispatcherInterface::removeListener() + * {@inheritdoc} */ public function removeListener($eventName, $listener) { @@ -113,9 +132,7 @@ public function removeListener($eventName, $listener) } /** - * @see EventDispatcherInterface::addSubscriber() - * - * @api + * {@inheritdoc} */ public function addSubscriber(EventSubscriberInterface $subscriber) { @@ -133,7 +150,7 @@ public function addSubscriber(EventSubscriberInterface $subscriber) } /** - * @see EventDispatcherInterface::removeSubscriber() + * {@inheritdoc} */ public function removeSubscriber(EventSubscriberInterface $subscriber) { @@ -154,32 +171,28 @@ public function removeSubscriber(EventSubscriberInterface $subscriber) * This method can be overridden to add functionality that is executed * for each listener. * - * @param callable[] $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. + * @param callable[] $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, $eventName, $this); if ($event->isPropagationStopped()) { break; } + call_user_func($listener, $event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. * - * @param string $eventName The name of the event. + * @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]); - } + krsort($this->listeners[$eventName]); + $this->sorted[$eventName] = call_user_func_array('array_merge', $this->listeners[$eventName]); } } diff --git a/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcherInterface.php b/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcherInterface.php index 9d9fc4d..abe8d28 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcherInterface.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/EventDispatcherInterface.php @@ -17,8 +17,6 @@ * manager. * * @author Bernhard Schussek - * - * @api */ interface EventDispatcherInterface { @@ -28,12 +26,10 @@ interface EventDispatcherInterface * @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. + * @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); @@ -44,8 +40,6 @@ public function dispatch($eventName, Event $event = null); * @param callable $listener The listener * @param int $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); @@ -55,9 +49,7 @@ public function addListener($eventName, $listener, $priority = 0); * 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 + * @param EventSubscriberInterface $subscriber The subscriber */ public function addSubscriber(EventSubscriberInterface $subscriber); diff --git a/vendor/aws/Symfony/Component/EventDispatcher/EventSubscriberInterface.php b/vendor/aws/Symfony/Component/EventDispatcher/EventSubscriberInterface.php index ff7e305..8af7789 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/EventSubscriberInterface.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/EventSubscriberInterface.php @@ -21,8 +21,6 @@ * @author Jonathan Wage * @author Roman Borschel * @author Bernhard Schussek - * - * @api */ interface EventSubscriberInterface { @@ -40,11 +38,9 @@ interface EventSubscriberInterface * * * array('eventName' => 'methodName') * * array('eventName' => array('methodName', $priority)) - * * array('eventName' => array(array('methodName1', $priority), array('methodName2')) + * * array('eventName' => array(array('methodName1', $priority), array('methodName2'))) * * @return array The event names to listen to - * - * @api */ public static function getSubscribedEvents(); } diff --git a/vendor/aws/Symfony/Component/EventDispatcher/GenericEvent.php b/vendor/aws/Symfony/Component/EventDispatcher/GenericEvent.php index 6458180..2b9f40e 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/GenericEvent.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/GenericEvent.php @@ -37,8 +37,8 @@ class GenericEvent extends Event implements \ArrayAccess, \IteratorAggregate /** * 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. + * @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()) { @@ -49,7 +49,7 @@ public function __construct($subject = null, array $arguments = array()) /** * Getter for subject property. * - * @return mixed $subject The observer subject. + * @return mixed $subject The observer subject */ public function getSubject() { @@ -59,11 +59,11 @@ public function getSubject() /** * Get argument by key. * - * @param string $key Key. + * @param string $key Key * - * @throws \InvalidArgumentException If key is not found. + * @return mixed Contents of array key * - * @return mixed Contents of array key. + * @throws \InvalidArgumentException If key is not found. */ public function getArgument($key) { @@ -77,8 +77,8 @@ public function getArgument($key) /** * Add argument to event. * - * @param string $key Argument name. - * @param mixed $value Value. + * @param string $key Argument name + * @param mixed $value Value * * @return GenericEvent */ @@ -102,7 +102,7 @@ public function getArguments() /** * Set args property. * - * @param array $args Arguments. + * @param array $args Arguments * * @return GenericEvent */ @@ -116,7 +116,7 @@ public function setArguments(array $args = array()) /** * Has argument. * - * @param string $key Key of arguments array. + * @param string $key Key of arguments array * * @return bool */ @@ -128,11 +128,11 @@ public function hasArgument($key) /** * ArrayAccess for argument getter. * - * @param string $key Array key. - * - * @throws \InvalidArgumentException If key does not exist in $this->args. + * @param string $key Array key * * @return mixed + * + * @throws \InvalidArgumentException If key does not exist in $this->args. */ public function offsetGet($key) { @@ -142,8 +142,8 @@ public function offsetGet($key) /** * ArrayAccess for argument setter. * - * @param string $key Array key to set. - * @param mixed $value Value. + * @param string $key Array key to set + * @param mixed $value Value */ public function offsetSet($key, $value) { @@ -153,7 +153,7 @@ public function offsetSet($key, $value) /** * ArrayAccess for unset argument. * - * @param string $key Array key. + * @param string $key Array key */ public function offsetUnset($key) { @@ -165,7 +165,7 @@ public function offsetUnset($key) /** * ArrayAccess has argument. * - * @param string $key Array key. + * @param string $key Array key * * @return bool */ diff --git a/vendor/aws/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php b/vendor/aws/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php index 7ef9ece..7f2be8d 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php @@ -28,7 +28,7 @@ class ImmutableEventDispatcher implements EventDispatcherInterface /** * Creates an unmodifiable proxy for an event dispatcher. * - * @param EventDispatcherInterface $dispatcher The proxied event dispatcher. + * @param EventDispatcherInterface $dispatcher The proxied event dispatcher */ public function __construct(EventDispatcherInterface $dispatcher) { @@ -83,6 +83,14 @@ public function getListeners($eventName = null) return $this->dispatcher->getListeners($eventName); } + /** + * {@inheritdoc} + */ + public function getListenerPriority($eventName, $listener) + { + return $this->dispatcher->getListenerPriority($eventName, $listener); + } + /** * {@inheritdoc} */ diff --git a/vendor/aws/Symfony/Component/EventDispatcher/LICENSE b/vendor/aws/Symfony/Component/EventDispatcher/LICENSE index 43028bc..12a7453 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/LICENSE +++ b/vendor/aws/Symfony/Component/EventDispatcher/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2004-2015 Fabien Potencier +Copyright (c) 2004-2016 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 diff --git a/vendor/aws/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php b/vendor/aws/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php index f9c7e0e..0169ede 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php @@ -12,6 +12,7 @@ namespace Symfony\Component\EventDispatcher\Tests; use Symfony\Component\EventDispatcher\Event; +use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventSubscriberInterface; abstract class AbstractEventDispatcherTest extends \PHPUnit_Framework_TestCase @@ -107,6 +108,20 @@ public function testGetAllListenersSortsByPriority() $this->assertSame($expected, $this->dispatcher->getListeners()); } + public function testGetListenerPriority() + { + $listener1 = new TestEventListener(); + $listener2 = new TestEventListener(); + + $this->dispatcher->addListener('pre.foo', $listener1, -10); + $this->dispatcher->addListener('pre.foo', $listener2); + + $this->assertSame(-10, $this->dispatcher->getListenerPriority('pre.foo', $listener1)); + $this->assertSame(0, $this->dispatcher->getListenerPriority('pre.foo', $listener2)); + $this->assertNull($this->dispatcher->getListenerPriority('pre.bar', $listener2)); + $this->assertNull($this->dispatcher->getListenerPriority('pre.foo', function () {})); + } + public function testDispatch() { $this->dispatcher->addListener('pre.foo', array($this->listener, 'preFoo')); @@ -135,7 +150,7 @@ public function testDispatchForClosure() { $invoked = 0; $listener = function () use (&$invoked) { - $invoked++; + ++$invoked; }; $this->dispatcher->addListener('pre.foo', $listener); $this->dispatcher->addListener('post.foo', $listener); diff --git a/vendor/aws/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php b/vendor/aws/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php index 6f2fbcb..fcdb54a 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php @@ -59,6 +59,18 @@ public function testAddASubscriberService() ->with($event) ; + $service + ->expects($this->once()) + ->method('onEventWithPriority') + ->with($event) + ; + + $service + ->expects($this->once()) + ->method('onEventNested') + ->with($event) + ; + $container = new Container(); $container->set('service.subscriber', $service); @@ -66,6 +78,8 @@ public function testAddASubscriberService() $dispatcher->addSubscriberService('service.subscriber', 'Symfony\Component\EventDispatcher\Tests\SubscriberService'); $dispatcher->dispatch('onEvent', $event); + $dispatcher->dispatch('onEventWithPriority', $event); + $dispatcher->dispatch('onEventNested', $event); } public function testPreventDuplicateListenerService() @@ -92,6 +106,7 @@ public function testPreventDuplicateListenerService() /** * @expectedException \InvalidArgumentException + * @group legacy */ public function testTriggerAListenerServiceOutOfScope() { @@ -111,6 +126,9 @@ public function testTriggerAListenerServiceOutOfScope() $dispatcher->dispatch('onEvent'); } + /** + * @group legacy + */ public function testReEnteringAScope() { $event = new Event(); @@ -239,11 +257,21 @@ class SubscriberService implements EventSubscriberInterface public static function getSubscribedEvents() { return array( - 'onEvent' => array('onEvent'), + 'onEvent' => 'onEvent', + 'onEventWithPriority' => array('onEventWithPriority', 10), + 'onEventNested' => array(array('onEventNested')), ); } public function onEvent(Event $e) { } + + public function onEventWithPriority(Event $e) + { + } + + public function onEventNested(Event $e) + { + } } diff --git a/vendor/aws/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php b/vendor/aws/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php index 24e6002..dd54e73 100644 --- a/vendor/aws/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php +++ b/vendor/aws/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php @@ -25,7 +25,7 @@ public function testAddRemoveListener() $dispatcher = new EventDispatcher(); $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch()); - $tdispatcher->addListener('foo', $listener = function () {; }); + $tdispatcher->addListener('foo', $listener = function () {}); $listeners = $dispatcher->getListeners('foo'); $this->assertCount(1, $listeners); $this->assertSame($listener, $listeners[0]); @@ -39,7 +39,7 @@ public function testGetListeners() $dispatcher = new EventDispatcher(); $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch()); - $tdispatcher->addListener('foo', $listener = function () {; }); + $tdispatcher->addListener('foo', $listener = function () {}); $this->assertSame($dispatcher->getListeners('foo'), $tdispatcher->getListeners('foo')); } @@ -51,11 +51,38 @@ public function testHasListeners() $this->assertFalse($dispatcher->hasListeners('foo')); $this->assertFalse($tdispatcher->hasListeners('foo')); - $tdispatcher->addListener('foo', $listener = function () {; }); + $tdispatcher->addListener('foo', $listener = function () {}); $this->assertTrue($dispatcher->hasListeners('foo')); $this->assertTrue($tdispatcher->hasListeners('foo')); } + public function testGetListenerPriority() + { + $dispatcher = new EventDispatcher(); + $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch()); + + $tdispatcher->addListener('foo', function () {}, 123); + + $listeners = $dispatcher->getListeners('foo'); + $this->assertSame(123, $tdispatcher->getListenerPriority('foo', $listeners[0])); + + // Verify that priority is preserved when listener is removed and re-added + // in preProcess() and postProcess(). + $tdispatcher->dispatch('foo', new Event()); + $listeners = $dispatcher->getListeners('foo'); + $this->assertSame(123, $tdispatcher->getListenerPriority('foo', $listeners[0])); + } + + public function testGetListenerPriorityReturnsZeroWhenWrappedMethodDoesNotExist() + { + $dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface'); + $traceableEventDispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch()); + $traceableEventDispatcher->addListener('foo', function () {}, 123); + $listeners = $traceableEventDispatcher->getListeners('foo'); + + $this->assertSame(0, $traceableEventDispatcher->getListenerPriority('foo', $listeners[0])); + } + public function testAddRemoveSubscriber() { $dispatcher = new EventDispatcher(); @@ -76,14 +103,14 @@ public function testGetCalledListeners() { $dispatcher = new EventDispatcher(); $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch()); - $tdispatcher->addListener('foo', $listener = function () {; }); + $tdispatcher->addListener('foo', $listener = function () {}); $this->assertEquals(array(), $tdispatcher->getCalledListeners()); - $this->assertEquals(array('foo.closure' => array('event' => 'foo', 'type' => 'Closure', 'pretty' => 'closure')), $tdispatcher->getNotCalledListeners()); + $this->assertEquals(array('foo.closure' => array('event' => 'foo', 'type' => 'Closure', 'pretty' => 'closure', 'priority' => 0)), $tdispatcher->getNotCalledListeners()); $tdispatcher->dispatch('foo'); - $this->assertEquals(array('foo.closure' => array('event' => 'foo', 'type' => 'Closure', 'pretty' => 'closure')), $tdispatcher->getCalledListeners()); + $this->assertEquals(array('foo.closure' => array('event' => 'foo', 'type' => 'Closure', 'pretty' => 'closure', 'priority' => null)), $tdispatcher->getCalledListeners()); $this->assertEquals(array(), $tdispatcher->getNotCalledListeners()); } @@ -107,11 +134,11 @@ public function testLogger() $dispatcher = new EventDispatcher(); $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch(), $logger); - $tdispatcher->addListener('foo', $listener1 = function () {; }); - $tdispatcher->addListener('foo', $listener2 = function () {; }); + $tdispatcher->addListener('foo', $listener1 = function () {}); + $tdispatcher->addListener('foo', $listener2 = function () {}); - $logger->expects($this->at(0))->method('debug')->with("Notified event \"foo\" to listener \"closure\"."); - $logger->expects($this->at(1))->method('debug')->with("Notified event \"foo\" to listener \"closure\"."); + $logger->expects($this->at(0))->method('debug')->with('Notified event "foo" to listener "closure".'); + $logger->expects($this->at(1))->method('debug')->with('Notified event "foo" to listener "closure".'); $tdispatcher->dispatch('foo'); } @@ -123,11 +150,11 @@ public function testLoggerWithStoppedEvent() $dispatcher = new EventDispatcher(); $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch(), $logger); $tdispatcher->addListener('foo', $listener1 = function (Event $event) { $event->stopPropagation(); }); - $tdispatcher->addListener('foo', $listener2 = function () {; }); + $tdispatcher->addListener('foo', $listener2 = function () {}); - $logger->expects($this->at(0))->method('debug')->with("Notified event \"foo\" to listener \"closure\"."); - $logger->expects($this->at(1))->method('debug')->with("Listener \"closure\" stopped propagation of the event \"foo\"."); - $logger->expects($this->at(2))->method('debug')->with("Listener \"closure\" was not called for event \"foo\"."); + $logger->expects($this->at(0))->method('debug')->with('Notified event "foo" to listener "closure".'); + $logger->expects($this->at(1))->method('debug')->with('Listener "closure" stopped propagation of the event "foo".'); + $logger->expects($this->at(2))->method('debug')->with('Listener "closure" was not called for event "foo".'); $tdispatcher->dispatch('foo'); } @@ -138,12 +165,12 @@ public function testDispatchCallListeners() $dispatcher = new EventDispatcher(); $tdispatcher = new TraceableEventDispatcher($dispatcher, new Stopwatch()); - $tdispatcher->addListener('foo', $listener1 = function () use (&$called) { $called[] = 'foo1'; }); - $tdispatcher->addListener('foo', $listener2 = function () use (&$called) { $called[] = 'foo2'; }); + $tdispatcher->addListener('foo', function () use (&$called) { $called[] = 'foo1'; }, 10); + $tdispatcher->addListener('foo', function () use (&$called) { $called[] = 'foo2'; }, 20); $tdispatcher->dispatch('foo'); - $this->assertEquals(array('foo1', 'foo2'), $called); + $this->assertSame(array('foo2', 'foo1'), $called); } public function testDispatchNested() diff --git a/vendor/aws/aws-autoloader.php b/vendor/aws/aws-autoloader.php index 0a16d13..c817f08 100644 --- a/vendor/aws/aws-autoloader.php +++ b/vendor/aws/aws-autoloader.php @@ -77,6 +77,8 @@ 'Aws\CloudFront\Exception\TrustedSignerDoesNotExistException' => __DIR__ . '/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.php', 'Aws\CloudFront\Resources\cloudfront-2012-05-05' => __DIR__ . '/Aws/CloudFront/Resources/cloudfront-2012-05-05.php', 'Aws\CloudFront\Resources\cloudfront-2015-04-17' => __DIR__ . '/Aws/CloudFront/Resources/cloudfront-2015-04-17.php', + 'Aws\CloudFront\Resources\cloudfront-2015-07-27' => __DIR__ . '/Aws/CloudFront/Resources/cloudfront-2015-07-27.php', + 'Aws\CloudFront\Resources\cloudfront-2016-01-28' => __DIR__ . '/Aws/CloudFront/Resources/cloudfront-2016-01-28.php', 'Aws\CloudHsm\CloudHsmClient' => __DIR__ . '/Aws/CloudHsm/CloudHsmClient.php', 'Aws\CloudHsm\Exception\CloudHsmException' => __DIR__ . '/Aws/CloudHsm/Exception/CloudHsmException.php', 'Aws\CloudHsm\Resources\cloudhsm-2014-05-30' => __DIR__ . '/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php', @@ -355,6 +357,7 @@ 'Aws\Ec2\Exception\Ec2Exception' => __DIR__ . '/Aws/Ec2/Exception/Ec2Exception.php', 'Aws\Ec2\Iterator\DescribeInstancesIterator' => __DIR__ . '/Aws/Ec2/Iterator/DescribeInstancesIterator.php', 'Aws\Ec2\Resources\ec2-2015-04-15' => __DIR__ . '/Aws/Ec2/Resources/ec2-2015-04-15.php', + 'Aws\Ec2\Resources\ec2-2015-10-01' => __DIR__ . '/Aws/Ec2/Resources/ec2-2015-10-01.php', 'Aws\Ecs\EcsClient' => __DIR__ . '/Aws/Ecs/EcsClient.php', 'Aws\Ecs\Exception\EcsException' => __DIR__ . '/Aws/Ecs/Exception/EcsException.php', 'Aws\Ecs\Resources\ecs-2014-11-13' => __DIR__ . '/Aws/Ecs/Resources/ecs-2014-11-13.php', @@ -992,6 +995,7 @@ 'Aws\WorkSpaces\Resources\workspaces-2015-04-08' => __DIR__ . '/Aws/WorkSpaces/Resources/workspaces-2015-04-08.php', 'Aws\WorkSpaces\WorkSpacesClient' => __DIR__ . '/Aws/WorkSpaces/WorkSpacesClient.php', 'Doctrine\Common\Cache\ApcCache' => __DIR__ . '/Doctrine/Common/Cache/ApcCache.php', + 'Doctrine\Common\Cache\ApcuCache' => __DIR__ . '/Doctrine/Common/Cache/ApcuCache.php', 'Doctrine\Common\Cache\ArrayCache' => __DIR__ . '/Doctrine/Common/Cache/ArrayCache.php', 'Doctrine\Common\Cache\Cache' => __DIR__ . '/Doctrine/Common/Cache/Cache.php', 'Doctrine\Common\Cache\CacheProvider' => __DIR__ . '/Doctrine/Common/Cache/CacheProvider.php', @@ -1005,6 +1009,7 @@ 'Doctrine\Common\Cache\MemcachedCache' => __DIR__ . '/Doctrine/Common/Cache/MemcachedCache.php', 'Doctrine\Common\Cache\MongoDBCache' => __DIR__ . '/Doctrine/Common/Cache/MongoDBCache.php', 'Doctrine\Common\Cache\MultiGetCache' => __DIR__ . '/Doctrine/Common/Cache/MultiGetCache.php', + 'Doctrine\Common\Cache\MultiPutCache' => __DIR__ . '/Doctrine/Common/Cache/MultiPutCache.php', 'Doctrine\Common\Cache\PhpFileCache' => __DIR__ . '/Doctrine/Common/Cache/PhpFileCache.php', 'Doctrine\Common\Cache\PredisCache' => __DIR__ . '/Doctrine/Common/Cache/PredisCache.php', 'Doctrine\Common\Cache\RedisCache' => __DIR__ . '/Doctrine/Common/Cache/RedisCache.php', @@ -1252,6 +1257,7 @@ 'Monolog\Formatter\ChromePHPFormatter' => __DIR__ . '/Monolog/Formatter/ChromePHPFormatter.php', 'Monolog\Formatter\ElasticaFormatter' => __DIR__ . '/Monolog/Formatter/ElasticaFormatter.php', 'Monolog\Formatter\FlowdockFormatter' => __DIR__ . '/Monolog/Formatter/FlowdockFormatter.php', + 'Monolog\Formatter\FluentdFormatter' => __DIR__ . '/Monolog/Formatter/FluentdFormatter.php', 'Monolog\Formatter\FormatterInterface' => __DIR__ . '/Monolog/Formatter/FormatterInterface.php', 'Monolog\Formatter\GelfMessageFormatter' => __DIR__ . '/Monolog/Formatter/GelfMessageFormatter.php', 'Monolog\Formatter\HtmlFormatter' => __DIR__ . '/Monolog/Formatter/HtmlFormatter.php', @@ -1273,6 +1279,7 @@ 'Monolog\Handler\CouchDBHandler' => __DIR__ . '/Monolog/Handler/CouchDBHandler.php', 'Monolog\Handler\CubeHandler' => __DIR__ . '/Monolog/Handler/CubeHandler.php', 'Monolog\Handler\Curl\Util' => __DIR__ . '/Monolog/Handler/Curl/Util.php', + 'Monolog\Handler\DeduplicationHandler' => __DIR__ . '/Monolog/Handler/DeduplicationHandler.php', 'Monolog\Handler\DoctrineCouchDBHandler' => __DIR__ . '/Monolog/Handler/DoctrineCouchDBHandler.php', 'Monolog\Handler\DynamoDbHandler' => __DIR__ . '/Monolog/Handler/DynamoDbHandler.php', 'Monolog\Handler\ElasticSearchHandler' => __DIR__ . '/Monolog/Handler/ElasticSearchHandler.php', @@ -1288,6 +1295,7 @@ 'Monolog\Handler\GelfHandler' => __DIR__ . '/Monolog/Handler/GelfHandler.php', 'Monolog\Handler\GroupHandler' => __DIR__ . '/Monolog/Handler/GroupHandler.php', 'Monolog\Handler\HandlerInterface' => __DIR__ . '/Monolog/Handler/HandlerInterface.php', + 'Monolog\Handler\HandlerWrapper' => __DIR__ . '/Monolog/Handler/HandlerWrapper.php', 'Monolog\Handler\HipChatHandler' => __DIR__ . '/Monolog/Handler/HipChatHandler.php', 'Monolog\Handler\IFTTTHandler' => __DIR__ . '/Monolog/Handler/IFTTTHandler.php', 'Monolog\Handler\LogEntriesHandler' => __DIR__ . '/Monolog/Handler/LogEntriesHandler.php', diff --git a/wp-offload-s3-autoloader.php b/wp-offload-s3-autoloader.php new file mode 100644 index 0000000..7a280c5 --- /dev/null +++ b/wp-offload-s3-autoloader.php @@ -0,0 +1,94 @@ +prefix = $prefix; + $this->abspath = $abspath; + + spl_autoload_register( array( $this, 'autoloader' ) ); + } + + /** + * Autoloader. + * + * @param string $class_name + */ + public function autoloader( $class_name ) { + if ( ! $this->class_belongs_to_plugin( $class_name ) ) { + return; + } + + $path = $this->get_classes_directory() . $this->get_class_path( $class_name ); + + if ( file_exists( $path ) ) { + require_once $path; + } + } + + /** + * Class belong to plugin. + * + * @param string $class_name + * + * @return bool + */ + protected function class_belongs_to_plugin( $class_name ) { + if ( 0 !== strpos( $class_name, $this->vendor . '\\' . $this->prefix . '\\' ) ) { + return false; + } + + return true; + } + + /** + * Get class path. + * + * @param string $class_name + * + * @return string + */ + protected function get_class_path( $class_name ) { + $parts = explode( '\\', strtolower( $class_name ) ); + $parts = array_slice( $parts, 2 ); + + $filename = implode( DIRECTORY_SEPARATOR, $parts ) . '.php'; + + return str_replace( '_', '-', strtolower( $filename ) ); + } + + /** + * Get classes directory. + * + * @return string + */ + protected function get_classes_directory() { + return $this->abspath . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR; + } + + } +}